/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --gold: #d4a017;
    --gold-light: #f0d060;
    --gold-dark: #8b6914;
    --amber: #c87533;
    --oil-dark: #1a1206;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.35);
    --border: rgba(212, 160, 23, 0.15);
    --border-hover: rgba(212, 160, 23, 0.4);
    --glow-gold: 0 0 30px rgba(212, 160, 23, 0.3);
    --glow-gold-strong: 0 0 60px rgba(212, 160, 23, 0.5), 0 0 120px rgba(212, 160, 23, 0.2);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 16px;
    --radius-sm: 8px;
}

html {
    scroll-behavior: smooth;
}

#supply {
    font-size: 2rem;
}

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

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

/* ==================== PARTICLES CANVAS ==================== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ==================== NAVBAR ==================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.7);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

#navbar.scrolled {
    padding: 10px 40px;
    background: rgba(10, 10, 15, 0.95);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.4rem;
}

.logo-icon {
    font-size: 1.6rem;
    animation: oilBounce 2s ease-in-out infinite;
}

@keyframes oilBounce {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-4px) rotate(5deg);
    }
}

.logo-text {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--gold-light);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--gold), var(--amber));
    color: #000 !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-gold);
}

#mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

#mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 40px;
    gap: 16px;
    z-index: 999;
    border-bottom: 1px solid var(--border);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text-secondary);
    font-size: 1rem;
    padding: 8px 0;
}

/* ==================== HERO SECTION ==================== */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.15), transparent 60%);
    pointer-events: none;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(212, 160, 23, 0.1);
    border: 1px solid var(--border-hover);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease forwards;
    letter-spacing: 2px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    animation: slideInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(40px);
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-accent {
    animation-delay: 0.4s !important;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--amber), var(--gold-light));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 0.8s ease forwards, shimmer 3s ease-in-out infinite !important;
    animation-delay: 0.4s, 0s !important;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.text-glow {
    color: var(--gold-light);
    text-shadow: 0 0 20px rgba(212, 160, 23, 0.5);
}

/* ==================== CONTRACT ADDRESS ==================== */
.ca-container {
    margin-bottom: 40px;
    animation: fadeIn 1s ease 0.8s forwards;
    opacity: 0;
}

.ca-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.ca-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(212, 160, 23, 0.06);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.ca-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 160, 23, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.ca-box:hover::before {
    opacity: 1;
}

.ca-text {
    font-family: 'Courier New', monospace;
    font-size: clamp(0.7rem, 1.8vw, 1rem);
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 1px;
    word-break: break-all;
    position: relative;
    z-index: 1;
}

.ca-copy-btn {
    background: rgba(212, 160, 23, 0.2);
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px;
    cursor: pointer;
    color: var(--gold-light);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.ca-copy-btn:hover {
    background: rgba(212, 160, 23, 0.4);
    transform: scale(1.1);
}

.ca-copied {
    font-size: 0.85rem;
    color: var(--gold-light);
    margin-top: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ca-copied.show {
    opacity: 1;
}

/* ==================== BUTTONS ==================== */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease 1s forwards;
    opacity: 0;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--amber));
    color: #000;
    box-shadow: 0 4px 20px rgba(212, 160, 23, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-gold-strong);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover::after {
    transform: rotate(45deg) translateX(100%);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-light);
    border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
    background: rgba(212, 160, 23, 0.1);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1rem;
}

/* ==================== HERO IMAGE ==================== */
.hero-image-wrapper {
    position: relative;
    margin-top: 50px;
    display: inline-block;
    animation: fadeIn 1.2s ease 1.2s forwards;
    opacity: 0;
}

.hero-image {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--border-hover);
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.hero-image-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.3), transparent 70%);
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ==================== SCROLL INDICATOR ==================== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 3px;
    font-family: var(--font-display);
    animation: fadeIn 1.5s ease 1.5s forwards;
    opacity: 0;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
        opacity: 1;
    }

    50% {
        transform: rotate(45deg) translateY(8px);
        opacity: 0.3;
    }
}

/* ==================== SECTIONS ==================== */
.section {
    padding: 120px 20px;
    position: relative;
    z-index: 1;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== ABOUT CARDS ==================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
}

.about-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--glow-gold);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 4.5rem;
}

.card-icon-img {
    width: 4.5rem;
    height: 4.5rem;
    object-fit: contain;
    display: block;
}

.inline-icon {
    height: 1em;
    width: auto;
    vertical-align: -0.15em;
    display: inline-block;
}

.about-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gold-light);
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==================== TOKENOMICS ==================== */
.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.token-stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 20px;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
}

.token-stat.visible {
    opacity: 1;
    transform: translateY(0);
}

.token-stat:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--glow-gold);
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.tokenomics-footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.tokenomics-footer strong {
    color: var(--gold-light);
}

/* ==================== HOW TO BUY ==================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 28px;
    position: relative;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
}

.step-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-6px);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 16px;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gold-light);
}

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

/* ==================== CTA SECTION ==================== */
.section-cta {
    background: linear-gradient(180deg, var(--bg-primary), var(--oil-dark), var(--bg-primary));
    text-align: center;
    position: relative;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.1), transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* ==================== FOOTER ==================== */
#footer {
    padding: 60px 20px 30px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

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

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

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

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

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    #navbar {
        padding: 12px 20px;
    }

    .nav-links {
        display: none;
    }

    #mobile-menu-btn {
        display: flex;
    }

    #hero {
        padding: 100px 20px 60px;
    }

    .hero-image {
        width: 200px;
        height: 200px;
    }

    .ca-box {
        padding: 12px 16px;
    }

    .section {
        padding: 80px 20px;
    }

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

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