@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
    --neon-primary: #00ff88;
    --neon-secondary: #ff0080;
    --neon-accent: #00d4ff;
    --neon-yellow: #ffff00;
    --neon-purple: #b400ff;
    --light-bg: #f8fffe;
    --ultra-light: #ffffff;
    --text-dark: #1a1a1a;
    --text-neon: #00ff88;
    --border-neon: #00d4ff;
    --shadow-neon: rgba(0, 255, 136, 0.4);
    --shadow-pink: rgba(255, 0, 128, 0.3);
    --shadow-blue: rgba(0, 212, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--light-bg) 0%, #f0fff0 50%, #f0f8ff 100%);
    min-height: 100vh;
}

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

.bestpine-header {
    background: linear-gradient(135deg, var(--ultra-light) 0%, rgba(0, 255, 136, 0.1) 100%);
    border-bottom: 3px solid var(--neon-primary);
    box-shadow: 0 0 20px var(--shadow-neon);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.bestpine-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.bestpine-logo {
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--neon-primary);
    text-decoration: none;
    text-shadow: 0 0 10px var(--shadow-neon);
    transition: all 0.3s ease;
}

.bestpine-logo:hover {
    color: var(--neon-secondary);
    text-shadow: 0 0 15px var(--shadow-pink);
    transform: scale(1.05);
}

.bestpine-nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.bestpine-nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 2px solid transparent;
}

.bestpine-nav-links a:hover {
    color: var(--neon-accent);
    border: 2px solid var(--neon-accent);
    box-shadow: 0 0 15px var(--shadow-blue);
    transform: translateY(-2px);
}

/* Mobile Navigation Toggle */
.bestpine-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--neon-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 5px var(--shadow-neon);
}

.bestpine-mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--neon-secondary);
}

.bestpine-mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.bestpine-mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: var(--neon-secondary);
}

.bestpine-hero {
    text-align: center;
    padding: 4rem 0;
    background: 
        linear-gradient(135deg, rgba(0, 255, 136, 0.9) 0%, rgba(255, 0, 128, 0.9) 50%, rgba(0, 212, 255, 0.9) 100%),
        url('../img/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.bestpine-hero h1 {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 700;
    color: var(--neon-primary);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--shadow-neon);
    animation: neonGlow 2s ease-in-out infinite alternate;
}

@keyframes neonGlow {
    from {
        text-shadow: 0 0 20px var(--shadow-neon);
    }
    to {
        text-shadow: 0 0 30px var(--shadow-neon), 0 0 40px var(--shadow-neon);
    }
}

.bestpine-hero p {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.bestpine-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--neon-primary) 0%, var(--neon-accent) 100%);
    color: var(--text-dark);
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 3px solid var(--neon-primary);
    box-shadow: 0 0 20px var(--shadow-neon);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bestpine-btn:hover {
    background: linear-gradient(135deg, var(--neon-secondary) 0%, var(--neon-purple) 100%);
    border-color: var(--neon-secondary);
    box-shadow: 0 0 30px var(--shadow-pink);
    transform: translateY(-3px) scale(1.05);
    color: var(--ultra-light);
    text-decoration: none;
}

.bestpine-section {
    padding: 3rem 0;
}

.bestpine-section h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--neon-secondary);
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 0 15px var(--shadow-pink);
}

.bestpine-games {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.bestpine-game-card {
    background: var(--ultra-light);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 3px solid var(--neon-accent);
    box-shadow: 0 0 25px var(--shadow-blue);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bestpine-game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.5s;
}

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

.bestpine-game-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon-primary);
    box-shadow: 0 0 35px var(--shadow-neon);
}

.bestpine-game-card i {
    font-size: 3.5rem;
    color: var(--neon-accent);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px var(--shadow-blue);
}

.bestpine-game-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.bestpine-game-card p {
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 500;
}

