/* =================================
   NEXEL ENTERPRISES - STYLES
   Theme: Modern Social Casino
   ================================= */

/* CSS Variables */
:root {
    /* Primary Colors */
    --nex-primary: #0066cc;
    --nex-primary-dark: #0052a3;
    --nex-secondary: #ff6b35;
    --nex-accent: #00d4ff;
    
    /* Neutral Colors */
    --nex-dark: #0a0e27;
    --nex-dark-light: #1a1f3a;
    --nex-card-bg: #252a47;
    --nex-card-border: rgba(0, 212, 255, 0.2);
    --nex-text: #ffffff;
    --nex-text-secondary: #b0b8d3;
    --nex-border: #2a3b5a;
    
    /* Effects */
    --nex-shadow: 0 4px 20px rgba(0, 102, 204, 0.3);
    --nex-shadow-lg: 0 8px 30px rgba(0, 102, 204, 0.4);
    --nex-glow: 0 0 20px rgba(0, 212, 255, 0.5);
    
    /* Spacing */
    --nex-spacing-xs: 0.5rem;
    --nex-spacing-sm: 1rem;
    --nex-spacing-md: 1.5rem;
    --nex-spacing-lg: 2rem;
    --nex-spacing-xl: 3rem;
    --nex-spacing-xxl: 4rem;
    
    /* Typography */
    --nex-font-primary: 'Arial', 'Helvetica', sans-serif;
    
    /* Border Radius */
    --nex-radius-sm: 4px;
    --nex-radius-md: 8px;
    --nex-radius-lg: 12px;
    --nex-radius-xl: 16px;
    
    /* Transitions */
    --nex-transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--nex-font-primary);
    color: var(--nex-text);
    background: var(--nex-dark);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    background-position: 0 0, 0 0, 0 0, 0 0;
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 212, 255, 0.03) 2px, rgba(0, 212, 255, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 107, 53, 0.03) 2px, rgba(255, 107, 53, 0.03) 4px);
    pointer-events: none;
    z-index: 0;
    animation: backgroundShift 20s ease-in-out infinite;
}

/* Animated Background Elements */
body::after {
    content: '⚽🏒⛳⭐🏆';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    font-size: 3rem;
    opacity: 0.1;
    overflow: hidden;
}

.nex-floating-element {
    position: fixed;
    font-size: 3rem;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
    animation: floatAround 25s infinite ease-in-out;
    user-select: none;
    will-change: transform;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

@keyframes floatAround {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(100px, -80px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(-60px, 100px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(80px, 40px) rotate(270deg) scale(1.05);
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

@keyframes backgroundShift {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

body > * {
    position: relative;
    z-index: 1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--nex-transition);
}

ul {
    list-style: none;
}

/* Container */
.nex-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--nex-spacing-md);
}

/* Buttons */
.nex-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--nex-radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--nex-transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.nex-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nex-btn:hover::before {
    width: 300px;
    height: 300px;
}
    text-decoration: none;
}

.nex-btn--primary {
    background: linear-gradient(135deg, var(--nex-primary), var(--nex-accent));
    color: var(--nex-text);
    box-shadow: var(--nex-shadow), 0 0 15px rgba(0, 212, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.nex-btn--primary::before {
    content: '';
    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;
}

.nex-btn--primary:hover::before {
    left: 100%;
}

.nex-btn--primary:hover {
    background: linear-gradient(135deg, var(--nex-primary-dark), var(--nex-primary));
    box-shadow: var(--nex-shadow-lg), 0 0 25px rgba(0, 212, 255, 0.6);
    transform: translateY(-2px) scale(1.05);
}

.nex-btn--secondary {
    background: var(--nex-secondary);
    color: var(--nex-text);
}

.nex-btn--secondary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.nex-btn--outline {
    background: transparent;
    border: 2px solid var(--nex-primary);
    color: var(--nex-primary);
}

.nex-btn--outline:hover {
    background: var(--nex-primary);
    color: var(--nex-text);
}

.nex-btn--large {
    padding: 1rem 2rem;
    font-size: 1.25rem;
}

.nex-btn--full {
    width: 100%;
}

.nex-btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Header */
.nex-header {
    background: var(--nex-dark-light);
    padding: var(--nex-spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 212, 255, 0.2);
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.nex-header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nex-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--nex-text);
    display: flex;
    align-items: center;
    gap: var(--nex-spacing-xs);
}

.nex-logo__text {
    background: linear-gradient(135deg, var(--nex-primary), var(--nex-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

.nex-burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--nex-spacing-xs);
}

.nex-burger__line {
    width: 25px;
    height: 3px;
    background: var(--nex-text);
    border-radius: 2px;
    transition: var(--nex-transition);
}

.nex-nav {
    display: flex;
    align-items: center;
    gap: var(--nex-spacing-lg);
}

.nex-nav__menu {
    display: flex;
    gap: var(--nex-spacing-md);
    align-items: center;
}

.nex-nav__link {
    color: var(--nex-text-secondary);
    padding: var(--nex-spacing-xs) var(--nex-spacing-sm);
    border-radius: var(--nex-radius-sm);
    transition: var(--nex-transition);
}

.nex-nav__link:hover,
.nex-nav__link--active {
    color: var(--nex-text);
    background: var(--nex-card-bg);
}

.nex-header__auth {
    display: flex;
    gap: var(--nex-spacing-sm);
    align-items: center;
}

.nex-user-menu {
    display: flex;
    gap: var(--nex-spacing-sm);
    align-items: center;
}

/* Hero Section */
.nex-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: var(--nex-spacing-xxl) 0;
    overflow: hidden;
}

.nex-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--nex-dark) 0%, var(--nex-dark-light) 100%);
    z-index: -1;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 107, 53, 0.15) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.nex-hero__background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-pattern.svg') repeat;
    opacity: 0.1;
}

