/* 
   FERENGINAR.COM DESIGN SYSTEM
   Theme: Space-Cyberpunk / Gold-Space Terminal (Futuristic Web3 Hub)
*/

:root {
    /* Color Palette */
    --bg-cosmic: #06070a;
    --bg-card: rgba(13, 14, 20, 0.65);
    --bg-card-hover: rgba(22, 24, 33, 0.85);
    
    --accent-gold: #d4af37;
    --accent-gold-glow: rgba(212, 175, 55, 0.35);
    --accent-gold-dark: #b8901c;
    --accent-gold-gradient: linear-gradient(135deg, #ffe259 0%, #ffa751 100%);
    
    --accent-green: #00ff88;
    --accent-green-glow: rgba(0, 255, 136, 0.3);
    
    --accent-orange: #ff5722;
    --accent-orange-glow: rgba(255, 87, 34, 0.3);
    
    --text-primary: #f0f2f5;
    --text-secondary: #a0aec0;
    --text-muted: #64748b;
    
    --border-gold: rgba(212, 175, 55, 0.15);
    --border-gold-hover: rgba(212, 175, 55, 0.4);
    --border-white: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-alt: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Transitions */
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-quick: all 0.15s ease-out;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-cosmic);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-cosmic);
}
::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    border: 2px solid var(--bg-cosmic);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.5);
}

/* Background Particles Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.75;
}

/* Utility Layout Containers */
.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #a0aec0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.section-subtitle {
    font-family: var(--font-alt);
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
}

/* 2. Navigation Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(6, 7, 10, 0.75);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(4, 5, 8, 0.9);
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 24px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-svg {
    filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.3));
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    background: var(--accent-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item {
    font-family: var(--font-alt);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition-quick);
    position: relative;
    padding: 6px 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition-quick);
}

.nav-item:hover {
    color: #ffffff;
}

.nav-item:hover::after {
    width: 100%;
}

/* Status Indicator */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.15);
    padding: 6px 12px;
    border-radius: 50px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: relative;
}

.status-dot.green {
    background-color: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
    animation: pulse-green 2s infinite;
}

.status-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-green);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-quick);
}

/* 3. Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 24px 80px;
    z-index: 2;
    overflow: hidden;
}

.hero-container {
    max-width: 900px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.hero-badge {
    font-family: var(--font-alt);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 8px 18px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.05);
    animation: float 4s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 6.5rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 0.95;
    background: var(--accent-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.25));
    margin-top: 10px;
}

.hero-subtitle {
    font-family: var(--font-alt);
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 750px;
    line-height: 1.5;
}

/* Terminal Manifest Style */
.terminal-window {
    width: 100%;
    max-width: 760px;
    background: rgba(10, 11, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.05);
    backdrop-filter: blur(12px);
    text-align: left;
    margin: 20px 0;
}

