:root {
    --primary-color: #170b85;
    --button-color: #d61b06;
    --button-demo-color: #d61b06;
    --background-color: #170b85;
    --heading-faq-others-color: black;
    --text-color: white;
    --content-bg: white;
    --content-text: black;
    --footer-bg: #7ea0de;
    --footer-text: black;
	--casino-theme-color: #170b85;
}

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

body {
    font-family: 'Arial', sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: relative;
    z-index: 1000;
}

.language-switcher {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.lang-current:hover {
    border-color: #999;
    background: #f9f9f9;
}

.flag-icon {
    font-size: 20px;
    line-height: 1;
}

.lang-code {
    font-weight: 600;
    color: #333;
}

.arrow {
    font-size: 10px;
    color: #666;
    transition: transform 0.3s;
}

.lang-current.active .arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
}

.lang-option:first-child {
    border-radius: 8px 8px 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 8px 8px;
}

.lang-option:hover {
    background: #f5f5f5;
}

.lang-option.active {
    background: #f0f0f0;
    font-weight: 600;
}

.lang-name {
    font-size: 14px;
}

.logo {
    height: 80px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    margin-top: -20px;
    margin-bottom: -20px;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 40px 40px 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-flex-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
    max-width: 1400px;
}

.game-main-title {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
    width: 100%;
}

.hero-game-container {
    flex: 1;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-window {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.game-window.demo-active {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 85%;
    max-width: 90%;
    border-radius: 12px;
    padding: 0;
    z-index: 9999;
    background: rgba(23, 11, 133, 0.98);
}

.game-screenshot-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.game-window.demo-active .game-screenshot-container {
    display: none;
}

.game-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-window.demo-active .game-screenshot {
    display: none;
}

.game-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 20px;
    z-index: 2;
}

.game-window.demo-active .game-buttons {
    display: none !important;
}

.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--button-color);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(214, 27, 6, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--button-demo-color);
}

.btn-secondary:hover {
    background: rgba(214, 27, 6, 0.2);
    transform: translateY(-2px);
}

.demo-iframe-container {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.game-window.demo-active .demo-iframe-container {
    display: block !important;
    z-index: 1;
}

.demo-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #000;
}

.demo-close-btn {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--button-color);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 28px;
    cursor: pointer;
    z-index: 10001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.game-window.demo-active .demo-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-close-btn:hover {
    transform: scale(1.1);
    background: #ff2211;
}

/* Info Table */
.hero-info-table {
    flex: 0 0 400px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.info-table-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid rgba(23, 11, 133, 0.1);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 12px 8px;
    color: var(--content-text);
}

.info-table .label {
    font-weight: 600;
    color: #555;
    width: 40%;
}

.info-table .value {
    color: #222;
    font-weight: 500;
}

.info-table .highlight {
    color: var(--primary-color);
    font-weight: bold;
}

/* Main Content */
.main-content {
    background: var(--content-bg);
    color: var(--content-text);
    padding: 60px 40px;
    margin: 0;
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.8;
}

.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4,
.main-content h5,
.main-content h6 {
    color: var(--heading-faq-others-color);
    margin: 30px 0 20px 0;
    font-weight: bold;
}

.main-content h1 { font-size: 2.5rem; }
.main-content h2 { font-size: 2rem; }
.main-content h3 { font-size: 1.5rem; }
.main-content h4 { font-size: 1.25rem; }

.main-content p {
    margin: 20px 0;
    font-size: 1.1rem;
}

.main-content ul,
.main-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.main-content li {
    margin: 10px 0;
    font-size: 1.1rem;
}

.main-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.main-content table img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    display: block;
    margin: 0;
}

.main-content th,
.main-content td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.main-content th {
    background: var(--primary-color);
    color: white;
    font-weight: bold;
}

.main-content tr:hover {
    background: #f5f5f5;
}

.main-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    background: #fff;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-content code {
    background: #f4f4f4;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #e83e8c;
}

/* Casino Rating Section */
.casino-rating-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.rating-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: bold;
}

.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.casino-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--casino-theme-color);
}

.casino-rank {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 32px;
    height: 32px;
    border-radius: 16px 0 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    color: white;
    background: #333;
    z-index: 2;
}

.casino-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.casino-logo img {
    max-width: 140px;
    max-height: 50px;
    object-fit: contain;
}

.casino-name {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 900;
    margin: 8px 0 6px 0;
    color: #2c3e50;
}

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

.rating-number {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
}

.stars {
    font-size: 1rem;
    color: #ffc107;
    letter-spacing: 2px;
}

.bonus-info {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    text-align: center;
}