.nex-hero__content {
    text-align: center;
    z-index: 1;
}

.nex-hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--nex-spacing-md);
    background: linear-gradient(135deg, var(--nex-primary), var(--nex-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.nex-hero__subtitle {
    font-size: 1.25rem;
    color: var(--nex-text-secondary);
    margin-bottom: var(--nex-spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nex-hero__stats {
    display: flex;
    justify-content: center;
    gap: var(--nex-spacing-xl);
    margin-bottom: var(--nex-spacing-xl);
}

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

.nex-stat__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--nex-accent);
    margin-bottom: var(--nex-spacing-xs);
}

.nex-stat__label {
    display: block;
    color: var(--nex-text-secondary);
    font-size: 0.875rem;
}

/* Why Section */
.nex-why {
    padding: var(--nex-spacing-xxl) 0;
    background: var(--nex-dark-light);
}

.nex-section__title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--nex-spacing-sm);
}

.nex-section__subtitle {
    text-align: center;
    color: var(--nex-text-secondary);
    font-size: 1.125rem;
    margin-bottom: var(--nex-spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.nex-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--nex-spacing-lg);
    margin-top: var(--nex-spacing-xl);
}

.nex-feature {
    background: var(--nex-card-bg);
    padding: var(--nex-spacing-lg);
    border-radius: var(--nex-radius-lg);
    text-align: center;
    transition: var(--nex-transition);
    border: 1px solid var(--nex-card-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nex-feature:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--nex-shadow-lg), 0 0 20px rgba(0, 212, 255, 0.3);
    border-color: var(--nex-accent);
}

.nex-feature__icon {
    font-size: 3rem;
    margin-bottom: var(--nex-spacing-md);
    display: inline-block;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.nex-feature__title {
    font-size: 1.25rem;
    margin-bottom: var(--nex-spacing-sm);
    color: var(--nex-accent);
}

.nex-feature__text {
    color: var(--nex-text-secondary);
    line-height: 1.6;
}

/* Games Section */
.nex-games {
    padding: var(--nex-spacing-xxl) 0;
}

.nex-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--nex-spacing-lg);
    margin-top: var(--nex-spacing-xl);
}

.nex-game-card {
    background: var(--nex-card-bg);
    border-radius: var(--nex-radius-lg);
    overflow: hidden;
    transition: var(--nex-transition);
    position: relative;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.nex-game-card:nth-child(1) { animation-delay: 0.1s; }
.nex-game-card:nth-child(2) { animation-delay: 0.2s; }
.nex-game-card:nth-child(3) { animation-delay: 0.3s; }
.nex-game-card:nth-child(4) { animation-delay: 0.4s; }
.nex-game-card:nth-child(5) { animation-delay: 0.5s; }
.nex-game-card:nth-child(6) { animation-delay: 0.6s; }

.nex-game-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--nex-shadow-lg), var(--nex-glow-gaming);
    border: 2px solid var(--nex-accent);
}

