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

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --gold-color: #ffd700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    opacity: 0.9;
}

/* Header and Navigation */
.header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo img {
    height: 50px;
    width: auto;
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--gold-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-color);
    transition: var(--transition);
}

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

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, var(--gold-color), #ffed4e);
    color: var(--text-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.btn-secondary:hover {
    background: var(--gold-color);
    color: var(--text-dark);
}

.btn-login {
    background: var(--accent-color);
    color: var(--text-light);
}

.btn-login:hover {
    background: var(--gold-color);
    color: var(--text-dark);
}

.btn-register {
    background: var(--gold-color);
    color: var(--text-dark);
}

.btn-register:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: var(--transition);
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 100%);
}

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

.hero-content h1 {
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--gold-color), #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gold-color);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Registration Steps */
.registration-steps {
    padding: 4rem 0;
    background: var(--secondary-color);
}

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

.step {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    border-color: var(--gold-color);
    box-shadow: var(--shadow-hover);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gold-color);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Register Section */
.register-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.register-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.register-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--gold-color), #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.register-content h3 {
    color: var(--gold-color);
    margin: 2rem 0 1rem 0;
    font-size: 1.3rem;
}

.registration-steps-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.registration-steps-list li {
    margin-bottom: 1rem;
    color: var(--text-light);
    opacity: 0.9;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.step-icon {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.registration-steps-list strong {
    color: var(--gold-color);
    font-weight: 600;
}

.register-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.register-note a {
    color: var(--gold-color);
    text-decoration: none;
    font-weight: 600;
}

.register-note a:hover {
    text-decoration: underline;
}

.register-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.register-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

/* Login Section */
.login-section {
    padding: 4rem 0;
    background: var(--secondary-color);
}

.login-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.login-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--gold-color), #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-content h3 {
    color: var(--gold-color);
    margin: 2rem 0 1rem 0;
    font-size: 1.3rem;
}

.login-steps-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.login-steps-list li {
    margin-bottom: 1rem;
    color: var(--text-light);
    opacity: 0.9;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.login-steps-list strong {
    color: var(--gold-color);
    font-weight: 600;
}

.login-benefits {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.login-benefits li {
    margin-bottom: 0.8rem;
    color: var(--text-light);
    opacity: 0.9;
    line-height: 1.5;
}

.login-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.login-note a {
    color: var(--gold-color);
    text-decoration: none;
    font-weight: 600;
}

.login-note a:hover {
    text-decoration: underline;
}

.login-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.login-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

/* Games Slider Section */
.games-slider-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.slider-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gold-color);
    margin-bottom: 3rem;
    opacity: 0.9;
}

.games-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.games-slider {
    position: relative;
    margin-bottom: 2rem;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

.slide.prev {
    transform: translate(-120%, -50%) scale(0.7);
    opacity: 0.4;
    visibility: visible;
    z-index: 2;
    filter: blur(2px) brightness(0.6);
}

.slide.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
    z-index: 3;
    filter: none;
}

.slide.next {
    transform: translate(20%, -50%) scale(0.7);
    opacity: 0.4;
    visibility: visible;
    z-index: 2;
    filter: blur(2px) brightness(0.6);
}

.slide.far-left {
    transform: translate(-180%, -50%) scale(0.5);
    opacity: 0.2;
    visibility: visible;
    z-index: 1;
    filter: blur(3px) brightness(0.4);
}

.slide.far-right {
    transform: translate(60%, -50%) scale(0.5);
    opacity: 0.2;
    visibility: visible;
    z-index: 1;
    filter: blur(3px) brightness(0.4);
}

.mobile-interface {
    position: relative;
    max-width: 320px;
    width: 100%;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-image {
    width: 100%;
    height: auto;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


.game-info {
    margin-top: 1.5rem;
    color: var(--text-light);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide.active .game-info {
    opacity: 1;
    transform: translateY(0);
}

.slide:not(.active) .game-info {
    opacity: 0.7;
    transform: translateY(10px);
}

.game-info h3 {
    color: var(--gold-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.game-info p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.game-price {
    background: linear-gradient(45deg, var(--gold-color), #ffed4e);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1rem;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: var(--gold-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    border: none;
}

.slider-arrow:hover {
    background: #ffed4e;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-arrow span {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: bold;
    line-height: 1;
}

.slider-arrow-left {
    left: 20px;
}

.slider-arrow-right {
    right: 20px;
}

.thumbnail-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding: 0 2rem;
}

.thumbnail {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0.8rem;
    border-radius: 16px;
    border: 3px solid transparent;
    opacity: 0.6;
    background: rgba(255, 255, 255, 0.05);
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--gold-color);
    background: rgba(255, 215, 0, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.thumbnail:hover {
    opacity: 1;
    transform: translateY(-3px);
    background: rgba(255, 215, 0, 0.1);
}

.thumbnail-image {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    margin-bottom: 0.8rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.thumbnail.active .thumbnail-image {
    transform: scale(1.15);
    border-color: var(--gold-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.thumbnail-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    text-align: center;
    transition: color 0.3s ease;
}

.thumbnail.active .thumbnail-label {
    color: var(--gold-color);
}

.games-description {
    text-align: center;
    margin-top: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.games-description p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.games-cta {
    margin-top: 2rem;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--primary-color);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-color);
    box-shadow: var(--shadow-hover);
}

.feature-card img {
    margin-bottom: 1rem;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    text-align: center;
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--primary-color);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--gold-color);
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--gold-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold-color);
    color: var(--text-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-bottom p {
    color: var(--text-light);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

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

    .nav-buttons {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .register-section .container,
    .login-section .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .register-content h2,
    .login-content h2 {
        text-align: center;
    }

    .games-slider-container {
        max-width: 100%;
        padding: 0 1rem;
    }

    .games-slider {
        height: 400px;
    }

    .slide.prev {
        transform: translate(-100%, -50%) scale(0.6);
    }

    .slide.next {
        transform: translate(0%, -50%) scale(0.6);
    }

    .slide.far-left {
        transform: translate(-150%, -50%) scale(0.4);
    }

    .slide.far-right {
        transform: translate(50%, -50%) scale(0.4);
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .slider-arrow-left {
        left: 10px;
    }

    .slider-arrow-right {
        right: 10px;
    }

    .mobile-interface {
        max-width: 250px;
    }

    .thumbnail-container {
        gap: 0.5rem;
    }

    .thumbnail-image {
        width: 50px;
        height: 50px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

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

    .hero {
        padding: 2rem 0;
    }

    .registration-steps,
    .features,
    .cta,
    .register-section,
    .login-section {
        padding: 2rem 0;
    }

    .step,
    .feature-card {
        padding: 1.5rem;
    }

    .registration-steps-list,
    .login-steps-list {
        padding-left: 1rem;
    }

    .step-icon {
        font-size: 1rem;
    }

    .games-slider-section {
        padding: 2rem 0;
    }

    .slider-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .games-slider {
        height: 350px;
    }

    .slide.prev {
        transform: translate(-90%, -50%) scale(0.5);
    }

    .slide.next {
        transform: translate(-10%, -50%) scale(0.5);
    }

    .slide.far-left {
        transform: translate(-130%, -50%) scale(0.3);
    }

    .slide.far-right {
        transform: translate(30%, -50%) scale(0.3);
    }

    .mobile-interface {
        max-width: 200px;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
    }

    .slider-arrow span {
        font-size: 1.5rem;
    }

    .thumbnail-container {
        gap: 0.3rem;
    }

    .thumbnail-image {
        width: 40px;
        height: 40px;
    }

    .thumbnail-label {
        font-size: 0.7rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav-link:focus,
.footer-section ul li a:focus {
    outline: 2px solid var(--gold-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #1a1a1a;
        --accent-color: #333333;
        --text-light: #ffffff;
        --text-dark: #000000;
    }
}

/* Print styles */
@media print {
    .header,
    .nav-buttons,
    .hero-buttons,
    .cta-buttons,
    .social-links {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    main {
        margin-top: 0;
    }
}
