/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 2px solid #F0D52D;
    z-index: 1000;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #F0D52D;
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 30px;
}

/* Push primary CTA to the far right */
.nav .nav-cta {
    margin-left: auto;
    font-weight: 700;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #F0D52D;
}

.nav-link.active::after {
    /* underline disabled */
    content: none;
}

/* Header Logo */
.logo-coin {
    width: 50px;
    height: 50px;
    background: #000000;
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.logo-coin:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(240, 213, 45, 0.6);
}

.logo-coin .logo-number {
    width: 100%;
    height: 100%;
    background: url('images/logo.svg') no-repeat center center;
    background-size: contain;
    border-radius: 50%;
    display: block;
}

.logo-lightning {
    position: absolute;
    font-size: 6px;
    color: #000;
}

.logo-lightning.left {
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.logo-lightning.right {
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

/* Hero Coin - Cartoon Style */
.hero-coin {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(145deg, #F0D52D, #D4AF37);
    border: 4px solid #000000;
    box-shadow: 
        0 8px 16px rgba(0,0,0,0.3),
        inset 0 2px 4px rgba(255,255,255,0.3),
        inset 0 -2px 4px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    font-weight: bold;
    color: #000;
    transition: all 0.3s ease;
    animation: coinFloat 3s ease-in-out infinite;
    /* Cartoon effect */
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}

.hero-coin::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
}

.hero-coin .coin-text {
    font-size: 10px;
    line-height: 1;
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.5);
}

.hero-coin .coin-number {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    margin: 3px 0;
    text-shadow: 2px 2px 0px rgba(255,255,255,0.5);
}

.hero-coin .lightning-bolt {
    position: absolute;
    font-size: 14px;
    color: #000;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.5);
}

.hero-coin .lightning-bolt.left {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.hero-coin .lightning-bolt.right {
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

/* Hero Section */
.hero {
    padding: 70px 0 40px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(240, 213, 45, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    color: #F0D52D;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: #cccccc;
    margin-bottom: 40px;
}

/* Live ticker under hero subtitle */
.live-ticker { display:flex; align-items:center; gap:14px; margin-bottom:18px; color:#ddd; font-size:14px; }
.live-ticker .status-dot { width:10px; height:10px; border-radius:50%; background:#2ecc71; box-shadow:0 0 10px rgba(46,204,113,.8); display:inline-block; }
.live-ticker .lt-item { background: rgba(240,213,45,0.08); border:1px solid rgba(240,213,45,0.25); padding:6px 10px; border-radius:8px; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: rgba(240, 213, 45, 0.1);
    border: 1px solid rgba(240, 213, 45, 0.3);
    border-radius: 10px;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #F0D52D;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #cccccc;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    background: #F0D52D;
    color: #000000;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(240, 213, 45, 0.3);
}

.secondary-button {
    background: transparent;
    color: #F0D52D;
    padding: 15px 30px;
    border: 2px solid #F0D52D;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: #F0D52D;
    color: #000000;
}

/* Homepage: exaggerated primary CTA */
.cta-highlight {
    position: relative;
    padding: 18px 34px;
    font-size: 18px;
    border: 3px solid #F0D52D;
    border-radius: 12px;
    background: radial-gradient(80% 140% at 20% 0%, rgba(255, 255, 255, 0.35) 0%, rgba(240, 213, 45, 0.9) 35%, rgba(212, 175, 55, 0.85) 100%);
    color: #000;
    box-shadow: 0 14px 30px rgba(240, 213, 45, 0.35), 0 0 0 4px rgba(240, 213, 45, 0.18);
    text-transform: none;
    letter-spacing: 0.3px;
}
.cta-highlight:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 22px 40px rgba(240, 213, 45, 0.5), 0 0 0 6px rgba(240, 213, 45, 0.25);
    background: radial-gradient(80% 140% at 20% 0%, rgba(255,255,255,0.5) 0%, rgba(255,234,90,1) 40%, rgba(240,213,45,1) 100%);
}
.cta-highlight::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 14px;
    background: linear-gradient(45deg, rgba(240,213,45,0.0), rgba(240,213,45,0.5), rgba(240,213,45,0.0));
    filter: blur(8px);
    z-index: -1;
    animation: pulseGlow 2.6s ease-in-out infinite;
}
.cta-highlight::after {
    content: 'Start here →';
    display: inline-block;
    margin-left: 10px;
    font-weight: 800;
}
@keyframes pulseGlow {
    0%, 100% { opacity: 0.65; }
    50% { opacity: 1; }
}

/* Coin Stack Animation */
.coin-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 2rem;
}

/* Convert circular coins to block tiles */
.hero-coin {
    width: 260px;
    height: 124px;
    border-radius: 14px;
    background: linear-gradient(180deg, #F7E25B 0%, #E2BE2E 65%, #D4AF37 100%);
    border: 3px solid #111;
    box-shadow: 0 10px 24px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -4px 0 rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    font-weight: 800;
    color: #111;
    transition: transform .25s ease, box-shadow .25s ease;
    animation: coinFloat 3.2s ease-in-out infinite;
    overflow: hidden;
}

.hero-coin::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 10px;
    background: linear-gradient(160deg, rgba(255,255,255,0.28), rgba(255,255,255,0.06));
    pointer-events: none;
}

.hero-coin.coin-back {
    background: linear-gradient(180deg, #F5D64A 0%, #E1B939 70%, #CFA42B 100%);
    z-index: 2;
    transform: translateY(-4px);
}

.hero-coin.coin-stack-coin {
    background: linear-gradient(180deg, #FFE881 0%, #EAC13F 70%, #D4AF37 100%);
    z-index: 1;
    transform: translateY(-8px);
}

.hero-coin .coin-text {
    font-size: 10px;
    line-height: 1;
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.5);
}

.hero-coin .coin-number {
    font-size: 32px;
    letter-spacing: .5px;
    line-height: 1;
    margin: 2px 0 6px 0;
    text-shadow: 0 2px 0 rgba(255,255,255,0.45), 0 4px 12px rgba(0,0,0,0.25);
}

.hero-coin .lightning-bolt {
    position: absolute;
    font-size: 14px;
    color: #000;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.5);
}

.hero-coin .lightning-bolt.left {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.hero-coin .lightning-bolt.right {
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.hero-coin:nth-child(1) { animation-delay: 0s; }
.hero-coin:nth-child(2) { animation-delay: 0.2s; }
.hero-coin:nth-child(3) { animation-delay: 0.4s; }
.hero-coin:nth-child(4) { animation-delay: 0.6s; }
.hero-coin:nth-child(5) { animation-delay: 0.8s; }

.hero-coin:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 18px 28px rgba(0,0,0,0.35);
}

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

/* Casino/Game Vibes - Subtle and Professional */
@keyframes gentleGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(240, 213, 45, 0.3); }
    50% { box-shadow: 0 0 30px rgba(240, 213, 45, 0.6); }
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideInFromRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Matrix Vibes - Enhanced */
@keyframes matrixRain {
    0% { transform: translateY(-100vh); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

@keyframes matrixGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(240, 213, 45, 0.5); }
    50% { text-shadow: 0 0 20px rgba(240, 213, 45, 0.8), 0 0 30px rgba(240, 213, 45, 0.6); }
}

@keyframes dataStream {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

@keyframes cyberPulse {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(240, 213, 45, 0.3),
                    0 0 20px rgba(240, 213, 45, 0.1);
    }
    50% { 
        box-shadow: 0 0 20px rgba(240, 213, 45, 0.6),
                    0 0 40px rgba(240, 213, 45, 0.3),
                    0 0 60px rgba(240, 213, 45, 0.1);
    }
}

@keyframes hologramFlicker {
    0%, 100% { opacity: 1; }
    10% { opacity: 0.8; }
    20% { opacity: 1; }
    30% { opacity: 0.9; }
    40% { opacity: 1; }
    50% { opacity: 0.7; }
    60% { opacity: 1; }
    70% { opacity: 0.8; }
    80% { opacity: 1; }
    90% { opacity: 0.9; }
}

/* Matrix background effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(240, 213, 45, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(240, 213, 45, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(240, 213, 45, 0.01) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: hologramFlicker 10s ease-in-out infinite;
}

/* Presale page: eliminate header/bar flicker by avoiding filters and isolating repaints */
body.presale .header {
    backdrop-filter: none !important;
    filter: none !important;
    background: rgba(22, 20, 0, 0.96) !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: auto;
    contain: layout paint;
    box-shadow: none;
}

/* Disable animated background overlay on presale to prevent shimmer at the top edge */
body.presale::before {
    content: none !important;
    display: none !important;
}

/* Safer link transitions for presale header */
body.presale .header a {
    transition: color .2s ease;
}
body.presale .header a:hover {
    background-color: transparent !important;
}

/* Presale: neutralize nav background/padding/underline to avoid jitter */
body.presale .nav-link,
body.presale .nav-link.active,
body.presale .nav-link:hover {
    background: transparent !important;
    padding: 0 0 !important;
    border-radius: 0 !important;
}
body.presale .nav-link::after,
body.presale .nav-link.active::after { content: none !important; }

/* Presale: disable logo hover transforms that can trigger repaints */
body.presale .logo-coin:hover { transform: none !important; box-shadow: none !important; }

/* Enhanced Hero Section */
.hero-title {
    text-shadow: 0 0 20px rgba(240, 213, 45, 0.5);
    animation: matrixGlow 3s ease-in-out infinite;
}

.hero-stats .stat-number {
    background: linear-gradient(45deg, #F0D52D, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(240, 213, 45, 0.3);
    animation: hologramFlicker 8s ease-in-out infinite;
}

/* Enhanced Buttons */
.cta-button, .submit-button {
    background: linear-gradient(45deg, #F0D52D, #D4AF37);
    border: 2px solid #F0D52D;
    box-shadow: 0 0 20px rgba(240, 213, 45, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: cyberPulse 4s ease-in-out infinite;
}

.cta-button:hover, .submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(240, 213, 45, 0.8);
    animation: cyberPulse 1s ease-in-out infinite;
}

.cta-button::before, .submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before, .submit-button:hover::before {
    left: 100%;
}

/* Features Section */
.features {
    padding: 48px 0;
    background: #111111;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #F0D52D;
    margin-bottom: 26px;
}

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

.feature-card {
    background: rgba(240, 213, 45, 0.05);
    border: 1px solid rgba(240, 213, 45, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #F0D52D;
    box-shadow: 0 10px 30px rgba(240, 213, 45, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #F0D52D;
    margin-bottom: 15px;
    font-size: 20px;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Enhanced Feature Cards */
.feature-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 1px solid rgba(240, 213, 45, 0.3);
    box-shadow: 0 0 20px rgba(240, 213, 45, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: hologramFlicker 12s ease-in-out infinite;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: #F0D52D;
    box-shadow: 0 0 30px rgba(240, 213, 45, 0.3);
    animation: cyberPulse 2s ease-in-out infinite;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(240, 213, 45, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.feature-card:hover::after {
    opacity: 1;
    animation: slideInFromRight 0.6s ease-out;
}

/* Roadmap */
.roadmap {
    padding: 48px 0;
    background: #000000;
}

/* New interactive roadmap v1 */
.roadmap-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
@media (max-width: 1200px) {
    .roadmap-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
    .roadmap-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .roadmap-cards { grid-template-columns: 1fr; }
}

.roadmap-card-v1 {
    background: linear-gradient(135deg, #121212 0%, #0a0a0a 100%);
    border: 1px solid rgba(240,213,45,0.25);
    border-radius: 14px;
    padding: 18px;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    cursor: pointer;
}
.roadmap-card-v1:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(240,213,45,0.18);
    border-color: rgba(240,213,45,0.45);
}
.roadmap-card-v1 .num {
    font-size: 36px;
    font-weight: 900;
    color: #000;
    -webkit-text-stroke: 2px #F0D52D;
    text-stroke: 2px #F0D52D;
}
.roadmap-card-v1 h4 { color: #fff; margin: 8px 0 6px; }
.roadmap-card-v1 p { color: #ccc; font-size: 14px; }

/* Roadmap completion badges */
.roadmap-card-v1.done::after,
.roadmap-card-v1.progress::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 16px;
}
.roadmap-card-v1.done::after {
    content: '✔';
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.12);
    border: 2px solid #2ecc71;
}
.roadmap-card-v1.progress::after {
    content: '⏳';
    color: #F0D52D;
    background: rgba(240, 213, 45, 0.1);
    border: 2px solid rgba(240, 213, 45, 0.8);
}

.roadmap-modal {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7); display: none; align-items: center; justify-content: center; z-index: 2000;
}
.roadmap-modal.active { display: flex; }
.roadmap-modal .content {
    background: #0e0e0e; border: 1px solid rgba(240,213,45,0.4); border-radius: 12px; max-width: 520px; width: 92%; padding: 24px; color: #ddd;
}
.roadmap-modal .content h3 { color: #F0D52D; margin-bottom: 8px; }
.roadmap-modal .actions { margin-top: 16px; display: flex; gap: 12px; }

.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #F0D52D;
}

.roadmap-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 60px;
}

.roadmap-marker {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    background: #000000;
    border: 3px solid #F0D52D;
    border-radius: 50%;
}

.roadmap-marker.active {
    background: #F0D52D;
}

.roadmap-content h3 {
    color: #F0D52D;
    margin-bottom: 10px;
    font-size: 20px;
}

.roadmap-content p {
    color: #cccccc;
    margin-bottom: 10px;
}

.status {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(240, 213, 45, 0.1);
    border: 1px solid rgba(240, 213, 45, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: #F0D52D;
}

.status.active {
    background: rgba(240, 213, 45, 0.2);
    border-color: #F0D52D;
}

/* Footer */
.footer {
    background: #111111;
    padding: 60px 0 20px;
    border-top: 2px solid #F0D52D;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #F0D52D;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section a {
    display: block;
    color: #cccccc;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #F0D52D;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(240, 213, 45, 0.2);
    color: #cccccc;
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #000000 100%);
    border-top: 2px solid rgba(240, 213, 45, 0.3);
    box-shadow: 0 0 30px rgba(240, 213, 45, 0.1);
}

/* Page Specific Styles */
.page-title {
    font-size: 48px;
    color: #F0D52D;
    text-align: center;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 20px;
    color: #cccccc;
    text-align: center;
    margin-bottom: 40px;
}

/* Subtle yellow block/mining theme for Learn pages */
body.learn .learn-content section,
body.learn .term-card {
    background: linear-gradient(135deg, rgba(240,213,45,0.05), rgba(212,175,55,0.04));
    border: 1px solid rgba(240,213,45,0.18);
    border-radius: 10px;
    padding: 12px 14px;
}

/* Light grid overlay evokes blocks; very subtle */
body.learn::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(240,213,45,0.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(240,213,45,0.04) 1px, transparent 1px);
    background-size: 24px 24px, 24px 24px;
    z-index: 0;
}

/* Keep content above the overlay */
body.learn .header,
body.learn .about-hero,
body.learn .container {
    position: relative;
    z-index: 1;
}

/* Accents */
body.learn h2, body.learn h3 { color: #F0D52D; }

/* Keep list markers inside card padding to avoid clipping on the left edge */
body.learn .learn-content ul,
body.learn .learn-content ol {
    list-style-position: inside;
    padding-left: 0.75rem;
    margin-left: 0;
}

/* About Page */
.about-hero {
    padding: 64px 0 24px; /* ensure hero title clears fixed header */
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

/* Tighten large vertical gaps on About page between hero → sections */
.about-hero + .core-features { padding-top: 36px; }
.core-features + .brand-story { padding-top: 36px; }

/* Also slightly reduce default section paddings used repeatedly on About */
.core-features, .brand-story { padding-top: 56px; padding-bottom: 56px; }
/* Reduce following-section top padding when stacked on About */
.brand-story + .core-features { padding-top: 36px; }
.core-features + .technical-details { padding-top: 36px; }
.technical-details + .tesla-section { padding-top: 48px; }
.tesla-section { padding-top: 64px; padding-bottom: 64px; }
.roadmap-preview { padding-top: 64px; padding-bottom: 64px; }
.roadmap-preview + .technical-details { padding-top: 36px; }

/* Learn hero: show subtle cube grid like below */
body.learn .about-hero { position: relative; }
body.learn .about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(240,213,45,0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(240,213,45,0.05) 1px, transparent 1px);
    background-size: 24px 24px, 24px 24px;
}

.core-features {
    padding: 80px 0;
    background: #111111;
}

.feature-card.large {
    padding: 40px;
}

.tesla-section {
    padding: 80px 0;
    background: #000000;
}

.tesla-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tesla-quote {
    text-align: center;
}

.tesla-quote blockquote {
    font-size: 32px;
    color: #F0D52D;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.4;
}

.tesla-quote cite {
    font-size: 18px;
    color: #cccccc;
}

.tesla-explanation h3 {
    color: #F0D52D;
    margin-bottom: 20px;
    font-size: 24px;
}

.tesla-explanation p {
    color: #cccccc;
    margin-bottom: 15px;
    line-height: 1.6;
}

.brand-story {
    padding: 80px 0;
    background: #111111;
}

.story-content p {
    color: #cccccc;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.technical-details {
    padding: 80px 0;
    background: #000000;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.tech-item {
    background: rgba(240, 213, 45, 0.05);
    border: 1px solid rgba(240, 213, 45, 0.2);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.tech-item h4 {
    color: #F0D52D;
    margin-bottom: 10px;
}

.tech-item p {
    color: #cccccc;
}

.roadmap-preview {
    padding: 80px 0;
    background: #111111;
}

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

.roadmap-card {
    background: rgba(240, 213, 45, 0.05);
    border: 1px solid rgba(240, 213, 45, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}

.roadmap-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.roadmap-card h3 {
    color: #F0D52D;
    margin-bottom: 15px;
}

.roadmap-card p {
    color: #cccccc;
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    text-align: center;
}

.cta-section h2 {
    color: #F0D52D;
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    color: #cccccc;
    font-size: 18px;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Presale Page */
.presale-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    text-align: center;
}

.price-highlight {
    margin-top: 30px;
}

.current-price {
    display: block;
    font-size: 48px;
    color: #F0D52D;
    font-weight: bold;
    margin-bottom: 10px;
}

.price-label {
    color: #cccccc;
    font-size: 18px;
}

.pricing-tiers {
    padding: 80px 0;
    background: #111111;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(240, 213, 45, 0.05);
    border: 2px solid rgba(240, 213, 45, 0.3);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: #F0D52D;
    transform: translateY(-5px);
}

.pricing-card.presale {
    border-color: #F0D52D;
    background: rgba(240, 213, 45, 0.1);
}

.pricing-header h3 {
    color: #F0D52D;
    margin-bottom: 20px;
    font-size: 24px;
}

.price {
    font-size: 48px;
    color: #F0D52D;
    font-weight: bold;
    margin-bottom: 5px;
}

.price-per {
    color: #cccccc;
    font-size: 16px;
    margin-bottom: 30px;
}

.pricing-examples {
    margin-bottom: 30px;
}

.example {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(240, 213, 45, 0.2);
}

.example:last-child {
    border-bottom: none;
}

.amount {
    color: #F0D52D;
    font-weight: bold;
}

.equals {
    color: #cccccc;
}

.bnc {
    color: #ffffff;
    font-weight: bold;
}

.pricing-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #F0D52D;
    color: #000000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

/* Enhanced Pricing Cards */
.pricing-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid rgba(240, 213, 45, 0.3);
    box-shadow: 0 0 25px rgba(240, 213, 45, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: #F0D52D;
    box-shadow: 0 0 40px rgba(240, 213, 45, 0.4);
}

.pricing-card.presale {
    animation: gentleGlow 3s ease-in-out infinite;
}

.price {
    background: linear-gradient(45deg, #F0D52D, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(240, 213, 45, 0.5);
}

/* Calculator */
.calculator-section {
    padding: 80px 0;
    background: #000000;
}

.calculator {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(240, 213, 45, 0.05);
    border: 1px solid rgba(240, 213, 45, 0.3);
    border-radius: 15px;
    padding: 40px;
}

.calculator-input {
    margin-bottom: 30px;
}

.calculator-input label {
    display: block;
    color: #F0D52D;
    margin-bottom: 10px;
    font-weight: bold;
}

.input-group {
    display: flex;
    align-items: center;
    background: #111111;
    border: 1px solid rgba(240, 213, 45, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.currency-symbol {
    padding: 15px;
    background: rgba(240, 213, 45, 0.1);
    color: #F0D52D;
    font-weight: bold;
}

.input-group input {
    flex: 1;
    padding: 15px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 18px;
}

.input-group input:focus {
    outline: none;
}

.calculator-result {
    margin-bottom: 30px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(240, 213, 45, 0.2);
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    color: #cccccc;
}

.result-value {
    color: #F0D52D;
    font-weight: bold;
    font-size: 18px;
}

.calculator-savings {
    text-align: center;
    padding: 20px;
    background: rgba(240, 213, 45, 0.1);
    border-radius: 10px;
}

.savings-label {
    color: #cccccc;
    margin-right: 10px;
}

.savings-amount {
    color: #F0D52D;
    font-weight: bold;
    font-size: 18px;
    margin-right: 10px;
}

.savings-note {
    color: #cccccc;
    font-size: 14px;
}

/* Enhanced Calculator */
.calculator {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid rgba(240, 213, 45, 0.5);
    box-shadow: 
        0 0 30px rgba(240, 213, 45, 0.2),
        inset 0 0 30px rgba(240, 213, 45, 0.05);
    animation: cyberPulse 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(240, 213, 45, 0.1), transparent);
    animation: dataStream 8s linear infinite;
    pointer-events: none;
}

.calculator-bonus {
    background: linear-gradient(135deg, rgba(240, 213, 45, 0.2) 0%, rgba(212, 175, 55, 0.2) 100%);
    border: 2px solid #F0D52D;
    box-shadow: 0 0 25px rgba(240, 213, 45, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.bonus-amount {
    text-shadow: 0 0 15px rgba(240, 213, 45, 0.8);
    animation: sparkle 2s ease-in-out infinite;
}

/* Enhanced Form Elements */
.input-group:focus-within {
    border-color: #F0D52D;
    box-shadow: 0 0 20px rgba(240, 213, 45, 0.4);
    animation: pulse 0.6s ease-in-out;
}

/* Payment Disclaimer */
.payment-disclaimer {
    background: rgba(240, 213, 45, 0.1);
    border: 2px solid #F0D52D;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.payment-disclaimer p {
    margin: 0;
    color: #F0D52D;
    font-weight: 500;
}

.form-summary {
    background: linear-gradient(135deg, rgba(240, 213, 45, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    border: 1px solid rgba(240, 213, 45, 0.3);
    box-shadow: 0 0 20px rgba(240, 213, 45, 0.2);
}

.summary-item.bonus {
    color: #F0D52D;
    text-shadow: 0 0 10px rgba(240, 213, 45, 0.5);
    animation: sparkle 3s ease-in-out infinite;
}

/* Payment Methods */
.payment-methods {
    padding: 80px 0;
    background: #111111;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 30px;
    max-width: 960px;
    margin: 0 auto;
    justify-items: center;
}

.payment-method {
    background: rgba(240, 213, 45, 0.05);
    border: 1px solid rgba(240, 213, 45, 0.2);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: #F0D52D;
    transform: translateY(-3px);
}

.payment-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.payment-method span {
    color: #cccccc;
    font-weight: 500;
}

/* Enhanced Payment Methods */
.payment-method {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 1px solid rgba(240, 213, 45, 0.2);
    box-shadow: 0 0 15px rgba(240, 213, 45, 0.1);
    transition: all 0.3s ease;
}

.payment-method:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: #F0D52D;
    box-shadow: 0 0 25px rgba(240, 213, 45, 0.3);
}

.payment-icon {
    text-shadow: 0 0 10px rgba(240, 213, 45, 0.5);
    animation: sparkle 4s ease-in-out infinite;
}

/* Official brand logos in payment cards */
.payment-method .brand-logo {
    display: block;
    margin: 0 auto 12px auto;
    max-width: 140px;
    max-height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(240,213,45,0.25));
}

/* Help Section */
.help-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(240, 213, 45, 0.05) 100%);
}

.help-toggle {
    text-align: center;
    margin-bottom: 30px;
}

.help-toggle-btn {
    background: linear-gradient(135deg, #F0D52D 0%, #FFD700 100%);
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    color: #000;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(240, 213, 45, 0.3);
}

.help-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 213, 45, 0.5);
}

.help-icon {
    font-size: 18px;
}

.help-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.help-toggle-btn.active .help-arrow {
    transform: rotate(180deg);
}

.help-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.help-content.active {
    max-height: 99999px; /* allow full expansion on mobile */
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.help-card {
    background: rgba(240, 213, 45, 0.1);
    border: 2px solid #F0D52D;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.help-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(240, 213, 45, 0.1), transparent);
    transition: left 0.5s ease;
}

.help-card:hover::before {
    left: 100%;
}

.help-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(240, 213, 45, 0.3);
}

.help-card h3 {
    color: #F0D52D;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.help-card h4 {
    color: #F0D52D;
    margin: 20px 0 10px 0;
    font-size: 16px;
    font-weight: 600;
}

.help-card p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.help-card ul {
    margin: 15px 0;
    padding-left: 20px;
}

.help-card li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.help-card strong {
    color: #F0D52D;
}

.help-card em {
    color: #ccc;
    font-style: italic;
}

/* Wallet Table */
.wallet-table {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 0;
}

.wallet-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2fr;
    gap: 10px;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(240, 213, 45, 0.2);
}

.wallet-row:last-child {
    border-bottom: none;
}

.wallet-row.header {
    background: rgba(240, 213, 45, 0.2);
    font-weight: 600;
    color: #F0D52D;
}

.wallet-row span {
    font-size: 14px;
}

/* Process Steps */
.process-steps {
    margin: 20px 0;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 4px solid #F0D52D;
}

.step-number {
    background: #F0D52D;
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Contact Info */
.contact-info {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info a {
    color: #F0D52D;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Purchase Form */
.purchase-form {
    padding: 80px 0;
    background: #000000;
}

.form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(240, 213, 45, 0.05);
    border: 1px solid rgba(240, 213, 45, 0.3);
    border-radius: 15px;
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #F0D52D;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    background: #111111;
    border: 1px solid rgba(240, 213, 45, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #F0D52D;
}

.form-group small {
    display: block;
    color: #cccccc;
    font-size: 14px;
    margin-top: 5px;
}

.form-summary {
    background: rgba(240, 213, 45, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: #cccccc;
}

.summary-item.total {
    border-top: 1px solid rgba(240, 213, 45, 0.3);
    margin-top: 10px;
    padding-top: 15px;
    color: #F0D52D;
    font-weight: bold;
    font-size: 18px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #cccccc;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.checkbox-label a {
    color: #F0D52D;
    text-decoration: none;
}

.submit-button {
    width: 100%;
    background: #F0D52D;
    color: #000000;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

.delivery-info {
    margin-top: 30px;
    padding: 20px;
    background: rgba(240, 213, 45, 0.05);
    border-radius: 10px;
}

.delivery-info p {
    color: #cccccc;
    margin-bottom: 10px;
}

.delivery-info a {
    color: #F0D52D;
    text-decoration: none;
}

/* Calculator Styles */
.calculator {
    background: #1a1a1a;
    border: 2px solid rgba(240, 213, 45, 0.3);
    border-radius: 15px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(240, 213, 45, 0.1);
}

.calculator-input {
    margin-bottom: 2rem;
}

.calculator-input label {
    display: block;
    color: #F0D52D;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.input-group {
    display: flex;
    align-items: center;
    background: #000;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: #F0D52D;
    box-shadow: 0 0 0 2px rgba(240, 213, 45, 0.2);
}

.currency-symbol {
    color: #F0D52D;
    font-weight: bold;
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.calculator-input input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    width: 100%;
    outline: none;
}

.calculator-input input::placeholder {
    color: #666;
}

.calculator-result {
    background: rgba(240, 213, 45, 0.1);
    border: 1px solid rgba(240, 213, 45, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-label {
    color: #ccc;
    font-size: 1rem;
}

.result-value {
    color: #F0D52D;
    font-weight: bold;
    font-size: 1.2rem;
}

.calculator-bonus {
    background: linear-gradient(135deg, rgba(240, 213, 45, 0.15) 0%, rgba(212, 175, 55, 0.15) 100%);
    border: 2px solid #F0D52D;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.calculator-bonus::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(240, 213, 45, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.bonus-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.bonus-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.bonus-label {
    color: #F0D52D;
    font-weight: bold;
    font-size: 1.1rem;
}

.bonus-amount {
    font-size: 2rem;
    font-weight: bold;
    color: #F0D52D;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(240, 213, 45, 0.5);
}

.bonus-explanation {
    color: #ccc;
    font-size: 0.9rem;
}

.bonus-explanation .highlight {
    color: #F0D52D;
    font-weight: bold;
}

.calculator-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.comparison-item {
    background: #000;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.comparison-item.presale {
    border-color: rgba(240, 213, 45, 0.5);
    background: rgba(240, 213, 45, 0.05);
}

.comparison-item.regular {
    border-color: #333;
    background: rgba(255, 255, 255, 0.02);
}

.comparison-label {
    display: block;
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.comparison-value {
    display: block;
    font-weight: bold;
    font-size: 1.1rem;
}

.comparison-item.presale .comparison-value {
    color: #F0D52D;
}

.comparison-item.regular .comparison-value {
    color: #999;
}

@media (max-width: 900px) {
    .payment-grid { grid-template-columns: repeat(2, minmax(160px, 1fr)); }
}

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

@media (max-width: 768px) {
    .calculator {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .calculator-comparison {
        grid-template-columns: 1fr;
    }
    
    .bonus-amount {
        font-size: 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        justify-content: center;
    }
    /* tighten mobile vertical rhythm */
    .hero { padding: 56px 0 28px; }
    .features { padding: 36px 0; }
    .roadmap { padding: 36px 0; }
    
    .nav {
        gap: 16px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .nav::-webkit-scrollbar { display: none; }
    .nav-link { flex: 0 0 auto; font-size: 14px; }
    
    .tesla-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .roadmap-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

/* Mobile sizing for hero blocks */
@media (max-width: 768px) {
  .hero-coin { width: 88vw; max-width: 420px; height: 98px; }
  .hero-coin .coin-number { font-size: 28px; }
  .hero-coin .coin-text { font-size: 11px; }
}

/* Enhanced Navigation */
.nav-link.active {
    color: #F0D52D !important;
    position: relative;
}

.nav-link.active::after {
    /* underline disabled */
    content: none;
}

/* Disable any nav underline effects globally */
.nav-link::after {
    content: none !important;
}

/* Enhanced Section Titles */
.section-title {
    background: linear-gradient(45deg, #F0D52D, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(240, 213, 45, 0.3);
    position: relative;
}

/* Homepage: hide the "Why Banncoin?" heading in features */
.features > .container > .section-title { display: none; }

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #F0D52D, #D4AF37);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(240, 213, 45, 0.8);
}

/* Floating Animation for Coins */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.coin {
    animation: float 3s ease-in-out infinite;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-link {
    color: #F0D52D;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border: 2px solid #F0D52D;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 14px;
    background: rgba(240, 213, 45, 0.1);
}

.social-link:hover {
    background: #F0D52D;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 213, 45, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .calculator {
        animation: none;
    }
    
    .feature-card:hover {
        transform: translateY(-3px) scale(1.01);
    }
    
    .pricing-card:hover {
        transform: translateY(-5px);
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    /* Help section mobile styles */
    .help-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .help-card {
        padding: 20px;
    }
    
    .wallet-row {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 10px;
    }
    
    .wallet-row.header {
        display: none;
    }
    
    .wallet-row span {
        font-size: 12px;
    }
    
    .help-toggle-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Explorer nav link is visible (previously hidden) */

/* Presale spacing tweaks: tighten vertical rhythm and reduce large gaps */
body.presale .presale-hero { padding: 92px 0 28px; }
body.presale .page-title { margin-bottom: 14px; }
body.presale .page-subtitle { margin-bottom: 22px; }

body.presale .pricing-tiers,
body.presale .calculator-section,
body.presale .payment-methods,
body.presale .purchase-form { padding: 48px 0; }

body.presale .section-title { margin-bottom: 18px; }
body.presale .help-section { padding: 32px 0; }
body.presale .help-toggle { margin-bottom: 14px; }
body.presale .delivery-info { margin-top: 20px; }

@media (max-width: 768px) {
  body.presale .presale-hero { padding: 76px 0 20px; }
  body.presale .pricing-tiers,
  body.presale .calculator-section,
  body.presale .payment-methods,
  body.presale .purchase-form { padding: 36px 0; }
  body.presale .help-section { padding: 24px 0; }
}

/* Global: hide Bannchain/Explorer link in the top header navigation across the site */
.nav a[href="explorer.html"],
.nav a[href="/explorer"],
.nav a[href="explorer"] {
  display: none !important;
}
