/* =====================================================
   NEW DESIGN: Dark Neon Futuristic Theme
   ===================================================== */

/* Modern Normalize */
*,
::before,
::after {
    box-sizing: border-box;
}

html {
    font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

/* CSS Variables - New Color Scheme */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --bg-elevated: #22222f;
    
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7a;
    
    --accent-primary: #00f5d4;
    --accent-secondary: #7b2cbf;
    --accent-tertiary: #f72585;
    --accent-gold: #ffd60a;
    
    --gradient-primary: linear-gradient(135deg, #00f5d4 0%, #7b2cbf 50%, #f72585 100%);
    --gradient-button: linear-gradient(135deg, #f72585 0%, #b5179e 50%, #7b2cbf 100%);
    --gradient-hover: linear-gradient(135deg, #ff006e 0%, #8338ec 100%);
    
    --shadow-glow: 0 0 40px rgba(0, 245, 212, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-button: 0 4px 20px rgba(247, 37, 133, 0.4);
    
    --border-subtle: 1px solid rgba(255, 255, 255, 0.08);
    --border-accent: 1px solid rgba(0, 245, 212, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* Reset */
*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
    all: unset;
    display: revert;
}

a, button {
    cursor: pointer;
    text-decoration: none;
}

ol, ul, menu {
    list-style: none;
}

img {
    max-inline-size: 100%;
    max-block-size: 100%;
}

/* Typography */
body {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    margin: 0;
    min-height: 100vh;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(123, 44, 191, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 245, 212, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(247, 37, 133, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

h1 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem;
    position: relative;
    padding-left: 1rem;
}

h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--gradient-primary);
    border-radius: 2px;
}

h3, h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin: 1.5rem 0 0.75rem;
}

p {
    margin: 0.75rem 0;
    color: var(--text-secondary);
    line-height: 1.8;
}

strong {
    font-weight: 700;
    color: var(--text-primary);
}

/* Section Container */
.section {
    padding: 2rem 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section {
        padding: 3rem 2rem;
    }
}

/* Logo */
.logo {
    margin-left: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 245, 212, 0.3));
    transition: filter 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 20px rgba(0, 245, 212, 0.5));
}

@media (min-width: 768px) {
    .logo {
        margin-right: 2rem;
    }
}

/* Header */
.header {
    display: flex;
    justify-content: center;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--border-subtle);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 998;
    width: 100%;
}

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

/* Navigation */
.nav-list {
    display: none;
}

@media (min-width: 992px) {
    .nav-list {
        display: flex;
        gap: 2.5rem;
        align-items: center;
    }
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-primary);
}

.nav-link.active::after {
    width: 100%;
}

/* Header Button */
.header-box {
    display: none;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 992px) {
    .header-box {
        display: flex;
    }
}

.line-vertical_navbar {
    width: 1px;
    height: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
}

.header-btn {
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    background: var(--gradient-button);
    color: white;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-button);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(247, 37, 133, 0.5);
}

/* Mobile Menu Button */
.menuButton {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    background: var(--bg-elevated);
    border: var(--border-subtle);
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .menuButton {
        display: none;
    }
}

.menuButton:hover {
    background: var(--bg-card);
    border-color: var(--accent-primary);
}

.menuButton span {
    width: 20px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menuButton.active {
    background: var(--accent-tertiary);
}

.menuButton.active span {
    background: white;
}

.menuButton.active .top {
    transform: translateY(7px) rotate(45deg);
}

.menuButton.active .bot {
    transform: translateY(-7px) rotate(-45deg);
}

.menuButton.active .mid {
    opacity: 0;
}

/* Mobile Navigation */
.nav-mob {
    transform: translateY(-100%);
    background: var(--bg-primary);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 997;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.nav-mob.is-visible {
    transform: translateY(0);
}

.nav-list-mob {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 100px;
}

.nav-link-mob {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.nav-link-mob:hover,
.nav-link-mob.active {
    color: var(--accent-primary);
}

/* Main Block */
.main_block {
    display: flex;
    flex-direction: column-reverse;
}

@media (min-width: 768px) {
    .main_block {
        flex-direction: column;
    }
}

/* Primary Button */
.button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 1rem 1.5rem;
    color: white;
    background: var(--gradient-button);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    max-width: calc(100% - 2rem);
    width: auto;
    margin: 1.5rem auto 0;
    box-shadow: var(--shadow-button);
    text-transform: uppercase;
    text-align: center;
}

@media (min-width: 768px) {
    .button {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        max-width: 350px;
        width: auto;
        margin: 2rem auto 0;
    }
}

.button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 40px rgba(247, 37, 133, 0.5);
}

.button:active {
    transform: translateY(0) scale(0.98);
}

/* Demo Section */
.demo-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 992px) {
    .demo-main {
        flex-direction: row;
        align-items: center;
    }
}