.bestpine-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.bestpine-feature {
    text-align: center;
    padding: 2.5rem;
    background: var(--ultra-light);
    border-radius: 20px;
    border: 2px solid var(--neon-yellow);
    box-shadow: 0 0 20px rgba(255, 255, 0, 0.2);
    transition: all 0.3s ease;
}

.bestpine-feature:hover {
    transform: translateY(-8px);
    border-color: var(--neon-purple);
    box-shadow: 0 0 30px rgba(180, 0, 255, 0.3);
}

.bestpine-feature i {
    font-size: 3rem;
    color: var(--neon-purple);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(180, 0, 255, 0.5);
}

.bestpine-feature h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.bestpine-footer {
    background: var(--text-dark);
    color: var(--ultra-light);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 4px solid var(--neon-primary);
}

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

.bestpine-footer h5 {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--neon-primary);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--shadow-neon);
}

.bestpine-footer ul {
    list-style: none;
    padding: 0;
}

.bestpine-footer ul li {
    margin-bottom: 0.8rem;
}

.bestpine-footer ul li a {
    color: var(--ultra-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.bestpine-footer ul li a:hover {
    color: var(--neon-accent);
    text-shadow: 0 0 5px var(--shadow-blue);
}

.bestpine-footer-bottom {
    border-top: 2px solid var(--neon-primary);
    padding-top: 1rem;
    text-align: center;
    color: #cccccc;
}

.bestpine-game-column {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: var(--ultra-light);
    border: 3px solid var(--neon-primary);
    border-radius: 20px;
    box-shadow: 0 0 25px var(--shadow-neon);
    transition: all 0.3s ease;
}

.bestpine-game-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 35px var(--shadow-pink);
    border-color: var(--neon-secondary);
}

.bestpine-game-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--neon-accent);
}

.bestpine-game-header i {
    font-size: 2rem;
    color: var(--neon-secondary);
    text-shadow: 0 0 10px var(--shadow-pink);
}

.bestpine-game-header h3 {
    color: var(--text-dark);
    font-family: 'Orbitron', monospace;
    margin: 0;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.bestpine-game-frame {
    width: 100%;
    height: 700px;
    border: 4px solid var(--neon-primary);
    border-radius: 20px;
    box-shadow: 0 0 30px var(--shadow-neon);
    background: var(--ultra-light);
}

.bestpine-form {
    background: var(--ultra-light);
    padding: 2.5rem;
    border-radius: 20px;
    border: 3px solid var(--neon-accent);
    box-shadow: 0 0 25px var(--shadow-blue);
    max-width: 600px;
    margin: 0 auto;
}

.bestpine-form-group {
    margin-bottom: 2rem;
}

.bestpine-form-group label {
    display: block;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
}

.bestpine-form-group input,
.bestpine-form-group textarea,
.bestpine-form-group select {
    width: 100%;
    padding: 1.2rem;
    border: 3px solid var(--border-neon);
    border-radius: 15px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: var(--ultra-light);
}

.bestpine-form-group input:focus,
.bestpine-form-group textarea:focus,
.bestpine-form-group select:focus {
    outline: none;
    border-color: var(--neon-primary);
    box-shadow: 0 0 15px var(--shadow-neon);
}

.bestpine-form-group textarea {
    height: 140px;
    resize: vertical;
}

.bestpine-content {
    background: var(--ultra-light);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--neon-yellow);
    box-shadow: 0 0 20px rgba(255, 255, 0, 0.2);
    margin: 2rem 0;
    line-height: 1.8;
}

.bestpine-content h3 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-secondary);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px var(--shadow-pink);
}

.bestpine-content h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
}

.bestpine-content ul {
    margin: 1rem 0 1rem 2rem;
}

.bestpine-content ul li {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 500;
}

