/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000314;
    color: #fff;
    font-family: 'Inter', 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Inter', 'Roboto', sans-serif;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; }

p { line-height: 1.65em; margin-bottom: 1em; }

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 5px !important;
}

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

/* Header styles */
.header-wrapper {
    background: #000624;
    border-radius: 10px;
    margin: 10px 15px 15px;
    box-shadow: none;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    padding: 0 15px;
}

.logo-section {
    flex: 0 0 auto;
}

.logo-image {
    max-width: 128px;
    max-height: 40px;
}

.navigation-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-navigation a {
    color: #fff;
    padding: 10px 16px;
    font-weight: 400;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: #2ecc71;
    border-bottom-color: #2ecc71;
}

.header-button {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.header-button:hover {
    transform: scale(1.05);
}

/* Hero section */
.hero-section {
    background: url('/img/game-background.webp') center center no-repeat;
    background-size: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 25px 0;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.hero-left {
    flex: 1;
    min-width: 300px;
    margin: 0 15px;
}

.hero-right {
    flex: 0 0 auto;
}

.hero-logo-section {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.hero-logo-container {
    position: relative;
}

.hero-logo-rating {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #101010;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 7px 10px;
    font-weight: 700;
    font-size: 1em;
    line-height: 16px;
}

.hero-title-section h1 {
    font-size: 20px;
    margin-bottom: 10px;
}

.hero-title-highlight {
    color: #2ecc71;
    font-size: 1.8em;
}

.hero-description {
    color: #fff;
    font-size: 15px;
    line-height: 1.45;
    margin-top: 10px;
}

.hero-cta-button {
    background: #2ecc71;
    color: #fff;
    padding: 17px 40px;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.55);
    transition: all 0.5s ease;
    display: inline-block;
}

.hero-cta-button:hover {
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0);
    transform: translateY(-2px);
}

/* Game demo section */
.game-demo-section {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
}

.game-container-wrapper {
    flex: 0 0 70%;
}

.game-demo-container {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 10px;
    background: url('/img/demo-background.webp') center center no-repeat;
    background-size: cover;
    overflow: hidden;
}

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

.game-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.game-button {
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    font-weight: 700;
    transition: all 0.3s ease;
}

.game-button-real {
    background: #2ecc71;
    color: #fff;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.55);
}

.game-button-real:hover {
    background: rgba(46, 204, 113, 0.8);
    transform: scale(1.05);
}

.game-button-demo {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.game-button-demo:hover {
    transform: scale(1.05);
}

.game-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: none;
    border-radius: 10px;
}

/* Winners section */
.winners-section-wrapper {
    flex: 0 0 30%;
    padding-left: 15px;
}

.winners-container {
    background: #00051c;
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 10px;
}

.winners-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 15px;
    background: #00051c;
}

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

.winners-title .title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.live-indicator {
    background: #ff3e3e;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;

    padding-left: 20px;
}

.pulse-animation {
    position: absolute;
    /* left: -20px; */
    left: 6px;
    width: 8px;
    height: 8px;
}

.pulse-animation::before,
.pulse-animation::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    top: 0;
    left: 0;
}

.pulse-animation::after {
    animation: pulse-effect 1.5s ease-out infinite;
    z-index: 1;
}

@keyframes pulse-effect {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

.winners-list {
    max-height: 400px;
    overflow-y: auto;
}

.winner-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #000a3f;
    transition: all 0.3s ease;
}

.winner-item:last-child {
    border-bottom: none;
}

.winner-rank-indicator {
    width: 4px;
    height: 50px;
    background: #000a3f;
    border-radius: 2px;
    margin-right: 12px;
}

.winner-rank-indicator.first-place {
    background: #2ecc71;
}

.winner-game-icon {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 12px;
}

.winner-details {
    flex: 1;
}

.winner-player-name {
    font-size: 13px;
    color: #ccc;
    line-height: 1;
    margin-bottom: 4px;
}

.winner-player-name a {
    color: #ccc;
}

.winner-amount-details {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
    margin-bottom: 4px;
}

.winner-amount {
    font-size: 13px;
    font-weight: 700;
    color: #2ecc71;
}

.winner-multiplier {
    font-size: 11px;
    color: #999;
}

.winner-time {
    font-size: 10px;
    color: #bfbfbf;
    line-height: 1;
}

.winner-play-button {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    background: #2ecc71;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.winner-play-button:hover {
    background: #388e3c;
}

.winner-play-button svg {
    fill: #ffffff;
}

