:root {
    --bg-dark: #0A0A12;
    --gold: #FFD700;
    --gold-dark: #FFAA00;
    --white: #FFFFFF;
    --grey-light: #f0f0f0;
    --grey-medium: #333;
    --brazil-green: #009c3b;
    --font-header: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
}

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

h1, h2 {
    font-family: var(--font-header);
    color: var(--gold);
    text-align: center;
    margin-bottom: 1rem;
}

h2 {
   font-size: 2.5rem;
   margin-bottom: 2rem;
}

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

a {
    color: var(--gold);
    text-decoration: none;
}

ul {
    list-style: none;
}
ol li{
    margin-left: 25px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(10, 10, 18, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 125px;
    margin-bottom: -41px;
    margin-top: -36px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-selector {
    position: relative;
}

.lang-selector-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 150%;
    right: 0;
    background: var(--grey-medium);
    border-radius: 5px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    z-index: 1001;
   /* min-width: 120px;*/
}

.lang-dropdown.show {
    display: block;
}

.lang-dropdown li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    color: var(--white);
    border-radius: 3px;
    transition: background-color 0.2s;
}

.lang-dropdown li a:hover {
    background-color: rgba(255, 215, 0, 0.1);
}

.lang-flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-family: var(--font-header);
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--gold), var(--gold-dark));
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.btn-outline {
    background: transparent;
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

.btn-special {
    background: linear-gradient(45deg, var(--brazil-green), #00b344);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 156, 59, 0.3);
}

.btn-special:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 156, 59, 0.5);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--bg-dark);
}

.btn-secondary:hover {
    background-color: var(--grey-light);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 50px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero-bg.webp') no-repeat center center/cover;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 18, 0.7);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px var(--brazil-green);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--grey-light);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-slider {
    margin-top: 4rem;
    width: 100%;
    max-width: 800px;
}

.hero-slider .swiper-slide img {
    border-radius: 10px;
    border: 2px solid var(--gold);
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--gold);
}

/* Game Categories */
.game-categories {
    background: rgba(0,0,0,0.2);
    padding: 1rem 0;
}

.game-categories .container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    transition: color 0.3s ease;
}

.category-item:hover {
    color: var(--gold);
}

.category-item img {
    height: 48px;
    transition: transform 0.3s ease;
}

.category-item:hover img {
    transform: scale(1.1);
}

/* Game Section */
.game-section {
    padding: 4rem 0;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
}

.filters select, .filters input {
    background: var(--grey-medium);
    border: 1px solid var(--gold);
    color: var(--white);
    padding: 0.5rem;
    border-radius: 5px;
}

.game-grid, .live-game-grid {
    display: grid;
    gap: 1.5rem;
}

.game-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.live-game-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.game-card {
    background: var(--grey-medium);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    border-color: var(--gold);
}

.game-card-img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.game-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10,10,18,0.9), transparent);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.game-card-title {
    font-weight: bold;
}

.game-card-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10,10,18,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-card-hover {
    opacity: 1;
}

.live-game-card .game-card-img {
    aspect-ratio: 16 / 9;
}

.live-game-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.live-game-info .btn {
    width: 100%;
}

.live-game-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.feather-icon {
    vertical-align: middle;
    margin-right: 0.5rem;
}

h2 .feather-icon {
    width: 2.5rem;
    height: 2.5rem;
}

/* Game Page Specific Styles */
.game-page-main {
    padding-top: 80px; /* Header height */
}

.game-view-section {
    padding: 2rem 0;
    background: rgba(0,0,0,0.2);
}

.game-view-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    justify-content: center;
}

.game-view-header h1 {
    margin: 0;
    font-size: 2rem;
}

.back-to-lobby-btn {
    position: absolute;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--grey-light);
    transition: color 0.3s;
}
.back-to-lobby-btn:hover {
    color: var(--gold);
}

.game-area {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.game-frame-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border-radius: 10px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}
.game-frame-container:-webkit-full-screen {
  border: none;
}
.game-frame-container:fullscreen {
  border: none;
}
.game-frame-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.game-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-frame-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.game-frame-overlay .play-icon {
    width: 80px;
    height: 80px;
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s, color 0.3s;
}