.nex-game-card.locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.nex-game-card.locked::after {
    content: '🔒 Register to unlock';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    padding: var(--nex-spacing-sm);
    border-radius: var(--nex-radius-md);
    font-weight: 600;
    z-index: 10;
}

.nex-game-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--nex-dark-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nex-game-card__lock {
    position: absolute;
    top: var(--nex-spacing-sm);
    right: var(--nex-spacing-sm);
    background: rgba(0, 0, 0, 0.8);
    padding: var(--nex-spacing-xs);
    border-radius: var(--nex-radius-md);
    font-size: 1.5rem;
    z-index: 5;
}

.nex-game-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nex-game-card__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: var(--nex-transition);
}

.nex-game-card:hover .nex-game-card__overlay {
    opacity: 1;
}

.nex-game-card__content {
    padding: var(--nex-spacing-md);
}

.nex-game-card__title {
    font-size: 1.25rem;
    margin-bottom: var(--nex-spacing-xs);
    color: var(--nex-accent);
}

.nex-game-card__description {
    color: var(--nex-text-secondary);
    font-size: 0.875rem;
    margin-bottom: var(--nex-spacing-md);
}

.nex-games__more {
    text-align: center;
    margin-top: var(--nex-spacing-xl);
}

/* FAQ Section */
.nex-faq {
    padding: var(--nex-spacing-xxl) 0;
    background: var(--nex-dark-light);
}

.nex-faq__list {
    max-width: 800px;
    margin: var(--nex-spacing-xl) auto 0;
}

.nex-faq__item {
    background: var(--nex-card-bg);
    padding: var(--nex-spacing-lg);
    border-radius: var(--nex-radius-lg);
    margin-bottom: var(--nex-spacing-md);
}

.nex-faq__question {
    font-size: 1.25rem;
    margin-bottom: var(--nex-spacing-sm);
    color: var(--nex-accent);
}

.nex-faq__answer {
    color: var(--nex-text-secondary);
    line-height: 1.6;
}

/* Disclaimer Section */
.nex-disclaimer {
    padding: var(--nex-spacing-xl) 0;
    background: rgba(255, 107, 53, 0.1);
    border-top: 2px solid var(--nex-secondary);
    border-bottom: 2px solid var(--nex-secondary);
}

.nex-disclaimer__content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.nex-disclaimer__icon {
    font-size: 3rem;
    margin-bottom: var(--nex-spacing-md);
}

.nex-disclaimer__title {
    font-size: 1.5rem;
    margin-bottom: var(--nex-spacing-md);
    color: var(--nex-secondary);
}

.nex-disclaimer__text {
    color: var(--nex-text-secondary);
    margin-bottom: var(--nex-spacing-sm);
    line-height: 1.6;
}

/* Footer */
.nex-footer {
    background: var(--nex-dark-light);
    padding: var(--nex-spacing-xxl) 0 var(--nex-spacing-lg);
    border-top: 1px solid var(--nex-border);
}

.nex-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--nex-spacing-lg);
    margin-bottom: var(--nex-spacing-xl);
}

.nex-footer__title {
    font-size: 1.25rem;
    margin-bottom: var(--nex-spacing-md);
    color: var(--nex-accent);
}

.nex-footer__heading {
    font-size: 1rem;
    margin-bottom: var(--nex-spacing-md);
    color: var(--nex-text);
}

.nex-footer__text {
    color: var(--nex-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--nex-spacing-sm);
}

.nex-footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--nex-spacing-xs);
}

.nex-footer__links a {
    color: var(--nex-text-secondary);
    transition: var(--nex-transition);
}

.nex-footer__links a:hover {
    color: var(--nex-accent);
    padding-left: var(--nex-spacing-xs);
}

.nex-footer__badges {
    display: flex;
    gap: var(--nex-spacing-sm);
    margin-top: var(--nex-spacing-md);
}

.nex-footer__badge {
    height: 40px;
    width: auto;
    opacity: 0.7;
    transition: var(--nex-transition);
    display: block;
}

.nex-footer__badge:hover {
    opacity: 1;
}