.demo-main .iframe-bwb {
    width: 100%;
    max-height: 400px;
}

@media (min-width: 768px) {
    .demo-main .iframe-bwb {
        max-height: 650px;
    }
}

.iframe-bwb {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    margin: 1rem 0;
    border: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

.iframe-bwb__bg-image {
    height: 350px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(25%) saturate(120%);
    background-image: url(../images/avia-masters-casino.webp);
}

@media (min-width: 768px) {
    .iframe-bwb__bg-image {
        height: 500px;
    }
}

.iframe-bwb__content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
}

/* Demo Buttons */
/* Кнопка "Играть на деньги" - розовая, вверху */
.button-demo {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.875rem 1.5rem;
    background: var(--gradient-button);
    color: white;
    border-radius: var(--radius-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-button);
    transition: all 0.4s ease;
    z-index: 200;
    white-space: nowrap;
    width: auto;
    max-width: 85%;
    text-align: center;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .button-demo {
        font-size: 1.2rem;
        top: 40%;
        padding: 1.25rem 2.5rem;
        gap: 0.75rem;
    }
}

.button-demo:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 8px 40px rgba(247, 37, 133, 0.6);
}

.button-demo svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.button-demo svg path {
    fill: white;
}

@media (min-width: 768px) {
    .button-demo svg {
        width: 24px;
        height: 24px;
    }
}

/* Кнопка "Играть в демо" - серая/стеклянная, внизу */
.iframe-bwb__button {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    z-index: 200;
    white-space: nowrap;
    width: auto;
    max-width: 85%;
    text-align: center;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .iframe-bwb__button {
        font-size: 1.1rem;
        padding: 1.25rem 2.5rem;
        top: 60%;
        gap: 0.75rem;
    }
}

.iframe-bwb__button:hover {
    background: rgba(0, 245, 212, 0.2);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translate(-50%, -50%) scale(1.05);
}

/* Game Container */
#game-container {
    margin-top: 1rem;
    width: 100%;
    height: 350px;
    display: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: var(--border-accent);
}

@media (min-width: 768px) {
    #game-container {
        height: 500px;
    }
}

.game-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Article Container */
.article-container {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    margin: 2rem 0;
    border: var(--border-subtle);
}

@media (min-width: 768px) {
    .article-container {
        padding: 3rem;
    }
}

/* Lists */
.list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0 0 2.5rem;
    margin-bottom: 1rem;
}

.list-item,
.list-item-1,
.list-item-2,
.list-item-3,
.list-item-4 {
    position: relative;
    padding: 1rem 1.5rem 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: var(--border-subtle);
    transition: all 0.3s ease;
}

.list-item:hover,
.list-item-1:hover,
.list-item-2:hover,
.list-item-3:hover,
.list-item-4:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.15);
    transform: translateX(5px);
}

.list-item::before,
.list-item-1::before,
.list-item-2::before,
.list-item-3::before,
.list-item-4::before {
    content: attr(data-title);
    position: absolute;
    top: 50%;
    left: -1.5rem;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(0, 245, 212, 0.4);
}

/* Vertical List */
.list-vertical {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 0;
    flex-wrap: wrap;
}

.list-item-vertical {
    flex: 1 1 300px;
    max-width: 500px;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 2rem 2rem 2rem 4rem;
    border-radius: var(--radius-lg);
    position: relative;
    font-weight: 500;
    border: var(--border-subtle);
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
}

