/* =============================================
   $DOOM MEMECOIN - DOOM-INSPIRED STYLES
   ============================================= */

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

:root {
    --doom-black: #0a0a0a;
    --doom-dark: #111111;
    --doom-red: #c0392b;
    --doom-red-light: #e74c3c;
    --doom-orange: #e67e22;
    --doom-yellow: #f39c12;
    --doom-gray: #2c3e50;
    --doom-gray-light: #7f8c8d;
    --doom-green: #27ae60;
    --doom-metal: #1a1a2e;
    --doom-text: #ecf0f1;
    --doom-text-dim: #95a5a6;
    --font-pixel: 'Press Start 2P', monospace;
    --font-modern: 'Orbitron', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--doom-red);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 4px 20px rgba(192, 57, 43, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    font-family: var(--font-pixel);
    font-size: 1.5rem;
    color: var(--doom-red);
    text-shadow: 0 0 10px rgba(192, 57, 43, 0.8), 0 0 20px rgba(192, 57, 43, 0.4);
    letter-spacing: 2px;
    transition: text-shadow 0.3s;
}

.nav-logo:hover {
    text-shadow: 0 0 15px rgba(231, 76, 60, 1), 0 0 30px rgba(231, 76, 60, 0.6), 0 0 45px rgba(231, 76, 60, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-modern);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--doom-text-dim);
    transition: color 0.3s, text-shadow 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--doom-red);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--doom-red-light);
    text-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
}

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

.btn-buy-nav {
    background: var(--doom-red);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 900 !important;
    transition: all 0.3s !important;
    box-shadow: 0 0 15px rgba(192, 57, 43, 0.4);
}

.btn-buy-nav::after {
    display: none !important;
}

.btn-buy-nav:hover {
    background: var(--doom-red-light) !important;
    box-shadow: 0 0 25px rgba(231, 76, 60, 0.6);
    transform: scale(1.05);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--doom-red);
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0000 40%, #2d0000 70%, #0a0a0a 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(192, 57, 43, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse at 80% 20%, rgba(230, 126, 34, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.fire-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.fire-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: fireRise linear infinite;
    opacity: 0;
}

@keyframes fireRise {
    0% {
        opacity: 0;
        transform: translateY(0) scale(1);
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(0.2);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

/* Glitch Effect */
.hero-title {
    font-family: var(--font-pixel);
    font-size: clamp(3rem, 10vw, 8rem);
    color: var(--doom-red);
    text-shadow:
        0 0 20px rgba(192, 57, 43, 0.8),
        0 0 40px rgba(192, 57, 43, 0.5),
        0 0 80px rgba(192, 57, 43, 0.3),
        0 0 120px rgba(230, 126, 34, 0.2);
    position: relative;
    display: inline-block;
    animation: titlePulse 3s ease-in-out infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: inherit;
    font-size: inherit;
}

.glitch::before {
    color: var(--doom-orange);
    animation: glitch1 3s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.glitch::after {
    color: var(--doom-yellow);
    animation: glitch2 3s infinite;
    clip-path: polygon(0 66%, 100% 66%, 100% 100%, 0 100%);
}

@keyframes glitch1 {
    0%, 90%, 100% { transform: translate(0); }
    92% { transform: translate(-5px, -2px); }
    94% { transform: translate(5px, 2px); }
    96% { transform: translate(-3px, 1px); }
    98% { transform: translate(3px, -1px); }
}

@keyframes glitch2 {
    0%, 90%, 100% { transform: translate(0); }
    91% { transform: translate(5px, 2px); }
    93% { transform: translate(-5px, -2px); }
    95% { transform: translate(3px, -1px); }
    97% { transform: translate(-3px, 1px); }
}

@keyframes titlePulse {
    0%, 100% {
        text-shadow:
            0 0 20px rgba(192, 57, 43, 0.8),
            0 0 40px rgba(192, 57, 43, 0.5),
            0 0 80px rgba(192, 57, 43, 0.3);
    }
    50% {
        text-shadow:
            0 0 30px rgba(231, 76, 60, 1),
            0 0 60px rgba(231, 76, 60, 0.7),
            0 0 100px rgba(231, 76, 60, 0.4),
            0 0 150px rgba(230, 126, 34, 0.2);
    }
}

.hero-subtitle {
    font-family: var(--font-pixel);
    font-size: clamp(1rem, 3vw, 1.8rem);
    color: var(--doom-orange);
    margin-top: 15px;
    letter-spacing: 8px;
    text-shadow: 0 0 10px rgba(230, 126, 34, 0.6);
    animation: subtitleFlicker 4s ease-in-out infinite;
}

@keyframes subtitleFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
    52% { opacity: 1; }
    54% { opacity: 0.7; }
    56% { opacity: 1; }
}

.hero-description {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--doom-text-dim);
    max-width: 600px;
    margin: 20px auto 30px;
    line-height: 1.8;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-family: var(--font-modern);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--doom-red), #8b0000);
    color: #fff;
    border: 2px solid var(--doom-red-light);
    box-shadow: 0 0 20px rgba(192, 57, 43, 0.4), inset 0 0 20px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--doom-red-light), var(--doom-red));
    box-shadow: 0 0 30px rgba(231, 76, 60, 0.6), 0 5px 20px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--doom-text);
    border: 2px solid var(--doom-gray-light);
}

