/* ===== Variables ===== */
:root {
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --primary: #d4af37;
    --primary-glow: rgba(212, 175, 55, 0.3);
    --secondary: #1e3a5f;
    --text: #e5e5e5;
    --text-muted: #888;
    --border: rgba(212, 175, 55, 0.2);
    --gradient: linear-gradient(135deg, var(--primary) 0%, #f4d03f 100%);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== Background Effects ===== */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(30, 58, 95, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.logo-text {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--primary-glow);
}

.btn-primary.large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--primary);
}

.btn-outline.large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.btn-ghost:hover {
    color: var(--primary);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 5% 4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-family: 'Space Mono', monospace;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rotating-seal {
    width: 400px;
    height: 400px;
    animation: float 6s ease-in-out infinite;
}

.rotating-seal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 60px var(--primary-glow));
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ===== Ticker ===== */
.ticker {
    background: var(--primary);
    color: var(--bg-dark);
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.ticker-content {
    display: flex;
    gap: 3rem;
    animation: ticker 20s linear infinite;
    white-space: nowrap;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Sections ===== */
.section {
    padding: 8rem 5%;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
}

/* ===== About Section ===== */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.manifesto-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.manifesto-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 150px;
    color: var(--primary);
    opacity: 0.15;
    font-family: 'Times New Roman', serif;
    line-height: 1;
}

.manifesto-text {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.manifesto-text.highlight {
    color: var(--primary);
    font-weight: 600;
}

.manifesto-signature {
    font-family: 'Space Mono', monospace;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
}

.about-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.about-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== Why Section ===== */
.why {
    background: linear-gradient(180deg, transparent 0%, rgba(30, 58, 95, 0.2) 50%, transparent 100%);
}

.why-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.why-text h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 3rem;
}

.why-list {
    list-style: none;
    margin-bottom: 3rem;
}

.why-list li {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.why-number {
    font-family: 'Space Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.why-desc {
    color: var(--text-muted);
}

.why-conclusion {
    font-size: 1.25rem;
    line-height: 2;
}

.why-conclusion strong {
    color: var(--primary);
}

/* ===== Tokenomics Section ===== */
.token-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.token-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.token-card.main {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(30, 58, 95, 0.3) 100%);
}

.token-card.main h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.token-card.main p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.token-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: var(--bg-dark);
    border-radius: 50px;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
}

.token-stat {
    font-family: 'Space Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.token-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.token-utility {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.token-utility h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.utility-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.utility-item {
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.95rem;
}

/* ===== Roadmap Section ===== */
.roadmap-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.roadmap-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
}

.roadmap-item.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(212, 175, 55, 0.1) 100%);
}

.roadmap-phase {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.roadmap-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.roadmap-item ul {
    list-style: none;
}

.roadmap-item li {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.roadmap-item li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* ===== CTA Section ===== */
.cta {
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.05) 100%);
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.cta-content > p {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-btn.twitter {
    background: #000;
    color: white;
    border: 1px solid #333;
}

.social-btn.twitter:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.social-btn.telegram {
    background: #0088cc;
    color: white;
}

.social-btn.telegram:hover {
    background: #006699;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
}

.social-btn.discord {
    background: #5865F2;
    color: white;
}

.social-btn.discord:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.contract-address {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.contract-address .label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contract-address .address {
    font-family: 'Space Mono', monospace;
    color: var(--primary);
}

/* ===== Footer ===== */
.footer {
    padding: 4rem 5%;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.footer-logo span {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    color: var(--primary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-tagline {
    font-family: 'Space Mono', monospace;
    color: var(--text-muted);
}

.footer-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .token-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .roadmap-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }
    
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 3rem;
    }
    
    .rotating-seal {
        width: 280px;
        height: 280px;
    }
    
    .token-grid,
    .roadmap-timeline {
        grid-template-columns: 1fr;
    }
    
    .token-card.main {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}
