/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    background-color: #000000;
    padding: 15px 0;
    border-bottom: 1px solid #333333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.logo a {
    text-decoration: none;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background-color: #FFD700;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
    flex: 1;
    justify-content: center;
    margin: 0 30px;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background-color: #1a1a1a;
    padding: 80px 0 20px;
    z-index: 1000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-link {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    padding: 15px 30px;
    border-bottom: 1px solid #333333;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background-color: #2a2a2a;
    color: #FFD700;
    padding-left: 35px;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #FFD700;
}

.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

.btn-login {
    background-color: #000000;
    border: 1px solid #FFD700;
    color: #FFD700;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-login:hover {
    background-color: #FFD700;
    color: #000000;
}

.btn-register {
    background-color: #FFD700;
    border: 1px solid #FFD700;
    color: #000000;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-register:hover {
    background-color: #FFC700;
    border-color: #FFC700;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 40px 20px 20px 20px;
    min-height: 60vh;
}

.content-block {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    background-color: #0a0a0a;
    border-radius: 8px;
    min-height: 300px;
}

/* Content Styles */
.main-title {
    color: #FFD700;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    line-height: 1.3;
}

.intro-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid #FFD700;
}

.intro-text {
    color: #e0e0e0;
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
}

.section-title {
    color: #FFD700;
    font-size: 26px;
    font-weight: 700;
    margin: 40px 0 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #333333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    padding: 25px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.feature-card h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card p {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.card-yellow {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.card-yellow h3,
.card-yellow p {
    color: #000000;
}

.card-blue {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
}

.card-green {
    background: linear-gradient(135deg, #50C878 0%, #3FAF6C 100%);
}

.card-red {
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
}

.games-list {
    background-color: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.games-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.games-ul li {
    color: #e0e0e0;
    font-size: 16px;
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid #333333;
}

.games-ul li:last-child {
    border-bottom: none;
}

.games-ul li::before {
    content: "🎰";
    position: absolute;
    left: 0;
    font-size: 18px;
}

.games-ul li strong {
    color: #FFD700;
    font-weight: 700;
}

.highlight-box {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.highlight-title {
    color: #000000;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.highlight-box p {
    color: #000000;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

.steps-list {
    background-color: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

.steps-ol {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin: 0;
}

.steps-ol li {
    counter-increment: step-counter;
    color: #e0e0e0;
    font-size: 16px;
    padding: 15px 0;
    padding-left: 50px;
    position: relative;
    border-bottom: 1px solid #333333;
}

.steps-ol li:last-child {
    border-bottom: none;
}

.steps-ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 15px;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Footer Styles */
.footer {
    background-color: #1a1a1a;
    padding: 50px 0 30px;
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFD700;
}

.footer-license {
    grid-column: span 2;
    min-width: 0;
}

.license-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.license-icon {
    flex-shrink: 0;
}

.license-icon img {
    width: 80px;
    height: auto;
    display: block;
}

.license-text {
    flex: 1;
    color: #cccccc;
    font-size: 12px;
    line-height: 1.8;
}

.license-text p {
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333333;
}

.age-restriction {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    line-height: 50px;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-nav {
        gap: 20px;
        margin: 0 20px;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-license {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: nowrap;
        position: relative;
    }
    
    .burger-menu {
        display: flex;
        order: 1;
        margin-right: 15px;
    }
    
    .logo {
        order: 2;
        flex: 1;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .header-buttons {
        order: 3;
        margin-left: auto;
    }
    
    .btn-login,
    .btn-register {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .content-block {
        padding: 25px 20px;
    }
    
    .main-title {
        font-size: 24px;
    }
    
    .intro-text {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
    }
    
    .footer-column:not(.footer-license) {
        display: none;
    }
    
    .footer-license {
        grid-column: span 1;
    }
    
    .license-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 30px;
    }
    
    .burger-menu {
        width: 25px;
        height: 25px;
    }
    
    .header-buttons {
        gap: 8px;
    }
    
    .btn-login,
    .btn-register {
        padding: 9px 18px;
        font-size: 13px;
    }
    
    .mobile-nav {
        width: 250px;
    }
    
    .mobile-nav-link {
        font-size: 14px;
        padding: 12px 25px;
    }
    
    .content-block {
        padding: 20px 15px;
    }
    
    .main-title {
        font-size: 20px;
    }
    
    .intro-section {
        padding: 20px;
    }
    
    .intro-text {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-card h3 {
        font-size: 18px;
    }
    
    .highlight-box {
        padding: 20px;
    }
    
    .highlight-title {
        font-size: 20px;
    }
    
    .games-list,
    .steps-list {
        padding: 20px;
    }
}

/* Additional Content Styles */
.content-text {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.subsection-title {
    color: #FFD700;
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 15px;
}

.info-list {
    background-color: #1a1a1a;
    padding: 20px 25px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.content-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-ul li {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.8;
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
}

.content-ul li::before {
    content: "►";
    position: absolute;
    left: 0;
    color: #FFD700;
    font-size: 14px;
}

.content-ul li strong {
    color: #FFD700;
    font-weight: 700;
}

.highlight-box .content-ul li {
    color: #000000;
}

.highlight-box .content-ul li::before {
    color: #000000;
}

/* FAQ Section */
.faq-section {
    margin-top: 30px;
}

.faq-item {
    background-color: #1a1a1a;
    padding: 20px 25px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #FFD700;
}

.faq-question {
    color: #FFD700;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.faq-answer {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}