.list-item-vertical:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.list-item-vertical::before {
    content: attr(data-title);
    position: absolute;
    top: -0.75rem;
    left: -0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-button);
    color: white;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-button);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: var(--border-subtle);
}

th {
    background: var(--gradient-button);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

tr {
    transition: all 0.3s ease;
}

tr:hover {
    background: var(--bg-elevated);
}

/* Highlight & Warning Boxes */
.highlight-box {
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.15) 0%, rgba(123, 44, 191, 0.15) 100%);
    color: var(--text-primary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
    border-left: 4px solid var(--accent-primary);
    backdrop-filter: blur(10px);
}

.warning-box {
    background: linear-gradient(135deg, rgba(255, 214, 10, 0.15) 0%, rgba(247, 37, 133, 0.15) 100%);
    color: var(--text-primary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
    border-left: 4px solid var(--accent-gold);
}

/* Plus Minus Box */
.plus-minus-box {
    margin-top: 1.5rem;
}

@media (min-width: 992px) {
    .plus-minus-box {
        display: flex;
        gap: 1.5rem;
    }
}

.group {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    flex: 1;
    border: var(--border-subtle);
}

.plus-group {
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.1) 0%, rgba(0, 245, 212, 0.05) 100%);
    border-color: rgba(0, 245, 212, 0.3);
}

.minus-group {
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.1) 0%, rgba(247, 37, 133, 0.05) 100%);
    border-color: rgba(247, 37, 133, 0.3);
}

.plus-minus-box ul li {
    background: var(--bg-elevated);
    border: var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.plus-group ul li::before {
    content: '✓';
    color: var(--accent-primary);
    margin-right: 0.75rem;
    font-weight: 700;
}

.minus-group ul li::before {
    content: '✕';
    color: var(--accent-tertiary);
    margin-right: 0.75rem;
    font-weight: 700;
}

/* Pros & Cons */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

@media (min-width: 768px) {
    .pros-cons {
        grid-template-columns: 1fr 1fr;
    }
}

.pros, .cons {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.pros {
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.15) 0%, rgba(0, 200, 180, 0.1) 100%);
    border: 1px solid rgba(0, 245, 212, 0.3);
}

.cons {
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.15) 0%, rgba(200, 37, 133, 0.1) 100%);
    border: 1px solid rgba(247, 37, 133, 0.3);
}

/* Feature Cards */
.game-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.feature-card {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: var(--border-subtle);
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-secondary);
    box-shadow: 0 0 30px rgba(123, 44, 191, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Review Cards */
.review-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: var(--border-subtle);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.positive-review {
    border-left: 4px solid var(--accent-primary);
}

.positive-review .review-rating {
    color: var(--accent-primary);
}

.neutral-review {
    border-left: 4px solid var(--accent-gold);
}

.neutral-review .review-rating {
    color: var(--accent-gold);
}

.negative-review {
    border-left: 4px solid var(--accent-tertiary);
}

.negative-review .review-rating {
    color: var(--accent-tertiary);
}

/* FAQ */
.questions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.questions-item {
    padding: 1rem;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: var(--border-subtle);
    transition: all 0.3s ease;
}

.questions-item:hover {
    border-color: var(--accent-primary);
}

.questions-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.questions-plus {
    width: 2rem;
    height: 2rem;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: var(--border-subtle);
    transition: all 0.3s ease;
}

.questions-plus:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.top-line, .bottom-line {
    position: absolute;
    width: 12px;
    height: 2px;
    background: var(--accent-primary);
    transition: all 0.3s ease;
}

.top-line {
    transform: rotate(90deg);
}

.questions-plus.active .top-line {
    transform: rotate(0deg);
}

.questions-plus:hover .top-line,
.questions-plus:hover .bottom-line {
    background: var(--bg-primary);
}

.questions-content {
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease;
    color: var(--text-secondary);
}

/* Author Section */
.author-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: var(--border-subtle);
    box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
    .author-container {
        flex-direction: row;
        align-items: center;
    }
}

.author-left {
    text-align: center;
}

.author-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-primary);
    box-shadow: 0 0 30px rgba(0, 245, 212, 0.3);
}

.author-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 1rem;
}