.nex-footer__badges a {
    display: inline-block;
    text-decoration: none;
}

.nex-footer__bottom {
    text-align: center;
    padding-top: var(--nex-spacing-lg);
    border-top: 1px solid var(--nex-border);
    color: var(--nex-text-secondary);
    font-size: 0.875rem;
}

/* Age Verification Modal */
.nex-age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.nex-age-modal.hidden {
    display: none;
}

.nex-age-modal__content {
    background: var(--nex-card-bg);
    padding: var(--nex-spacing-xl);
    border-radius: var(--nex-radius-xl);
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--nex-shadow-lg);
}

.nex-age-modal__icon {
    font-size: 4rem;
    margin-bottom: var(--nex-spacing-md);
}

.nex-age-modal__title {
    font-size: 2rem;
    margin-bottom: var(--nex-spacing-md);
    color: var(--nex-accent);
}

.nex-age-modal__text {
    color: var(--nex-text-secondary);
    margin-bottom: var(--nex-spacing-md);
    line-height: 1.6;
}

.nex-age-modal__warning {
    color: var(--nex-secondary);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: var(--nex-spacing-lg);
}

.nex-age-modal__buttons {
    display: flex;
    gap: var(--nex-spacing-md);
    margin-bottom: var(--nex-spacing-lg);
}

.nex-age-modal__cookies {
    color: var(--nex-text-secondary);
    font-size: 0.875rem;
    margin-bottom: var(--nex-spacing-sm);
}

.nex-age-modal__cookies a {
    color: var(--nex-accent);
}

.nex-age-modal__cookie-buttons {
    display: flex;
    gap: var(--nex-spacing-sm);
    justify-content: center;
}

/* Auth Modal */
.nex-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.nex-modal.active {
    display: flex;
}

.nex-modal__content {
    background: var(--nex-card-bg);
    padding: var(--nex-spacing-xl);
    border-radius: var(--nex-radius-xl);
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--nex-shadow-lg);
    animation: modalSlideIn 0.3s ease-out;
}

.nex-modal__content--success {
    max-width: 400px;
    text-align: center;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.nex-success {
    padding: var(--nex-spacing-md);
}

.nex-success__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--nex-spacing-lg);
    background: var(--nex-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--nex-dark);
    font-weight: bold;
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.nex-success__title {
    font-size: 1.75rem;
    color: var(--nex-accent);
    margin-bottom: var(--nex-spacing-md);
}

.nex-success__text {
    color: var(--nex-text-secondary);
    margin-bottom: var(--nex-spacing-lg);
    line-height: 1.6;
}

/* Message Modal */
.nex-modal__content--message {
    max-width: 400px;
    text-align: center;
}

.nex-message {
    padding: var(--nex-spacing-md);
}

.nex-message__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--nex-spacing-md);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    animation: messagePulse 0.5s ease-out;
}

.nex-message__icon--success {
    background: var(--nex-accent);
    color: var(--nex-dark);
}

.nex-message__icon--error {
    background: var(--nex-secondary);
    color: var(--nex-text);
}

.nex-message__icon--warning {
    background: #ffa500;
    color: var(--nex-dark);
}

.nex-message__icon--info {
    background: var(--nex-primary);
    color: var(--nex-text);
}

@keyframes messagePulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.nex-message__text {
    color: var(--nex-text);
    margin-bottom: var(--nex-spacing-lg);
    line-height: 1.6;
    font-size: 1.125rem;
}

.nex-modal__close {
    position: absolute;
    top: var(--nex-spacing-md);
    right: var(--nex-spacing-md);
    background: transparent;
    border: none;
    color: var(--nex-text);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--nex-transition);
}

.nex-modal__close:hover {
    color: var(--nex-secondary);
    transform: rotate(90deg);
}

.nex-auth__tabs {
    display: flex;
    gap: var(--nex-spacing-sm);
    margin-bottom: var(--nex-spacing-lg);
    border-bottom: 2px solid var(--nex-border);
}

.nex-auth__tab {
    flex: 1;
    padding: var(--nex-spacing-md);
    background: transparent;
    border: none;
    color: var(--nex-text-secondary);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--nex-transition);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.nex-auth__tab--active {
    color: var(--nex-accent);
    border-bottom-color: var(--nex-accent);
}