.bonus-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.bonus-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.casino-pros {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.casino-pros li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.casino-pros li {
    padding-left: 28px !important;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.2498 10.0618L16.2439 9.30592L16.2498 9.26371C16.2498 8.64192 15.7254 8.13829 15.0779 8.13829H11.3777L11.9373 5.5667C11.949 5.51043 11.9578 5.45135 11.9578 5.38945C11.9578 5.15592 11.8582 4.94491 11.7 4.79298L13.1565 3.32991C13.6898 3.8421 14.0411 4.57087 14.0411 5.38945C14.0411 5.63911 14.0057 5.84547 13.9784 5.97676L13.9765 5.98557L13.9534 6.09207H15.0779C16.8316 6.09207 18.3331 7.46871 18.3331 9.26371V9.40259L18.3284 9.43704L18.3331 10.054V10.3985L18.3331 10.4078C18.3293 10.8108 18.2468 11.2085 18.0909 11.5799L18.0825 11.6L16.3092 15.5821C15.8051 16.7269 14.6418 17.4998 13.3201 17.4998H8.04666C6.29298 17.4998 4.79144 16.1231 4.79144 14.3281V8.701C4.79144 7.80674 5.17438 7.01287 5.75081 6.45161L5.76102 6.44167L8.99829 3.3328C10.151 2.22582 11.9915 2.22156 13.1494 3.32319L11.7 4.79298C11.3526 4.46253 10.8006 4.46381 10.4548 4.79586L7.21755 7.90477C7.00661 8.11016 6.87478 8.39151 6.87478 8.701V14.3281C6.87478 14.9499 7.39919 15.4535 8.04666 15.4535H13.3201C13.8064 15.4535 14.2225 15.1694 14.3982 14.767L16.1648 10.7999C16.2197 10.6693 16.2485 10.53 16.2498 10.3891V10.0618ZM2.70817 7.26865C2.13288 7.26865 1.6665 7.72671 1.6665 8.29176V15.4535C1.6665 16.0186 2.13288 16.4766 2.70817 16.4766C3.28347 16.4766 3.74984 16.0186 3.74984 15.4535V8.29176C3.74984 7.72671 3.28347 7.26865 2.70817 7.26865Z' fill='%23E50123'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: left center;
}

.casino-pros li:before {
    content: none;
}

.casino-cta {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 0.5px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
	text-decoration: none;
}

.casino-cta:hover:after {
    transform: translateX(4px);
}

/* Universal Theme Color System */
.casino-card {
    border-color: var(--casino-theme-color);
}

.casino-rank {
    background: var(--casino-theme-color);
}

.bonus-info {
    background: color-mix(in srgb, var(--casino-theme-color) 12%, transparent);
    color: color-mix(in srgb, var(--casino-theme-color) 65%, black);
}

.casino-cta {
    background: var(--casino-theme-color);
}

/* FAQ */
.faq-title {
    font-size: 2.5rem;
    color: var(--heading-faq-others-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.faq-question {
    background: white;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading-faq-others-color);
    border: none;
    width: 100%;
    text-align: left;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question.active {
    background: var(--primary-color);
    color: white;
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
    color: white;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
}

.faq-answer.active {
    max-height: 300px;
    padding: 20px 25px;
}

.faq-answer p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 0 20px 0;
}

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

.footer-logos {
    text-align: center;
    padding: 40px 0;
    border-bottom: 1px solid white;
    margin-bottom: 40px;
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.logo-item {
    background: transparent;
    padding: 15px 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    min-width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item:hover {
    transform: translateY(-5px);
}

.logo-item img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.logo-placeholder {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    font-weight: bold;
}

.footer-text {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-text p {
    margin: 10px 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

	.lang-current {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .flag-icon {
        font-size: 18px;
    }
    
    .lang-dropdown {
        min-width: 140px;
    }
    
    .lang-option {
        padding: 10px 14px;
    }

    .hero {
        flex-direction: column;
        padding: 20px 15px 40px 15px;
    }
    
    .game-main-title {
        font-size: 2rem;
        margin-bottom: 20px;
        padding: 0 15px;
    }
    
    .hero-flex-wrapper {
        flex-direction: column;
    }

    .hero-game-container {
        max-width: 100%;
        width: 100%;
    }

    .game-window {
        padding: 15px;
    }
    
    .game-window.demo-active {
        width: 95%;
        height: 90%;
        border-radius: 8px;
    }
    
    .game-screenshot {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .game-screenshot-container {
        aspect-ratio: 4/3;
        margin-bottom: 0;
    }

    .game-buttons {
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin-top: 0;
    }

    .btn {
        width: 100%;
        padding: 12px 20px;
    }

    .hero-info-table {
        flex: 1;
        width: 100%;
        max-width: 100%;
        padding: 20px;
    }

    .info-table-title {
        font-size: 1.5rem;
    }

    .info-table td {
        padding: 10px 5px;
        font-size: 0.95rem;
    }

    .main-content {
        padding: 40px 20px;
    }

    .main-content h1 { font-size: 2rem; }
    .main-content h2 { font-size: 1.75rem; }
    .main-content h3 { font-size: 1.5rem; }

    .main-content table {
        font-size: 0.9rem;
    }

    .main-content table img {
        width: 120px;
        height: 120px;
    }

    .main-content th,
    .main-content td {
        padding: 10px;
    }

    .faq-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-answer.active {
        padding: 15px 20px;
    }

    .footer-container {
        padding: 0 20px;
    }

    .logos-container {
        gap: 20px;
    }

    .logo-item {
        min-width: 100px;
        height: 50px;
        padding: 10px 15px;
    }
}

    .casino-grid {
        grid-template-columns: 1fr;
    }
    
    .casino-card {
        padding: 20px;
    }
    
    .rating-title {
        font-size: 2rem;
    }

@media (max-width: 480px) {
    .game-main-title {
        font-size: 1.75rem;
    }

    .info-table-title {
        font-size: 1.3rem;
    }

    .info-table td {
        font-size: 0.9rem;
    }

    .main-content {
        padding: 30px 15px;
    }

    .main-content h1 { font-size: 1.75rem; }
    .main-content p,
    .main-content li { font-size: 1rem; }

    .logos-container {
        flex-direction: column;
        gap: 10px;
    }

    .logo-item {
        width: 100%;
        max-width: 200px;
    }
}