/* ================= ERIKA TOKEN - IMMERSIVE THEME (FINAL) ================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --bg-main: #000000;
    --text-white: #ffffff;
    --text-accent: #ccee00;
    /* Lime */
    --text-dim: #CCCCCC;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg-main);
    color: var(--text-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* 3D Canvas */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at center, transparent 30%, #000000 90%);
    pointer-events: none;
    z-index: 1;
}

section {
    position: relative;
    padding: 100px 0;
}

.section-title-wrap {
    margin-bottom: 60px;
    text-align: center;
}

/* Center titles for better flow */
h2 {
    font-size: 3rem;
    font-family: 'Space Grotesk';
}

/* HEADER & NAV */
header {
    height: var(--nav-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.brand-icon {
    width: 24px;
    height: 24px;
    background: var(--text-accent);
    clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    color: #cccccc;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
}

.nav-menu a:hover {
    opacity: 1;
    color: #fff;
}

.nav-btn {
    border: 1px solid var(--text-accent);
    color: var(--text-accent);
    padding: 8px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-btn:hover {
    background: var(--text-accent);
    color: #000;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

/* HERO */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
}

.hero-content {
    max-width: 900px;
    margin: -60px auto 0;
    /* Center container */
    text-align: center;
    /* Center text */
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 5rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.highlight {
    color: var(--text-accent);
    display: block;
}

.white-text {
    color: #ffffff;
    display: block;
}

.hero-sub {
    font-size: 1.8rem;
    color: #cccccc;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 40px;
}

/* HERO CTA UPDATES */
.cta-group {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    /* Center buttons */
}

.cta-primary {
    background: var(--text-accent);
    color: #000;
    padding: 14px 40px;
    /* Larger pill */
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: 0.3s;
    border: 2px solid var(--text-accent);
}

.cta-secondary {
    background: transparent;
    color: #fff;
    padding: 14px 40px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid #fff;
    /* Outline style */
    display: inline-block;
}

.cta-primary:hover {
    box-shadow: 0 0 20px rgba(204, 238, 0, 0.4);
    transform: translateY(-2px);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Stake button in calculator - centered and compact */
display: block;
width: 200px;
max-width: 200px;
margin: 30px auto 0 auto;
text-align: center;
}

/* STATS */
.stats-ticker {
    padding: 40px 0;
}

.glass-bar {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 30px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.stat-val {
    font-family: 'Space Grotesk';
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.highlight-stat .stat-val {
    color: var(--text-accent);
    text-shadow: 0 0 20px rgba(204, 238, 0, 0.3);
}

/* FEATURES */
.immersive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: 0.4s ease;
    backdrop-filter: blur(10px);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.g-large {
    grid-column: span 2;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
}

.g-tall {
    grid-row: span 2;
}

.g-wide {
    grid-column: span 2;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-family: 'Space Grotesk';
}

.card-content p {
    color: var(--text-dim);
    line-height: 1.6;
}

.neon-list {
    margin-top: 20px;
    list-style: none;
}

.neon-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    font-family: 'Space Grotesk';
}

.neon-list li:last-child {
    border: none;
    color: var(--text-accent);
}

/* HARDWARE *NEW* */
.hardware-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.h-card {
    text-align: center;
    overflow: visible;
    /* Allow 3D pop-out */
}

/* STAKING CALCULATOR *NEW* */
.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.calc-controls,
.calc-results {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.input-group {
    margin-bottom: 30px;
}

.input-group label {
    display: block;
    color: var(--text-dim);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.input-group input[type="number"] {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Space Grotesk';
    font-size: 1.2rem;
    margin-bottom: 15px;
    outline: none;
    transition: 0.3s;
}

.input-group input[type="number"]:focus {
    border-color: var(--text-accent);
    box-shadow: 0 0 10px rgba(204, 238, 0, 0.1);
}

/* Custom Range Slider */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--text-accent);
    box-shadow: 0 0 10px var(--text-accent);
    cursor: pointer;
    margin-top: -8px;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

/* Duration Toggles */
.duration-toggles {
    display: flex;
    gap: 10px;
}

.d-btn {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.d-btn.active,
.d-btn:hover {
    background: var(--text-accent);
    color: #000;
    border-color: var(--text-accent);
    font-weight: 600;
}

.roi-rate-display {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
}

/* Results */
.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.result-row h3 {
    color: #fff;
    font-size: 1.5rem;
}

.result-total {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    text-align: right;
}

.result-total span {
    display: block;
    color: var(--text-dim);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.result-total h2 {
    font-size: 2.5rem;
    text-shadow: 0 0 20px rgba(204, 238, 0, 0.3);
}

.full-width {
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

/* Mobile: make full-width buttons compact in calculator */
@media (max-width: 1024px) {
    .calc-results .full-width {
        width: 200px !important;
        max-width: 200px !important;
        display: block !important;
        margin: 20px auto 0 auto !important;
    }
}

/* CONTRACTS *NEW* */
.contracts-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contract-row {
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
}

.contract-row:hover {
    border-color: var(--text-accent);
}

.c-info h4 {
    font-size: 0.9rem;
    color: var(--text-accent);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.c-info code {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    color: #fff;
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.copy-btn:hover {
    background: var(--text-accent);
    color: #000;
    border-color: var(--text-accent);
    box-shadow: 0 0 15px rgba(204, 238, 0, 0.4);
}

/* FAQ *NEW* */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    padding: 0;
    cursor: pointer;
}

.faq-head {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-head h3 {
    font-size: 1.1rem;
    margin: 0;
}

.plus {
    font-size: 1.5rem;
    transition: 0.3s;
}

.faq-body {
    height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: 0.3s ease;
    color: var(--text-dim);
}

.faq-item.active .faq-body {
    height: auto;
    padding-bottom: 25px;
}

.faq-item.active .plus {
    transform: rotate(45deg);
    color: var(--text-accent);
}

.faq-item.active {
    border-color: var(--text-accent);
    background: rgba(204, 238, 0, 0.05);
}

/* ROADMAP */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--text-accent), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    width: 50%;
    position: relative;
    margin-bottom: 40px;
    padding: 0 40px;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 20px;
    width: 12px;
    height: 12px;
    background: var(--text-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--text-accent);
}

.left .timeline-dot {
    right: -6px;
}

.right .timeline-dot {
    left: -6px;
}

.t-card {
    padding: 30px;
    text-align: inherit;
}

.t-phase {
    color: var(--text-accent);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.t-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.t-card ul {
    list-style: none;
}

.t-card ul li {
    margin-bottom: 6px;
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* TEAM */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.team-card {
    text-align: center;
    display: block;
    text-decoration: none;
    color: inherit;
}

.team-card:hover .member-avatar {
    box-shadow: 0 0 25px rgba(204, 238, 0, 0.5);
    transform: scale(1.05);
    border-color: #fff;
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--text-accent);
    box-shadow: 0 0 15px rgba(204, 238, 0, 0.2);
    overflow: hidden;
    transition: 0.3s;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.role {
    color: var(--text-accent);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bio {
    font-size: 0.9rem;
    margin-top: 15px;
    line-height: 1.4;
    color: var(--text-dim);
}

.social-handle {
    display: inline-block;
    margin-top: 15px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #fff;
    transition: 0.3s;
}

.team-card:hover .social-handle {
    background: var(--text-accent);
    color: #000;
}

/* TOKENOMICS */
.tokenomics-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.split-layout {
    display: flex;
    width: 100%;
    /* Center the content block if needed, or keep left */
    justify-content: flex-start;
}

/* TOKENOMICS GRID */
.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Columns Side by Side */
    gap: 40px;
    width: 100%;
}

.text-side {
    width: 100%;
    max-width: 800px;
}

.text-side h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.text-side h2 span.highlight {
    color: var(--text-accent);
}

.data-row {
    margin-bottom: 0;
}

.data-row .label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.data-row .value {
    font-size: 2rem;
    font-family: 'Space Grotesk';
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
    color: #fff;
}

.bar-container {
    width: 100%;
    max-width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--text-accent);
    box-shadow: 0 0 15px var(--text-accent);
}

/* FOOTER */
.cta-footer {
    text-align: center;
    padding: 120px 0;
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 40px;
}

.big-btn {
    font-size: 1.2rem;
    padding: 15px 50px;
}

footer {
    border-top: 1px solid #222;
    padding: 40px 0;
    background: #000;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
}

.links a {
    margin-left: 20px;
    color: #666;
}

.links a:hover {
    color: #fff;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .immersive-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .g-wide {
        grid-column: span 2;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* Nav */
    .mobile-toggle {
        display: flex;
    }

    .nav-wrapper {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: auto;
        background: rgba(0, 0, 0, 0.95);
        border-bottom: 1px solid var(--glass-border);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: 0.3s;
    }

    .nav-wrapper.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* Hero */
    .hero-title {
        font-size: 3rem;
    }

    .hero-sub {
        font-size: 1.2rem;
    }

    .cta-group {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    /* Grids */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 15px;
    }

    .immersive-grid {
        display: flex;
        flex-direction: column;
    }

    .g-large,
    .g-tall,
    .g-wide {
        grid-column: auto;
        grid-row: auto;
        min-height: auto;
    }

    .hardware-grid {
        grid-template-columns: 1fr;
    }

    /* Contracts */
    .contract-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .c-info code {
        font-size: 0.85rem;
        word-break: break-all;
    }

    .copy-btn {
        width: 100%;
    }

    /* Roadmap */
    .timeline-line {
        left: 20px;
        transform: none;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        text-align: left;
    }

    .left .timeline-dot,
    .right .timeline-dot {
        left: 14px;
        right: auto;
    }

    /* Team */
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Layout */
    .split-layout {
        flex-direction: column;
    }

    .text-side {
        width: 100%;
    }
}

/* ONBOARDING (HOW TO START) */
.onboarding-section {
    text-align: center;
}

.steps-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px 20px;
    width: 280px;
    position: relative;
    transition: 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-accent);
}

.step-num {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Space Grotesk';
    font-size: 1.2rem;
    color: var(--text-accent);
    border: 1px solid var(--glass-border);
}

.step-card:hover .step-num {
    background: var(--text-accent);
    color: #000;
}

.step-line {
    height: 2px;
    width: 60px;
    background: rgba(255, 255, 255, 0.1);
}

/* SECURITY SECTION */
.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sec-card {
    text-align: center;
    padding: 40px 30px;
    transition: 0.3s;
    overflow: visible;
}

.sec-card:hover {
    background: rgba(204, 238, 0, 0.05);
    border-color: var(--text-accent);
}

.sec-holo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SHIELD ICON */
.shield-shape {
    width: 50px;
    height: 60px;
    border: 2px solid var(--text-accent);
    border-radius: 0 0 25px 25px;
    box-shadow: 0 0 10px var(--text-accent), inset 0 0 10px var(--text-accent);
    position: relative;
    animation: pulseShield 3s infinite;
}

.check-mark {
    width: 15px;
    height: 30px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg);
    position: absolute;
    top: 18px;
    filter: drop-shadow(0 0 5px #fff);
}

@keyframes pulseShield {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
        box-shadow: 0 0 20px var(--text-accent), inset 0 0 20px var(--text-accent);
    }
}

/* LOCK ICON */
.lock-body {
    width: 40px;
    height: 35px;
    border: 2px solid var(--text-accent);
    border-radius: 4px;
    position: absolute;
    bottom: 10px;
    background: rgba(204, 238, 0, 0.1);
    box-shadow: 0 0 10px var(--text-accent);
}

.lock-shackle {
    width: 30px;
    height: 30px;
    border: 2px solid var(--text-accent);
    border-bottom: none;
    border-radius: 15px 15px 0 0;
    position: absolute;
    top: 5px;
    animation: lockAnim 4s infinite;
    transform-origin: right bottom;
}

@keyframes lockAnim {

    0%,
    45%,
    55%,
    100% {
        transform: rotate(0);
    }

    50% {
        transform: rotateY(180deg);
    }
}

/* RADAR ICON */
.radar-circle {
    width: 60px;
    height: 60px;
    border: 2px solid var(--text-accent);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px var(--text-accent);
    background: radial-gradient(circle, transparent 20%, rgba(204, 238, 0, 0.1) 80%);
}

.radar-scan {
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, transparent, var(--text-accent));
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 100% 0 0 0;
    transform-origin: 100% 100%;
    animation: radarSpin 2s linear infinite;
    opacity: 0.6;
}

@keyframes radarSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* COMMUNITY SOCIALS */
/* COMMUNITY SOCIALS */
.community-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.cta-box {
    text-align: left;
    /* Image shows left align */
    max-width: 600px;
}

.cta-box h2 {
    font-size: 4rem;
    /* Match hero scale */
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 450px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.social-grid {
    display: flex;
    justify-content: flex-start;
    /* Left align buttons */
    gap: 20px;
    margin-top: 30px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 180px;
    padding: 15px 30px;
    border-radius: 8px;
    /* Slightly squarer as per image */
    font-weight: 600;
    font-size: 1rem;
    transition: 0.3s;
    cursor: pointer;
}

.telegram-btn {
    background: var(--text-accent);
    color: #000;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.twitter-btn {
    background: transparent;
    color: var(--text-accent);
    border: 1px solid var(--text-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.telegram-btn:hover {
    box-shadow: 0 0 25px rgba(204, 238, 0, 0.4);
    background: #e6ff33;
    transform: translateY(-3px);
}

.twitter-btn:hover {
    background: var(--text-accent);
    color: #000;
    transform: translateY(-3px);
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .steps-grid {
        flex-direction: column;
    }

    .step-line {
        width: 2px;
        height: 40px;
    }

    .security-grid {
        grid-template-columns: 1fr;
    }

    .social-grid {
        flex-direction: column;
        align-items: center;
    }

    .social-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* RESPONSIVE FIXES FOR CALCULATOR & TOKENOMICS */
@media (max-width: 1024px) {

    /* Calculator */
    .calc-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .calc-controls,
    .calc-results {
        padding: 25px 20px;
    }

    .input-group label {
        font-size: 0.85rem;
    }

    .input-group input[type="number"] {
        padding: 12px;
        font-size: 1rem;
    }

    .d-btn {
        padding: 10px;
        font-size: 0.9rem;
    }

    .roi-rate-display {
        font-size: 0.85rem;
    }

    .result-row h3 {
        font-size: 1.3rem;
    }

    .result-total h2 {
        font-size: 2.2rem;
    }



    /* Tokenomics */
    .tokenomics-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .text-side h2 {
        font-size: 2.5rem;
    }

    .data-row .value {
        font-size: 1.5rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .links {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .links a {
        margin: 0;
    }
}

/* ABOUT GRID FIX */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    text-align: left;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* GLOBAL CALCULATOR BUTTON FIX */
.calc-results .cta-primary {
    width: fit-content !important;
    align-self: center !important;
    margin: 20px auto 0 auto !important;
    white-space: nowrap !important;
    display: inline-block !important;
}
