/* ===== RETRO 90s NEON AESTHETIC ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --neon-cyan: #00F0FF;
    --neon-pink: #FF006E;
    --neon-purple: #BD00FF;
    --neon-lime: #39FF14;
    --neon-orange: #FF6600;
    --neon-yellow: #FFFF00;
    --neon-blue: #0080FF;
    
    --bg-dark: #0a0e27;
    --bg-darker: #050812;
    --bg-card: #1a1f3a;
    --bg-accent: #2d2145;
    
    --text-bright: #00F0FF;
    --text-neon-pink: #FF006E;
    --text-neon-lime: #39FF14;
    --text-white: #FFFFFF;
    --text-gray: #888899;
    
    --radius: 4px;
    --radius-lg: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, #1a0a2e 100%);
    color: var(--text-bright);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    background-attachment: fixed;
}

/* Dad Jokes Wallpaper Background Pattern */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000' height='1200' viewBox='0 0 1000 1200'%3E%3Ctext x='75' y='85' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(-23 75 100)'%3EWhy did the hacker%3C/text%3E%3Ctext x='75' y='99' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(-23 75 100)'%3Ego to the beach?%3C/text%3E%3Ctext x='925' y='160' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(31 925 175)'%3EI told my password%3C/text%3E%3Ctext x='925' y='174' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(31 925 175)'%3Eto my therapist...%3C/text%3E%3Ctext x='150' y='280' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(-11 150 300)'%3EWhat did the%3C/text%3E%3Ctext x='150' y='294' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(-11 150 300)'%3Efirewall say to%3C/text%3E%3Ctext x='150' y='308' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(-11 150 300)'%3Ethe malware?%3C/text%3E%3Ctext x='850' y='430' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(27 850 450)'%3EDid you hear about%3C/text%3E%3Ctext x='850' y='444' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(27 850 450)'%3Ethe claustrophobic%3C/text%3E%3Ctext x='850' y='458' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(27 850 450)'%3Eserver?%3C/text%3E%3Ctext x='250' y='530' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(-34 250 550)'%3EWhy do programmers%3C/text%3E%3Ctext x='250' y='544' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(-34 250 550)'%3Eprefer dark mode?%3C/text%3E%3Ctext x='800' y='680' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(19 800 700)'%3EHow many%3C/text%3E%3Ctext x='800' y='694' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(19 800 700)'%3Eprogrammers does%3C/text%3E%3Ctext x='800' y='708' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(19 800 700)'%3Eit take to change a%3C/text%3E%3Ctext x='800' y='722' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(19 800 700)'%3Elightbulb?%3C/text%3E%3Ctext x='200' y='830' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(-29 200 850)'%3EWhy did the%3C/text%3E%3Ctext x='200' y='844' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(-29 200 850)'%3Ecybersecurity expert%3C/text%3E%3Ctext x='200' y='858' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(-29 200 850)'%3Ebreak up?%3C/text%3E%3Ctext x='875' y='955' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(8 875 975)'%3EWhat is a password%3C/text%3E%3Ctext x='875' y='969' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(8 875 975)'%3Emanager favorite%3C/text%3E%3Ctext x='875' y='983' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(8 875 975)'%3Emusic?%3C/text%3E%3Ctext x='300' y='1030' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(-36 300 1050)'%3EWhy do hackers%3C/text%3E%3Ctext x='300' y='1044' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(-36 300 1050)'%3Enever get tired?%3C/text%3E%3Ctext x='750' y='1130' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(25 750 1150)'%3EWhat do you call a%3C/text%3E%3Ctext x='750' y='1144' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(25 750 1150)'%3Ecybersecurity expert%3C/text%3E%3Ctext x='750' y='1158' font-family='Courier New, monospace' font-size='12' fill='%2300e5ff' opacity='0.25' transform='rotate(25 750 1150)'%3Ewho bakes?%3C/text%3E%3C/svg%3E");
    background-size: 1000px 1200px;
    background-attachment: fixed;
    background-repeat: repeat;
    pointer-events: none;
    z-index: 1;
}

/* Retro grid background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}
/* Navigation Bar - Retro Neon */
.navbar {
    background: linear-gradient(90deg, rgba(10, 14, 39, 0.95) 0%, rgba(13, 0, 39, 0.95) 100%);
    border-bottom: 3px solid var(--neon-cyan);
    border-top: 3px solid var(--neon-pink);
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    top: 0;
    z-index: 100;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3), 0 0 40px rgba(255, 0, 110, 0.2);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-pink), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.navbar-links {
    display: flex;
    gap: 2rem;
}