.nex-auth__title {
    font-size: 1.5rem;
    margin-bottom: var(--nex-spacing-lg);
    text-align: center;
    color: var(--nex-accent);
}

.nex-form__group {
    margin-bottom: var(--nex-spacing-md);
}

.nex-form__label {
    display: block;
    margin-bottom: var(--nex-spacing-xs);
    color: var(--nex-text-secondary);
    font-size: 0.875rem;
}

.nex-form__input {
    width: 100%;
    padding: var(--nex-spacing-sm);
    background: var(--nex-dark);
    border: 1px solid var(--nex-border);
    border-radius: var(--nex-radius-md);
    color: var(--nex-text);
    font-size: 1rem;
    transition: var(--nex-transition);
}

.nex-form__input:focus {
    outline: none;
    border-color: var(--nex-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.nex-form__textarea {
    min-height: 120px;
    resize: vertical;
    font-family: var(--nex-font-primary);
}

.nex-form__label input[type="checkbox"] {
    margin-right: var(--nex-spacing-xs);
}

.nex-contact-form {
    background: var(--nex-card-bg);
    padding: var(--nex-spacing-xl);
    border-radius: var(--nex-radius-lg);
    box-shadow: var(--nex-shadow);
}

.nex-contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23b0b8d3' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--nex-spacing-sm) center;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 991px) {
    .nex-burger {
        display: flex;
    }
    
    .nex-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--nex-dark-light);
        flex-direction: column;
        padding: var(--nex-spacing-lg);
        transition: var(--nex-transition);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .nex-nav.active {
        left: 0;
    }
    
    .nex-nav__menu {
        flex-direction: column;
        width: 100%;
        gap: var(--nex-spacing-sm);
    }
    
    .nex-nav__link {
        display: block;
        width: 100%;
        padding: var(--nex-spacing-sm);
    }
    
    .nex-header__auth {
        flex-direction: column;
        width: 100%;
        margin-top: var(--nex-spacing-md);
    }
    
    .nex-header__auth .nex-btn {
        width: 100%;
    }
    
    .nex-hero__title {
        font-size: 2.5rem;
    }
    
    .nex-hero__stats {
        flex-direction: column;
        gap: var(--nex-spacing-md);
    }
    
    .nex-features {
        grid-template-columns: 1fr;
    }
    
    .nex-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .nex-footer__grid {
        grid-template-columns: 1fr;
    }
    
    .nex-age-modal__buttons {
        flex-direction: column;
    }
}

/* Blog Styles */
.nex-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--nex-spacing-lg);
    margin-top: var(--nex-spacing-xl);
}

.nex-blog-card {
    background: var(--nex-card-bg);
    border-radius: var(--nex-radius-lg);
    overflow: hidden;
    transition: var(--nex-transition);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.nex-blog-card:nth-child(1) { animation-delay: 0.1s; }
.nex-blog-card:nth-child(2) { animation-delay: 0.2s; }
.nex-blog-card:nth-child(3) { animation-delay: 0.3s; }
.nex-blog-card:nth-child(4) { animation-delay: 0.4s; }
.nex-blog-card:nth-child(5) { animation-delay: 0.5s; }
.nex-blog-card:nth-child(6) { animation-delay: 0.6s; }

.nex-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--nex-shadow-lg);
}