.bestpine-alert {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    color: var(--text-dark);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 1.5rem 0;
    border-left: 5px solid var(--neon-primary);
    border-right: 5px solid var(--neon-accent);
    font-weight: 600;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

@media (max-width: 768px) {
    .bestpine-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .bestpine-nav-links {
        gap: 1rem;
    }
    
    .bestpine-hero h1 {
        font-size: 2.8rem;
    }
    
    .bestpine-hero p {
        font-size: 1.2rem;
    }
    
    .bestpine-game-frame {
        width: 800px;
        height: 500px;
    }
}

@media (max-width: 480px) {
    .bestpine-container {
        padding: 0 15px;
    }
    
    .bestpine-hero {
        padding: 2rem 0;
    }
    
    .bestpine-hero h1 {
        font-size: 2.2rem;
    }
    
    .bestpine-section {
        padding: 2rem 0;
    }
    
    .bestpine-section h2 {
        font-size: 2.2rem;
    }
    
    .bestpine-game-card,
    .bestpine-form,
    .bestpine-content {
        padding: 2rem;
    }
    
    .bestpine-game-frame {
        width: 480px;
        height: 300px;
    }
    
    .hero-image,
    .about-image {
        max-width: 300px;
    }
}

/* Game Frame Styles */
.bestpine-game-column {
    position: relative;
    overflow: hidden;
}

.bestpine-game-frame {
    width: 960px;
    height: 600px;
    border: 3px solid var(--neon-primary);
    border-radius: 15px;
    background: white;
    box-shadow: 0 0 30px var(--shadow-neon);
    transition: all 0.3s ease;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100%;
    overflow: hidden;
}

.bestpine-game-frame:hover {
    box-shadow: 0 0 40px var(--shadow-neon), 0 0 60px var(--shadow-blue);
}



/* Hero and About Image Styles */

.hero-image,
.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 0 30px var(--shadow-neon);
    transition: all 0.3s ease;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .bestpine-mobile-toggle {
        display: block;
    }
    
    .bestpine-nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--ultra-light) 0%, rgba(0, 255, 136, 0.1) 100%);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        margin-top: 1rem;
        border: 3px solid var(--neon-primary);
        border-radius: 15px;
        box-shadow: 0 0 25px var(--shadow-neon);
        backdrop-filter: blur(20px);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .bestpine-nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .bestpine-nav-links li {
        width: 100%;
    }
    
    .bestpine-nav-links a {
        display: block;
        width: 100%;
        padding: 1rem 1.5rem;
        margin: 0;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(0, 255, 136, 0.2);
        text-align: left;
    }
    
    .bestpine-nav-links li:last-child a {
        border-bottom: none;
    }
    
    .bestpine-nav-links a:hover {
        background: linear-gradient(90deg, rgba(0, 255, 136, 0.1), transparent);
        transform: none;
    }
    
    .bestpine-hero h1 {
        font-size: 2.5rem;
    }
    
    .bestpine-hero p {
        font-size: 1.2rem;
    }
    
    .bestpine-section h2 {
        font-size: 2.2rem;
    }
    
    .bestpine-game-frame {
        height: 400px;
    }
    
    .bestpine-game-column {
        margin-bottom: 2rem;
        padding: 1rem;
    }
    
    .bestpine-game-header h3 {
        font-size: 1.5rem;
    }
    
    .bestpine-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .bestpine-container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .bestpine-container {
        padding: 0 10px;
    }
    
    .bestpine-logo {
        font-size: 1.8rem;
    }
    
    .bestpine-hero {
        padding: 3rem 0;
    }
    
    .bestpine-hero h1 {
        font-size: 2rem;
    }
    
    .bestpine-hero p {
        font-size: 1.1rem;
    }
    
    .bestpine-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .bestpine-section h2 {
        font-size: 1.8rem;
    }
    
    .bestpine-game-frame {
        height: 300px;
    }
    
    .bestpine-game-column {
        margin-bottom: 1.5rem;
        padding: 1rem;
    }
    
    .bestpine-game-header h3 {
        font-size: 1.2rem;
    }
    
    .bestpine-game-header i {
        font-size: 1.5rem;
    }
}

.hero-image:hover,
.about-image:hover {
    box-shadow: 0 0 40px var(--shadow-neon), 0 0 60px var(--shadow-blue);
    transform: scale(1.05);
}