/* NextPlay Cyberclub Website Styles - Tech/Gaming Theme */

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

:root {
    --primary-dark: #0d1117;
    --secondary-dark: #161b22;
    --accent-pink: #ff006e;
    --accent-cyan: #00d9ff;
    --text-light: #f0f6fc;
    --text-gray: #8b949e;
    --border-radius: 10px;
    --spacing-unit: 20px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica', 'Arial', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background-color: rgba(22, 27, 34, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 0, 110, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-pink);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

.nav-menu a:hover {
    color: var(--accent-pink);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 30px 60px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .subtitle {
    font-size: 24px;
    color: var(--accent-pink);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-device {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-mockup {
    position: relative;
    max-width: 350px;
    width: 100%;
    padding: 20px;
    background: linear-gradient(145deg, rgba(255, 0, 110, 0.1), rgba(0, 217, 255, 0.1));
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(255, 0, 110, 0.3);
}

.device-mockup::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-cyan));
    border-radius: 30px;
    z-index: -1;
    opacity: 0.5;
}

.device-mockup img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-pink), #d90058);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 110, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 110, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--accent-cyan);
}

.btn-secondary:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 80px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--text-light);
}

.section-title span {
    color: var(--accent-pink);
}

/* Screenshot Carousel */
.screenshot-section {
    max-height: 450px;
    padding: 60px 30px;
    background: var(--secondary-dark);
    position: relative;
}

.screenshot-carousel {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    height: 400px;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.carousel-item .device-mockup {
    max-width: 300px;
    cursor: pointer;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.carousel-btn {
    background: rgba(255, 0, 110, 0.8);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--accent-pink);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-pink);
    width: 30px;
    border-radius: 6px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: var(--secondary-dark);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 0, 110, 0.2);
    transition: all 0.3s ease;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-pink);
    box-shadow: 0 10px 30px rgba(255, 0, 110, 0.3);
}

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

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-light);
}

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

/* Alternating Content Blocks */
.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.content-block:nth-child(even) {
    direction: rtl;
}

.content-block:nth-child(even) > * {
    direction: ltr;
}

.content-text {
    text-align: left;
}

.content-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.content-text p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 16px;
}

.content-image {
    text-align: center;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Footer */
footer {
    background: var(--secondary-dark);
    padding: 60px 30px 30px;
    border-top: 1px solid rgba(255, 0, 110, 0.2);
}

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

.footer-section {
    text-align: left;
}

.footer-section h4 {
    color: var(--accent-pink);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p, .footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-pink);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(139, 148, 158, 0.2);
    color: var(--text-gray);
}

/* Privacy/Terms Page Styles */
.page-header {
    padding: 140px 30px 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 30px;
}

.page-content h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--accent-cyan);
}

.page-content h3 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-content p {
    margin-bottom: 20px;
    color: var(--text-gray);
    line-height: 1.8;
    text-align: left;
}

.page-content ul, .page-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
    text-align: left;
}

.page-content li {
    margin-bottom: 10px;
    color: var(--text-gray);
    line-height: 1.8;
}

.page-content a {
    color: var(--accent-pink);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-content a:hover {
    color: var(--accent-cyan);
    text-decoration: underline;
}

/* Contact Form */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 30px;
}

.contact-form {
    background: var(--secondary-dark);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 0, 110, 0.2);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-light);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--primary-dark);
    border: 1px solid rgba(139, 148, 158, 0.3);
    border-radius: var(--border-radius);
    color: var(--text-light);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-pink);
    box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.1);
}

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

.form-group input[type="file"] {
    padding: 10px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-submit .btn {
    min-width: 200px;
}

/* Privacy Accept Button (Flutter Integration) */
.privacy-accept-btn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    padding: 18px 48px;
    background: linear-gradient(135deg, var(--accent-pink), #d90058);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(255, 0, 110, 0.6);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.privacy-accept-btn:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 15px 50px rgba(255, 0, 110, 0.8);
}

.privacy-accept-btn:active {
    transform: translateX(-50%) translateY(-1px);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--border-radius);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--accent-pink);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--secondary-dark);
        width: 100%;
        padding: 30px;
        transition: left 0.3s ease;
        border-bottom: 1px solid rgba(255, 0, 110, 0.2);
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content .subtitle {
        font-size: 20px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .device-mockup {
        max-width: 280px;
    }

    .section-title {
        font-size: 32px;
    }

    .content-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-block:nth-child(even) {
        direction: ltr;
    }

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

    .screenshot-carousel {
        height: 350px;
    }

    .carousel-item .device-mockup {
        max-width: 250px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .contact-form {
        padding: 30px 20px;
    }

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

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .screenshot-carousel {
        height: 300px;
    }

    .carousel-item .device-mockup {
        max-width: 200px;
    }
}

/* Loading Animation */
.lazy-load {
    filter: blur(5px);
    transition: filter 0.3s ease;
}

.lazy-load.loaded {
    filter: blur(0);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none; }