.nex-blog-card__image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--nex-primary), var(--nex-accent));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.nex-blog-card__icon {
    font-size: 5rem;
    opacity: 0.9;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.nex-blog-card__date {
    position: absolute;
    top: var(--nex-spacing-sm);
    right: var(--nex-spacing-sm);
    background: rgba(0, 0, 0, 0.7);
    padding: var(--nex-spacing-xs) var(--nex-spacing-sm);
    border-radius: var(--nex-radius-md);
    font-size: 0.875rem;
    color: var(--nex-text);
}

.nex-blog-card__content {
    padding: var(--nex-spacing-lg);
}

.nex-blog-card__title {
    font-size: 1.5rem;
    margin-bottom: var(--nex-spacing-sm);
    color: var(--nex-accent);
}

.nex-blog-card__excerpt {
    color: var(--nex-text-secondary);
    margin-bottom: var(--nex-spacing-md);
    line-height: 1.6;
}

/* Blog Post Page Styles */
.nex-blog-post {
    background: var(--nex-card-bg);
    padding: var(--nex-spacing-xl);
    border-radius: var(--nex-radius-lg);
    border: 1px solid var(--nex-card-border);
    box-shadow: var(--nex-shadow);
}

.nex-blog-post__header {
    display: flex;
    align-items: center;
    gap: var(--nex-spacing-md);
    margin-bottom: var(--nex-spacing-lg);
    padding-bottom: var(--nex-spacing-md);
    border-bottom: 1px solid var(--nex-border);
}

.nex-blog-post__icon {
    font-size: 4rem;
    animation: iconPulse 3s ease-in-out infinite;
}

.nex-blog-post__meta {
    display: flex;
    flex-direction: column;
    gap: var(--nex-spacing-xs);
}

.nex-blog-post__date {
    color: var(--nex-text-secondary);
    font-size: 0.875rem;
}

.nex-blog-post__category {
    display: inline-block;
    background: var(--nex-primary);
    color: var(--nex-text);
    padding: 0.25rem 0.75rem;
    border-radius: var(--nex-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.nex-blog-post__title {
    font-size: 2.5rem;
    color: var(--nex-accent);
    margin-bottom: var(--nex-spacing-lg);
    line-height: 1.2;
}

.nex-blog-post__content {
    color: var(--nex-text-secondary);
    line-height: 1.8;
}

.nex-blog-post__content h2 {
    color: var(--nex-accent);
    font-size: 1.75rem;
    margin-top: var(--nex-spacing-xl);
    margin-bottom: var(--nex-spacing-md);
}

.nex-blog-post__content h3 {
    color: var(--nex-text);
    font-size: 1.25rem;
    margin-top: var(--nex-spacing-lg);
    margin-bottom: var(--nex-spacing-sm);
}

.nex-blog-post__content p {
    margin-bottom: var(--nex-spacing-md);
}

.nex-blog-post__content ul,
.nex-blog-post__content ol {
    margin: var(--nex-spacing-md) 0;
    padding-left: var(--nex-spacing-lg);
}

.nex-blog-post__content li {
    margin-bottom: var(--nex-spacing-xs);
}

.nex-blog-post__content a {
    color: var(--nex-accent);
    text-decoration: underline;
}

.nex-blog-post__content a:hover {
    color: var(--nex-primary);
}

/* Reviews Styles */
.nex-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--nex-spacing-lg);
    margin-top: var(--nex-spacing-xl);
}

.nex-review-card {
    background: var(--nex-card-bg);
    padding: var(--nex-spacing-lg);
    border-radius: var(--nex-radius-lg);
    transition: var(--nex-transition);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.nex-review-card:nth-child(1) { animation-delay: 0.1s; }
.nex-review-card:nth-child(2) { animation-delay: 0.2s; }
.nex-review-card:nth-child(3) { animation-delay: 0.3s; }
.nex-review-card:nth-child(4) { animation-delay: 0.4s; }
.nex-review-card:nth-child(5) { animation-delay: 0.5s; }
.nex-review-card:nth-child(6) { animation-delay: 0.6s; }

.nex-review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--nex-shadow-lg);
}

.nex-review-card__header {
    display: flex;
    align-items: center;
    gap: var(--nex-spacing-md);
    margin-bottom: var(--nex-spacing-md);
}

.nex-review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nex-primary), var(--nex-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--nex-text);
    font-size: 1.25rem;
}

.nex-review-card__info {
    flex: 1;
}

.nex-review-card__name {
    font-size: 1.125rem;
    color: var(--nex-accent);
    margin-bottom: var(--nex-spacing-xs);
}

.nex-review-card__stars {
    font-size: 1rem;
}

.nex-review-card__text {
    color: var(--nex-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--nex-spacing-md);
}

.nex-review-card__date {
    font-size: 0.875rem;
    color: var(--nex-text-secondary);
    opacity: 0.7;
}

@media (max-width: 576px) {
    .nex-hero__title {
        font-size: 2rem;
    }
    
    .nex-hero__subtitle {
        font-size: 1rem;
    }
    
    .nex-section__title {
        font-size: 2rem;
    }
    
    .nex-games-grid {
        grid-template-columns: 1fr;
    }
    
    .nex-blog-grid {
        grid-template-columns: 1fr;
    }
    
    .nex-reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .nex-container {
        padding: 0 var(--nex-spacing-sm);
    }
}

