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

/* Scroll offset for anchor links */
section[id] {
    scroll-margin-top: 50px;
}

body {
    font-family: 'Exo 2', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-image: url(/images/background.webp);
    min-height: 100vh;
    position: relative;
}

/* body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(200, 1, 29, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(200, 1, 29, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(40, 1, 10, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
} */

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

/* Header */
.header {
    /* background: linear-gradient(135deg, #28010a 0%, #c8011d 50%, #28010a 100%); */
    background: #32010c;
    padding: 20px 0;
    margin: 20px auto;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(200, 1, 29, 0.3);
    border: 1px solid rgba(200, 1, 29, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.logo {
    max-height: 100px;
    width: auto;
}

.logo-link {
    width: 15%;
}

@media (max-width: 768px) {
    .logo-link {
        width: 100%;
    }

    .logo {
        margin: 0 auto;
        display: block;
    }
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.btn,
.btn a,
a.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    color: #ffffff;
}

a.btn:visited {
    color: #ffffff;
}

.btn-primary {
    background: linear-gradient(45deg, #c8011d, #ff1744);
    color: white;
    box-shadow: 0 4px 15px rgba(200, 1, 29, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(200, 1, 29, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 1, 29, 0.6);
}

/* Main Content */
.contenido-principal {
    background: rgba(0, 0, 0, 0.8);
    padding: 40px 0;
    margin: 20px 0;
    border-radius: 15px;
    border: 1px solid rgba(200, 1, 29, 0.2);
}

/* Hero */
.hero {
    margin-bottom: 30px;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.15fr) minmax(280px, 1fr);
    gap: 30px;
    align-items: start;
}

.hero__game {
    position: relative;
}

.popup-demo {
    background: rgba(40, 1, 10, 0.6);
    border: 1px solid rgba(200, 1, 29, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(200, 1, 29, 0.2);
}

.hero__game-preview {
    aspect-ratio: 16 / 9;
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    background-position: center;
    background-size: cover;
    border-bottom: 1px solid rgba(200, 1, 29, 0.2);
}

.hero__game-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 14px;
}

.hero__content h1 {
    text-align: left;
    margin-bottom: 14px;
}

.hero__content .intro-text {
    text-align: left;
    margin-bottom: 0;
    max-width: none;
}

@media (max-width: 768px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hero__content h1,
    .hero__content .intro-text {
        text-align: center;
    }

    .hero__game-actions {
        grid-template-columns: 1fr;
    }
}

h1 {
    color: #ffffff;
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 20px rgba(200, 1, 29, 0.5);
}

.intro-text {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 40px;
    color: #cccccc;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

h2,
h3 {
    color: #ffffff;
    margin: 30px 0 20px 0;
    font-family: 'Orbitron', monospace;
}

ul li,
ol li {
    margin-left: 20px;
}

ul,
ol {
    margin-bottom: 10px;
}

p {
    margin-bottom: 10px;
}

/* Table of Contents */
.toc {
    background: rgba(40, 1, 10, 0.6);
    border: 1px solid rgba(200, 1, 29, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    overflow: hidden;
}

.toc-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: transparent;
    border: 1px solid rgba(200, 1, 29, 0.25);
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    color: #ffffff;
    font-family: 'Orbitron', monospace;
}

.toc-toggle:hover {
    border-color: rgba(200, 1, 29, 0.55);
}

.toc-toggle__text {
    color: #c8011d;
    font-size: 1.05em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.toc-toggle__icon {
    width: 12px;
    height: 12px;
    border-right: 2px solid rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.toc.is-open .toc-toggle__icon {
    transform: rotate(-135deg);
}

.toc-list {
    list-style: none;
    margin-top: 14px;
    max-height: min(50vh, 420px);
    overflow: auto;
    padding-right: 6px;
}

.toc li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.toc li:before {
    content: "🚀";
    position: absolute;
    left: 0;
}

.toc a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

.toc a:hover {
    color: #c8011d;
}

/* Custom scrollbar for TOC */
.toc-list::-webkit-scrollbar {
    width: 8px;
}

.toc-list::-webkit-scrollbar-track {
    background: rgba(40, 1, 10, 0.3);
    border-radius: 4px;
}

.toc-list::-webkit-scrollbar-thumb {
    background: #c8011d;
    border-radius: 4px;
}

.toc-list::-webkit-scrollbar-thumb:hover {
    background: #a80d26;
}

/* Hero demo buttons (iframe / popup) */
.link-button,
.play-button {
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 15px rgba(200, 1, 29, 0.25);
}

.link-button {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(200, 1, 29, 0.3);
}

.play-button {
    background: linear-gradient(45deg, #c8011d, #ff1744);
    color: #ffffff;
}

.link-button:hover,
.play-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(200, 1, 29, 0.4);
}

.link-button:active,
.play-button:active {
    transform: translateY(0);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.35);
}

/* Popup (demo iframe) */
.popup {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 16px;
    background: rgba(0, 0, 0, 0.75);
}

.popup-content {
    width: min(980px, 100%);
    height: min(640px, calc(100vh - 32px));
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 10px;
    background: rgba(20, 5, 10, 0.95);
    border: 1px solid rgba(200, 1, 29, 0.35);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.popup-iframe {
    flex-grow: 1;
    width: 100%;
    height: calc(100% - 50px);
    border: none;
    border-radius: 12px;
    background: #000;
}

.reload-iframe,
.close-popup {
    position: absolute;
    top: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
}

.reload-iframe {
    right: 72px;
}

.close-popup {
    right: 14px;
}

.reload-iframe:hover,
.close-popup:hover {
    background: rgba(255, 255, 255, 0.08);
}

.reload-iframe img,
.close-popup img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

@media (max-width: 767px) {
    .popup-content {
        width: 100%;
        height: min(80vh, 720px);
        padding: 8px;
    }
}

/* Casino Listings */
.casino-listing {
    margin: 30px 0;
}

.casino-item {
    background: rgba(40, 1, 10, 0.6);
    border: 1px solid rgba(200, 1, 29, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(200, 1, 29, 0.2);
    transition: all 0.3s ease;
}

.casino-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(200, 1, 29, 0.4);
    border-color: rgba(200, 1, 29, 0.6);
}

.casino-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.casino-logo {
    width: 80px;
    height: 80px;
    background: #c8011d;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 10px;
    text-align: center;
    font-family: 'Orbitron', monospace;
    box-shadow: 0 4px 15px rgba(200, 1, 29, 0.3);
    overflow: hidden;

}

.casino-logo a {
    line-height: 0;

}

.casino-info h4 {
    color: #ffffff;
    margin-bottom: 5px;
    font-size: 1.2em;
    font-family: 'Orbitron', monospace;
}

.casino-rating {
    color: #c8011d;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.casino-bonus {
    color: #cccccc;
    font-size: 0.9em;
}

.casino-right {
    display: flex;
    gap: 10px;
}

.btn-review {
    background: rgba(200, 1, 29, 0.8);
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
}

.btn-play {
    background: linear-gradient(45deg, #c8011d, #ff1744);
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
}

.btn-review:hover,
.btn-play:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(200, 1, 29, 0.4);
}

/* Indian Table */
.tabla-colombiana {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: rgba(40, 1, 10, 0.6);
    box-shadow: 0 4px 15px rgba(200, 1, 29, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.tabla-colombiana th {
    background: #c8011d;
    color: #ffffff;
    padding: 15px;
    text-align: left;
    font-weight: bold;
    font-family: 'Orbitron', monospace;
}

.tabla-colombiana td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(200, 1, 29, 0.2);
    color: #cccccc;
}

.tabla-colombiana tr:nth-child(even) {
    background: rgba(40, 1, 10, 0.3);
}

.tabla-colombiana tr:hover {
    background: rgba(200, 1, 29, 0.1);
}

/* Reviews */
.reviews {
    margin: 40px 0;
}

.review-item {
    background: rgba(40, 1, 10, 0.6);
    border-left: 4px solid #c8011d;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(200, 1, 29, 0.2);
    border-radius: 8px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-author {
    font-weight: bold;
    color: #ffffff;
    font-family: 'Orbitron', monospace;
}

.review-rating {
    color: #c8011d;
}

.review-item p {
    color: #cccccc;
}

/* Author */
.seccion-autor {
    background: rgba(40, 1, 10, 0.6);
    border: 1px solid rgba(200, 1, 29, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #c8011d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
    font-family: 'Orbitron', monospace;
    box-shadow: 0 4px 15px rgba(200, 1, 29, 0.3);
}

.author-info h4,
.author-info .author-name {
    display: block;
    color: #ffffff;
    margin-bottom: 5px;
    font-family: 'Orbitron', monospace;
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1.2;
}

.author-info p {
    color: #cccccc;
    font-size: 0.9em;
}

/* FAQ */
.faq-item {
    background: rgba(40, 1, 10, 0.6);
    border: 1px solid rgba(200, 1, 29, 0.3);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    background: rgba(200, 1, 29, 0.2);
    padding: 15px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    border-bottom: 1px solid rgba(200, 1, 29, 0.3);
    font-family: 'Orbitron', monospace;
}

.faq-question {
    margin: 0;
}

.faq-answer {
    padding: 15px;
    display: none;
    color: #cccccc;
}

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

/* Footer */
.footer {
    background: rgba(40, 1, 10, 0.8);
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(200, 1, 29, 0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.footer-brand {
    font-family: 'Orbitron', monospace;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s;
}

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

/* Citations */
.citation {
    font-size: 0.8em;
    color: #cccccc;
    border-left: 3px solid #c8011d;
    padding-left: 10px;
    margin: 10px 0;
    font-style: italic;
}

/* Expert Comment Blockquotes */
blockquote.expert-comment {
    background: rgba(40, 1, 10, 0.6);
    border-left: 4px solid #c8011d;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(200, 1, 29, 0.2);
    font-style: normal;
}

blockquote.expert-comment p {
    margin: 0;
    color: #cccccc;
    line-height: 1.6;
}

blockquote.expert-comment strong {
    color: #c8011d;
    font-family: 'Orbitron', monospace;
}

/* Tip, Reminder, Recommendation Blockquotes */
blockquote.tip-block {
    background: rgba(40, 1, 10, 0.6);
    border-left: 4px solid #ffa500;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.2);
    font-style: normal;
}

blockquote.tip-block p {
    margin: 0;
    color: #cccccc;
    line-height: 1.6;
}

blockquote.tip-block strong {
    color: #ffa500;
    font-family: 'Orbitron', monospace;
}

/* Two Columns Layout */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
}

.two-columns .column {
    background: rgba(40, 1, 10, 0.3);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(200, 1, 29, 0.2);
}

.two-columns .column p {
    margin-bottom: 15px;
    color: #ffffff;
}

.two-columns .column ol,
.two-columns .column ul {
    margin-left: 20px;
    color: #cccccc;
}

.two-columns .column li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .two-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .casino-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .casino-left {
        flex-direction: column;
        text-align: center;
    }

    .seccion-autor {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
    }

    h1 {
        font-size: 2.2em;
    }

    .logo {
        font-size: 24px;
    }
}

/* Animations */
@keyframes rocketLaunch {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

.logo::before {
    animation: rocketLaunch 2s ease-in-out infinite;
}

/* Glowing effects */
.glow {
    text-shadow: 0 0 10px rgba(200, 1, 29, 0.5);
}

.img-right {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(200, 1, 29, 0.3);
}

@media (max-width: 768px) {
    .img-right {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .tabla-colombiana {
        overflow-x: auto;
        display: block;
        width: 100%;
        max-width: 100%;
    }
}