.btn-secondary:hover {
    border-color: var(--doom-red);
    color: var(--doom-red-light);
    box-shadow: 0 0 20px rgba(192, 57, 43, 0.3);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.2rem;
}

/* Hero Tagline */
.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(192, 57, 43, 0.3);
    border-radius: 8px;
    padding: 12px 25px;
    backdrop-filter: blur(5px);
}

.tagline-text {
    color: var(--doom-text-dim);
    font-style: italic;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* HUD */
.hero-hud {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    z-index: 2;
}

.hud-health, .hud-armor, .hud-ammo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hud-label {
    font-family: var(--font-pixel);
    font-size: 0.6rem;
    color: var(--doom-gray-light);
    letter-spacing: 2px;
}

.hud-bar {
    width: 120px;
    height: 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.hud-bar-fill {
    height: 100%;
    transition: width 1s ease;
}

.health-fill {
    width: 100%;
    background: linear-gradient(90deg, var(--doom-red), var(--doom-red-light));
    box-shadow: 0 0 10px rgba(192, 57, 43, 0.5);
}

.armor-fill {
    width: 100%;
    background: linear-gradient(90deg, #2980b9, #3498db);
    box-shadow: 0 0 10px rgba(41, 128, 185, 0.5);
}

.ammo-fill {
    width: 100%;
    background: linear-gradient(90deg, var(--doom-orange), var(--doom-yellow));
    box-shadow: 0 0 10px rgba(230, 126, 34, 0.5);
}

.hud-value {
    font-family: var(--font-pixel);
    font-size: 0.7rem;
    color: var(--doom-text);
}

/* --- Sections Common --- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 10px;
}

.pixel-title {
    font-family: var(--font-pixel);
    color: var(--doom-red);
    text-shadow: 0 0 15px rgba(192, 57, 43, 0.5);
    letter-spacing: 3px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--doom-red), var(--doom-orange));
    margin: 15px auto 40px;
    box-shadow: 0 0 10px rgba(192, 57, 43, 0.5);
}

/* --- About Section --- */
.about {
    background: linear-gradient(180deg, var(--doom-black) 0%, var(--doom-dark) 50%, var(--doom-black) 100%);
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.05rem;
    color: var(--doom-text-dim);
    line-height: 1.8;
}

.about-text strong {
    color: var(--doom-red-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(192, 57, 43, 0.2);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--doom-red), var(--doom-orange));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover {
    border-color: var(--doom-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(192, 57, 43, 0.2);
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

/* PNG image icons */
.nav-logo-img {
    height: 28px;
    filter: drop-shadow(0 0 8px rgba(192, 57, 43, 0.6));
}

.btn-icon-img {
    height: 22px;
    vertical-align: middle;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 4px rgba(255, 200, 50, 0.5));
}

.feature-icon-img {
    height: 50px;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 10px rgba(192, 57, 43, 0.5));
}

.weapon-icon-img {
    height: 40px;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 8px rgba(231, 76, 60, 0.5));
}

.bestiary-img {
    height: 70px;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 12px rgba(192, 57, 43, 0.6));
}

.platform-icon-img {
    height: 45px;
    filter: drop-shadow(0 0 8px rgba(192, 57, 43, 0.4));
}

.feature-card h3 {
    font-family: var(--font-modern);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--doom-text);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--doom-text-dim);
    line-height: 1.6;
}

