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

:root {
    --scrollbar-width: calc(100vw - 100%);
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #061614;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    color: #ffffff;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0A2321;
    z-index: 9999;
    padding: 15px 20px;
}

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

.cookie-link {
    color: #FFA000;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.cookie-button {
    background: linear-gradient(180deg, rgb(229, 167, 73), rgb(189, 137, 43));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-button:hover {
    background: linear-gradient(180deg, rgb(239, 177, 83), rgb(199, 147, 53));
}

/* Header */
.main-header {
    height: 70px;
    display: flex;
    align-items: center;
    background: #002921;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: rgb(229, 167, 73);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgb(229, 167, 73);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Header button - desktop size, mobile gets bigger below */
.header-button,
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(180deg, rgb(229, 167, 73), rgb(189, 137, 43));
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: clamp(13px, 2vw, 15px);
    cursor: pointer;
    border: none;
    width: fit-content;
    max-width: 250px;
    text-align: center;
    line-height: 1;
}

/* Hero button specific styling */
.hero .cta-button {
    padding: 16px 40px;
    font-size: clamp(15px, 3vw, 18px);
    font-weight: 700;
    background: linear-gradient(180deg, rgb(229, 167, 73), rgb(189, 137, 43));
    box-shadow: 0 4px 15px rgba(229, 167, 73, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.hero .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

.hero .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 167, 73, 0.6);
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@media (max-width: 768px) {
    .hero .cta-button {
        padding: 18px 50px;
        font-size: 16px;
        min-width: 180px;
        max-width: none;
    }
}

.header-button:hover,
.cta-button:hover {
    background: linear-gradient(180deg, rgb(239, 177, 83), rgb(199, 147, 53));
    transform: translateY(-1px);
}

/* Ensure button text doesn't wrap */
.cta-button {
    white-space: nowrap;
}

/* More padding for buttons in content areas with longer text */
.casino-overview .cta-button {
    padding: 12px 40px;
}

/* Remove any other button styles */
.header-button::before {
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(90deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 35%, rgba(0,0,0,0.4) 100%), url('./images/herobg.webp') no-repeat center center;
    background-size: cover;
    position: relative;
    min-height: 600px;
    margin-top: 70px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 0 0 55%;
    background: rgba(0,0,0,0.5);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(229, 167, 73, 0.3);
    text-align: left;
}

.hero-image {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-character-img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.hero-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
    color: rgb(229, 167, 73);
    text-transform: uppercase;
}

.hero-text {
    font-size: clamp(16px, 3vw, 20px);
    margin-bottom: 30px;
    color: #ffffff;
    opacity: 0.9;
}

/* Common Components */
.casino-block {
    width: 100%;
    padding: 0 0 20px 0;
}

/* Remove vertical padding for specific block */
.casino-block.no-vertical-space {
    padding: 0;
}

.casino-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    display: flex;
    gap: 0;
    align-items: center;
}

/* Remove vertical padding for container in specific block */
.no-vertical-space .casino-container {
    padding-top: 0;
    padding-bottom: 0;
}

.casino-container.small-gap {
    gap: 20px;
}

.casino-content {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.casino-image {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.casino-image img {
    max-width: 100%;
    height: auto;
}

.casino-image-right {
    order: 2;
}

.casino-heading {
    color: rgb(229, 167, 73);
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 0;
    text-transform: uppercase;
}

.casino-subheading {
    color: rgb(229, 167, 73);
    font-size: clamp(20px, 3vw, 28px);
    margin: 10px 0 20px;
    font-weight: 600;
}

.casino-text {
    color: #ffffff;
    font-size: 16px;
    opacity: 0.9;
    margin: 0 0 10px 0;
    line-height: 1.6;
}

/* Remove any inline margin-bottom styles that might override the new rule */
.casino-text:last-child {
    margin-bottom: 0;
}

/* Ensure consistent spacing in overview sections */
.casino-overview p {
    margin-bottom: 10px;
}

.casino-overview p:last-child {
    margin-bottom: 0;
}

/* Add margin only after sections, not between paragraphs */
.casino-block + .casino-block:not(.no-vertical-space) {
    margin-top: 30px;
}

/* And no margin when the previous block has no vertical space */
.casino-block.no-vertical-space + .casino-block {
    margin-top: 30px;
}

/* Reduce spacing between technical assistance and FAQ */
.technical-assistance + .casino-block .faq-container {
    margin-top: 10px;
}

/* Reduce spacing between bonus mobile section and FAQ */
.bonus-mobile + .casino-block .faq-container {
    margin-top: 10px;
}

.casino-overview {
    width: 100%;
}

.overview-title {
    color: rgb(229, 167, 73);
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Overview Table Styles */
.overview-table {
    width: 100%;
    background: #061614;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    margin: 30px 0;
}

.advantages-table .overview-cell:first-child {
    flex: 0 0 50%;
    background: rgba(0, 41, 33, 0.3);
}

.advantages-table .overview-cell:last-child {
    flex: 0 0 50%;
    background: rgba(26, 8, 54, 0.3);
}

.advantages-table .overview-header .overview-cell:first-child {
    background: rgba(0, 41, 33, 0.8);
}

.advantages-table .overview-header .overview-cell:last-child {
    background: rgba(26, 8, 54, 0.8);
}

.overview-row {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.overview-cell {
    padding: 12px 15px;
    color: #ffffff;
    line-height: 1.4;
}

.overview-cell:first-child {
    flex: 0 0 40%;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    background: rgba(0, 0, 0, 0.2);
}

.overview-cell:last-child {
    flex: 0 0 60%;
}

.overview-header {
    background: #0A2321;
}

.overview-header .overview-cell {
    color: rgb(229, 167, 73);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    padding: 15px;
}

.play-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, rgb(229, 167, 73), rgb(189, 137, 43));
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 16px;
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.play-button:hover {
    background: linear-gradient(180deg, rgb(239, 177, 83), rgb(199, 147, 53));
    transform: translateY(-1px);
}

/* Games Grid */
.games-container {
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.game-item {
    background: #1a0836;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    aspect-ratio: 1/1;
}

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

.game-img {
    width: 100%;
    height: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    background: #1a0836;
    padding: 20px;
    text-align: center;
}

.game-name {
    color: #ffffff;
    padding: 10px;
    text-align: center;
    font-weight: 500;
    font-size: 13px;
    background: #110524;
    height: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 20px 15px;
    width: 100%;
}

.faq-heading {
    color: rgb(229, 167, 73);
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(229, 167, 73, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(229, 167, 73, 0.4);
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.3s ease;
    list-style: none;
    line-height: 1.4;
}

.accordion-header .question-text {
    flex: 1;
    margin-right: 20px;
}

.accordion-header::-webkit-details-marker {
    display: none;
}

.accordion-header::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

details[open] .accordion-header::after {
    transform: rotate(45deg);
}

.accordion-header:hover {
    color: rgb(229, 167, 73);
}

.accordion-header strong {
    white-space: nowrap;
}

.accordion-content {
    padding: 0 20px 20px;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    background: #002921;
    padding: 40px 0;
    margin-top: 40px;
}

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

.footer-content {
    text-align: center;
    margin-bottom: 30px;
}

.footer-text {
    color: #ffffff;
    opacity: 0.8;
    margin: 20px 0;
}

.footer-badges {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    justify-content: center;
}

.footer-badge img {
    height: auto;
    max-height: 60px;
    width: auto;
    max-width: 120px;
}

.footer-legal {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.footer-legal a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
}

.footer-disclaimer {
    font-size: 12px;
    color: #808080;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #2a2a2a;
    line-height: 1.6;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-button {
        width: 100%;
        margin-top: 10px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 18px;
        padding: 15px 0;
    }

    .hamburger {
        display: flex;
    }

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

    .hero {
        background-position: 80% center;
    }

    .hero-container {
        flex-direction: column;
        gap: 30px;
    }

    .hero-content,
    .hero-image {
        flex: 0 0 100%;
    }

    .hero-content {
        text-align: center;
    }

    .hero-character-img {
        max-height: 300px;
    }

    .casino-container {
        flex-direction: column;
    }

    .casino-content,
    .casino-image {
        flex: 0 0 100%;
    }

    .casino-image {
        margin-bottom: 30px;
    }

    .casino-image-right {
        order: -1;
    }

    .casino-content {
        order: 2;
    }

    .overview-row {
        flex-direction: row;
    }

    .overview-cell:first-child {
        flex: 0 0 40%;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: none;
    }

    .overview-cell:last-child {
        flex: 0 0 60%;
    }
    
    .footer-legal {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .header-button {
        padding: 14px 32px;
        font-size: 16px;
        min-width: 140px;
    }

    .faq-container {
        padding: 20px 15px;
    }

    .accordion-header {
        font-size: 15px;
        padding: 15px;
    }

    .accordion-content {
        font-size: 14px;
        padding: 0 15px 15px;
    }

    .casino-block:has(.faq-container) {
        padding: 30px 0;
    }
    .casino-block + .casino-block:has(.faq-container) {
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 20px;
    }
    
    .casino-container {
        padding: 10px;
    }

    .casino-block {
        padding: 20px 0;
    }
    
    .footer-badges {
        justify-content: center;
        flex-wrap: wrap;
    }

    .accordion-header {
        font-size: 14px;
        padding: 12px;
    }

    .header-button {
        padding: 12px 28px;
        font-size: 15px;
        min-width: 120px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Bullet point list styles */
.security-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.security-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #ffffff;
    opacity: 0.9;
    line-height: 1.6;
}

.security-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ffffff;
}

.security-features li:last-child {
    margin-bottom: 20px;
}

/* Further reduce spacing between technical assistance and FAQ on mobile */
.technical-assistance + .casino-block .faq-container {
    margin-top: 0;
}

/* Further reduce spacing between bonus mobile and FAQ on mobile */
.bonus-mobile + .casino-block .faq-container {
    margin-top: 0;
}

/* Reduce spacing between technical assistance and FAQ sections */
.casino-block:has(.faq-container) {
    padding-top: 20px;
}

/* Reduce spacing specifically for login page FAQ */
.casino-block + .casino-block:has(.faq-container) {
    margin-top: -20px;
}

@media (max-width: 768px) {
    .casino-block:has(.faq-container) {
        padding: 30px 0;
    }
    .casino-block + .casino-block:has(.faq-container) {
        padding-top: 0;
    }
}

/* Legal Pages */
.legal-page {
    padding: 100px 0 60px;
    background-color: #061614;
    min-height: 100vh;
}

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

.legal-title {
    font-size: clamp(28px, 4vw, 36px);
    color: rgb(229, 167, 73);
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}

.legal-intro {
    text-align: center;
    color: #B0BEC5;
    font-size: 16px;
    margin-bottom: 40px;
}

.legal-content {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-heading {
    font-size: 24px;
    color: rgb(229, 167, 73);
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.legal-subheading {
    font-size: 18px;
    color: #ffffff;
    margin: 25px 0 15px;
    font-weight: 500;
}

.legal-text {
    color: #E0E0E0;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.legal-text:last-child {
    margin-bottom: 0;
}

.legal-list {
    color: #E0E0E0;
    font-size: 15px;
    line-height: 1.7;
    margin: 15px 0;
    padding-left: 20px;
}

.legal-list li {
    margin-bottom: 8px;
}

.legal-list li:last-child {
    margin-bottom: 0;
}

.self-assessment {
    background: rgba(255, 160, 0, 0.1);
    padding: 25px;
    border-radius: 6px;
    border-left: 4px solid rgb(229, 167, 73);
    margin: 20px 0;
}

.self-assessment .legal-list {
    margin: 0;
    color: #ffffff;
}

.legal-list strong {
    color: rgb(229, 167, 73);
    font-weight: 600;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 90px 0 40px;
    }
    
    .legal-content {
        padding: 25px;
    }
    
    .legal-heading {
        font-size: 22px;
    }
    
    .legal-subheading {
        font-size: 16px;
    }
    
    .legal-text,
    .legal-list {
        font-size: 14px;
    }
    
    .self-assessment {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 20px;
    }
    
    .legal-heading {
        font-size: 20px;
    }
    
    .legal-subheading {
        font-size: 15px;
        margin: 20px 0 12px;
    }
}
