/* Theme Styles - Dark Green & Yellow Casino Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Mobile Navigation Toggle */
.nav-toggle-button {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1002;
    background: #1a4d2e;
    border: 2px solid #ffd700;
    border-radius: 4px;
    padding: 10px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 3px;
    background: #ffd700;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle-button:active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle-button:active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle-button:active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Site Header Bar */
.site-header-bar {
    background: #0f3d26;
    border-bottom: 2px solid #ffd700;
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.header-controls {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.header-logo-container {
    justify-self: center;
    grid-column: 2;
}

.header-logo-container a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo-image {
    max-height: 80px;
    width: auto;
}

.header-logo-text {
    font-size: 48px;
    font-weight: bold;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-action-buttons {
    display: flex;
    gap: 12px;
    justify-self: end;
    grid-column: 3;
}

.action-button-primary {
    background: #ffd700;
    color: #0a2e1a;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
    animation: subtle-glow 2s ease-in-out infinite;
}

.action-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.4);
    animation: none;
}

/* Login button - slightly different color */
.action-button-login {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    animation: subtle-glow-login 2.5s ease-in-out infinite;
}

.action-button-login:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #fff176 100%);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.5);
    animation: none;
}

/* Register button - slightly different color */
.action-button-register {
    background: linear-gradient(135deg, #ffc107 0%, #ffd54f 100%);
    animation: subtle-glow-register 2.3s ease-in-out infinite;
}

.action-button-register:hover {
    background: linear-gradient(135deg, #ffd54f 0%, #ffe082 100%);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.5);
    animation: none;
}

/* Subtle glow animation for login button */
@keyframes subtle-glow-login {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.3), 0 0 10px rgba(255, 215, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 12px rgba(255, 215, 0, 0.6), 0 0 22px rgba(255, 215, 0, 0.4);
    }
}

/* Subtle glow animation for register button */
@keyframes subtle-glow-register {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 193, 7, 0.3), 0 0 10px rgba(255, 193, 7, 0.2);
    }
    50% {
        box-shadow: 0 0 12px rgba(255, 193, 7, 0.6), 0 0 22px rgba(255, 193, 7, 0.4);
    }
}

/* Backdrop Layer */
.backdrop-layer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

