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

/* CSS Variables */
:root {
    --primary-green: #00ff88;
    --primary-black: #000000;
    --dark-gray: #111111;
    --medium-gray: #222222;
    --light-gray: #333333;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --text-light-gray: #999999;
    --gradient-green: linear-gradient(135deg, #00ff88, #00cc6a);
    --gradient-dark: linear-gradient(135deg, #000000, #111111);
    --shadow-green: 0 0 20px rgba(0, 255, 136, 0.3);
    --shadow-green-hover: 0 0 40px rgba(0, 255, 136, 0.6);
    --shadow-green-intense: 0 0 60px rgba(0, 255, 136, 0.8);
    --font-orbitron: 'Orbitron', monospace;
    --font-poppins: 'Poppins', sans-serif;
}

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

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

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

.nav-brand h1 {
    font-family: var(--font-orbitron);
    font-size: 1.5rem;
    color: var(--primary-green);
    font-weight: 900;
    letter-spacing: 2px;
}

.nav-brand .tagline {
    font-size: 0.7rem;
    color: var(--text-gray);
    display: block;
    margin-top: -5px;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.1) 0%, transparent 70%),
                linear-gradient(135deg, #000000 0%, #111111 100%);
    animation: pulse 4s ease-in-out infinite;
}


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

.hero-title {
    font-family: var(--font-orbitron);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-orbitron);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-green);
    text-shadow: var(--shadow-green);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button {
    position: relative;
    background: var(--gradient-green);
    color: var(--primary-black);
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-green);
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-green-hover);
}

.button-glow {
    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 .button-glow {
    left: 100%;
}

/* Sections */
.section-title {
    font-family: var(--font-orbitron);
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-green);
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 4rem;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-white);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Games Section */
.games-section {
    padding: 6rem 0;
    background: var(--dark-gray);
}

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

.game-card {
    background: var(--medium-gray);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

.game-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-green-hover);
}

.game-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-icon {
    font-size: 3rem;
    color: var(--primary-green);
    text-shadow: var(--shadow-green);
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-info {
    padding: 2rem;
}

.game-info h3 {
    font-family: var(--font-orbitron);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.game-info p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.game-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary-green);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.play-button {
    width: 100%;
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.play-button:hover {
    background: var(--primary-green);
    color: var(--primary-black);
    box-shadow: var(--shadow-green);
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--primary-black);
}

.features-showcase {
    margin-top: 4rem;
}

.feature-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
    padding: 3rem;
    background: var(--dark-gray);
    border-radius: 20px;
    border: 1px solid var(--light-gray);
}

.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-circle {
    width: 200px;
    height: 200px;
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: rotate 10s linear infinite;
}

.tech-circle::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-green), transparent, var(--primary-green));
    z-index: -1;
    animation: rotate 3s linear infinite reverse;
}

.tech-inner {
    width: 120px;
    height: 120px;
    border: 1px solid rgba(0, 255, 136, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-core {
    width: 60px;
    height: 60px;
    background: var(--gradient-green);
    border-radius: 50%;
    box-shadow: var(--shadow-green-intense);
    animation: pulse 2s ease-in-out infinite;
}

.feature-content h3 {
    font-family: var(--font-orbitron);
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.feature-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-benefits {
    list-style: none;
}

.feature-benefits li {
    color: var(--text-white);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

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

.feature-card {
    text-align: center;
    padding: 2.5rem;
    background: var(--dark-gray);
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.feature-card.advanced {
    background: linear-gradient(135deg, var(--dark-gray), var(--medium-gray));
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-green-hover);
}

.feature-icon-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    position: relative;
    z-index: 2;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.3), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .icon-glow {
    opacity: 1;
}

.feature-card h3 {
    font-family: var(--font-orbitron);
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-metrics {
    margin-top: 1rem;
}

.metric {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--medium-gray);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    margin-bottom: 4rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--dark-gray);
    border-radius: 15px;
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-green);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-card h4 {
    font-family: var(--font-orbitron);
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.stat-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 4rem 0;
    background: var(--dark-gray);
    border-top: 1px solid var(--light-gray);
}

.disclaimer-section h3 {
    font-family: var(--font-orbitron);
    color: #ff6b6b;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

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

.disclaimer-content p {
    margin-bottom: 0.8rem;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--primary-black);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--light-gray);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: var(--font-orbitron);
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 900;
}

.footer-brand p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    margin-top: 1rem;
}

.social-text {
    color: var(--text-light-gray);
    font-size: 0.9rem;
    font-style: italic;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-family: var(--font-orbitron);
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-green);
}

.footer-column span {
    color: var(--text-light-gray);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-bottom span {
    color: var(--primary-green);
    font-weight: 600;
}

.footer-disclaimer {
    font-size: 0.8rem !important;
    color: var(--text-light-gray) !important;
}

/* Game Pages */
.game-page {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--primary-black);
}

.game-header {
    text-align: center;
    padding: 3rem 0;
    background: var(--dark-gray);
}

.game-header h1 {
    font-family: var(--font-orbitron);
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.game-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.game-container {
    padding: 3rem 0;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: 2px solid var(--primary-green);
    border-radius: 15px;
    background: var(--dark-gray);
    box-shadow: var(--shadow-green);
}

.back-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-button:hover {
    background: var(--primary-green);
    color: var(--primary-black);
    box-shadow: var(--shadow-green);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--medium-gray);
    border-radius: 20px;
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow-green);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--primary-green);
    font-weight: 600;
    font-family: var(--font-orbitron);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--dark-gray);
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    color: var(--text-white);
    font-family: var(--font-poppins);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

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

.submit-button {
    width: 100%;
    padding: 1.2rem;
    background: var(--gradient-green);
    color: var(--primary-black);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-orbitron);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-green-hover);
}

/* Legal Pages */
.legal-page {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--primary-black);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 0;
}

.legal-content h1 {
    font-family: var(--font-orbitron);
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.legal-content h2 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin: 3rem 0 1.5rem;
    font-family: var(--font-orbitron);
}

.legal-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.legal-content ul {
    color: var(--text-gray);
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.legal-content em {
    color: var(--text-light-gray);
    font-style: italic;
}

.legal-content strong {
    color: var(--text-white);
    font-weight: 600;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes glow {
    0% { text-shadow: 0 0 20px rgba(0, 255, 136, 0.5); }
    100% { text-shadow: 0 0 30px rgba(0, 255, 136, 0.8); }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .game-frame {
        height: 400px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .tech-circle {
        width: 150px;
        height: 150px;
    }

    .tech-inner {
        width: 90px;
        height: 90px;
    }

    .tech-core {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .nav-brand h1 {
        font-size: 1.2rem;
    }

    .game-frame {
        height: 300px;
    }

    .feature-main {
        padding: 2rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
    }
}