.navbar-links a {
    text-decoration: none;
    color: var(--neon-cyan);
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.navbar-links a::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    box-shadow: 0 0 10px var(--neon-cyan);
    transition: width 0.3s ease;
}

.navbar-links a:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
}

.navbar-links a:hover::before {
    width: 100%;
}

/* Mobile Hamburger Menu */
.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: var(--neon-cyan);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px var(--neon-cyan);
}

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

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

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

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: linear-gradient(180deg, rgba(10, 14, 39, 0.98) 0%, rgba(13, 0, 39, 0.98) 100%);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        border-bottom: 2px solid var(--neon-cyan);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .navbar-links.active {
        max-height: 400px;
    }

    .navbar-links a {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(0, 240, 255, 0.2);
        font-size: 14px;
    }

    .navbar-links a:hover {
        background: rgba(0, 240, 255, 0.1);
    }

    .navbar-links a::before {
        display: none;
    }
}

/* Hero Section - Retro Neon */
.hero {
    background: linear-gradient(180deg, 
        rgba(0, 240, 255, 0.05) 0%, 
        rgba(255, 0, 110, 0.03) 50%, 
        rgba(189, 0, 255, 0.02) 100%);
    border: 2px solid var(--neon-pink);
    border-left: 2px solid var(--neon-cyan);
    border-right: 2px solid var(--neon-purple);
    padding: 5rem 2rem;
    text-align: center;
    box-shadow: 
        inset 0 0 30px rgba(0, 240, 255, 0.1),
        0 0 40px rgba(255, 0, 110, 0.2),
        0 0 60px rgba(0, 240, 255, 0.1);
    position: relative;
    z-index: 10;
    margin: 1rem;
}

.hero h1 {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(45deg, 
        var(--neon-cyan), 
        var(--neon-pink), 
        var(--neon-purple),
        var(--neon-lime));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

.hero p {
    font-size: 15px;
    color: var(--neon-cyan);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles - Retro Neon */
.btn {
    padding: 0.9rem 2rem;
    border-radius: var(--radius);
    border: 3px solid var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-cyan);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 240, 255, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover {
    border-color: var(--neon-cyan);
    color: var(--text-white);
    text-shadow: 0 0 10px var(--neon-cyan);
    box-shadow: 0 0 20px var(--neon-cyan), inset 0 0 20px rgba(0, 240, 255, 0.2);
}

.btn:hover::before {
    left: 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    color: var(--text-white);
    border: 3px solid var(--neon-pink);
    font-weight: 900;
}

.btn-primary:hover {
    box-shadow: 
        0 0 20px var(--neon-pink),
        0 0 40px var(--neon-pink),
        inset 0 0 20px rgba(255, 0, 110, 0.3);
    border-color: var(--neon-pink);
    transform: scale(1.05);
}

.btn-outline {
    border: 3px solid var(--neon-lime);
    background: rgba(57, 255, 20, 0.08);
    color: var(--neon-lime);
}

.btn-outline:hover {
    box-shadow: 0 0 20px var(--neon-lime), inset 0 0 20px rgba(57, 255, 20, 0.15);
    color: var(--text-white);
}

.btn-primary:active,
.btn:active {
    transform: scale(0.98);
}

/* Section Styles - Retro */
.section {
    padding: 3.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink), var(--neon-lime));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

/* Products Grid - Retro */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.product-card {
    background: linear-gradient(135deg, rgba(45, 33, 69, 0.8) 0%, rgba(26, 31, 58, 0.8) 100%);
    border: 3px solid var(--neon-cyan);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(255, 0, 110, 0.1));
    border-radius: var(--radius-lg);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    border-color: var(--neon-pink);
    box-shadow: 
        0 0 20px var(--neon-cyan),
        0 0 40px var(--neon-pink),
        inset 0 0 20px rgba(255, 0, 110, 0.1);
    transform: translateY(-4px) scale(1.02);
}

.product-card:hover::after {
    opacity: 1;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--neon-lime), var(--neon-cyan));
    color: var(--bg-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px var(--neon-lime);
}