/* --- Tokenomics Section --- */
.tokenomics {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(192, 57, 43, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, var(--doom-black) 0%, var(--doom-metal) 50%, var(--doom-black) 100%);
}

.tokenomics-hud {
    max-width: 900px;
    margin: 0 auto;
}

.token-stat {
    margin-bottom: 40px;
}

.stat-bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-bar-bg {
    flex: 1;
    height: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(192, 57, 43, 0.3);
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--doom-red), var(--doom-orange), var(--doom-yellow));
    box-shadow: 0 0 15px rgba(192, 57, 43, 0.5);
    animation: barPulse 2s ease-in-out infinite;
}

@keyframes barPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.stat-info {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.stat-label {
    font-family: var(--font-pixel);
    font-size: 0.65rem;
    color: var(--doom-gray-light);
    letter-spacing: 2px;
}

.stat-value {
    font-family: var(--font-pixel);
    font-size: 0.75rem;
    color: var(--doom-orange);
    text-shadow: 0 0 8px rgba(230, 126, 34, 0.5);
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.token-card {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(192, 57, 43, 0.15);
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
}

.token-card:hover {
    border-color: var(--doom-red);
    box-shadow: 0 0 20px rgba(192, 57, 43, 0.15);
}

.token-card-header {
    margin-bottom: 15px;
}

.token-percent {
    font-family: var(--font-pixel);
    font-size: 1.5rem;
    color: var(--doom-red-light);
    text-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
    display: block;
    margin-bottom: 10px;
}

.token-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.token-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--doom-red), var(--doom-orange));
}

