/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Segoe UI';
    font-display: swap;
}

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #ffd93d;
    --accent-color: #4ecdc4;
    --success-color: #4caf50;
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: #333333;
    --hover-color: #ff5252;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

@font-face {
    font-family: 'Segoe UI';
    font-display: swap;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    border-bottom: 2px solid transparent;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
    overflow: visible;
    isolation: isolate;
}

/* Progressive red line based on scroll */
.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--primary-color);
    width: 100%;
    transform: scaleX(var(--scale-x, 0));
    transform-origin: left;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    z-index: -1;
    pointer-events: none;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.logo-link {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.logo-link:hover {
    color: var(--hover-color);
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.nav {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

/* Language Dropdown */
.language-dropdown {
    position: static;
    display: inline-block;
    z-index: 10002;
    isolation: isolate;
}

.lang-dropdown-btn {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    min-width: 80px;
}

.lang-dropdown-btn:hover {
    border-color: var(--primary-color);
}

.lang-dropdown-btn .flag-icon {
    font-size: 1.2rem;
}

.lang-dropdown-btn .lang-name {
    font-weight: bold;
}

.dropdown-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.language-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: fixed !important;
    top: auto;
    right: auto;
    left: auto;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    min-width: 180px;
    max-height: 0;
    overflow-y: auto;
    overflow-x: visible;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, max-height 0.3s ease;
    z-index: 99999 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    isolation: isolate;
}

.lang-dropdown-menu .lang-option {
    overflow: visible;
    position: relative;
    z-index: 1;
}

.language-dropdown.active .lang-dropdown-menu {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: fixed !important;
    overflow-y: auto;
    overflow-x: visible;
    z-index: 99999 !important;
}

.lang-dropdown-menu .lang-option {
    pointer-events: auto;
    cursor: pointer;
}

.lang-option {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    text-align: left;
    text-decoration: none;
}

.lang-option:hover {
    background: rgba(255, 107, 107, 0.1);
}

.lang-option.active {
    background: rgba(255, 107, 107, 0.2);
    color: var(--primary-color);
}

.lang-option .flag-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.lang-option .lang-name {
    flex: 1;
}

.btn-play {
    background: linear-gradient(135deg, var(--success-color) 0%, #45a049 100%);
    color: var(--text-primary);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.icon-play,
.icon-play-circle,
.icon-gamepad {
    width: 16px;
    height: 16px;
    fill: currentColor;
    display: inline-block;
    flex-shrink: 0;
}

.icon-play-circle {
    width: 20px;
    height: 20px;
}

.icon-gamepad {
    width: 20px;
    height: 20px;
}

.icon-twitter,
.icon-linkedin,
.icon-facebook,
.icon-instagram {
    width: 24px;
    height: 24px;
    fill: currentColor;
    display: inline-block;
    transition: fill 0.3s ease;
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
}

/* Header Buttons */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-play-header {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.btn-play-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
}

.btn-demo-header {
    background: linear-gradient(135deg, #ffd93d 0%, #ffc107 100%);
    color: var(--bg-darker);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 217, 61, 0.4);
}

.btn-demo-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 217, 61, 0.6);
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
}

.gift-emoji-small {
    font-size: 1rem;
}

/* Hero Section */
.hero-section {
    padding: 40px 0;
    background: radial-gradient(circle at center, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.main-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.video-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 522px;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.youtube-iframe {
    min-height: 0;
}

.update-info {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
    border-left: 4px solid var(--primary-color);
}

.update-date {
    color: var(--primary-color);
    font-weight: bold;
}

.modifications-list {
    margin-left: 20px;
    margin-top: 10px;
}

/* Casino Summary */
.casino-summary {
    margin: 40px 0;
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.casino-summary h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.casino-card {
    background: var(--bg-darker);
    padding: 20px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.casino-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.3);
}

.casino-rank {
    font-size: 2rem;
}

.casino-info h3 {
    color: var(--text-primary);
    margin-bottom: 5px;
}

.casino-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Game Section First */
.game-section-first {
    padding: 60px 0;
    background: var(--bg-dark);
}

.game-container-main {
    max-width: 1400px;
    margin: 0 auto;
    contain: layout style;
}

.game-wrapper-with-table {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 30px;
    margin-bottom: 30px;
    contain: layout;
}

.game-left-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 500px;
}

.game-iframe-main-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-darker);
    border: 2px solid var(--border-color);
    min-height: 400px;
    contain: layout style paint;
}

.game-buttons-main {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 60px;
    contain: layout;
}

.btn-play-main {
    background: linear-gradient(135deg, rgb(9, 210, 93) 0%, #07a85a 100%);
    color: var(--text-primary);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: rgb(9, 210, 93) 0px 3.89045px 23.3427px 0px;
    animation: pulse-green 2s infinite;
    transition: all 0.3s ease;
    min-width: 150px;
    justify-content: center;
    will-change: transform;
}

.btn-play-main:hover {
    transform: translateY(-3px);
    box-shadow: rgb(9, 210, 93) 0px 5px 30px 0px;
}

.btn-demo-main {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ffc107 100%);
    color: var(--bg-darker);
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(255, 217, 61, 0.4);
    min-width: 150px;
    justify-content: center;
    will-change: transform;
}

.btn-demo-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 217, 61, 0.6);
}