.product-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--neon-pink);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-desc {
    font-size: 12px;
    color: var(--text-bright);
    margin-bottom: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.product-price {
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(90deg, var(--neon-lime), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-card .btn {
    width: 100%;
    margin-top: auto;
}

/* Featured Section - Retro */
.featured {
    background: linear-gradient(135deg, rgba(45, 33, 69, 0.9) 0%, rgba(26, 31, 58, 0.9) 100%);
    border: 3px solid var(--neon-purple);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 
        0 0 30px var(--neon-purple),
        inset 0 0 30px rgba(189, 0, 255, 0.1);
    position: relative;
}

.featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Free Resources Grid - Retro */

/* CTA Section - Retro */
.cta-section {
    background: linear-gradient(135deg, 
        rgba(255, 0, 110, 0.15) 0%, 
        rgba(189, 0, 255, 0.15) 50%,
        rgba(0, 240, 255, 0.1) 100%);
    border: 4px solid;
    border-image: linear-gradient(90deg, var(--neon-pink), var(--neon-purple), var(--neon-cyan)) 1;
    color: var(--text-bright);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2rem;
    text-align: center;
    margin: 3rem auto;
    max-width: 1200px;
    box-shadow: 
        0 0 40px var(--neon-pink),
        0 0 60px var(--neon-purple),
        inset 0 0 40px rgba(255, 0, 110, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 240, 255, 0.1), 
        transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.cta-section p {
    font-size: 15px;
    margin-bottom: 2rem;
    color: var(--neon-cyan);
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.cta-section .btn {
    margin: 0.5rem;
    position: relative;
    z-index: 2;
}

/* Footer - Retro Neon */
.footer {
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.9) 0%, rgba(5, 8, 18, 0.95) 100%);
    border-top: 4px solid var(--neon-cyan);
    border-bottom: 4px solid var(--neon-pink);
    padding: 3rem 2rem;
    text-align: center;
    color: var(--neon-cyan);
    font-size: 12px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.social-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.social-links a:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
}

.social-links a:hover::after {
    transform: scaleX(1);
}

.footer p {
    margin-bottom: 0.75rem;
    font-weight: 500;
}

/* Responsive Design - Retro */
@media (max-width: 768px) {
    body::before {
        background-size: 40px 40px;
    }
    
    .navbar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }
    
    .navbar-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero {
        padding: 3rem 1rem;
        margin: 0.5rem;
    }
    
    .hero h1 {
        font-size: 32px;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 13px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 90%;
    }
    
    .section {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .featured {
        padding: 1.5rem;
    }
    
    .cta-section {
        padding: 2rem 1rem;
        margin: 2rem 0.5rem;
    }
    
    .cta-section h2 {
        font-size: 24px;
    }
    
    .social-links {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
        letter-spacing: 1px;
    }
    
    .navbar {
        padding: 0.75rem;
    }
    
    .navbar-brand {
        font-size: 18px;
    }
    
    .navbar-links {
        font-size: 12px;
        gap: 0.5rem;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 12px;
    }
}

/* Product Image Container - Retro */
.product-image-container {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.08) 0%, rgba(189, 0, 255, 0.08) 100%);
    border: 2px solid var(--neon-cyan);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Free Resources Grid - Retro */
.free-resources-grid-books {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.free-resource-card {
    background: linear-gradient(135deg, rgba(45, 33, 69, 0.8) 0%, rgba(26, 31, 58, 0.8) 100%);
    border: 2px solid var(--neon-lime);
    padding: 1rem;
    text-align: center;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
    transition: all 0.3s ease;
    border-radius: var(--radius-lg);
}

.free-resource-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 25px var(--neon-cyan);
    transform: translateY(-3px);
}

.resource-cover {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, rgba(189, 0, 255, 0.15) 0%, rgba(0, 240, 255, 0.15) 100%);
    border: 2px dashed var(--neon-lime);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 20px var(--neon-pink), inset 0 0 10px rgba(255, 0, 110, 0.2);
    }
    50% {
        box-shadow: 0 0 40px var(--neon-pink), inset 0 0 20px rgba(255, 0, 110, 0.3);
    }
}

.product-card {
    animation: slideUp 0.6s ease-out;
}

.badge {
    animation: glow-pulse 2s ease-in-out infinite;
}

/* Utility Classes */

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-cyan), var(--neon-pink));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--neon-pink), var(--neon-purple));
    box-shadow: 0 0 10px var(--neon-cyan);
}