.token-card h3 {
    font-family: var(--font-modern);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.token-card p {
    font-size: 0.8rem;
    color: var(--doom-text-dim);
}

.tax-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tax-card {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
    padding: 15px 30px;
    text-align: center;
    min-width: 150px;
}

.tax-label {
    display: block;
    font-family: var(--font-pixel);
    font-size: 0.55rem;
    color: var(--doom-gray-light);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.tax-value {
    font-family: var(--font-pixel);
    font-size: 1rem;
    color: var(--doom-green);
    text-shadow: 0 0 10px rgba(39, 174, 96, 0.5);
}

/* --- How to Buy Section --- */
.how-to-buy {
    background: linear-gradient(180deg, var(--doom-black) 0%, var(--doom-dark) 50%, var(--doom-black) 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.6), rgba(10, 10, 10, 0.8));
    border: 1px solid rgba(192, 57, 43, 0.2);
    padding: 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
    overflow: hidden;
}

.step-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--doom-red), var(--doom-orange));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.step-card:hover {
    border-color: var(--doom-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(192, 57, 43, 0.2);
}

.step-card:hover::after {
    transform: scaleX(1);
}

.step-level {
    font-family: var(--font-pixel);
    font-size: 0.6rem;
    color: var(--doom-orange);
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: 0 0 8px rgba(230, 126, 34, 0.5);
}

.step-number {
    font-family: var(--font-pixel);
    font-size: 2rem;
    color: var(--doom-red);
    text-shadow: 0 0 15px rgba(192, 57, 43, 0.5);
    margin-bottom: 15px;
}

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

.step-card p {
    font-size: 0.9rem;
    color: var(--doom-text-dim);
    line-height: 1.6;
}

/* --- Roadmap Section --- */
.roadmap {
    background:
        radial-gradient(ellipse at 80% 50%, rgba(192, 57, 43, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, var(--doom-black) 0%, var(--doom-metal) 50%, var(--doom-black) 100%);
}

.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--doom-red), var(--doom-orange), var(--doom-gray));
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInLeft 0.6s forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }
.timeline-item:nth-child(4) { animation-delay: 0.7s; }

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-marker {
    position: absolute;
    left: -42px;
    top: 5px;
    width: 30px;
    height: 30px;
    background: var(--doom-dark);
    border: 2px solid var(--doom-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.timeline-item.completed .timeline-marker {
    border-color: var(--doom-green);
    color: var(--doom-green);
    box-shadow: 0 0 10px rgba(39, 174, 96, 0.5);
}

.timeline-item.active .timeline-marker {
    border-color: var(--doom-red);
    color: var(--doom-red);
    box-shadow: 0 0 15px rgba(192, 57, 43, 0.5);
    animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(192, 57, 43, 0.5); }
    50% { box-shadow: 0 0 20px rgba(192, 57, 43, 0.8), 0 0 30px rgba(192, 57, 43, 0.3); }
}

.timeline-content {
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid rgba(192, 57, 43, 0.15);
    padding: 25px;
    transition: all 0.3s;
}

.timeline-item.completed .timeline-content {
    border-color: rgba(39, 174, 96, 0.3);
}

.timeline-item.active .timeline-content {
    border-color: rgba(192, 57, 43, 0.4);
    box-shadow: 0 0 20px rgba(192, 57, 43, 0.1);
}

.timeline-content:hover {
    border-color: var(--doom-red);
    box-shadow: 0 0 20px rgba(192, 57, 43, 0.15);
}

.timeline-phase {
    font-family: var(--font-pixel);
    font-size: 0.7rem;
    color: var(--doom-red);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.timeline-content h4 {
    font-family: var(--font-modern);
    font-size: 1rem;
    color: var(--doom-orange);
    font-weight: 700;
    margin-bottom: 15px;
    font-style: italic;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    font-size: 0.85rem;
    color: var(--doom-text-dim);
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.timeline-content li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--doom-red);
    font-family: var(--font-pixel);
    font-size: 0.6rem;
}

.timeline-item.completed .timeline-content li::before {
    content: '✓';
    color: var(--doom-green);
}

/* --- Community Section --- */
.community {
    background: linear-gradient(180deg, var(--doom-black) 0%, var(--doom-dark) 50%, var(--doom-black) 100%);
    text-align: center;
}

.community-text {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
    color: var(--doom-text-dim);
    line-height: 1.8;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.social-card {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(192, 57, 43, 0.2);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    display: block;
}

.social-card:hover {
    border-color: var(--doom-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(192, 57, 43, 0.2);
}

.social-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

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

.social-card p {
    font-size: 0.85rem;
    color: var(--doom-text-dim);
}

/* --- $DOOM Token Section --- */
.doom-token {
    background:
        radial-gradient(ellipse at 50% 30%, rgba(192, 57, 43, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(230, 126, 34, 0.05) 0%, transparent 40%),
        linear-gradient(180deg, var(--doom-black) 0%, var(--doom-metal) 50%, var(--doom-black) 100%);
    text-align: center;
}

.token-intro {
    margin-bottom: 40px;
}

.token-logo-img {
    width: 80px;
    height: 80px;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 20px rgba(192, 57, 43, 0.6)) drop-shadow(0 0 40px rgba(230, 126, 34, 0.3));
    animation: faceFloat 4s ease-in-out infinite;
    margin-bottom: 15px;
}

.token-name {
    font-family: var(--font-pixel);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--doom-red);
    text-shadow:
        0 0 15px rgba(192, 57, 43, 0.8),
        0 0 30px rgba(192, 57, 43, 0.5),
        0 0 60px rgba(192, 57, 43, 0.3);
    margin-bottom: 10px;
    letter-spacing: 4px;
}

.token-tagline {
    font-family: var(--font-pixel);
    font-size: clamp(0.5rem, 1.5vw, 0.75rem);
    color: var(--doom-orange);
    letter-spacing: 4px;
    text-shadow: 0 0 8px rgba(230, 126, 34, 0.5);
    margin-bottom: 15px;
}

.token-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
    color: var(--doom-text-dim);
    line-height: 1.8;
}

.contract-section {
    margin: 40px auto;
    max-width: 600px;
}

.contract-label {
    display: block;
    font-family: var(--font-pixel);
    font-size: 0.6rem;
    color: var(--doom-gray-light);
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.contract-address {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(192, 57, 43, 0.3);
    overflow: hidden;
}

.contract-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--doom-text);
    font-family: var(--font-modern);
    font-size: 0.85rem;
    padding: 15px 20px;
    letter-spacing: 1px;
    outline: none;
    cursor: default;
}