@keyframes pulse-green {
    0%, 100% {
        box-shadow: rgb(9, 210, 93) 0px 3.89045px 23.3427px 0px;
    }
    50% {
        box-shadow: rgb(9, 210, 93) 0px 5px 35px 0px;
    }
}

.game-iframe-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.game-specs-table {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    height: fit-content;
    min-height: 400px;
    contain: layout style;
}

.game-specs-table h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
}

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

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table td {
    padding: 12px 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.specs-table td:first-child {
    color: var(--text-primary);
    font-weight: bold;
    width: 50%;
}

.bonus-buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-bonus-blinking {
    background: linear-gradient(135deg, rgb(9, 210, 93) 0%, #07a85a 100%);
    color: var(--text-primary);
    padding: 18px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: rgb(9, 210, 93) 0px 3.89045px 23.3427px 0px;
    animation: pulse-green-button 2s infinite;
    transition: all 0.3s ease;
}

.btn-bonus-blinking:hover {
    transform: translateY(-3px);
    box-shadow: rgb(9, 210, 93) 0px 5px 35px 0px;
}

.gift-emoji {
    font-size: 1.5rem;
    animation: bounce 1s infinite;
}

.gift-emoji-small {
    font-size: 1.2rem;
    animation: bounce 1s infinite;
}

@keyframes pulse-green-button {
    0%, 100% {
        box-shadow: rgb(9, 210, 93) 0px 3.89045px 23.3427px 0px;
    }
    50% {
        box-shadow: rgb(9, 210, 93) 0px 5px 35px 0px;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Game Section */
.game-section {
    padding: 60px 0;
    background: var(--bg-dark);
}

.game-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.game-container {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.game-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-darker);
}

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

.game-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-demo {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ffc107 100%);
    color: var(--bg-darker);
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(255, 217, 61, 0.4);
}

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 217, 61, 0.6);
}

.btn-play-game {
    background: linear-gradient(135deg, var(--success-color) 0%, #45a049 100%);
    color: var(--text-primary);
    padding: 15px 40px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.btn-play-game:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
}

/* Similar Games Section */
.similar-games-section {
    padding: 60px 0;
    background: var(--bg-darker);
}

.similar-games-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.similar-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.similar-game-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.similar-game-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.similar-game-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.5rem;
}

.game-description {
    margin-bottom: 20px;
    min-height: 120px;
}

.game-description p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
    text-align: justify;
}

.btn-play-similar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    background: linear-gradient(135deg, rgb(9, 210, 93) 0%, #07a85a 100%);
    color: var(--text-primary);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: rgb(9, 210, 93) 0px 3.89045px 23.3427px 0px;
    animation: pulse-green-small 2s infinite;
}

.btn-play-similar:hover {
    transform: translateY(-2px);
    box-shadow: rgb(9, 210, 93) 0px 5px 30px 0px;
}

/* Content Section */
.content-section {
    padding: 60px 0;
    background: var(--bg-dark);
}

.table-of-contents {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    border: 2px solid var(--border-color);
}

.table-of-contents h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.toc-list {
    list-style: none;
}

.toc-list li {
    margin: 10px 0;
}

.toc-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc-list a::before {
    content: "→";
    color: var(--primary-color);
}

.toc-list a:hover {
    color: var(--primary-color);
}

.content-article {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 2px solid var(--border-color);
}

.content-article h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.content-article h3 {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin: 25px 0 15px 0;
}

.content-article p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.intro-image-wrapper {
    margin: 25px 0 30px 0;
    text-align: center;
}

.intro-image {
    max-width: 100%;
    width: 800px;
    height: auto;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

@media (max-width: 900px) {
    .intro-image {
        width: 100%;
        max-width: 800px;
    }
}

.content-article strong {
    color: var(--primary-color);
    font-weight: bold;
}

/* Tables */
.bonus-table {
    overflow-x: auto;
    margin: 25px 0;
}

.bonus-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-darker);
    border-radius: 8px;
    overflow: hidden;
}

