/* Design System & Variables */
:root {
    --bg-primary: #07080a;
    --bg-secondary: #0d0e12;
    --bg-tertiary: #14171e;
    --gold-primary: #e5c158;
    --gold-secondary: #c59b27;
    --gold-dark: #8c6a12;
    --gold-light: #faeab3;
    --text-primary: #f5f7fa;
    --text-secondary: #8a96a8;
    --text-muted: #5e6b7d;
    --crimson-accent: #9e1b1b;
    --crimson-glow: #ff3b3b;
    
    --glass-bg: rgba(13, 14, 18, 0.75);
    --glass-border: rgba(229, 193, 88, 0.12);
    --glass-border-hover: rgba(229, 193, 88, 0.3);
    
    --font-headers: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --glow-shadow: 0 0 15px rgba(229, 193, 88, 0.35);
    --glow-shadow-heavy: 0 0 30px rgba(229, 193, 88, 0.6);
}

/* General Resets & Defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Particle Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.gold-text {
    color: var(--gold-primary);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-glow {
    text-shadow: 0 0 15px rgba(229, 193, 88, 0.4);
}

/* Section Header */
.section-header {
    margin-bottom: 4rem;
}

.subtitle {
    font-family: var(--font-headers);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.5rem;
}

h2 {
    font-family: var(--font-headers);
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    margin: 1.5rem auto 0;
}

.divider.text-left {
    background: linear-gradient(90deg, var(--gold-primary), transparent);
    margin: 1rem 0 1.5rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-secondary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid transparent;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    color: var(--bg-primary);
    border-color: var(--gold-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-shadow);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-primary);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-glow {
    animation: goldGlowPulse 2s infinite alternate;
}

@keyframes goldGlowPulse {
    0% {
        box-shadow: 0 0 5px rgba(229, 193, 88, 0.2);
    }
    100% {
        box-shadow: 0 0 15px rgba(229, 193, 88, 0.5);
    }
}

/* Audio Control Container */
.audio-control-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 100;
}

.audio-btn {
    background: var(--glass-bg);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 0.8rem 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-headers);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: var(--transition-fast);
}

.audio-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--glow-shadow);
    color: var(--text-primary);
    background: var(--gold-primary);
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 90;
    background: rgba(7, 8, 10, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.nav-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo span:first-child {
    font-family: var(--font-headers);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1.1;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-family: var(--font-headers);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--gold-primary);
    text-shadow: 0 0 10px rgba(229, 193, 88, 0.3);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Nav Overlay Backdrop */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid var(--glass-border);
    z-index: 101;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: right var(--transition-normal);
}

.mobile-nav-drawer.active {
    right: 0;
}

.mobile-nav-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.mobile-nav-close:hover {
    color: var(--gold-primary);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-family: var(--font-headers);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition-fast);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.mobile-nav-link:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.mobile-nav-link.btn {
    text-align: center;
    border-bottom: none;
    color: var(--bg-primary);
}

/* Hero Section */
.hero-section {
    padding-top: 10rem;
    padding-bottom: 6rem;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at 75% 40%, rgba(229, 193, 88, 0.05) 0%, transparent 50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    background: rgba(229, 193, 88, 0.08);
    border: 1px solid rgba(229, 193, 88, 0.2);
    border-radius: 30px;
    padding: 0.4rem 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-family: var(--font-headers);
    font-size: 3.8rem;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 620px;
}

/* Contract Address Clip Widget */
.contract-container {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 0.8rem 1.2rem;
    width: 100%;
    max-width: 480px;
    margin-bottom: 2.5rem;
    gap: 1rem;
    transition: var(--transition-fast);
}

.contract-container:hover {
    border-color: var(--gold-primary);
}

.contract-label {
    font-family: var(--font-headers);
    font-weight: 900;
    color: var(--gold-primary);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.contract-address {
    font-family: monospace;
    font-size: 1rem;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-grow: 1;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.copy-btn:hover {
    color: var(--gold-primary);
    transform: scale(1.1);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Coin Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coin-aura {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229,193,88,0.12) 0%, rgba(229,193,88,0.02) 60%, transparent 100%);
    z-index: 1;
    filter: blur(10px);
}

.coin-container-3d {
    width: 320px;
    height: 320px;
    z-index: 2;
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: floatCoin 6s ease-in-out infinite, rotateCoin 25s linear infinite;
    cursor: grab;
}

.alexander-coin {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), inset 0 0 20px rgba(229,193,88,0.4);
    border: 4px solid var(--gold-secondary);
}

.coin-shadow {
    position: absolute;
    bottom: -40px;
    width: 200px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.6) 0%, transparent 70%);
    z-index: 1;
    animation: shadowPulse 6s ease-in-out infinite;
}

@keyframes floatCoin {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes rotateCoin {
    0% { transform: rotateY(0deg) translateY(0); }
    100% { transform: rotateY(360deg) translateY(0); }
}

@keyframes shadowPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.8); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

/* Campaigns Ticker */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    margin-top: 4rem;
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: tickerLoop 30s linear infinite;
}

.ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0 2rem;
    font-family: var(--font-headers);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes tickerLoop {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Legacy Section */
.legacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 2.5rem;
}

.legacy-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 3rem 2rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.legacy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.legacy-card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.legacy-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
}

.legacy-card h3 {
    font-family: var(--font-headers);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legacy-card p {
    color: var(--text-secondary);
}

/* Timeline Campaigns Section */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--gold-secondary) 15%, var(--gold-secondary) 85%, transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem 3rem;
    margin-bottom: 2rem;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--gold-primary);
    top: 2.5rem;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.timeline-item.left .timeline-dot {
    right: -16px;
}

.timeline-item.right .timeline-dot {
    left: -16px;
}

.timeline-item:hover .timeline-dot {
    background: var(--gold-primary);
    color: var(--bg-primary);
    box-shadow: var(--glow-shadow);
}

.timeline-content {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    padding: 2.2rem;
    border-radius: 4px;
    transition: var(--transition-normal);
}

.timeline-content:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.timeline-date {
    display: inline-block;
    font-family: var(--font-headers);
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--gold-primary);
    margin-bottom: 0.6rem;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-family: var(--font-headers);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.battle-summary {
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

.battle-stats {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.timeline-item.left .battle-stats {
    justify-content: flex-end;
}

.badge-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Timeline Details Collapse */
.battle-details-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.battle-details-collapse.open {
    max-height: 200px;
    margin-bottom: 1rem;
}

.battle-detail-text {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.toggle-detail-btn {
    background: none;
    border: none;
    color: var(--gold-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-fast);
}

.toggle-detail-btn:hover {
    color: var(--gold-light);
}

.toggle-detail-btn i {
    transition: transform 0.3s ease;
}

.toggle-detail-btn.active i {
    transform: rotate(180deg);
}

/* Death in June Section */
.death-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    overflow: hidden;
}

.death-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.death-visual {
    position: relative;
    height: 480px;
    background: radial-gradient(circle, rgba(158, 27, 27, 0.08) 0%, transparent 70%);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(158, 27, 27, 0.15);
    border-radius: 4px;
}

.palace-silhouette {
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.015);
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.royal-gate {
    color: rgba(158, 27, 27, 0.1);
    filter: drop-shadow(0 0 20px rgba(158,27,27,0.3));
    animation: pulseGrave 4s ease-in-out infinite;
}

.death-gaze-effect {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 2px dashed rgba(158, 27, 27, 0.3);
    animation: rotateGrave 30s linear infinite;
    z-index: 2;
}

@keyframes pulseGrave {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.03); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

@keyframes rotateGrave {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.death-content h2 {
    color: var(--text-primary);
}

.highlight-text {
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.death-content p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.theories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.theory-box {
    background: rgba(158, 27, 27, 0.04);
    border: 1px solid rgba(158, 27, 27, 0.1);
    border-radius: 4px;
    padding: 1.5rem;
    transition: var(--transition-fast);
}

.theory-box:hover {
    border-color: rgba(158, 27, 27, 0.3);
    background: rgba(158, 27, 27, 0.08);
}

.theory-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-headers);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.theory-box p {
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.death-quote {
    border-left: 3px solid var(--gold-primary);
    padding-left: 1.5rem;
    margin-top: 2rem;
}

.death-quote blockquote {
    font-family: var(--font-headers);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.death-quote cite {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tokenomics Section */
.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.tok-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 4px;
    text-align: center;
    transition: var(--transition-normal);
}

.tok-card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.tok-label {
    font-family: var(--font-headers);
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.8rem;
}

.tok-value {
    font-family: var(--font-headers);
    font-size: 2.2rem;
    font-weight: 900;
    display: block;
    margin-bottom: 1rem;
}

.tok-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-bar-container {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-secondary), var(--gold-primary));
}

/* Treasury Allocation Card */
.treasury-allocation-box {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.treasury-allocation-box h3 {
    font-family: var(--font-headers);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 2.5rem;
}

.allocation-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.allocation-row .alloc-col:first-child {
    border-right: 1px solid rgba(255,255,255,0.05);
    padding-right: 4rem;
}

.alloc-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.alloc-pct {
    font-family: var(--font-headers);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gold-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.alloc-title {
    font-family: var(--font-headers);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.alloc-col p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Interactive Calculator */
.calc-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 4rem;
}

.calc-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-content h2 {
    margin-bottom: 0.8rem;
}

.calc-content p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    font-family: var(--font-headers);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
}

.form-control {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.9rem 1.2rem;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(229,193,88,0.15);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e5c158'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1.5rem;
}

.input-with-symbol {
    position: relative;
    display: flex;
    align-items: center;
}

.input-symbol {
    position: absolute;
    right: 1.5rem;
    font-family: var(--font-headers);
    font-weight: 900;
    color: var(--gold-primary);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.calc-results {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.result-box {
    background: var(--bg-primary);
    border: 1px solid rgba(255,255,255,0.03);
    padding: 1.5rem;
    border-radius: 4px;
}

.result-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.4rem;
}

.result-val {
    font-family: var(--font-headers);
    font-size: 1.5rem;
    font-weight: 900;
    display: block;
}

.rank-badge {
    color: var(--crimson-glow);
    text-shadow: 0 0 10px rgba(255, 59, 59, 0.3);
}

.calc-military-rank h3 {
    font-family: var(--font-headers);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.8rem;
}

.rank-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.rank-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-primary);
    border: 1px solid rgba(255,255,255,0.02);
    padding: 0.9rem 1.2rem;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.rank-item.active {
    border-color: var(--gold-primary);
    background: rgba(229,193,88,0.04);
    box-shadow: 0 0 10px rgba(229,193,88,0.1);
}

.rank-item.active .rank-name {
    color: var(--gold-primary);
    font-weight: 600;
}

.rank-name {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.rank-cost {
    font-family: var(--font-headers);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.rank-item.active .rank-cost {
    color: var(--gold-light);
}

/* How to Buy Section */
.buy-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 1.8rem;
    border-radius: 4px;
    position: relative;
    transition: var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.step-num {
    font-family: var(--font-headers);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(229,193,88,0.1);
    position: absolute;
    top: 1.5rem;
    right: 1.8rem;
    line-height: 1;
    transition: var(--transition-fast);
}

.step-card:hover .step-num {
    color: var(--gold-primary);
    text-shadow: 0 0 10px rgba(229,193,88,0.4);
}

.step-card h3 {
    font-family: var(--font-headers);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-right: 2rem;
}

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

/* Roadmap Section */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.roadmap-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 1.8rem;
    border-radius: 4px;
    transition: var(--transition-normal);
}

.roadmap-card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.rm-phase {
    font-family: var(--font-headers);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold-primary);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.roadmap-card h3 {
    font-family: var(--font-headers);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.rm-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.rm-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.rm-list li i {
    margin-top: 0.2rem;
    font-size: 0.8rem;
}

/* Footer Styling */
.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    box-shadow: var(--glow-shadow);
    transform: translateY(-2px);
}

.footer-nav h4, .footer-disclaimer h4 {
    font-family: var(--font-headers);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav ul a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-nav ul a:hover {
    color: var(--gold-primary);
    padding-left: 3px;
}

.footer-disclaimer p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.03);
    padding-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Toast Notification Styles */
.toast-msg {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-secondary);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-family: var(--font-headers);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.85rem;
    text-transform: uppercase;
    box-shadow: var(--glow-shadow);
    z-index: 1000;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.toast-msg.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Reveal on scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .death-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .death-visual {
        height: 350px;
    }
    
    .tokenomics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tok-card:last-child {
        grid-column: span 2;
    }
    
    .calc-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem;
    }
    
    .buy-steps, .roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .footer-disclaimer {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
    
    .nav-links, .header-actions .btn {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .contract-container {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 3rem;
        padding-right: 0;
    }
    
    .timeline-item.left, .timeline-item.right {
        left: 0;
        text-align: left;
    }
    
    .timeline-item.left .timeline-dot, .timeline-item.right .timeline-dot {
        left: 4px;
        right: auto;
    }
    
    .timeline-item.left .battle-stats, .timeline-item.right .battle-stats {
        justify-content: flex-start;
    }
    
    .allocation-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .allocation-row .alloc-col:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding-right: 0;
        padding-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .section {
        padding: 3.5rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .ticker-wrap {
        margin-top: 2.5rem;
    }
    
    .coin-container-3d {
        width: 250px;
        height: 250px;
    }
    
    .coin-aura {
        width: 300px;
        height: 300px;
    }
    
    .tokenomics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tok-card {
        padding: 2rem 1.5rem;
    }
    
    .tok-card:last-child {
        grid-column: span 1;
    }
    
    .treasury-allocation-box {
        padding: 1.5rem;
    }
    
    .calc-container {
        padding: 1.5rem;
        gap: 2rem;
    }
    
    .calc-military-rank h3 {
        margin-bottom: 1.2rem;
    }
    
    .rank-item {
        padding: 0.8rem 1rem;
    }
    
    .rank-name {
        font-size: 0.85rem;
        gap: 0.6rem;
    }
    
    .rank-cost {
        font-size: 0.75rem;
    }
    
    .contract-container {
        padding: 0.6rem 1rem;
        gap: 0.6rem;
        margin-bottom: 2rem;
    }
    
    .contract-label {
        font-size: 0.8rem;
    }
    
    .contract-address {
        font-size: 0.85rem;
    }
    
    .buy-steps, .roadmap-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-card, .roadmap-card {
        padding: 2rem 1.5rem;
    }
    
    .theories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .theory-box {
        padding: 1.2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-disclaimer {
        grid-column: span 1;
    }
    
    .calc-results {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .audio-btn span {
        display: none;
    }
    .audio-btn {
        padding: 0.8rem;
        border-radius: 50%;
    }
}