.game-frame-container:hover .play-icon {
    transform: scale(1.1);
    color: var(--white);
}


.game-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.game-controls .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Service Page Specific Styles */
.service-page-main {
    padding-top: 100px; /* Header height */
    padding-bottom: 4rem;
}

.service-page-content {
    background: rgba(0,0,0,0.2);
    padding: 3rem 0;
    border-radius: 10px;
}

.service-page-content .container {
    max-width: 900px;
}

.service-page-content h1 {
    text-align: left;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.service-page-content h2 {
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    border-bottom: 1px solid var(--gold-dark);
    padding-bottom: 0.5rem;
}

.service-page-content p {
    color: var(--grey-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-page-content .last-updated {
    color: #999;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.service-page-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.service-page-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--grey-light);
}

.game-info-section {
    padding: 4rem 0;
}

.game-info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 960px;
    margin: 0 auto;
    align-items: start;
}

.game-description-wrapper {
    position: relative;
}
.game-description-wrapper:only-child {
    grid-column: 1 / -1;
}
.game-nav-links-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--grey-medium);
}

.game-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--grey-light);
    font-weight: bold;
    padding: 0.5rem 1rem;
    background: rgba(0,0,0,0.3);
    border-radius: 5px;
    white-space: nowrap;
    transition: color 0.3s, background-color 0.3s;
}

.game-nav-link:hover {
    color: var(--gold);
    background: var(--grey-medium);
}

.game-nav-link.prev-game {
    right: 100%;
    margin-right: 2rem;
}

.game-nav-link.next-game {
    left: 100%;
    margin-left: 2rem;
}

.game-description h3, .game-details h3 {
    font-family: var(--font-header);
    color: var(--gold);
    margin-bottom: 1rem;
}

.game-description h4 {
    font-family: var(--font-header);
    color: var(--white);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.game-description p {
    color: var(--grey-light);
    line-height: 1.7;
}

.game-details ul {
    list-style: none;
}

.game-details li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--grey-medium);
}
.game-details li:first-child {
    border-top: 1px solid var(--grey-medium);
}

.game-details li strong {
    color: var(--white);
}

#related-games {
    background: rgba(0,0,0,0.2);
}


/* Tournaments */
.tournaments-section {
    padding: 4rem 0;
    background-color: rgba(0,0,0,0.2);
}

.tournaments-slider {
    padding-bottom: 3rem;
}

.tournament-card {
    background: var(--grey-medium);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    border: 2px solid var(--gold);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.tournament-card h3 {
    font-family: var(--font-header);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.tournament-prize {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 1rem;
}
.tournament-timer {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.tournaments-slider .swiper-button-next,
.tournaments-slider .swiper-button-prev {
    color: var(--gold);
}

.text-center { text-align: center; margin-top: 2rem; }

/* About Us Section */
.about-us-section {
    padding: 4rem 0;
    background-color: rgba(0,0,0,0.2);
}

.about-us-section .container {
    max-width: 900px;
    text-align: center;
}

.about-us-content {
     text-align: left;
}

.about-us-content h3 {
    font-family: var(--font-header);
    color: var(--gold);
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,215,0,0.3);
}

.about-us-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--grey-light);
    margin-bottom: 1.5rem;
}

.about-us-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}
.about-us-content ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.about-us-content ul li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.game-description ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}
.game-description ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.game-description ul li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.about-us-image-container {
    margin: 2rem 0;
    text-align: center;
}
.about-us-image-container img {
    border-radius: 10px;
    border: 2px solid var(--gold);
    max-width: 100%;
}
.image-caption {
    font-size: 0.9rem;
    color: var(--grey-light);
    margin-top: 0.5rem;
    font-style: italic;
}

.bonuses-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--grey-medium);
}
.bonuses-table th, .bonuses-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #444;
}
.bonuses-table th {
    font-family: var(--font-header);
    color: var(--gold);
    background-color: rgba(0,0,0,0.3);
}