.contract-input::placeholder {
    color: var(--doom-gray-light);
    font-style: italic;
}

.btn-copy {
    background: linear-gradient(135deg, var(--doom-red), #8b0000);
    color: #fff;
    border: none;
    border-left: 1px solid rgba(192, 57, 43, 0.5);
    font-family: var(--font-pixel);
    font-size: 0.6rem;
    padding: 15px 25px;
    cursor: pointer;
    letter-spacing: 2px;
    transition: all 0.3s;
    text-transform: uppercase;
    white-space: nowrap;
}

.btn-copy:hover {
    background: linear-gradient(135deg, var(--doom-red-light), var(--doom-red));
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.4);
}

.btn-copy.copied {
    background: linear-gradient(135deg, #27ae60, #1a8a4a);
}

.contract-status {
    display: block;
    font-family: var(--font-pixel);
    font-size: 0.5rem;
    color: #27ae60;
    letter-spacing: 2px;
    margin-top: 8px;
    min-height: 1.2em;
    text-shadow: 0 0 8px rgba(39, 174, 96, 0.5);
}

.token-stats-hud {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px auto;
    flex-wrap: wrap;
    max-width: 800px;
    padding: 25px;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(192, 57, 43, 0.2);
}

.hud-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 180px;
}

.decor-skull-token-right {
    right: 5%;
    bottom: 15%;
    width: 90px;
    animation: floatTop 7s ease-in-out infinite;
}

.decor-cacodemon-token-left {
    left: -10px;
    top: 25%;
    width: 120px;
    animation: floatLeft 9s ease-in-out infinite;
}

.buy-section {
    margin-top: 40px;
}

.btn-buy-doom {
    font-size: 1.1rem;
    padding: 18px 40px;
    animation: buyPulse 3s ease-in-out infinite;
}

@keyframes buyPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(192, 57, 43, 0.4), inset 0 0 20px rgba(0,0,0,0.2);
    }
    50% {
        box-shadow: 0 0 35px rgba(231, 76, 60, 0.6), 0 0 60px rgba(192, 57, 43, 0.3), inset 0 0 20px rgba(0,0,0,0.2);
    }
}

.buy-disclaimer {
    font-size: 0.8rem;
    color: var(--doom-gray-light);
    margin-top: 15px;
    font-style: italic;
}

