/* Esports Website - Modern Design */
:root {
    --primary-neon: #00ff88;
    --secondary-neon: #00d4ff;
    --accent-purple: #8b5cf6;
    --dark-bg: #0a0a0f;
    --dark-card: #151520;
    --dark-border: #252530;
    --text-primary: #ffffff;
    --text-secondary: #b0b0c0;
    --text-muted: #707080;
    --gradient-1: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    --gradient-2: linear-gradient(135deg, #8b5cf6 0%, #00d4ff 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dark-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

nav a:hover {
    color: var(--primary-neon);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
    position: relative;
    width: 30px;
    height: 30px;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    color: var(--primary-neon);
}

.mobile-menu-toggle .icon {
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-toggle .icon-hamburger,
.mobile-menu-toggle .icon-close {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mobile-menu-toggle.active .icon-hamburger {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.mobile-menu-toggle.active .icon-close {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
}

.mobile-menu-toggle:not(.active) .icon-hamburger {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
}

.mobile-menu-toggle:not(.active) .icon-close {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-90deg);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 255, 136, 0.05) 0%, transparent 100%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Game Cards Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.game-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-neon);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.game-card:hover::before {
    transform: scaleX(1);
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-neon);
}

.game-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.game-card a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-1);
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.3s;
}

.game-card a:hover {
    transform: scale(1.05);
}

/* Content Sections */
.content-section {
    padding: 3rem 0;
}

.content-section::after {
    content: "";
    display: table;
    clear: both;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-neon);
}

.content-section h3 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: var(--secondary-neon);
}

.content-section p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.content-section ul, .content-section ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: var(--text-secondary);
}

.content-section li {
    margin-bottom: 0.75rem;
}

/* Info Boxes */
.info-box {
    background: var(--dark-card);
    border-left: 4px solid var(--primary-neon);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 6px;
}

.info-box h4 {
    color: var(--primary-neon);
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: var(--dark-card);
    border-top: 1px solid var(--dark-border);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-neon);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-neon);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-border);
    color: var(--text-muted);
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--dark-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-neon);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.submit-btn {
    background: var(--gradient-1);
    color: var(--dark-bg);
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
    width: 100%;
}

.submit-btn:hover {
    transform: scale(1.02);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-card);
    border-top: 1px solid var(--dark-border);
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    display: none;
}

.cookie-banner.active {
    display: block;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s;
}

.cookie-btn-accept {
    background: var(--gradient-1);
    color: var(--dark-bg);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--dark-border);
}

.cookie-btn:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-card);
        padding: 1rem;
        border-top: 1px solid var(--dark-border);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    nav.active {
        max-height: 500px;
        opacity: 1;
        transform: translateY(0);
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Image Layouts */
.image-left {
    float: left;
    margin: 0 2rem 1.5rem 0;
    max-width: 400px;
    width: 100%;
}

.image-right {
    float: right;
    margin: 0 0 1.5rem 2rem;
    max-width: 400px;
    width: 100%;
}

.image-center {
    display: block;
    margin: 2rem auto;
    max-width: 600px;
}

.image-inline {
    display: inline-block;
    margin: 1rem;
    vertical-align: middle;
}

.game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    display: block;
}

.content-image {
    margin: 1.5rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.image-with-text {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.image-with-text img {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.image-with-text .text {
    flex: 1;
    min-width: 300px;
}

@media (max-width: 768px) {
    .image-left,
    .image-right {
        float: none;
        margin: 1.5rem auto;
        display: block;
        max-width: 100%;
    }
    
    .image-with-text {
        flex-direction: column;
    }
    
    .image-with-text img {
        width: 100%;
        max-width: 100%;
    }
}