.game-description table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--grey-medium);
}
.game-description th, .game-description td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #444;
}
.game-description th {
    font-family: var(--font-header);
    color: var(--gold);
    background-color: rgba(0,0,0,0.3);
}

/* VIP Section */
.vip-section { padding: 4rem 0; }
.vip-panel {
    background: var(--grey-medium);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}
.vip-levels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-family: var(--font-header);
}
.vip-levels .active { color: var(--gold); font-weight: bold; }
.progress-bar {
    height: 10px;
    background: #555;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 2rem;
}
.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    border-radius: 5px;
}
.vip-benefits {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

/* Payments */
.payments-section { padding: 4rem 0; background-color: rgba(0,0,0,0.2); }
.payment-icons { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.payment-icon { position: relative; cursor: pointer; }
.payment-icon img { height: 70px; filter: grayscale(1); transition: filter 0.3s; }
.payment-icon:hover img { filter: grayscale(0); }
.payment-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grey-medium);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    font-size: 0.9rem;
}
.payment-icon:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Mirrors */
.mirrors-section { padding: 4rem 0; }
.accordion {
    max-width: 800px;
    margin: 0 auto;
    background: var(--grey-medium);
    border-radius: 5px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}
.accordion summary {
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-family: var(--font-header);
}
.accordion summary .chevron {
    transition: transform 0.3s ease;
}
.accordion[open] summary .chevron {
    transform: rotate(180deg);
}
.accordion-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--grey-light);
}
.accordion-content ul {
    margin-bottom: 1rem;
}
.accordion-content ul li {
    margin-bottom: 0.5rem;
}
.accordion-content a:hover { text-decoration: underline; }
.btn-small { padding: 0.5rem 1rem; font-size: 0.8rem; }


/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background-color: rgba(0,0,0,0.2);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: var(--grey-medium);
    border-radius: 5px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.accordion-item summary {
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 500;
}
.accordion-item summary .chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.accordion-item[open] > summary {
    color: var(--gold);
}
.accordion-item[open] > summary .chevron {
    transform: rotate(180deg);
}

.accordion-item .accordion-content {
     border-top: 1px solid rgba(255, 215, 0, 0.2);
     padding: 1.5rem;
     line-height: 1.7;
}


/* Footer */
.footer {
    background: #000;
    padding: 3rem 0 1rem;
    color: var(--grey-light);
    font-size: 0.9rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--grey-medium);
}

.footer-col h4 {
    font-family: var(--font-header);
    color: var(--white);
    margin-bottom: 1rem;
}
.footer-col ul li {
    margin-bottom: 0.5rem;
}
.footer-col a {
    color: var(--grey-light);
    transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }
.social-icons { display: flex; gap: 1rem; margin-bottom: 1rem; }
.social-icons a { color: var(--grey-light); font-size: 1.2rem; }
.social-icons a:hover { color: var(--gold); }

.footer-bottom {
    text-align: center;
}
.footer-disclaimer {
    margin: 1.5rem 0;
    font-size: 0.8rem;
    color: #777;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.footer-disclaimer p {
    margin-bottom: 0.5rem;
}
.license-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1rem;
    filter: brightness(0.8);
}
.license-logos img {
    height: 56px;
}
.copyright {
    font-size: 0.8rem;
    color: #777;
}

/* Cookie Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 18, 0.9);
    backdrop-filter: blur(5px);
    padding: 1rem 0;
    z-index: 1001;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}
.cookie-consent-banner.show {
    transform: translateY(0);
}
.cookie-consent-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.cookie-consent-banner p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--grey-light);
}
.cookie-consent-banner a {
    text-decoration: underline;
}


/* Floating Chat */
.floating-chat {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    cursor: pointer;
    z-index: 999;
}


/* Responsive */
@media (max-width: 768px) {
    h2 { font-size: 2rem; }
    .main-nav { display: none; }
    .hamburger-menu { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .game-categories .container { gap: 1rem; }
    .category-item span { font-size: 0.8rem; }
    .game-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .game-nav-link {
        display: none;
    }
    .game-view-header {
        flex-direction: column;
        gap: 1rem;
    }
}


.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}