/* Side Menu Panel */
.side-menu-panel {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: #0f3d26;
    border-right: 2px solid #ffd700;
    overflow-y: auto;
    z-index: 1001;
    transform: translateX(0);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

.side-menu-panel.is-active {
    transform: translateX(0);
}

.side-menu-nav {
    padding: 80px 0 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.side-menu-list {
    list-style: none;
    width: 100%;
    max-width: 240px;
}

.side-menu-list-item {
    margin: 0;
}

.side-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.side-menu-link:hover {
    background: #1a4d2e;
    border-left-color: #ffd700;
    color: #ffd700;
}

.side-menu-link.is-current {
    background: #1a4d2e;
    border-left-color: #ffd700;
    color: #ffd700;
}

.menu-item-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: currentColor;
}

.side-menu-link-text {
    font-size: 15px;
    font-weight: 500;
}

/* Content Container */
.content-container {
    margin-left: 280px;
    min-height: 100vh;
    background: #0a2e1a;
    padding: 0;
    padding-top: 10px;
    transition: margin-left 0.3s ease;
}

/* Promotional Banners */
.promotional-banners {
    margin-bottom: 30px;
    padding: 0 20px;
}

.promo-banner {
    position: relative;
    background: linear-gradient(135deg, #1a4d2e 0%, #0f3d26 100%);
    border: 2px solid #ffd700;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.promo-banner-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 15px;
    display: block;
}

.promo-banner-content {
    position: relative;
    z-index: 2;
}

.promo-banner-title {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.promo-banner-text {
    font-size: 18px;
    color: #ffd700;
    margin-bottom: 20px;
    font-weight: 600;
}

.promo-banner-btn {
    display: inline-block;
    padding: 14px 28px;
    background: #ffd700;
    color: #0a2e1a;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.promo-banner-btn:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 215, 0, 0.4);
}

/* Game Sections */
.game-section {
    margin-bottom: 40px;
    padding: 0 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a4d2e;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.carousel-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.show-all-btn {
    padding: 8px 16px;
    background: #1a4d2e;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ffd700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.show-all-btn:hover {
    background: #ffd700;
    color: #0a2e1a;
}

.games-carousel {
    overflow-x: auto;
    padding-bottom: 10px;
}

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

.game-card {
    background: #0f3d26;
    border: 2px solid #1a4d2e;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.game-card:hover {
    border-color: #ffd700;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.game-image-wrapper {
    position: relative;
    overflow: hidden;
}

.game-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 9/16;
    object-fit: cover;
}

.game-play-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: #ffd700;
    color: #0a2e1a;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-top: 2px solid #0a2e1a;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.game-card:hover .game-play-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.game-play-btn:hover {
    background: #ffed4e;
}

.game-title {
    padding: 12px;
    text-align: center;
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bonuses Section */
.bonuses-section {
    margin-bottom: 40px;
}

.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.bonus-card {
    background: #0f3d26;
    border: 2px solid #1a4d2e;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.bonus-card:hover {
    border-color: #ffd700;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.bonus-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.bonus-image {
    width: 100%;
    height: auto;
    display: block;
}

.bonus-content {
    padding: 20px;
}

.bonus-name {
    font-size: 20px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 12px;
}

.bonus-description {
    margin-bottom: 15px;
    font-size: 14px;
    color: #e0e0e0;
    line-height: 1.6;
}

.bonus-value {
    font-size: 18px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 12px;
}

.bonus-category-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #1a4d2e;
    color: #ffd700;
    font-size: 12px;
    border-radius: 4px;
    border: 1px solid #ffd700;
}

.bonus-terms {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #1a4d2e;
    font-size: 12px;
    color: #b0b0b0;
}

/* Text Content */
.text-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    background: #0f3d26;
    border-radius: 8px;
    border: 1px solid #1a4d2e;
    margin-left: 20px;
    margin-right: 20px;
}

.text-content h1 {
    font-size: 32px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-content h2 {
    font-size: 26px;
    font-weight: bold;
    color: #ffd700;
    margin: 35px 0 18px 0;
}

.text-content h3 {
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    margin: 30px 0 15px 0;
}

.text-content p {
    margin-bottom: 18px;
    color: #e0e0e0;
    line-height: 1.8;
}

.text-content img {
    max-width: 100%;
    height: auto;
    margin: 25px 0;
    border-radius: 6px;
    border: 2px solid #1a4d2e;
}

.text-content .table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 25px 0;
    -webkit-overflow-scrolling: touch;
}

.text-content table {
    width: 100%;
    min-width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: #0a2e1a;
    border: 1px solid #1a4d2e;
    table-layout: auto;
}

.text-content th,
.text-content td {
    padding: 12px;
    border: 1px solid #1a4d2e;
    text-align: left;
    color: #e0e0e0;
}

.text-content th {
    background: #1a4d2e;
    font-weight: bold;
    color: #ffd700;
}

.text-content ul,
.text-content ol {
    margin: 25px 0;
    padding-left: 35px;
    color: #e0e0e0;
}

.text-content ul li,
.text-content ol li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.text-content a {
    color: #ffd700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.text-content a:hover {
    color: #ffed4e;
}

.text-content blockquote {
    margin: 25px 0;
    padding: 20px;
    border-left: 4px solid #ffd700;
    background: #0a2e1a;
    color: #e0e0e0;
    border-radius: 4px;
}

/* FAQ */
.faq-wrapper {
    margin: 25px 0;
}

.faq-item-block {
    border: 2px solid #1a4d2e;
    margin-bottom: 15px;
    background: #0f3d26;
    border-radius: 6px;
    overflow: hidden;
}

.faq-question-block {
    padding: 18px;
    background: #1a4d2e;
    border-bottom: 2px solid #0a2e1a;
}

.faq-question-block strong {
    font-size: 17px;
    color: #ffd700;
}

.faq-answer-block {
    padding: 18px;
    color: #e0e0e0;
    line-height: 1.8;
}

/* HowTo */
.howto-wrapper {
    margin: 25px 0;
    padding: 25px;
    background: #0f3d26;
    border: 2px solid #1a4d2e;
    border-radius: 8px;
}

.howto-steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.howto-step-item {
    counter-increment: step-counter;
    padding: 18px;
    margin-bottom: 15px;
    background: #0a2e1a;
    border-left: 4px solid #ffd700;
    border-radius: 4px;
    position: relative;
}

.howto-step-item::before {
    content: counter(step-counter) ".";
    font-weight: bold;
    margin-right: 12px;
    color: #ffd700;
    font-size: 18px;
}

.howto-step-item strong {
    display: block;
    font-size: 17px;
    margin-bottom: 10px;
    color: #ffd700;
}

.howto-step-item p {
    color: #e0e0e0;
    line-height: 1.8;
}

/* Breadcrumbs */
.breadcrumb-nav {
    margin: 0;
    padding: 10px 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.breadcrumb-link {
    color: #ffd700;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #ffed4e;
}

.breadcrumb-divider {
    color: #1a4d2e;
    font-size: 14px;
}

/* Payment Methods */
.payment-methods-section {
    margin: 40px 0;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.payment-method-card {
    border: 2px solid #1a4d2e;
    padding: 20px;
    text-align: center;
    background: #0f3d26;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.payment-method-card:hover {
    border-color: #ffd700;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.2);
}

.payment-method-image-wrapper {
    margin-bottom: 12px;
}

.payment-method-image {
    max-width: 100%;
    height: auto;
    max-height: 50px;
}

.payment-method-name {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

/* Footer */
.site-footer {
    background: #0a2e1a;
    color: #ffffff;
    padding: 40px 20px 25px;
    margin-top: 50px;
    margin-left: 280px;
    border-top: 2px solid #1a4d2e;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    margin-bottom: 25px;
}

.footer-section-title {
    font-size: 18px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 2px solid #1a4d2e;
    font-size: 13px;
    color: #b0b0b0;
}

.footer-safe {
    margin-bottom: 20px;
}

.footer-safe-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.footer-safe-links li {
    margin: 0;
}

.safe-image {
    max-width: 110px;
    height: auto;
    display: block;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.safe-image:hover {
    opacity: 1;
}

/* List Container */
.list-container {
    margin: 25px 0;
}

.list-container ul,
.list-container ol {
    margin: 25px 0;
    padding-left: 35px;
    color: #e0e0e0;
}

.list-container ul li,
.list-container ol li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* App Info Table */
.app-info-table-wrapper {
    margin: 20px 0;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.app-info-table-container {
    border: 1.5px solid #1a4d2e;
    border-radius: 6px;
    overflow: hidden;
    background: #0f3d26;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.app-info-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    box-sizing: border-box;
}

.app-info-row {
    border-bottom: 1px solid #1a4d2e;
}

.app-info-row:last-child {
    border-bottom: none;
}

.app-info-label-cell {
    padding: 10px 12px;
    text-align: center;
    background: #1a4d2e;
    color: #ffd700;
    font-weight: 600;
    width: 10%;
    box-sizing: border-box;
    word-wrap: break-word;
}

.app-info-value-cell {
    padding: 10px 12px;
    color: #e0e0e0;
    box-sizing: border-box;
    word-wrap: break-word;
    line-height: 1.5;
}

.app-info-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    opacity: 0.9;
}

.app-name-with-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.app-name-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
}

.app-name-text {
    font-weight: 600;
    color: #ffd700;
    font-size: 0.95em;
}

.app-download-link {
    display: inline-block;
    padding: 8px 16px;
    background: #ffd700;
    color: #0a2e1a;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.app-download-link:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.4);
}

/* Mobile Styles */
@media (max-width: 992px) {
    .nav-toggle-button {
        display: flex;
    }

    .site-header-bar {
        padding: 12px 15px 12px 70px;
    }

    .header-controls {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .header-logo-container {
        justify-self: center;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .header-logo-image {
        max-height: 50px;
    }

    .header-logo-text {
        font-size: 30px;
    }

    .header-action-buttons {
        justify-self: center;
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .header-action-buttons .action-button-primary {
        padding: 8px 16px;
        font-size: 13px;
        white-space: nowrap;
    }

    .side-menu-panel {
        width: 260px;
        transform: translateX(-100%);
    }

    .side-menu-panel.is-active {
        transform: translateX(0);
    }

    .content-container {
        margin-left: 0;
        padding: 15px;
        margin-top: 0;
        padding-top: 120px;
    }

    .site-footer {
        margin-left: 0;
    }

    .promotional-banners {
        margin-top: 0;
        padding-top: 0;
    }

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

    .bonuses-grid {
        grid-template-columns: 1fr;
    }

    .promo-banner-title {
        font-size: 22px;
    }

    .promo-banner-text {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .content-container {
        padding: 12px;
    }

    .text-content {
        padding: 20px 15px;
    }

    .text-content h1 {
        font-size: 26px;
    }

    .text-content h2 {
        font-size: 22px;
    }

    .text-content h3 {
        font-size: 19px;
    }

    .payment-methods-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 15px;
    }

    .header-action-buttons {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        justify-content: center;
    }

    .action-button-primary {
        font-size: 12px;
        padding: 8px 16px;
    }

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

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

    .app-info-table-wrapper {
        padding: 0 10px;
        margin: 15px 0;
    }

    .text-content .table-wrapper {
        margin: 15px 0;
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
    }

    .text-content table {
        min-width: 600px;
        width: auto;
    }

    .text-content th,
    .text-content td {
        white-space: nowrap;
        padding: 10px;
    }

    .app-info-label-cell {
        padding: 8px 10px;
        font-size: 0.9em;
    }

    .app-info-value-cell {
        padding: 8px 10px;
        font-size: 0.9em;
    }

    .app-name-logo {
        width: 56px;
        height: 56px;
    }

    .app-download-link {
        padding: 6px 12px;
        font-size: 0.85em;
    }

    .text-content .table-wrapper {
        margin: 15px 0;
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
    }

    .text-content table {
        min-width: 600px;
        width: auto;
    }

    .text-content th,
    .text-content td {
        white-space: nowrap;
        padding: 10px;
    }
}