.author-alias {
    color: var(--accent-primary);
    font-size: 0.9rem;
}

.author-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: block;
    margin-top: 0.5rem;
}

.author-right {
    flex: 1;
}

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

/* Scroll to Top */
#scrollToTopBtn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--gradient-button);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    z-index: 1000;
    box-shadow: var(--shadow-button);
    transition: all 0.3s ease;
    text-align: center;
    padding: 0;
}

#scrollToTopBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(247, 37, 133, 0.5);
}

@media (min-width: 768px) {
    #scrollToTopBtn {
        bottom: 2rem;
        right: 2rem;
        width: 50px;
        height: 50px;
    }
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 3rem 1.5rem 2rem;
    border-top: var(--border-subtle);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footer-left {
    flex: 1 1 300px;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-elevated);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: var(--border-subtle);
}

.social-icons a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

.social-icons img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.badges img {
    height: 35px;
    filter: brightness(0) invert(0.7);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.badges img:hover {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.footer-links {
    display: flex;
    flex: 1 1 300px;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.footer p {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 0;
    }
    
    .footer-links ul {
        margin: 0.75rem 0;
    }
}

/* Image Box */
.img-box {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 1.5rem auto;
    border: var(--border-subtle);
    box-shadow: var(--shadow-card);
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Utilities */
.no-scroll {
    overflow: hidden;
}

.hidden {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

.bold {
    font-weight: 700;
}

ul {
    padding-left: 1.25rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Blinking Button Animation */
.blinking-btn {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: var(--shadow-button);
    }
    50% {
        box-shadow: 0 0 30px rgba(247, 37, 133, 0.6), 0 0 60px rgba(247, 37, 133, 0.3);
    }
}

/* Overflow fixes */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

.section,
.header-container,
.footer-container {
    max-width: 100%;
}

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

/* Swiper customization */
.swiper-button-next::after,
.swiper-button-prev::after {
    color: var(--accent-primary);
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--gradient-primary);
}

/* Cards for other content */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: var(--border-subtle);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

/* Mobile specific adjustments */
@media (max-width: 480px) {
    .list-item::before,
    .list-item-1::before,
    .list-item-2::before,
    .list-item-3::before,
    .list-item-4::before {
        left: -1rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }
    
    .list {
        padding-left: 2rem;
    }
}

/* Hero Text */
.hero-text {
    font-weight: 600;
    text-align: center;
    margin: 1rem auto;
    color: var(--text-secondary);
}

/* Subtitle */
.subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-style: italic;
}

/* Section Top */
.section-top {
    padding-top: 1rem;
}

@media (min-width: 768px) {
    .section-top {
        padding-top: 2rem;
    }
}

/* Win Box */
@media (min-width: 725px) {
    .win-box {
        display: flex;
        gap: 1rem;
    }
    
    .win-box > .win-box-width {
        max-width: 50%;
    }
}

.win-box-width {
    margin-top: 1rem;
}

/* Table Double */
.table-double {
    border-collapse: collapse;
    text-align: center;
    width: 100%;
    max-width: 900px;
    font-size: 0.9rem;
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.table-double thead th {
    background: var(--gradient-button);
    color: white;
    padding: 1rem;
    font-weight: 700;
    font-size: 1rem;
}

.table-double tbody td {
    padding: 1rem;
    background: var(--bg-card);
    border-bottom: var(--border-subtle);
    color: var(--text-secondary);
}

.table-double tbody tr:hover {
    background: var(--bg-elevated);
}

/* Button None (Hidden state) */
.button-none {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.button-none.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Selection styling */
::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-elevated);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Language dropdown (keeping functionality) */
.language-dropdown,
.lang-switcher-new,
.lang-selector-mobile {
    display: none;
}

@media (min-width: 992px) {
    .language-dropdown,
    .lang-switcher-new {
        display: block;
    }
}

.lang-btn-new {
    background: transparent;
    border: var(--border-subtle);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.dropdown-content,
.lang-dropdown-new {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.dropdown-content a,
.lang-option-new {
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.dropdown-content a:hover,
.lang-option-new:hover {
    background: var(--bg-elevated);
    color: var(--accent-primary);
}