.bonus-table th {
    background: var(--primary-color);
    color: var(--text-primary);
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.bonus-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.bonus-table tr:hover {
    background: rgba(255, 107, 107, 0.1);
}

.btn-cta-table {
    background: linear-gradient(135deg, rgb(9, 210, 93) 0%, #07a85a 100%);
    color: var(--text-primary);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: rgb(9, 210, 93) 0px 3.89045px 23.3427px 0px;
    animation: pulse-green-small 2s infinite;
}

.btn-cta-table:hover {
    transform: scale(1.05);
    box-shadow: rgb(9, 210, 93) 0px 5px 30px 0px;
}

@keyframes pulse-green-small {
    0%, 100% {
        box-shadow: rgb(9, 210, 93) 0px 3.89045px 23.3427px 0px;
    }
    50% {
        box-shadow: rgb(9, 210, 93) 0px 4px 28px 0px;
    }
}

/* Lists */
.steps-list,
.tips-list {
    margin: 20px 0;
    padding-left: 30px;
}

.steps-list li,
.tips-list li {
    margin: 15px 0;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Top Casinos */
.top-casinos {
    display: grid;
    gap: 25px;
    margin-top: 30px;
}

.top-casino-item {
    background: var(--bg-darker);
    padding: 25px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.top-casino-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.top-casino-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.top-casino-item p {
    margin: 10px 0;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgb(9, 210, 93) 0%, #07a85a 100%);
    color: var(--text-primary);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: rgb(9, 210, 93) 0px 3.89045px 23.3427px 0px;
    animation: pulse-green-medium 2s infinite;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: rgb(9, 210, 93) 0px 5px 30px 0px;
}

@keyframes pulse-green-medium {
    0%, 100% {
        box-shadow: rgb(9, 210, 93) 0px 3.89045px 23.3427px 0px;
    }
    50% {
        box-shadow: rgb(9, 210, 93) 0px 4px 30px 0px;
    }
}

/* FAQ */
.faq-item {
    background: var(--bg-darker);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-color);
}

.faq-item h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--text-secondary);
}

/* Author Block */
.author-block {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 10px;
    margin-top: 40px;
    border: 2px solid var(--border-color);
}

.author-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.author-avatar {
    flex-shrink: 0;
}

.author-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.author-name {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.author-bio {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.author-social {
    display: flex;
    gap: 15px;
}

.social-link {
    color: var(--primary-color);
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: var(--hover-color);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 2px solid var(--primary-color);
    padding: 50px 0 20px;
    margin-top: 60px;
}

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

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin: 10px 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.gaming-authorities,
.responsible-gaming-logos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.authority-logo,
.responsible-logo {
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.authority-logo:hover,
.responsible-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.authority-logo img,
.responsible-logo img {
    max-width: 120px;
    max-height: 80px;
    width: auto;
    height: auto;
    display: block;
}

.footer-text {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    margin-top: 30px;
}

.footer-text-section {
    margin-bottom: 25px;
}

.footer-text-section h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1rem;
}

.footer-text-section p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .lang-dropdown-menu {
        right: auto;
        left: 0;
        z-index: 10002;
        overflow: visible;
    }
    
    /* On mobile, use fixed positioning when active to ensure visibility */
    .language-dropdown.active .lang-dropdown-menu {
        position: fixed !important;
        overflow: visible !important;
    }
    
    .header .container {
        overflow: visible;
    }
    
    .header-content {
        overflow: visible;
    }
    
    .header-buttons {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }
    
    .btn-play-header,
    .btn-demo-header {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
    
    .casino-grid {
        grid-template-columns: 1fr;
    }
    
    .similar-games-grid {
        grid-template-columns: 1fr;
    }
    
    .game-wrapper-with-table {
        grid-template-columns: 1fr;
    }
    
    .game-left-section {
        order: 1;
    }
    
    .game-specs-table {
        order: 2;
    }
    
    .game-buttons {
        flex-direction: column;
    }
    
    .game-buttons-main {
        flex-direction: column;
    }
    
    .btn-demo,
    .btn-play-game,
    .btn-play-main,
    .btn-demo-main {
        width: 100%;
        justify-content: center;
    }
    
    .bonus-buttons-container {
        flex-direction: column;
    }
    
    .btn-bonus-blinking {
        width: 100%;
        justify-content: center;
    }
    
    .author-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .version-timeline {
        padding-left: 20px;
    }
    
    .version-item {
        padding-left: 25px;
    }
    
    .probabilities-table,
    .advantages-table {
        font-size: 0.9rem;
    }
    
    .probabilities-table th,
    .advantages-table th,
    .probabilities-table td,
    .advantages-table td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.5rem;
    }
    
    .content-article {
        padding: 20px;
    }
    
    .casino-summary {
        padding: 20px;
    }
}

/* Probabilities Table */
.probabilities-table-wrapper {
    overflow-x: auto;
    margin: 25px 0;
}

.probabilities-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-darker);
    border-radius: 8px;
    overflow: hidden;
}

.probabilities-table th {
    background: var(--primary-color);
    color: var(--text-primary);
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.probabilities-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.probabilities-table tr:hover {
    background: rgba(255, 107, 107, 0.1);
}

.table-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Version Timeline */
.version-timeline {
    margin: 30px 0;
    position: relative;
    padding-left: 30px;
}

.version-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.version-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

.version-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid var(--bg-darker);
}

.version-date {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.version-content h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.version-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Advantages Table */
.advantages-table-wrapper {
    overflow-x: auto;
    margin: 25px 0;
}

.advantages-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-darker);
    border-radius: 8px;
    overflow: hidden;
}

.advantages-table th {
    background: var(--primary-color);
    color: var(--text-primary);
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.advantages-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    vertical-align: top;
}

.advantages-table tr:hover {
    background: rgba(255, 107, 107, 0.1);
}

.advantages-table td:first-child {
    font-weight: bold;
    color: var(--text-primary);
    min-width: 200px;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

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

.content-article,
.casino-card,
.similar-game-card {
    animation: fadeIn 0.6s ease-out;
}