/* Input Field Styling - Retro */
input[type="text"],
input[type="email"],
textarea,
select {
    font-family: 'Courier New', monospace;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--neon-pink) !important;
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.4) !important;
    background: rgba(255, 0, 110, 0.08) !important;
}

/* Marketing Contact Cards */

/* ===== BACKGROUND DAD JOKES ===== */
/* Joke Popup Bubble */
.joke-popup {
    position: fixed;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.98) 0%, rgba(57, 255, 20, 0.98) 100%);
    border: 3px solid var(--neon-cyan);
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 320px;
    z-index: 9999;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.8), 0 0 60px rgba(57, 255, 20, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    display: none;
    left: -9999px;
    top: -9999px;
}

.joke-popup.active {
    opacity: 1;
    pointer-events: auto;
    display: block;
}

.joke-popup-content {
    color: #121212;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
    text-align: center;
}

.joke-popup::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.98) 0%, rgba(57, 255, 20, 0.98) 100%);
    border: 3px solid var(--neon-cyan);
    border-radius: 50%;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.8);
}

/* Floating Social Sidebar - Icon Only */
.social-sidebar {
    position: fixed;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 9999;
    background: rgba(18, 18, 18, 0.95);
    padding: 6px;
    border-radius: 8px;
    border: 1px solid #00e5ff;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3), inset 0 0 10px rgba(0, 229, 255, 0.05);
    backdrop-filter: blur(15px);
    pointer-events: auto;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.2);
    line-height: 1;
}

/* TikTok Button */
.social-btn.tiktok {
    background: rgba(0, 247, 239, 0.1);
    color: #00f7ef;
    border-color: #00f7ef;
}

.social-btn.tiktok:hover {
    background: #00f7ef;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 247, 239, 1);
    transform: scale(1.2) rotate(3deg);
}

/* YouTube Button */
.social-btn.youtube {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    border-color: #ff0000;
}

.social-btn.youtube:hover {
    background: #ff0000;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 0, 0, 1);
    transform: scale(1.2) rotate(3deg);
}

/* Threads Button */
.social-btn.threads {
    background: rgba(49, 162, 76, 0.1);
    color: #31a24c;
    border-color: #31a24c;
}

.social-btn.threads:hover {
    background: #31a24c;
    color: #fff;
    box-shadow: 0 0 20px rgba(49, 162, 76, 1);
    transform: scale(1.2) rotate(3deg);
}

/* Instagram Button */
.social-btn.instagram {
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
    border-color: #e1306c;
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    box-shadow: 0 0 20px rgba(225, 48, 108, 1);
    transform: scale(1.2) rotate(3deg);
    border-color: transparent;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .social-sidebar {
        left: 10px;
        padding: 5px;
        gap: 4px;
    }
    
    .social-btn {
        width: 26px;
        height: 26px;
        font-size: 0.85rem;
    }
}

/* Privacy Policy Link - Prominent Footer */
.privacy-link {
    font-weight: bold !important;
    font-size: 1.1rem !important;
    color: var(--neon-magenta) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.5rem 1rem !important;
    border: 2px solid var(--neon-magenta) !important;
    border-radius: 6px;
    display: inline-block;
    background: rgba(255, 0, 255, 0.1);
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.6);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
    transition: all 0.3s ease;
}

.privacy-link:hover {
    background: rgba(255, 0, 255, 0.2);
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.6);
    text-shadow: 0 0 15px rgba(255, 0, 255, 0.8);
    transform: scale(1.05);
}

/* Enhanced Select Dropdown Styling */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 10"><polyline points="1,1 10,9 19,1" stroke="%2300e5ff" stroke-width="2" fill="none" stroke-linecap="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 40px;
}

select option {
    background: #1a1a1a;
    color: #00e5ff;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1rem;
    padding: 0.75rem;
    line-height: 1.8;
}

select option:hover {
    background: #00e5ff;
    color: #0a0a0a;
}