/* Game features section */
.game-features-section {
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.feature-top {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
}

.feature-bottom {
    font-size: 14px;
    color: #b9b9b9;
    font-weight: 500;
}

/* Table of contents */
.table-of-contents {
    background: #000624;
    border: 2px solid #2ecc71;
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.toc-header {
    background: #000624;
    padding: 18px;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toc-content {
    background: #000624;
    /* padding: 0 18px 18px; */
    padding: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.toc-list {
    list-style: decimal;
    margin-left: 20px;
}

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

.toc-list a {
    color: #fff;
}

.toc-list a:hover {
    color: #2ecc71;
}

/* Content sections */
.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    color: #fff;
    margin-bottom: 20px;
}

.content-section h3 {
    color: #2ecc71;
    margin: 20px 0 15px;
}

.content-section p {
    color: #fff;
    line-height: 1.65;
    margin-bottom: 15px;
}

.content-section a:not(.cta-button):not(.casino-play-button) {
    color: #2ecc71;
    text-decoration: underline;
}

.content-section a:hover {
    color: #fff;
}

.content-section ul, .content-section ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

/* Cards and special content */
.styled-content-card {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #2ecc71;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.styled-content-card h4 {
    color: #2ecc71;
    margin-bottom: 15px;
}

.styled-content-card ul,
.styled-content-card ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.styled-content-card li {
    margin-bottom: 8px;
    color: #fff;
}

/* Call-to-action buttons */
.cta-button {
    background: #2ecc71;
    color: #fff;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.55);
    transition: all 0.3s ease;
    display: inline-block;
    margin: 20px 0;
}

.cta-button:hover {
    background: rgba(46, 204, 113, 0.8);
    transform: scale(1.05);
}

/* Casino cards */
.casino-cards-container {
    display: grid;
    gap: 30px;
    margin: 30px 0;
}

.casino-card {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.casino-card:hover {
    box-shadow: 0 5px 45px rgba(0, 0, 0, 0.15);
}

.casino-rank {
    background: #fff;
    color: #151825;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-right: 20px;
}

.casino-logo {
    width: 80px;
    height: 80px;
    margin-right: 20px;
}

.casino-bonus-info {
    flex: 1;
    text-align: center;
    margin: 0 20px;
}

.casino-bonus-text {
    color: #c9c9c9;
    font-size: 13px;
    margin-bottom: 5px;
}

.casino-bonus-amount {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.casino-bonus-spins {
    color: #b9b9b9;
    font-size: 14px;
    font-weight: 700;
}

.casino-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 10px 15px;
    margin: 0 20px;
}

.casino-stars::before {
    content: "★★★★★";
    color: #fff;
    font-size: 14px;
    margin-right: 8px;
}

.casino-rating-number {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.casino-play-button {
    background: #f1be0a;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.casino-play-button:hover {
    background: rgba(241, 190, 10, 0.8);
    transform: scale(1.05);
}

/* FAQ Section */
.faq-section {
    margin: 40px 0;
}

.faq-item {
    background: #eee;
    border: 1px solid #e2e2e2;
    margin-bottom: 10px;
    border-radius: 3px;
}

.faq-question {
    background: #eee;
    padding: 15px;
    cursor: pointer;
    font-weight: 600;
    color: #444;
    font-size: 18px;
    border: none;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    color: inherit;
    margin: 0;
    font-size: inherit;
}

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

.faq-answer {
    background: #fff;
    color: #444;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    display: none;
}

.faq-answer p {
    color: inherit;
    margin: 0;
}

.faq-answer.active {
    display: block;
}

.faq-icon::after {
    content: "+";
    font-size: 20px;
    font-weight: bold;
}

.faq-question.active .faq-icon::after {
    content: "-";
}

/* Footer */
.footer-section {
    background: #000314;
    padding: 30px 0;
    border-top: 1px solid #fff;
    margin-top: 60px;
}

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

.footer-links a {
    color: #2ecc71;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
    padding: 0 10px;
}

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

.footer-licenses {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-licenses img {
    max-width: 200px;
    height: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-text {
    color: #777;
    font-size: 16px;
    line-height: 1.5;
}

.footer-copyright {
    text-align: center;
    color: #777;
    font-size: 16px;
    line-height: 1.5;
}

/* Mobile hamburger menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 4px;
    background: #fff;
    margin-bottom: 4px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:last-child {
    margin-bottom: 0;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: #fff;
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 52, 54, 0.95);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive design */
@media (max-width: 992px) {
    .game-demo-section {
        flex-direction: column;
        gap: 15px;
    }

    .game-container-wrapper,
    .winners-section-wrapper {
        flex: none;
        width: 100%;
    }

    .winners-section-wrapper {
        padding-left: 0;
    }

    .game-demo-container {
        height: 50vh;
        margin-bottom: 15px;
    }

    .casino-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .casino-card {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .casino-rank {
        margin-bottom: 15px;
    }

    .casino-logo {
        margin: 0 0 15px 0;
    }

    .casino-bonus-info {
        margin: 10px 0;
    }

    .casino-rating {
        margin: 10px 0;
        padding: 8px 12px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .main-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-logo-section {
        flex-direction: column;
        gap: 20px;
    }

    .hero-title-section h1 {
        font-size: 1.8em;
    }

    .hero-title-highlight {
        font-size: 1.5em;
    }

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

    .feature-top {
        font-size: 14px;
    }

    .feature-bottom {
        font-size: 12px;
    }

    .casino-cards-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .header-button {
        padding: 8px 12px;
        font-size: 14px;
    }

    .game-demo-container {
        height: 400px;
    }

    .hero-cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

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

/* Animation keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes bounce {
    0%, 20%, 60%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    80% { transform: translateY(-5px); }
}

/* Utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-10 { gap: 10px; }
.gap-15 { gap: 15px; }
.gap-20 { gap: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 20px 0;
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

table th {
    background: #2ecc71;
    color: #fff;
    font-weight: 700;
    padding: 15px 12px;
    text-align: left;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
}

table tr:hover {
    background: rgba(46, 204, 113, 0.1);
    transition: background 0.3s ease;
}

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

/* Alternating row colors for better readability */
table tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.1);
}

table tr:nth-child(even):hover {
    background: rgba(46, 204, 113, 0.15);
}

.content-section .content-img {
    max-height: 450px;
    height: auto;
    border-radius: 10px;
    margin: 20px auto;
    display: block;
}