/* --- Footer --- */
.footer {
    background: var(--doom-dark);
    border-top: 2px solid rgba(192, 57, 43, 0.3);
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-pixel);
    font-size: 1.5rem;
    color: var(--doom-red);
    text-shadow: 0 0 10px rgba(192, 57, 43, 0.5);
    margin-bottom: 15px;
}

.footer-disclaimer {
    max-width: 600px;
    margin: 0 auto 20px;
    font-size: 0.75rem;
    color: var(--doom-gray-light);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--doom-text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--doom-red-light);
}

.footer-copy {
    font-size: 0.7rem;
    color: var(--doom-gray-light);
    font-family: var(--font-pixel);
    letter-spacing: 1px;
}

/* --- Minigame Section --- */
.minigame-section {
    background: linear-gradient(180deg, #0a0a0a 0%, #0d0d0d 30%, #1a0a00 50%, #0d0d0d 70%, #0a0a0a 100%);
    text-align: center;
    padding-bottom: 60px;
}

.minigame-intro {
    color: var(--doom-text-dim);
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.game-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* CRT Monitor Frame */
.game-border {
    background: linear-gradient(145deg, #3a3a3a, #1a1a1a);
    padding: 20px;
    border-radius: 12px;
    border: 3px solid #555;
    box-shadow:
        0 0 30px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(192, 57, 43, 0.1),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

.game-border::before {
    content: 'id SOFTWARE';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-pixel);
    font-size: 0.4rem;
    color: #555;
    letter-spacing: 3px;
}

.game-screen-frame {
    position: relative;
    border: 2px solid #222;
    border-radius: 4px;
    overflow: hidden;
    background: #000;
}

/* Scanlines overlay */
.game-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
    z-index: 10;
}

#gameCanvas {
    display: block;
    width: 640px;
    height: 400px;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    cursor: crosshair;
}

/* Controls info */
.game-controls-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.control-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-key {
    font-family: var(--font-pixel);
    font-size: 0.55rem;
    background: #333;
    color: var(--doom-orange);
    padding: 5px 10px;
    border: 1px solid #555;
    border-bottom: 3px solid #444;
    letter-spacing: 1px;
}

.control-desc {
    font-family: var(--font-modern);
    font-size: 0.8rem;
    color: var(--doom-text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive game */
@media (max-width: 700px) {
    #gameCanvas {
        width: 100%;
        height: auto;
        aspect-ratio: 640 / 400;
    }

    .game-border {
        padding: 10px;
        width: 100%;
        max-width: 100%;
    }

    .game-controls-info {
        gap: 10px;
    }

    .control-key {
        font-size: 0.45rem;
        padding: 4px 6px;
    }

    .control-desc {
        font-size: 0.7rem;
    }
}

/* --- DOOM Character Images & Decorations --- */

/* Hero face */
.hero-face {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(192, 57, 43, 0.6)) drop-shadow(0 0 40px rgba(192, 57, 43, 0.3));
    animation: faceFloat 4s ease-in-out infinite;
    image-rendering: pixelated;
}

@keyframes faceFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Floating monsters in Hero */
.floating-monster {
    position: absolute;
    z-index: 1;
    opacity: 0.15;
    pointer-events: none;
    image-rendering: pixelated;
}

.monster-left {
    left: 3%;
    top: 20%;
    width: 180px;
    animation: floatLeft 8s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(231, 76, 60, 0.4));
}

.monster-right {
    right: 3%;
    bottom: 15%;
    width: 150px;
    animation: floatRight 7s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(230, 126, 34, 0.4));
}

.monster-top {
    right: 15%;
    top: 10%;
    width: 100px;
    animation: floatTop 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(243, 156, 18, 0.5));
}

@keyframes floatLeft {
    0%, 100% { transform: translate(0, 0) rotate(-5deg); }
    25% { transform: translate(15px, -20px) rotate(0deg); }
    50% { transform: translate(5px, -35px) rotate(5deg); }
    75% { transform: translate(-10px, -15px) rotate(-3deg); }
}

