/*
Theme Name: Forevergalxy
Theme URI: https://forevergalxy.com
Author: 币圈百科
Author URI: https://forevergalxy.com
Description: Personal profile theme for 币圈百科 — Crypto investigator. Dark, minimal, authoritative.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: forevergalxy
Tags: one-column, custom-background, custom-logo, full-width-template, blog, portfolio
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #050505;
  --fg: #e0e0e0;
  --muted: #999999;
  --primary: #0acd78;
  --primary-dim: rgba(10, 205, 120, 0.15);
  --primary-border: rgba(10, 205, 120, 0.30);
  --border: rgba(255,255,255,0.05);
  --font: 'Space Mono', 'Menlo', 'Courier New', monospace;
}

html, body {
  height: 100%;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Noise overlay ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── Page wrapper ─── */
.fg-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* ─── Header ─── */
.fg-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 2.5rem;
  position: relative;
  z-index: 10;
}

.fg-brand {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font);
  transition: color 0.3s ease;
}
.fg-brand:hover { color: var(--primary); }

.fg-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.fg-contact {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font);
  transition: color 0.3s ease;
}
.fg-contact:hover { color: var(--primary); }

.fg-x-link {
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}
.fg-x-link:hover { color: var(--primary); }

.fg-x-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ─── Main ─── */
.fg-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  gap: 3rem;
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 1024px) {
  .fg-main {
    flex-direction: row;
    gap: 6rem;
  }
}

/* ─── Logo side ─── */
.fg-logo-side {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 1024px) {
  .fg-logo-side { justify-content: flex-end; }
}

.fg-logo-wrap {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 60px 10px rgba(10, 200, 120, 0.10);
  transition: box-shadow 0.5s ease;
  cursor: default;
}

@media (min-width: 768px) {
  .fg-logo-wrap { width: 320px; height: 320px; }
}
@media (min-width: 1024px) {
  .fg-logo-wrap { width: 384px; height: 384px; }
}

.fg-logo-wrap:hover {
  box-shadow: 0 0 80px 20px rgba(10, 200, 120, 0.20);
}

.fg-logo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 205, 120, 0.10);
  mix-blend-mode: overlay;
  transition: background 0.5s ease;
  z-index: 2;
  pointer-events: none;
}

.fg-logo-wrap:hover .fg-logo-overlay {
  background: transparent;
}

.fg-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.9;
  transition: filter 0.7s ease, opacity 0.7s ease;
  display: block;
}

.fg-logo-wrap:hover .fg-logo-img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ─── Info side ─── */
.fg-info-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .fg-info-side {
    align-items: flex-start;
    text-align: left;
  }
}

.fg-name {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 0 40px rgba(255,255,255,0.08);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) { .fg-name { font-size: 4.5rem; } }
@media (min-width: 1024px) { .fg-name { font-size: 5rem; } }

.fg-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  border: 1px solid var(--primary-border);
  background: var(--primary-dim);
  color: var(--primary);
  font-size: 0.7rem;
  font-family: var(--font);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.fg-lines {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fg-line {
  font-size: 1rem;
  font-family: var(--font);
  color: var(--muted);
  border-left: 2px solid rgba(10, 205, 120, 0.50);
  padding: 0.25rem 0 0.25rem 1rem;
}

@media (min-width: 768px) { .fg-line { font-size: 1.125rem; } }

.fg-bio {
  font-size: 0.875rem;
  color: rgba(153, 153, 153, 0.8);
  max-width: 28rem;
  line-height: 1.7;
  font-family: var(--font);
}

@media (min-width: 768px) { .fg-bio { font-size: 1rem; } }

/* ─── Footer ─── */
.fg-footer {
  width: 100%;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

.fg-copyright {
  font-size: 0.7rem;
  font-family: var(--font);
  color: rgba(153, 153, 153, 0.50);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ─── Fade-in animation ─── */
@keyframes fg-fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fg-fadeInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fg-scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.fg-anim-header  { animation: fg-fadeIn 0.5s ease forwards; }
.fg-anim-logo    { animation: fg-scaleIn 0.8s ease forwards; }
.fg-anim-info    { animation: fg-fadeInRight 0.6s 0.3s ease both; }
.fg-anim-footer  { animation: fg-fadeIn 0.5s 0.8s ease both; }

/* ─── WordPress defaults reset ─── */
a { color: inherit; }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }
