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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #0a0e1a;
    color: #ffffff;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.main-content {
    margin-left: 0;
    min-height: 100vh;
}

.header {
    background-color: #0a0e1a;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #1e293b;
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-bottom: 1px solid #1e293b;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: #8a8a8a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
    padding: 4px 0;
}

.nav-link:hover {
    color: #ffffff;
}

span.nav-link {
    transition: none;
    cursor: default;
}

span.nav-link:hover {
    color: #8a8a8a;
}

.nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #2563eb;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo svg {
    width: 24px;
    height: 24px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    white-space: nowrap;
}

.logo-name {
    font-size: 14px;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: 1.5px;
}

.logo-casino {
    font-size: 9px;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: 1.5px;
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

.btn-secondary {
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid #3a3a3a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background-color: #2a2a2a;
    border-color: #4a4a4a;
}

.btn-primary {
    padding: 8px 16px;
    background-color: #1e40af;
    border: none;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background-color: #3b82f6;
}

.sub-nav {
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 16px;
}

.search-btn {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: #8a8a8a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.search-btn svg {
    width: 18px;
    height: 18px;
}

.search-btn:hover {
    color: #ffffff;
}

.nav-tabs {
    display: flex;
    gap: 8px;
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    color: #8a8a8a;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    transition: all 0.2s;
    position: relative;
    text-decoration: none;
}

.nav-tab svg {
    width: 16px;
    height: 16px;
}

.nav-tab:hover {
    background-color: #1e293b;
    color: #ffffff;
}

.nav-tab.active {
    background-color: #0a0e1a;
    color: #ffffff;
}

.nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #2563eb;
}

.badge {
    padding: 2px 6px;
    background-color: #2d7a2d;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    border-radius: 3px;
}

.promo-section {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px 24px;
    background-color: #0a0e1a;
}

.promo-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.promo-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin: 0;
}

.promo-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #c0c0c0;
    margin: 0;
}

.promo-cta-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border: none;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    align-self: center;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 28px rgba(255, 215, 0, 0.6);
}

.promo-cta-btn:active {
    transform: scale(0.98);
}

.promo-slider {
    flex: 0 0 480px;
    height: 320px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    background-color: #0a0e1a;
    z-index: 2;
}

.slide-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.slide-text {
    font-size: 14px;
    color: #d0d0d0;
    margin-bottom: 16px;
    line-height: 1.4;
}

.slide-btn {
    padding: 10px 20px;
    background-color: #1e40af;
    border: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    align-self: flex-start;
}

.slide-btn:hover {
    background-color: #3b82f6;
}

.slide-note {
    font-size: 10px;
    color: #6a6a6a;
    margin-top: 8px;
}

.slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 30px;
    height: 3px;
    background-color: #3a3a3a;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: #2563eb;
}

.filters-section {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    align-items: center;
}

.filter-select {
    flex: 0 0 200px;
}

.custom-select {
    width: 100%;
    padding: 10px 12px;
    background-color: #1e293b;
    border: 1px solid #334155;
    color: #ffffff;
    font-size: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%238a8a8a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.custom-select:hover {
    border-color: #3a3a3a;
}

.search-box {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-box svg {
    position: absolute;
    left: 12px;
    color: #6a6a6a;
    pointer-events: none;
    width: 16px;
    height: 16px;
}

.search-input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    background-color: #1e293b;
    border: 1px solid #334155;
    color: #ffffff;
    font-size: 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: #3a3a3a;
}

.search-input::placeholder {
    color: #6a6a6a;
}

.games-section {
    padding: 24px 24px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
}

.see-more {
    display: flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    color: #8a8a8a;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}

.see-more svg {
    width: 16px;
    height: 16px;
}

.see-more:hover {
    color: #ffffff;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.game-card {
    background-color: #1e293b;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    padding: 10px;
    position: relative;
}

.game-card:hover {
    transform: translateY(-2px);
    background-color: #334155;
}

.game-logo {
    width: 100%;
    aspect-ratio: 1;
    background-color: #334155;
    border-radius: 6px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-play-btn {
    width: 100%;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    margin-bottom: 8px;
}

.game-play-btn:hover {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    transform: scale(1.02);
}

.game-logo svg {
    width: 60px;
    height: 60px;
}

.game-title {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-provider {
    font-size: 10px;
    color: #8a8a8a;
}

.faq-section {
    padding: 24px 24px 40px;
}

.accordion {
    margin-top: 16px;
    margin-bottom: 24px;
}

.accordion-item {
    border-bottom: 1px solid #334155;
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}

.accordion-header svg {
    width: 16px;
    height: 16px;
}

.accordion-header:hover {
    color: #2563eb;
}

.accordion-header svg {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-header svg {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding-bottom: 12px;
}

.accordion-content p {
    color: #8a8a8a;
    line-height: 1.5;
    font-size: 12px;
}

.content-block {
    background-color: #1e293b;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.content-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.content-text {
    font-size: 12px;
    color: #c0c0c0;
    line-height: 1.6;
    margin-bottom: 12px;
}

.read-more {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #3a3a3a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.read-more:hover {
    background-color: #2a2a2a;
    border-color: #4a4a4a;
}

.footer {
    background-color: #0a0e1a;
    border-top: 1px solid #1e293b;
    padding: 24px 24px 16px;
    position: relative;
}

.age-restriction-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background-color: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 8px;
}

.age-badge {
    flex-shrink: 0;
}

.age-disclaimer {
    flex: 1;
    max-width: 600px;
}

.age-disclaimer p {
    font-size: 12px;
    color: #c0c0c0;
    margin: 0;
    line-height: 1.5;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.footer-link {
    color: #8a8a8a;
    font-size: 11px;
}

.chat-button {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    background-color: #1e40af;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.2s;
    z-index: 100;
}

.chat-button:hover {
    background-color: #3b82f6;
    transform: scale(1.05);
}

.chat-button svg {
    width: 20px;
    height: 20px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #1e293b;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #334155;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    color: #8a8a8a;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #ffffff;
}

.feedback-form {
    padding: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #0a0e1a;
    border: 1px solid #334155;
    border-radius: 6px;
    color: #ffffff;
    font-size: 13px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6a6a6a;
}

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

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-cancel {
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid #3a3a3a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel:hover {
    background-color: #2a2a2a;
    border-color: #4a4a4a;
}

.btn-submit {
    padding: 10px 20px;
    background-color: #1e40af;
    border: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit:hover {
    background-color: #3b82f6;
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.feedback-success {
    padding: 40px 24px;
    text-align: center;
}

.feedback-success svg {
    margin: 0 auto 16px;
}

.feedback-success p {
    font-size: 16px;
    color: #ffffff;
    margin: 0;
}

@media (max-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}

@media (max-width: 1024px) {
    .promo-section {
        flex-direction: column;
        padding: 32px 20px;
        gap: 28px;
    }

    .promo-content {
        text-align: center;
        align-items: center;
    }

    .promo-title {
        font-size: 36px;
    }

    .promo-subtitle {
        font-size: 16px;
    }

    .promo-slider {
        flex: none;
        width: 100%;
        max-width: 500px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .promo-section {
        padding: 20px 12px;
        gap: 20px;
    }

    .promo-title {
        font-size: 28px;
    }

    .promo-subtitle {
        font-size: 14px;
    }

    .promo-cta-btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .promo-slider {
        height: 240px;
    }

    .top-nav {
        padding: 10px 12px;
        gap: 10px;
    }

    .nav-links {
        gap: 10px;
        font-size: 10px;
        justify-content: center;
    }

    .nav-link {
        padding: 2px 0;
    }

    .logo {
        gap: 6px;
        justify-content: center;
    }

    .logo svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .logo-name {
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .logo-casino {
        font-size: 6px;
        letter-spacing: 0.5px;
    }

    .auth-buttons {
        gap: 6px;
        justify-content: center;
    }

    .btn-secondary,
    .btn-primary {
        padding: 5px 10px;
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    .top-nav {
        padding: 8px 10px;
        gap: 8px;
    }

    .nav-links {
        gap: 8px;
        font-size: 9px;
        justify-content: center;
    }

    .logo {
        gap: 5px;
        justify-content: center;
    }

    .logo svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    .logo-name {
        font-size: 8px;
        letter-spacing: 0.3px;
    }

    .logo-casino {
        font-size: 5px;
        letter-spacing: 0.3px;
    }

    .auth-buttons {
        gap: 5px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-secondary,
    .btn-primary {
        padding: 4px 8px;
        font-size: 9px;
    }
}

@media (max-width: 768px) {
    .top-nav {
        flex-direction: column;
        gap: 12px;
        padding: 12px 16px;
    }

    .nav-links {
        gap: 12px;
        font-size: 11px;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .logo {
        justify-content: center;
    }

    .logo svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .logo-name {
        font-size: 10px;
        letter-spacing: 0.8px;
    }

    .logo-casino {
        font-size: 7px;
        letter-spacing: 0.8px;
    }

    .auth-buttons {
        gap: 8px;
        justify-content: center;
    }

    .btn-secondary,
    .btn-primary {
        padding: 6px 12px;
        font-size: 11px;
    }

    .sub-nav {
        padding: 0 16px;
        flex-wrap: wrap;
    }

    .nav-tabs {
        flex-wrap: wrap;
    }

    .slide-content {
        padding: 0 24px;
    }

    .slide-title {
        font-size: 28px;
    }

    .promo-section {
        flex-direction: column;
        padding: 24px 16px;
        gap: 24px;
    }

    .promo-content {
        gap: 16px;
        text-align: center;
        align-items: center;
    }

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

    .promo-subtitle {
        font-size: 15px;
    }

    .promo-cta-btn {
        padding: 14px 28px;
        font-size: 14px;
    }

    .promo-slider {
        width: 100%;
        flex: none;
        height: 280px;
    }

    .filters-section {
        flex-direction: column;
        padding: 12px 16px;
    }

    .filter-select {
        flex: 1;
        width: 100%;
    }

    .games-section {
        padding: 16px 16px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .age-restriction-banner {
        flex-direction: column;
        text-align: center;
        padding: 12px;
    }

    .age-disclaimer {
        max-width: 100%;
    }

    .faq-section {
        padding: 16px 16px 32px;
    }
}

.auth-error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
    padding: 12px;
    border-radius: 6px;
    font-size: 12px;
    margin-bottom: 16px;
}

.auth-switch {
    padding: 16px 24px 24px;
    text-align: center;
    font-size: 13px;
    color: #8a8a8a;
}

.auth-switch-btn {
    background: transparent;
    border: none;
    color: #3b82f6;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 4px;
    transition: color 0.2s;
}

.auth-switch-btn:hover {
    color: #60a5fa;
}

.legal-page {
    padding: 40px 24px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-container {
    background-color: #0f0f0f;
    border-radius: 12px;
    padding: 40px;
}

.legal-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.legal-updated {
    font-size: 13px;
    color: #8a8a8a;
    margin-bottom: 32px;
}

.legal-section {
    margin-bottom: 32px;
}

.legal-section h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.legal-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 12px;
    color: #ffffff;
}

.legal-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #c0c0c0;
    margin-bottom: 12px;
}

.legal-section ul {
    margin: 12px 0;
    padding-left: 24px;
}

.legal-section ul li {
    font-size: 14px;
    line-height: 1.6;
    color: #c0c0c0;
    margin-bottom: 8px;
}

.legal-section ul li strong {
    color: #ffffff;
}

.legal-section a {
    color: #3b82f6;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-back {
    margin-top: 40px;
    text-align: center;
}

.highlight-box {
    background-color: rgba(37, 99, 235, 0.1);
    border-left: 4px solid #2563eb;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.highlight-box p {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 8px 0;
}

#footerContact {
    cursor: pointer;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 24px 16px;
    }

    .legal-container {
        padding: 24px;
    }

    .legal-title {
        font-size: 24px;
    }

    .legal-section h2 {
        font-size: 18px;
    }
}

.game-modal {
    z-index: 2000;
}

.game-modal-content {
    background-color: #0a0e1a;
    border-radius: 12px;
    width: 95%;
    max-width: 1400px;
    height: 90vh;
    max-height: 900px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
    animation: modalSlideIn 0.3s ease-out;
}

.game-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #334155;
    flex-shrink: 0;
}

.game-modal-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

.game-modal-close {
    background: transparent;
    border: none;
    color: #8a8a8a;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-modal-close:hover {
    color: #ffffff;
}

.game-frame-container {
    flex: 1;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
}

.game-frame {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    background-color: #1e293b;
}

@media (max-width: 768px) {
    .game-modal-content {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .game-modal-header {
        padding: 12px 16px;
    }

    .game-modal-title {
        font-size: 16px;
    }

    .game-frame-container {
        padding: 12px;
    }
}

.slot-modal {
    z-index: 1001;
}

.slot-modal-content {
    background: linear-gradient(180deg, #1a1f3a 0%, #0f1525 100%);
    border-radius: 12px;
    width: 95%;
    max-width: 450px;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 2px solid #2a3655;
}

.slot-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.slot-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.slot-game-container {
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.slot-game-title {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    margin-bottom: 4px;
}

.slot-balance {
    background: linear-gradient(135deg, #2a3655, #1a2540);
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 2px solid #FFD700;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.balance-label {
    font-size: 12px;
    color: #8a8a8a;
    font-weight: 600;
}

.balance-amount {
    font-size: 20px;
    font-weight: 700;
    color: #FFD700;
}

.balance-coins {
    font-size: 12px;
    color: #8a8a8a;
}

.slot-machine {
    width: 100%;
    max-width: 400px;
    padding: 16px;
    background: linear-gradient(180deg, #8B0000, #600000);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: 3px solid #FFD700;
    position: relative;
}

.slot-machine::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: radial-gradient(circle, #ff0000, #cc0000);
    border-radius: 50%;
    border: 2px solid #FFD700;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.5);
}

.slot-machine-frame {
    background: linear-gradient(180deg, #2c3e50, #1a252f);
    padding: 14px;
    border-radius: 10px;
    position: relative;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.5);
}

.slot-reels-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.slot-row {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.slot-reel {
    width: 70px;
    height: 70px;
    background: linear-gradient(180deg, #ffffff, #e0e0e0);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid #1a252f;
    overflow: hidden;
    position: relative;
}

.slot-symbol {
    font-size: 40px;
    font-weight: 700;
    color: #cc0000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: symbolGlow 2s ease-in-out infinite;
}

@keyframes symbolGlow {
    0%, 100% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
}

.slot-reel.spinning .slot-symbol {
    animation: spin 0.1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

.slot-payline {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    pointer-events: none;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    opacity: 0.7;
}

.slot-payline-top {
    top: 16.66%;
    transform: translateY(-50%);
}

.slot-payline-middle {
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.slot-payline-bottom {
    top: 83.33%;
    transform: translateY(-50%);
}

.slot-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.bet-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #2a3655, #1a2540);
    padding: 8px 16px;
    border-radius: 8px;
    border: 2px solid #3a4665;
}

.bet-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border: none;
    color: #000;
    font-size: 20px;
    font-weight: 700;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.bet-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(255, 215, 0, 0.5);
}

.bet-btn:active {
    transform: scale(0.95);
}

.bet-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bet-label {
    font-size: 12px;
    color: #8a8a8a;
    font-weight: 600;
}

.bet-amount {
    font-size: 18px;
    font-weight: 700;
    color: #FFD700;
    min-width: 45px;
    text-align: center;
}

.spin-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border: none;
    color: #000;
    font-size: 20px;
    font-weight: 700;
    padding: 14px 40px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

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

.spin-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.6);
}

.spin-btn:hover::before {
    width: 300px;
    height: 300px;
}

.spin-btn:active {
    transform: scale(0.98);
}

.spin-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.spin-btn:disabled:hover {
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
}

.slot-message {
    min-height: 32px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    padding: 6px 12px;
    border-radius: 6px;
    background: linear-gradient(135deg, #2a3655, #1a2540);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.slot-message.win {
    color: #FFD700;
    border-color: #FFD700;
    animation: winPulse 1s ease-in-out;
    background: linear-gradient(135deg, #2a3655, #1a2540);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.slot-message.lose {
    color: #ff6b6b;
}

@keyframes winPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@media (max-width: 768px) {
    .slot-modal-content {
        width: 98%;
        max-width: none;
        max-height: 98vh;
    }

    .slot-game-container {
        padding: 12px;
        gap: 10px;
    }

    .slot-game-title {
        font-size: 20px;
        margin-bottom: 2px;
    }

    .slot-balance {
        padding: 6px 12px;
    }

    .balance-label {
        font-size: 11px;
    }

    .balance-amount {
        font-size: 18px;
    }

    .balance-coins {
        font-size: 11px;
    }

    .slot-machine {
        padding: 10px;
        max-width: 100%;
    }

    .slot-machine::before {
        width: 40px;
        height: 40px;
        top: -5px;
    }

    .slot-machine-frame {
        padding: 10px;
    }

    .slot-reels-container {
        gap: 6px;
    }

    .slot-row {
        gap: 6px;
    }

    .slot-reel {
        width: 60px;
        height: 60px;
    }

    .slot-symbol {
        font-size: 32px;
    }

    .bet-controls {
        padding: 6px 12px;
        gap: 10px;
    }

    .bet-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .bet-label {
        font-size: 11px;
    }

    .bet-amount {
        font-size: 16px;
        min-width: 40px;
    }

    .spin-btn {
        padding: 12px 32px;
        font-size: 18px;
        letter-spacing: 1px;
    }

    .slot-message {
        font-size: 14px;
        min-height: 28px;
        padding: 4px 10px;
    }
}

@media (max-width: 400px) {
    .slot-game-container {
        padding: 8px;
        gap: 8px;
    }

    .slot-game-title {
        font-size: 18px;
    }

    .slot-machine {
        padding: 8px;
    }

    .slot-machine-frame {
        padding: 8px;
    }

    .slot-reel {
        width: 52px;
        height: 52px;
    }

    .slot-symbol {
        font-size: 28px;
    }

    .spin-btn {
        padding: 10px 28px;
        font-size: 16px;
    }
}

.chicken-modal {
    z-index: 1001;
}

.chicken-modal-content {
    background: linear-gradient(180deg, #1a1f3a 0%, #0f1525 100%);
    border-radius: 12px;
    width: 95%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 2px solid #2a3655;
}

.chicken-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.chicken-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.chicken-game-container {
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.chicken-game-title {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    margin-bottom: 2px;
}

.chicken-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.chicken-balance,
.chicken-multiplier,
.chicken-profit {
    background: linear-gradient(135deg, #2a3655, #1a2540);
    padding: 6px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 2px solid #3a4665;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.chicken-label {
    font-size: 11px;
    color: #8a8a8a;
    font-weight: 600;
}

.chicken-amount,
.chicken-multi-value,
.chicken-profit-value {
    font-size: 15px;
    font-weight: 700;
    color: #FFD700;
}

.chicken-coins {
    font-size: 11px;
    color: #8a8a8a;
}

.chicken-game-board {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    padding: 12px;
    background: linear-gradient(180deg, #2c3e50, #1a252f);
    border-radius: 10px;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 340px;
}

.chicken-cell {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #3a4665, #2a3655);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 28px;
    border: 2px solid #4a5675;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.chicken-cell:hover:not(.revealed) {
    background: linear-gradient(135deg, #4a5685, #3a4665);
    transform: scale(1.05);
}

.chicken-cell.revealed {
    cursor: default;
    transform: scale(1);
}

.chicken-cell.safe {
    background: linear-gradient(135deg, #2d7a2d, #1e5a1e);
    border-color: #3ea03e;
    animation: revealSafe 0.5s ease-out;
}

.chicken-cell.bomb {
    background: linear-gradient(135deg, #8B0000, #600000);
    border-color: #ff0000;
    animation: revealBomb 0.5s ease-out;
}

@keyframes revealSafe {
    0% {
        transform: scale(0.8) rotateY(0deg);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1) rotateY(180deg);
    }
    100% {
        transform: scale(1) rotateY(360deg);
        opacity: 1;
    }
}

@keyframes revealBomb {
    0% {
        transform: scale(0.8);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(0.9);
    }
    75% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

.chicken-controls {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chicken-bet-section,
.chicken-cashout-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.chicken-bet-controls,
.chicken-mines-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2a3655, #1a2540);
    padding: 6px 12px;
    border-radius: 6px;
    border: 2px solid #3a4665;
}

.chicken-bet-btn,
.chicken-mines-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border: none;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.chicken-bet-btn:hover,
.chicken-mines-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(255, 215, 0, 0.5);
}

.chicken-bet-btn:active,
.chicken-mines-btn:active {
    transform: scale(0.95);
}

.chicken-bet-display,
.chicken-mines-display {
    display: flex;
    align-items: center;
    gap: 4px;
}

.chicken-bet-label,
.chicken-mines-label {
    font-size: 12px;
    color: #8a8a8a;
    font-weight: 600;
}

.chicken-bet-amount,
.chicken-mines-amount {
    font-size: 15px;
    font-weight: 700;
    color: #FFD700;
    min-width: 35px;
    text-align: center;
}

.chicken-start-btn,
.chicken-cashout-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border: none;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    width: 100%;
    max-width: 280px;
}

.chicken-start-btn:hover,
.chicken-cashout-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.6);
}

.chicken-start-btn:active,
.chicken-cashout-btn:active {
    transform: scale(0.98);
}

.chicken-cashout-btn {
    background: linear-gradient(135deg, #2d7a2d, #1e5a1e);
    color: #ffffff;
}

.chicken-cashout-btn:hover {
    box-shadow: 0 8px 24px rgba(45, 122, 45, 0.6);
}

.chicken-message {
    min-height: 28px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    padding: 5px 10px;
    border-radius: 6px;
    background: linear-gradient(135deg, #2a3655, #1a2540);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.chicken-message.win {
    color: #FFD700;
    border-color: #FFD700;
    animation: winPulse 1s ease-in-out;
    background: linear-gradient(135deg, #2a3655, #1a2540);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.chicken-message.lose {
    color: #ff6b6b;
    border-color: #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

@media (max-width: 768px) {
    .chicken-modal-content {
        width: 95%;
        max-width: 380px;
        max-height: 95vh;
    }

    .chicken-game-container {
        padding: 10px;
        gap: 8px;
    }

    .chicken-game-title {
        font-size: 18px;
        margin-bottom: 0;
    }

    .chicken-stats {
        gap: 6px;
    }

    .chicken-balance,
    .chicken-multiplier,
    .chicken-profit {
        padding: 5px 8px;
    }

    .chicken-label {
        font-size: 10px;
    }

    .chicken-amount,
    .chicken-multi-value,
    .chicken-profit-value {
        font-size: 14px;
    }

    .chicken-game-board {
        gap: 5px;
        padding: 10px;
        max-width: 300px;
    }

    .chicken-cell {
        font-size: 24px;
    }

    .chicken-bet-controls,
    .chicken-mines-controls {
        padding: 5px 10px;
        gap: 6px;
    }

    .chicken-bet-btn,
    .chicken-mines-btn {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .chicken-bet-label,
    .chicken-mines-label {
        font-size: 11px;
    }

    .chicken-bet-amount,
    .chicken-mines-amount {
        font-size: 14px;
        min-width: 30px;
    }

    .chicken-start-btn,
    .chicken-cashout-btn {
        padding: 9px 24px;
        font-size: 14px;
        max-width: 240px;
    }

    .chicken-message {
        font-size: 13px;
        min-height: 26px;
        padding: 4px 8px;
    }
}

@media (max-width: 400px) {
    .chicken-modal-content {
        width: 98%;
        max-width: none;
    }

    .chicken-game-container {
        padding: 8px;
        gap: 6px;
    }

    .chicken-game-title {
        font-size: 16px;
    }

    .chicken-stats {
        gap: 4px;
    }

    .chicken-balance,
    .chicken-multiplier,
    .chicken-profit {
        padding: 4px 6px;
    }

    .chicken-amount,
    .chicken-multi-value,
    .chicken-profit-value {
        font-size: 13px;
    }

    .chicken-game-board {
        gap: 4px;
        padding: 8px;
        max-width: 280px;
    }

    .chicken-cell {
        font-size: 20px;
    }

    .chicken-bet-controls,
    .chicken-mines-controls {
        padding: 4px 8px;
        gap: 5px;
    }

    .chicken-bet-btn,
    .chicken-mines-btn {
        width: 26px;
        height: 26px;
        font-size: 14px;
    }

    .chicken-bet-amount,
    .chicken-mines-amount {
        font-size: 13px;
        min-width: 28px;
    }

    .chicken-start-btn,
    .chicken-cashout-btn {
        padding: 8px 20px;
        font-size: 13px;
        letter-spacing: 1px;
        max-width: 220px;
    }

    .chicken-message {
        font-size: 12px;
        min-height: 24px;
        padding: 4px 6px;
    }
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1f3a, #0f1525);
    border-top: 2px solid #FFD700;
    padding: 16px 24px;
    display: none;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent.show {
    display: block;
}

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

.cookie-text {
    color: #c0c0c0;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.cookie-link {
    color: #FFD700;
    text-decoration: underline;
    transition: color 0.2s;
}

.cookie-link:hover {
    color: #FFA500;
}

.cookie-accept-btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border: none;
    color: #000;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.cookie-accept-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.5);
}

.cookie-accept-btn:active {
    transform: scale(0.98);
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 12px 16px;
    }

    .cookie-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .cookie-text {
        font-size: 12px;
    }

    .cookie-accept-btn {
        width: 100%;
        padding: 12px 24px;
    }
}