select option:checked {
    background: linear-gradient(135deg, #00e5ff 0%, #00f0ff 100%);
    background-color: #00e5ff;
    color: #0a0a0a;
    font-weight: bold;
}

@media (max-width: 768px) {
    .joke-popup {
        max-width: 220px;
        padding: 1rem;
        font-size: 12px;
    }
}

/* ===== ATTENTION EFFECTS: hero alert + quiz spotlight ===== */
.hero { overflow-x: clip; }

/* Hero headline framed as an alert banner */
.hero-alert {
    position: relative;
    max-width: 860px;
    margin: 0 auto 2rem;
    padding: 1.5rem 1.5rem 1.4rem;
    border: 3px solid var(--neon-pink);
    border-radius: var(--radius-lg);
    background: rgba(5, 8, 18, 0.6);
    box-shadow:
        0 0 18px rgba(255, 0, 110, 0.55),
        0 0 42px rgba(0, 240, 255, 0.3),
        inset 0 0 24px rgba(255, 0, 110, 0.15);
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.hero-alert::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: 0 0 34px 4px var(--neon-cyan), 0 0 70px 8px rgba(255, 0, 110, 0.6);
    opacity: 0.15;
    animation: alertBreathe 3s ease-in-out infinite;
}

.hero-alert:hover {
    border-color: var(--neon-cyan);
    transform: scale(1.02);
    box-shadow:
        0 0 24px var(--neon-cyan),
        0 0 54px var(--neon-pink),
        inset 0 0 28px rgba(0, 240, 255, 0.2);
}

.hero-alert h1 {
    margin: 0 auto;
    filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.55));
}

@keyframes alertBreathe {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.65; }
}

/* Flash out, then come back in a different way each time (see initHeroAlert in script.js) */
.hero-alert.fx-flicker     { animation: heroFxFlicker 2s linear 1; }
.hero-alert.fx-zoom        { animation: heroFxZoom 1.8s ease-out 1; }
.hero-alert.fx-slide-left  { animation: heroFxSlideLeft 1.8s ease-out 1; }
.hero-alert.fx-slide-right { animation: heroFxSlideRight 1.8s ease-out 1; }
.hero-alert.fx-drop        { animation: heroFxDrop 1.8s ease-out 1; }
.hero-alert.fx-glitch      { animation: heroFxGlitch 1.6s linear 1; }
.hero-alert.fx-flip        { animation: heroFxFlip 1.8s ease-out 1; }

@keyframes heroFxFlicker {
    0%   { opacity: 1; }
    6%   { opacity: 0; }
    22%  { opacity: 1; }
    38%  { opacity: 0; }
    56%  { opacity: 1; filter: brightness(1.8); }
    100% { opacity: 1; filter: none; }
}

@keyframes heroFxZoom {
    0%   { opacity: 1; transform: scale(1); }
    10%  { opacity: 0; transform: scale(0.9); }
    12%  { opacity: 0; transform: scale(0.2); }
    55%  { opacity: 1; transform: scale(1.12); filter: brightness(1.6); }
    75%  { transform: scale(0.97); filter: brightness(1.2); }
    100% { opacity: 1; transform: scale(1); filter: none; }
}

@keyframes heroFxSlideLeft {
    0%   { opacity: 1; transform: none; }
    10%  { opacity: 0; transform: none; }
    11%  { opacity: 0; transform: translateX(-110vw); }
    60%  { opacity: 1; transform: translateX(3%); filter: brightness(1.5); }
    80%  { transform: translateX(-1%); }
    100% { opacity: 1; transform: none; filter: none; }
}

@keyframes heroFxSlideRight {
    0%   { opacity: 1; transform: none; }
    10%  { opacity: 0; transform: none; }
    11%  { opacity: 0; transform: translateX(110vw); }
    60%  { opacity: 1; transform: translateX(-3%); filter: brightness(1.5); }
    80%  { transform: translateX(1%); }
    100% { opacity: 1; transform: none; filter: none; }
}

@keyframes heroFxDrop {
    0%   { opacity: 1; transform: none; }
    10%  { opacity: 0; transform: none; }
    11%  { opacity: 0; transform: translateY(-90px); }
    55%  { opacity: 1; transform: translateY(8%); filter: brightness(1.5); }
    70%  { transform: translateY(-4%); }
    85%  { transform: translateY(2%); }
    100% { opacity: 1; transform: none; filter: none; }
}