.terminal-header {
    background: rgba(18, 19, 26, 0.9);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.terminal-dot.red { background-color: #ff5f56; }
.terminal-dot.yellow { background-color: #ffbd2e; }
.terminal-dot.green { background-color: #27c93f; }

.terminal-title {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-left: 12px;
    letter-spacing: 0.05em;
}

.terminal-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: #e2e8f0;
}

.terminal-prompt {
    color: var(--accent-gold);
    font-weight: 700;
}

.terminal-command {
    color: #ffffff;
}

.manifest-text {
    margin: 14px 0 20px;
    color: var(--text-secondary);
    line-height: 1.7;
    border-left: 2px solid var(--accent-gold);
    padding-left: 16px;
    font-size: 0.9rem;
}

.manifest-text .highlight {
    color: var(--accent-gold);
    font-weight: 700;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.manifest-status {
    color: var(--accent-green);
    opacity: 0.9;
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: 16px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-button {
    font-family: var(--font-alt);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-button.primary-cta {
    background: var(--accent-gold-gradient);
    color: #06070a;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    border: 1px solid transparent;
}

.cta-button.primary-cta:hover {
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
}

.cta-button.secondary-cta {
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.cta-button.secondary-cta:hover {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.scroll-indicator:hover {
    opacity: 0.8;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-anim 2s infinite;
}

.scroll-text {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* 4. Ecosystem cards Section */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.ecosystem-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-height: 380px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.card-glow.gold {
    background: radial-gradient(circle at 50% 10%, rgba(212, 175, 55, 0.12), transparent 60%);
}

.card-glow.green {
    background: radial-gradient(circle at 50% 10%, rgba(0, 255, 136, 0.08), transparent 60%);
}

.card-glow.orange {
    background: radial-gradient(circle at 50% 10%, rgba(255, 87, 34, 0.08), transparent 60%);
}

.ecosystem-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.ecosystem-card:hover .card-glow {
    opacity: 1;
}

/* Card 1: Gold Theme specific */
.ecosystem-card.active-card#card-basedex {
    border: 1px solid rgba(212, 175, 55, 0.2);
}
.ecosystem-card.active-card#card-basedex:hover {
    border: 1px solid rgba(212, 175, 55, 0.5);
}

/* Card 2: Green Theme specific */
.ecosystem-card.active-card#card-marketplace {
    border: 1px solid rgba(0, 255, 136, 0.15);
}
.ecosystem-card.active-card#card-marketplace:hover {
    border: 1px solid rgba(0, 255, 136, 0.45);
}

/* Card 3: Orange Theme specific */
.ecosystem-card.dev-card {
    border: 1px solid rgba(255, 87, 34, 0.1);
    opacity: 0.85;
}
.ecosystem-card.dev-card:hover {
    border: 1px solid rgba(255, 87, 34, 0.35);
    opacity: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.app-status {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 50px;
}

.badge-beta {
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.25);
    color: var(--accent-green);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.05);
}

.badge-dev {
    background: rgba(255, 87, 34, 0.08);
    border: 1px solid rgba(255, 87, 34, 0.25);
    color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(255, 87, 34, 0.05);
    animation: card-pulse-orange 3s infinite alternate;
}

.app-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.02);
}

.app-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.app-network {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.net-highlight {
    font-weight: 700;
}

.net-highlight.base { color: #0052ff; text-shadow: 0 0 8px rgba(0, 82, 255, 0.2); }
.net-highlight.bsc { color: #f3ba2f; text-shadow: 0 0 8px rgba(243, 186, 47, 0.2); }
.net-highlight.multichain { color: var(--accent-green); text-shadow: 0 0 8px rgba(0, 255, 136, 0.2); }

.app-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Card Button Link */
.app-link-btn {
    width: 100%;
    text-decoration: none;
    font-family: var(--font-alt);
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

/* Card Button: BaseDEX */
.app-link-btn {
    background: rgba(212, 175, 55, 0.05);
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.ecosystem-card:hover .app-link-btn {
    background: var(--accent-gold-gradient);
    color: #06070a;
    border: 1px solid transparent;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

/* Card Button: Marketplace */
.app-link-btn.green-btn {
    background: rgba(0, 255, 136, 0.05);
    color: var(--accent-green);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.ecosystem-card:hover .app-link-btn.green-btn {
    background: linear-gradient(135deg, #00ff88 0%, #00a86b 100%);
    color: #06070a;
    border: 1px solid transparent;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.25);
}

/* Card Button: Disabled */
.app-link-btn.disabled-btn {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: not-allowed;
}

/* 5. Philosophy Section (Four Pillars) */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pillar-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 36px 30px;
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.pillar-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 175, 55, 0.15);
    transform: translateY(-4px);
}

.pillar-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    color: rgba(212, 175, 55, 0.08);
    position: absolute;
    top: 15px;
    right: 20px;
    transition: var(--transition-smooth);
}

.pillar-item:hover .pillar-num {
    color: rgba(212, 175, 55, 0.22);
    transform: scale(1.1);
}

.pillar-title {
    font-family: var(--font-alt);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    position: relative;
}

.pillar-item:hover .pillar-title {
    color: var(--accent-gold);
}

.pillar-text {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* 6. Rules Section (The Space Terminal) */
.acquisition-terminal {
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0;
    background: #0b0c10;
    border: 1px solid #1f2330;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0,0,0,0.8);
    overflow: hidden;
}

.terminal-bar {
    background: #161922;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #1f2330;
}

.bar-circles {
    display: flex;
    gap: 8px;
}

.bar-circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.bar-circle.red { background-color: #ff5f56; }
.bar-circle.yellow { background-color: #ffbd2e; }
.bar-circle.green { background-color: #27c93f; }

.bar-desc {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.terminal-screen {
    position: relative;
    padding: 40px;
    min-height: 250px;
    background: radial-gradient(circle at center, #11131c 0%, #07080c 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* CRT Scanlines and Grid Overlay */
.terminal-screen::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
}

.screen-glitch {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(212, 175, 55, 0.015);
    z-index: 1;
    pointer-events: none;
}

.screen-content {
    position: relative;
    z-index: 3;
}

.rule-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.rule-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.rule-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: 700;
    background: rgba(212, 175, 55, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.rule-quote-box {
    margin-bottom: 24px;
}

.rule-quote {
    font-family: var(--font-mono);
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.rule-translation-box {
    border-top: 1px dashed rgba(255,255,255,0.08);
    padding-top: 20px;
}

.translation-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.rule-translation {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.terminal-controls {
    background: #11131a;
    padding: 20px 40px;
    display: flex;
    gap: 16px;
    border-top: 1px solid #1f2330;
    flex-wrap: wrap;
}

.terminal-btn {
    background: var(--accent-gold);
    color: #06070a;
    font-family: var(--font-alt);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-quick);
}

.terminal-btn:hover {
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.terminal-btn:active {
    transform: translateY(0);
}

.terminal-btn svg {
    transition: var(--transition-quick);
}

.terminal-btn:hover svg {
    transform: rotate(30deg);
}

.terminal-btn.secondary-btn {
    background: rgba(255,255,255,0.04);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.08);
}

.terminal-btn.secondary-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(212, 175, 55, 0.3);
}

/* 7. Tools Section */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.tool-card {
    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 10px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.tool-card:hover {
    background: rgba(255,255,255,0.035);
    border-color: rgba(212, 175, 55, 0.15);
    transform: translateY(-3px);
}

.tool-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
}

.tool-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.tool-text {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.tool-link {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-quick);
}

.tool-link:hover {
    color: #ffffff;
}

/* 8. Footer Section */
.footer {
    background: #030406;
    border-top: 1px solid rgba(212, 175, 55, 0.08);
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 50px;
    display: grid;
    grid-template-columns: 1.5fr repeat(auto-fit, minmax(180px, 1fr));
    gap: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: 0.15em;
    color: #ffffff;
}

.footer-logo svg {
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}

.footer-tagline {
    font-family: var(--font-alt);
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 320px;
}

.footer-links-group {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    grid-column: span 2;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 160px;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.footer-col a {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-quick);
}

.footer-col a:hover {
    color: #ffffff;
    padding-left: 3px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-disclaimer {
    max-width: 800px;
    font-style: italic;
    opacity: 0.75;
}

/* Animations Definitions */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

@keyframes scroll-anim {
    0% { opacity: 0; transform: translate(-50%, 0); }
    30% { opacity: 1; }
    80% { opacity: 0; transform: translate(-50%, 14px); }
    100% { opacity: 0; }
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(0, 255, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

@keyframes card-pulse-orange {
    0% { box-shadow: 0 0 4px rgba(255, 87, 34, 0.1); border-color: rgba(255, 87, 34, 0.25); }
    100% { box-shadow: 0 0 12px rgba(255, 87, 34, 0.3); border-color: rgba(255, 87, 34, 0.55); }
}

/* 3.5 Token Ribbon Banner */
.token-banner-section {
    width: 100%;
    max-width: 1200px;
    margin: -40px auto 40px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.token-banner {
    position: relative;
    background: rgba(20, 21, 26, 0.45);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 20px 30px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.03);
    transition: var(--transition-smooth);
}

.token-banner:hover {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.08);
    transform: translateY(-2px);
}

.token-banner-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.04), transparent 40%, rgba(212, 175, 55, 0.04));
    pointer-events: none;
}

.token-banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.token-brand-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.token-icon-spin {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: spin-slow 20s linear infinite;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.4));
}

@keyframes spin-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.token-title-wrapper {
    display: flex;
    flex-direction: column;
}

.token-symbol {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.05em;
    background: var(--accent-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.token-fullname {
    font-family: var(--font-alt);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.token-meta-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.meta-network {
    font-family: var(--font-alt);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.contract-copy-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contract-label {
    font-family: var(--font-alt);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.contract-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 14px;
    border-radius: 6px;
    transition: var(--transition-quick);
}

.contract-box.copied {
    border-color: var(--accent-green);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.15);
}

.contract-address {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-quick);
}

.copy-btn:hover {
    color: var(--accent-gold);
}

.contract-box.copied .copy-btn {
    color: var(--accent-green);
}

.token-action-wrapper {
    display: flex;
    align-items: center;
}

.bscscan-link-btn {
    text-decoration: none;
    font-family: var(--font-alt);
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 18px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-quick);
}

.bscscan-link-btn:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.4);
    color: var(--accent-gold);
}

/* 9. Mobile Responsive styles */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(6, 7, 10, 0.98);
        border-left: 1px solid rgba(212, 175, 55, 0.15);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        z-index: 100;
        transition: var(--transition-smooth);
        backdrop-filter: blur(20px);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-actions {
        margin-right: 15px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links-group {
        grid-column: span 1;
        gap: 30px;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 600px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    .terminal-body {
        padding: 16px;
        font-size: 0.8rem;
    }
    .section-container {
        padding: 60px 16px;
    }
    .terminal-controls {
        padding: 16px;
        flex-direction: column;
    }
    .terminal-btn {
        width: 100%;
        justify-content: center;
    }
}