@keyframes floatRight {
    0%, 100% { transform: translate(0, 0) rotate(3deg); }
    25% { transform: translate(-10px, -25px) rotate(-2deg); }
    50% { transform: translate(-20px, -10px) rotate(0deg); }
    75% { transform: translate(-5px, 10px) rotate(5deg); }
}

@keyframes floatTop {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-15px, 20px) scale(1.05); }
}

/* About section images */
.about-hero-img {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.about-slayer {
    width: 100px;
    height: 100px;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 15px rgba(192, 57, 43, 0.5));
    animation: faceFloat 4s ease-in-out infinite;
}

.about-shotgun {
    width: 200px;
    filter: drop-shadow(0 0 10px rgba(230, 126, 34, 0.4));
    animation: shotgunHover 3s ease-in-out infinite;
}

@keyframes shotgunHover {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(5px) rotate(-1deg); }
}

/* Section background decoration (pentagram) */
.section-bg-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.pentagram-bg {
    width: 300px;
    height: 300px;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.04;
    animation: pentagramSpin 60s linear infinite;
}

.pentagram-roadmap {
    left: -80px;
    right: auto;
}

@keyframes pentagramSpin {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

/* Section floating decorations */
.section-floating-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.08;
    image-rendering: pixelated;
}

.decor-cacodemon-left {
    left: -20px;
    top: 20%;
    width: 140px;
    animation: floatLeft 10s ease-in-out infinite;
}

.decor-skull-right {
    right: 10px;
    bottom: 15%;
    width: 100px;
    animation: floatTop 8s ease-in-out infinite;
}

.decor-imp-right {
    right: -10px;
    top: 30%;
    width: 120px;
    animation: floatRight 9s ease-in-out infinite;
}

.decor-shotgun-left {
    left: 20px;
    bottom: 20%;
    width: 180px;
    opacity: 0.05;
    transform: rotate(-15deg);
    animation: shotgunHover 6s ease-in-out infinite;
}

.decor-cacodemon-community {
    left: 5%;
    top: 15%;
    width: 120px;
    animation: floatLeft 9s ease-in-out infinite;
}

.decor-skull-community {
    right: 5%;
    bottom: 20%;
    width: 90px;
    animation: floatRight 7s ease-in-out infinite;
}

/* Community mascot */
.community-mascot {
    margin-bottom: 20px;
}

.community-slayer-img {
    width: 80px;
    height: 80px;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 15px rgba(192, 57, 43, 0.5));
    animation: faceFloat 3s ease-in-out infinite;
}

/* --- Scroll Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
    .floating-monster {
        opacity: 0.08;
    }

    .monster-left {
        width: 100px;
    }

    .monster-right {
        width: 80px;
    }

    .monster-top {
        width: 60px;
    }

    .hero-face {
        width: 80px;
        height: 80px;
    }

    .about-hero-img {
        flex-direction: column;
        gap: 15px;
    }

    .about-slayer {
        width: 70px;
        height: 70px;
    }

    .about-shotgun {
        width: 150px;
    }

    .section-floating-decor {
        opacity: 0.04;
    }

    .pentagram-bg {
        width: 200px;
        height: 200px;
    }

    .community-slayer-img {
        width: 60px;
        height: 60px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
        border-bottom: 2px solid var(--doom-red);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .hero-hud {
        flex-direction: column;
        gap: 10px;
        bottom: 15px;
    }

    .hud-bar {
        width: 80px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .contract-address {
        flex-direction: column;
        gap: 5px;
        font-size: 0.75rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .tokenomics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tax-info {
        flex-direction: column;
        align-items: center;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .token-stats-hud {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .btn-buy-doom {
        font-size: 0.9rem;
        padding: 15px 30px;
    }

    .timeline {
        padding-left: 40px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-marker {
        left: -35px;
        width: 25px;
        height: 25px;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .tokenomics-grid {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}