@keyframes heroFxGlitch {
    0%   { opacity: 1; transform: none; filter: none; }
    10%  { opacity: 0; }
    14%  { opacity: 1; transform: translateX(-10px) skewX(10deg); filter: hue-rotate(90deg) saturate(2); }
    18%  { transform: translateX(12px) skewX(-8deg); filter: hue-rotate(-60deg); }
    24%  { transform: translateX(-6px); }
    30%  { opacity: 1; transform: translateX(8px) skewX(6deg); filter: hue-rotate(160deg) saturate(3); }
    40%  { transform: translateX(-3px); filter: hue-rotate(20deg); }
    50%  { transform: none; filter: none; }
    100% { opacity: 1; transform: none; filter: none; }
}

@keyframes heroFxFlip {
    0%   { opacity: 1; transform: perspective(900px) rotateX(0deg); }
    12%  { opacity: 0; transform: perspective(900px) rotateX(-90deg); }
    55%  { opacity: 1; transform: perspective(900px) rotateX(12deg); filter: brightness(1.5); }
    75%  { transform: perspective(900px) rotateX(-5deg); }
    100% { opacity: 1; transform: perspective(900px) rotateX(0deg); filter: none; }
}

/* Quiz section: title and box light up together */
.quiz-spot { position: relative; }

.spotlight-title {
    font-size: 40px;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.45));
    animation: titleGlow 3.2s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.quiz-spot:hover .spotlight-title {
    animation: none;
    transform: scale(1.04);
    filter: drop-shadow(0 0 14px var(--neon-cyan)) drop-shadow(0 0 30px var(--neon-pink)) brightness(1.35);
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.45)); }
    50% { filter: drop-shadow(0 0 18px rgba(255, 0, 110, 0.75)) drop-shadow(0 0 6px rgba(0, 240, 255, 0.6)); }
}

.quiz-spotlight {
    border-color: var(--neon-cyan);
    animation: quizBorder 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.quiz-spot:hover .quiz-spotlight {
    animation: quizFlash 0.6s ease-out 1;
    border-color: var(--neon-pink);
    box-shadow:
        0 0 30px var(--neon-cyan),
        0 0 60px var(--neon-pink),
        inset 0 0 30px rgba(255, 0, 110, 0.2);
    transform: translateY(-4px) scale(1.01);
}

@keyframes quizBorder {
    0%, 100% {
        border-color: var(--neon-cyan);
        box-shadow: 0 0 22px rgba(0, 240, 255, 0.55), 0 0 44px rgba(189, 0, 255, 0.35), inset 0 0 30px rgba(189, 0, 255, 0.12);
    }
    50% {
        border-color: var(--neon-pink);
        box-shadow: 0 0 28px rgba(255, 0, 110, 0.65), 0 0 56px rgba(0, 240, 255, 0.35), inset 0 0 30px rgba(255, 0, 110, 0.15);
    }
}

@keyframes quizFlash {
    0%   { filter: brightness(1.9); }
    100% { filter: brightness(1); }
}

.quiz-spotlight .btn-primary { animation: ctaPulse 2.2s ease-in-out infinite; }

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(255, 0, 110, 0.5); }
    50% { box-shadow: 0 0 22px rgba(255, 0, 110, 0.9), 0 0 36px rgba(0, 240, 255, 0.5); }
}

@media (max-width: 768px) {
    .hero-alert { padding: 1rem; }
    .spotlight-title { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-alert::before,
    .hero-alert[class*="fx-"],
    .spotlight-title,
    .quiz-spotlight,
    .quiz-spotlight .btn-primary { animation: none; }
}

/* "Also on Amazon" link under each book's Buy Now button */
.amazon-link {
    display: block;
    margin-top: 0.9rem;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--neon-cyan);
    text-decoration: underline dotted;
    text-underline-offset: 4px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Reserve room for the link on every book card so the Buy Now buttons line up across a row */
#books .product-card {
    position: relative;
    padding-bottom: 3.4rem;
}

#books .amazon-link {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.1rem;
    margin-top: 0;
}

.amazon-link:hover,
.amazon-link:focus-visible {
    color: var(--neon-lime);
    text-shadow: 0 0 8px var(--neon-lime);
}

/* Note under the books heading about paperback copies */
.books-note {
    text-align: center;
    max-width: 700px;
    margin: -1.5rem auto 2.5rem;
    font-size: 14px;
    color: var(--text-white);
}

.books-note a {
    color: var(--neon-lime);
    font-weight: 700;
    text-underline-offset: 4px;
}

.books-note a:hover,
.books-note a:focus-visible {
    text-shadow: 0 0 8px var(--neon-lime);
}
