/* ============================================
   SCRATCH88 THEME - main.css (moban-115)
   Scratch Cards Theme with CSS Eraser Effect
   Colors: Multi-color + Silver(#BDBDBD)
   Fonts: Archivo Black + Fira Sans
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Fira Sans', sans-serif;
    background: #0B0B0F;
    color: #E0E0E8;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    line-height: 1.3;
}

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

a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(189, 189, 189, 0.5);
}

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

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

.silver-text {
    color: #BDBDBD;
    background: linear-gradient(90deg, #BDBDBD, #E0E0E0, #BDBDBD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.multi-text {
    background: linear-gradient(90deg, #FF6B6B, #FFD93D, #6BCB77, #4D96FF, #FF6B6B);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: multiColorShift 6s ease infinite;
}

@keyframes multiColorShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* === KEYFRAME ANIMATIONS === */

/* @keyframes scratchOff - CSS eraser scratch card reveal effect */
@keyframes scratchOff {
    0% {
        clip-path: circle(0% at 50% 50%);
        opacity: 0;
        filter: blur(4px);
    }
    20% {
        clip-path: circle(15% at 30% 40%);
        opacity: 0.4;
        filter: blur(3px);
    }
    40% {
        clip-path: circle(30% at 50% 50%);
        opacity: 0.6;
        filter: blur(2px);
    }
    60% {
        clip-path: circle(50% at 60% 45%);
        opacity: 0.8;
        filter: blur(1px);
    }
    80% {
        clip-path: circle(75% at 50% 50%);
        opacity: 0.95;
        filter: blur(0.5px);
    }
    100% {
        clip-path: circle(100% at 50% 50%);
        opacity: 1;
        filter: blur(0);
    }
}

/* @keyframes coinReveal - Coin flip reveal with rotation */
@keyframes coinReveal {
    0% {
        transform: rotateY(0deg) scale(0.5);
        opacity: 0;
        filter: brightness(0.3);
    }
    25% {
        transform: rotateY(90deg) scale(0.7);
        opacity: 0.3;
        filter: brightness(0.6);
    }
    50% {
        transform: rotateY(180deg) scale(0.9);
        opacity: 0.6;
        filter: brightness(1.2);
    }
    75% {
        transform: rotateY(270deg) scale(1.05);
        opacity: 0.9;
        filter: brightness(1.5);
    }
    100% {
        transform: rotateY(360deg) scale(1);
        opacity: 1;
        filter: brightness(1);
    }
}

/* @keyframes prizeShine - Shining sparkle sweep across prize */
@keyframes prizeShine {
    0% {
        background-position: -200% center;
        opacity: 0.3;
    }
    25% {
        background-position: -100% center;
        opacity: 0.6;
    }
    50% {
        background-position: 0% center;
        opacity: 1;
    }
    75% {
        background-position: 100% center;
        opacity: 0.6;
    }
    100% {
        background-position: 200% center;
        opacity: 0.3;
    }
}

/* @keyframes cardFlip88 - Full card flip animation */
@keyframes cardFlip88 {
    0% {
        transform: perspective(800px) rotateY(0deg);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    25% {
        transform: perspective(800px) rotateY(45deg);
        box-shadow: -10px 10px 25px rgba(0, 0, 0, 0.4);
    }
    50% {
        transform: perspective(800px) rotateY(90deg);
        box-shadow: -15px 0 30px rgba(0, 0, 0, 0.5);
    }
    75% {
        transform: perspective(800px) rotateY(135deg);
        box-shadow: -10px -10px 25px rgba(0, 0, 0, 0.4);
    }
    100% {
        transform: perspective(800px) rotateY(180deg);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
}

@keyframes scratchShimmer {
    0% { opacity: 0; transform: translateX(-100%) skewX(-15deg); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateX(200%) skewX(-15deg); }
}

@keyframes eraserReveal {
    0% {
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0%, transparent 100%);
    }
    50% {
        -webkit-mask-image: linear-gradient(90deg, black 50%, transparent 50%);
        mask-image: linear-gradient(90deg, black 50%, transparent 50%);
    }
    100% {
        -webkit-mask-image: linear-gradient(90deg, black 100%, transparent 100%);
        mask-image: linear-gradient(90deg, black 100%, transparent 100%);
    }
}

@keyframes floatCoin {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(5deg); }
    50% { transform: translateY(-15px) rotate(0deg); }
    75% { transform: translateY(-8px) rotate(-5deg); }
}

@keyframes notificationScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes counterGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(189, 189, 189, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(189, 189, 189, 0.8), 0 0 40px rgba(255, 107, 107, 0.3);
    }
}

@keyframes scratchBorder {
    0% { border-color: #FF6B6B; }
    25% { border-color: #FFD93D; }
    50% { border-color: #6BCB77; }
    75% { border-color: #4D96FF; }
    100% { border-color: #FF6B6B; }
}

@keyframes coinSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(189, 189, 189, 0.2), 0 0 40px rgba(255, 107, 107, 0.05);
    }
    50% {
        box-shadow: 0 0 30px rgba(189, 189, 189, 0.4), 0 0 60px rgba(255, 107, 107, 0.15);
    }
}

/* === HEADER === */
.site-header {
    background: linear-gradient(180deg, #0B0B0F 0%, #121218 100%);
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #FF6B6B, #FFD93D, #6BCB77, #4D96FF, #BDBDBD) 1;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(189, 189, 189, 0.5));
    transition: all 0.3s ease;
}

.logo img:hover {
    filter: drop-shadow(0 0 15px rgba(189, 189, 189, 0.8));
    transform: scale(1.05);
}

.header-time {
    font-family: 'Archivo Black', sans-serif;
    color: #BDBDBD;
    font-size: 14px;
    letter-spacing: 1px;
}

.header-btn-group {
    display: flex;
    gap: 10px;
}

.btn-login {
    padding: 8px 18px;
    border: 1px solid #BDBDBD;
    color: #BDBDBD;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #BDBDBD;
    color: #0B0B0F;
}

.btn-register {
    padding: 8px 18px;
    background: linear-gradient(135deg, #FF6B6B, #FFD93D);
    color: #0B0B0F;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    border: none;
}

.btn-register:hover {
    background: linear-gradient(135deg, #FFD93D, #6BCB77);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.5);
    color: #0B0B0F;
}

.btn-demo {
    padding: 8px 18px;
    border: 1px solid #6BCB77;
    color: #6BCB77;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-demo:hover {
    background: #6BCB77;
    color: #0B0B0F;
}

/* === NAVIGATION === */
.main-navigation {
    background: #0e0e14;
    border-top: 1px solid rgba(189, 189, 189, 0.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 12px 16px;
    color: #E0E0E8;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #BDBDBD;
    background: rgba(189, 189, 189, 0.08);
    text-shadow: 0 0 10px rgba(189, 189, 189, 0.5);
}

.nav-link i {
    margin-right: 5px;
    color: #FF6B6B;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #BDBDBD;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* === NOTIFICATION BAR === */
.notification-bar {
    background: linear-gradient(90deg, rgba(255, 107, 107, 0.15), rgba(255, 217, 61, 0.15), rgba(107, 203, 119, 0.15), rgba(77, 150, 255, 0.15));
    overflow: hidden;
    padding: 8px 0;
    border-top: 1px solid rgba(189, 189, 189, 0.2);
}

.notification-content {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    animation: notificationScroll 30s linear infinite;
    color: #BDBDBD;
    font-size: 13px;
}

/* === ANNOUNCEMENT MODAL === */
.announcement-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.announcement-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

.announcement-content {
    position: relative;
    background: linear-gradient(135deg, #1a1a24 0%, #0B0B0F 100%);
    border: 2px solid;
    border-image: linear-gradient(90deg, #FF6B6B, #FFD93D, #6BCB77, #BDBDBD) 1;
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    animation: fadeInUp 0.5s ease;
}

.announcement-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #BDBDBD;
    font-size: 28px;
    cursor: pointer;
}

.announcement-header-icon {
    text-align: center;
    margin-bottom: 15px;
}

.announcement-header-icon i {
    font-size: 48px;
    color: #BDBDBD;
    animation: coinReveal 3s ease infinite;
}

.announcement-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.announcement-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(189, 189, 189, 0.08);
    border: 1px solid rgba(189, 189, 189, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.announcement-item:hover {
    background: rgba(189, 189, 189, 0.15);
    border-color: #BDBDBD;
    transform: translateX(5px);
}

.announcement-badge {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
}

.announcement-badge.hot {
    background: #FF6B6B;
    color: #fff;
}

.announcement-badge.new {
    background: #6BCB77;
    color: #0B0B0F;
}

.announcement-badge.info {
    background: #4D96FF;
    color: #fff;
}

.announcement-text {
    flex: 1;
    font-size: 13px;
    color: #E0E0E8;
}

.announcement-item i.fa-chevron-right {
    color: #BDBDBD;
    font-size: 12px;
}

.announcement-footer {
    text-align: center;
}

.announcement-cta {
    display: inline-block;
    padding: 12px 40px;
    background: linear-gradient(135deg, #FF6B6B, #FFD93D);
    color: #0B0B0F;
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    animation: pulseGlow 2s ease infinite;
}

.announcement-cta:hover {
    color: #0B0B0F;
    transform: scale(1.05);
}

/* === HERO SECTION - Scratch Card === */
.scratch88-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, #1a1a24 0%, #0B0B0F 70%);
    border-radius: 15px;
    margin: 20px 0;
    overflow: hidden;
    border: 1px solid rgba(189, 189, 189, 0.2);
}

/* Scratch Particles */
.scratch-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.scratch-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: floatCoin 4s ease infinite;
}

.scratch-particle.particle-1 {
    width: 8px; height: 8px;
    background: #FF6B6B;
    left: 10%; top: 20%;
    animation-delay: 0s;
}

.scratch-particle.particle-2 {
    width: 6px; height: 6px;
    background: #FFD93D;
    left: 25%; top: 60%;
    animation-delay: 0.8s;
}

.scratch-particle.particle-3 {
    width: 10px; height: 10px;
    background: #6BCB77;
    left: 70%; top: 30%;
    animation-delay: 1.5s;
}

.scratch-particle.particle-4 {
    width: 7px; height: 7px;
    background: #4D96FF;
    left: 80%; top: 70%;
    animation-delay: 2s;
}

.scratch-particle.particle-5 {
    width: 5px; height: 5px;
    background: #BDBDBD;
    left: 50%; top: 80%;
    animation-delay: 2.5s;
}

/* Scratch Card Hero */
.scratch-card-hero {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 220px;
    height: 160px;
}

.scratch-card-surface {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #C0C0C0, #808080, #C0C0C0);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #BDBDBD;
    animation: pulseGlow 3s ease infinite;
}

.scratch-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.05) 10px,
        rgba(255, 255, 255, 0.05) 20px
    );
    animation: scratchOff 4s ease infinite;
    z-index: 2;
}

.scratch-card-prize.hidden-prize {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
}

.scratch-card-prize i {
    font-size: 36px;
    color: #FFD93D;
    display: block;
    margin-bottom: 8px;
    animation: coinReveal 3s ease infinite;
}

.scratch-card-prize span {
    font-family: 'Archivo Black', sans-serif;
    font-size: 18px;
    color: #FF6B6B;
    background: linear-gradient(90deg, #FFD93D, #FF6B6B, #FFD93D);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: prizeShine 3s ease infinite;
}

/* Coin Stack */
.coin-stack {
    position: absolute;
    bottom: -15px;
    right: -10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.coin {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD93D, #FFA500, #FFD93D);
    border: 2px solid #B8860B;
    margin-top: -25px;
    animation: floatCoin 3s ease infinite;
    box-shadow: 0 2px 8px rgba(255, 217, 61, 0.4);
}

.coin-1 { animation-delay: 0s; }
.coin-2 { animation-delay: 0.5s; background: linear-gradient(135deg, #C0C0C0, #E0E0E0, #C0C0C0); border-color: #999; }
.coin-3 { animation-delay: 1s; background: linear-gradient(135deg, #FF6B6B, #FF8E8E, #FF6B6B); border-color: #CC4444; }

/* Hero Content */
.hero-inner-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    padding: 40px;
}

.hero-main-title {
    margin-bottom: 20px;
}

.hero-brand {
    display: block;
    font-family: 'Archivo Black', sans-serif;
    font-size: 56px;
    letter-spacing: 8px;
    background: linear-gradient(90deg, #FF6B6B, #FFD93D, #6BCB77, #4D96FF, #BDBDBD, #FF6B6B);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: multiColorShift 5s ease infinite;
}

.hero-divider-line {
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #FF6B6B, #FFD93D, #6BCB77, #4D96FF, #BDBDBD);
    margin: 15px 0;
    border-radius: 2px;
}

.hero-tagline {
    display: block;
    font-size: 22px;
    letter-spacing: 4px;
    color: #BDBDBD;
    font-family: 'Archivo Black', sans-serif;
}

.hero-description {
    color: #ccc;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.hero-stats-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: 'Archivo Black', sans-serif;
    font-size: 28px;
    color: #BDBDBD;
    animation: counterGlow 3s ease infinite;
}

.hero-stat-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-silver-primary {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(135deg, #BDBDBD, #E0E0E0);
    color: #0B0B0F;
    border-radius: 25px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-silver-primary:hover {
    background: linear-gradient(135deg, #E0E0E0, #BDBDBD);
    box-shadow: 0 0 20px rgba(189, 189, 189, 0.5);
    transform: translateY(-2px);
    color: #0B0B0F;
}

.btn-outline-silver {
    display: inline-block;
    padding: 14px 35px;
    border: 2px solid #BDBDBD;
    color: #BDBDBD;
    border-radius: 25px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline-silver:hover {
    background: #BDBDBD;
    color: #0B0B0F;
    box-shadow: 0 0 20px rgba(189, 189, 189, 0.3);
}

/* === SECTION TITLES === */
.section-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 28px;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.section-title i {
    margin-right: 10px;
    animation: coinReveal 2s ease infinite;
}

.section-subtitle {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-bottom: 40px;
}

/* === SCRATCH STAR GAMES (6 cards) === */
.scratch-star-games {
    padding: 60px 0;
}

.scratch-star-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.scratch-star-game-card {
    position: relative;
    display: block;
    background: linear-gradient(135deg, #1a1a24, #111118);
    border: 1px solid rgba(189, 189, 189, 0.15);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    overflow: hidden;
}

.scratch-star-game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(189, 189, 189, 0.08), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.scratch-star-game-card:hover::before {
    left: 150%;
}

.scratch-star-game-card:hover {
    border-color: #BDBDBD;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(189, 189, 189, 0.15);
    animation: scratchBorder 4s linear infinite;
}

.scratch-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(189, 189, 189, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.scratch-star-game-card:hover .scratch-card-glow {
    opacity: 1;
}

.scratch-star-game-icon {
    margin-bottom: 15px;
}

.scratch-star-game-icon i {
    font-size: 40px;
    color: #BDBDBD;
    animation: coinReveal 3s ease infinite;
}

.scratch-star-game-rating {
    margin-bottom: 10px;
}

.scratch-star-game-rating i {
    color: #FFD93D;
    font-size: 12px;
}

.scratch-star-game-card h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}

.scratch-star-game-card p {
    color: #aaa;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.scratch-star-game-players {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(189, 189, 189, 0.12);
    border-radius: 20px;
    font-size: 11px;
    color: #BDBDBD;
}

.scratch-star-game-players i {
    margin-right: 5px;
}

/* === SCRATCH GRID (3x4) === */
.scratch-grid-section {
    padding: 60px 0;
}

.scratch-grid-map {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.scratch-grid-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.scratch-grid-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    background: linear-gradient(135deg, #1a1a24, #111118);
    border: 1px solid rgba(189, 189, 189, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
}

.scratch-grid-node:hover {
    border-color: #BDBDBD;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(189, 189, 189, 0.2);
    animation: scratchBorder 3s linear infinite;
}

.scratch-node-icon {
    margin-bottom: 10px;
}

.scratch-node-icon i {
    font-size: 28px;
    background: linear-gradient(135deg, #FF6B6B, #FFD93D, #6BCB77, #4D96FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scratch-node-label {
    color: #E0E0E8;
    font-size: 13px;
    font-weight: 600;
}

/* === SCRATCH FEATURES === */
.scratch-features {
    padding: 60px 0;
}

.scratch-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.scratch-feature-card {
    background: linear-gradient(135deg, #1a1a24, #111118);
    border: 1px solid rgba(189, 189, 189, 0.15);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.scratch-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #FF6B6B, #FFD93D, #6BCB77, #4D96FF, #BDBDBD);
    background-size: 200% 100%;
    animation: multiColorShift 4s ease infinite;
}

.scratch-feature-card:hover {
    transform: translateY(-5px);
    border-color: #BDBDBD;
    box-shadow: 0 10px 30px rgba(189, 189, 189, 0.15);
}

.scratch-feature-icon {
    margin-bottom: 15px;
}

.scratch-feature-icon i {
    font-size: 36px;
    background: linear-gradient(135deg, #FF6B6B, #FFD93D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scratch-feature-card h3 {
    color: #fff;
    font-size: 17px;
    margin-bottom: 12px;
}

.scratch-feature-card p {
    color: #aaa;
    font-size: 13px;
    line-height: 1.7;
}

/* === SCRATCH STATS === */
.scratch-stats {
    padding: 60px 0;
    position: relative;
}

.scratch-stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.scratch-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.03), rgba(189, 189, 189, 0.05));
    pointer-events: none;
}

.scratch-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
    z-index: 1;
}

.scratch-stat-card {
    background: linear-gradient(135deg, #1a1a24, #111118);
    border: 2px solid rgba(189, 189, 189, 0.2);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.scratch-stat-card:hover {
    border-color: #BDBDBD;
    box-shadow: 0 0 30px rgba(189, 189, 189, 0.15);
    transform: translateY(-3px);
}

.stat-scratch-decoration {
    margin-bottom: 10px;
}

.stat-scratch-decoration i {
    font-size: 20px;
    color: #FF6B6B;
    animation: coinReveal 2s ease infinite;
}

.stat-scratch-decoration.bottom {
    margin-bottom: 0;
    margin-top: 10px;
}

.stat-number {
    font-family: 'Archivo Black', sans-serif;
    font-size: 36px;
    color: #BDBDBD;
    animation: counterGlow 3s ease infinite;
    margin-bottom: 5px;
}

.stat-label {
    color: #aaa;
    font-size: 13px;
    text-transform: uppercase;
}

/* === SCRATCH PROMOTIONS === */
.scratch-promos {
    padding: 60px 0;
}

.scratch-promos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.scratch-promo-card {
    position: relative;
    background: linear-gradient(135deg, #1a1a24, #111118);
    border: 1px solid rgba(189, 189, 189, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.scratch-promo-card:hover {
    border-color: #BDBDBD;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(189, 189, 189, 0.2);
}

.promo-scratch-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(189, 189, 189, 0.06), transparent);
    pointer-events: none;
}

.scratch-promo-inner {
    position: relative;
    padding: 30px 20px;
    text-align: center;
}

.promo-icon {
    margin-bottom: 15px;
}

.promo-icon i {
    font-size: 36px;
    color: #BDBDBD;
    animation: coinReveal 2s ease infinite;
}

.scratch-promo-inner h3 {
    color: #fff;
    font-size: 17px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.scratch-promo-inner p {
    color: #aaa;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.promo-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 12px;
    color: #999;
}

.promo-badge {
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
}

.promo-badge.hot {
    background: #FF6B6B;
    color: #fff;
}

.promo-badge.new {
    background: #6BCB77;
    color: #0B0B0F;
}

.promo-badge.vip {
    background: linear-gradient(135deg, #FFD93D, #FFA500);
    color: #0B0B0F;
}

.btn-promo {
    display: inline-block;
    padding: 10px 30px;
    background: linear-gradient(135deg, #FF6B6B, #FFD93D);
    color: #0B0B0F;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-promo:hover {
    background: linear-gradient(135deg, #FFD93D, #6BCB77);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.5);
    color: #0B0B0F;
    transform: scale(1.05);
}

/* === FOOTER CTA SECTION === */
.footer-cta-section {
    position: relative;
    padding: 80px 0;
    margin: 40px 0;
    background: linear-gradient(135deg, #1a1a24, #0B0B0F);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(189, 189, 189, 0.2);
}

.footer-cta-scratchfield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.footer-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

.cta-scratch-decoration {
    margin-bottom: 20px;
}

.cta-scratch-card-icon {
    display: inline-block;
    width: 60px;
    height: 40px;
    background: linear-gradient(135deg, #BDBDBD, #E0E0E0);
    border-radius: 6px;
    border: 2px solid #999;
    position: relative;
    animation: cardFlip88 6s ease infinite;
}

.cta-scratch-card-icon::after {
    content: '88';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Archivo Black', sans-serif;
    font-size: 14px;
    color: #0B0B0F;
}

.footer-cta-inner h2 {
    font-size: 32px;
    color: #BDBDBD;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.footer-cta-inner p {
    color: #ccc;
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto 25px;
    line-height: 1.8;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.cta-feature {
    color: #E0E0E8;
    font-size: 14px;
}

.cta-feature i {
    color: #BDBDBD;
    margin-right: 8px;
}

.cta-main-btn {
    padding: 16px 50px;
    font-size: 18px;
    animation: pulseGlow 2s ease infinite;
}

/* === NEWS SECTION === */
.home-news-section {
    padding: 60px 0;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.article-card {
    display: block;
    background: linear-gradient(135deg, #1a1a24, #111118);
    border: 1px solid rgba(189, 189, 189, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-card:hover {
    border-color: #BDBDBD;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(189, 189, 189, 0.15);
}

.article-card-thumb {
    height: 180px;
    overflow: hidden;
}

.article-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-card-thumb img {
    transform: scale(1.05);
}

.article-card-title {
    padding: 15px 15px 8px;
}

.article-card-title span,
.article-card-title a {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    display: block;
}

.article-card-meta {
    padding: 0 15px;
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.article-card-meta i {
    margin-right: 5px;
    color: #FF6B6B;
}

.article-card-excerpt {
    padding: 0 15px 15px;
    font-size: 13px;
    color: #aaa;
    line-height: 1.6;
}

.article-card-more {
    display: inline-block;
    padding: 8px 20px;
    color: #BDBDBD;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #BDBDBD;
    border-radius: 20px;
    margin: 0 15px 15px;
    transition: all 0.3s ease;
}

.article-card-more:hover {
    background: #BDBDBD;
    color: #0B0B0F;
}

.view-more-btn {
    display: block;
    text-align: center;
    padding: 12px 30px;
    border: 2px solid #BDBDBD;
    color: #BDBDBD;
    border-radius: 25px;
    font-weight: 600;
    max-width: 200px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background: #BDBDBD;
    color: #0B0B0F;
}

.home-news-placeholder {
    display: contents;
}

/* === CONTENT AREA & SIDEBAR === */
.content-area {
    display: flex;
    gap: 30px;
    padding: 20px 0;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.floating-sidebar {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 999;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B6B, #FFD93D);
    color: #0B0B0F;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(189, 189, 189, 0.5);
    color: #0B0B0F;
}

.sidebar-btn-facebook {
    background: #1877F2;
    color: #fff;
}

.sidebar-btn-telegram {
    background: #0088cc;
    color: #fff;
}

.sidebar-label {
    display: none;
}

/* === FOOTER === */
.site-footer {
    background: linear-gradient(180deg, #111118 0%, #0B0B0F 100%);
    border-top: 2px solid;
    border-image: linear-gradient(90deg, #FF6B6B, #FFD93D, #6BCB77, #4D96FF, #BDBDBD) 1;
    padding: 50px 0 30px;
    margin-top: 40px;
}

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

.footer-brand-logo {
    margin-bottom: 15px;
}

.footer-brand-logo img {
    height: 45px;
    filter: drop-shadow(0 0 10px rgba(189, 189, 189, 0.5));
}

.footer-brand-text {
    color: #aaa;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-18plus {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #FF6B6B;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 15px;
}

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

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(189, 189, 189, 0.12);
    color: #BDBDBD;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background: #BDBDBD;
    color: #0B0B0F;
    transform: scale(1.1);
}

.footer-col h4 {
    color: #BDBDBD;
    font-size: 15px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #aaa;
    font-size: 13px;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #BDBDBD;
    padding-left: 5px;
}

.footer-license-bar {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(189, 189, 189, 0.15);
    border-bottom: 1px solid rgba(189, 189, 189, 0.15);
    margin-bottom: 20px;
}

.footer-license-bar h4 {
    color: #BDBDBD;
    margin-bottom: 15px;
    font-size: 14px;
}

.license-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.license-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    background: rgba(189, 189, 189, 0.06);
    border: 1px solid rgba(189, 189, 189, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.license-item:hover {
    border-color: #BDBDBD;
    background: rgba(189, 189, 189, 0.12);
}

.license-item i {
    font-size: 20px;
    color: #BDBDBD;
}

.license-item span {
    font-size: 11px;
    color: #aaa;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-copyright {
    color: #666;
    font-size: 13px;
}

/* === BREADCRUMB === */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 0;
    font-size: 13px;
    color: #999;
    border-bottom: 1px solid rgba(189, 189, 189, 0.1);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #BDBDBD;
}

.breadcrumb a:hover {
    color: #FF6B6B;
}

.breadcrumb span {
    color: #666;
}

/* === CATEGORY === */
.category-header {
    padding: 20px 0;
    margin-bottom: 20px;
}

.category-title {
    font-size: 26px;
    letter-spacing: 2px;
}

.category-title i {
    margin-right: 10px;
    animation: coinReveal 2s ease infinite;
}

.category-desc {
    color: #aaa;
    margin-top: 10px;
    font-size: 14px;
}

.provider-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.provider-tab {
    padding: 8px 16px;
    background: rgba(189, 189, 189, 0.08);
    border: 1px solid rgba(189, 189, 189, 0.2);
    border-radius: 20px;
    color: #E0E0E8;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.provider-tab:hover,
.provider-tab.active {
    background: linear-gradient(135deg, #FF6B6B, #FFD93D);
    border-color: #FF6B6B;
    color: #0B0B0F;
}

/* === ARTICLE GRID === */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

/* === SINGLE ARTICLE === */
.single-article {
    background: linear-gradient(135deg, #1a1a24, #111118);
    border: 1px solid rgba(189, 189, 189, 0.15);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.article-header {
    margin-bottom: 20px;
}

.article-title {
    font-size: 28px;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #999;
}

.article-meta i {
    color: #FF6B6B;
    margin-right: 5px;
}

.article-meta a {
    color: #BDBDBD;
}

.article-featured-img {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.article-featured-img img {
    width: 100%;
    height: auto;
}

.article-content {
    color: #ddd;
    font-size: 15px;
    line-height: 1.8;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: #BDBDBD;
    margin: 20px 0 10px;
}

.article-content p {
    margin-bottom: 15px;
}

.article-content a {
    color: #FF6B6B;
    text-decoration: underline;
}

.article-content ul,
.article-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content blockquote {
    border-left: 4px solid #FF6B6B;
    padding: 15px 20px;
    background: rgba(255, 107, 107, 0.05);
    margin: 20px 0;
    border-radius: 0 10px 10px 0;
}

.article-content img {
    border-radius: 10px;
    margin: 15px 0;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid rgba(189, 189, 189, 0.15);
    margin-top: 20px;
}

.article-tags i {
    color: #BDBDBD;
}

.article-tags span {
    padding: 5px 12px;
    background: rgba(189, 189, 189, 0.08);
    border-radius: 15px;
    font-size: 12px;
    color: #E0E0E8;
}

.article-tags span a {
    color: #E0E0E8;
}

/* === ARTICLE NAV === */
.article-nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid rgba(189, 189, 189, 0.15);
    margin-top: 20px;
}

.article-nav a {
    color: #BDBDBD;
    font-size: 14px;
}

.article-nav a:hover {
    color: #FF6B6B;
}

/* === RELATED POSTS === */
.related-posts {
    margin-bottom: 30px;
}

.related-posts-title {
    font-size: 20px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.related-posts-title i {
    margin-right: 10px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.related-item {
    display: block;
    background: linear-gradient(135deg, #1a1a24, #111118);
    border: 1px solid rgba(189, 189, 189, 0.15);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-item:hover {
    border-color: #BDBDBD;
    transform: translateY(-3px);
}

.related-item-thumb {
    height: 120px;
    overflow: hidden;
}

.related-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-item-title {
    padding: 10px;
    font-size: 13px;
    color: #fff;
    line-height: 1.4;
}

/* === PAGE === */
.page-article {
    background: linear-gradient(135deg, #1a1a24, #111118);
    border: 1px solid rgba(189, 189, 189, 0.15);
    border-radius: 15px;
    padding: 30px;
}

.page-title {
    font-size: 28px;
    color: #BDBDBD;
    margin-bottom: 20px;
}

.page-featured-img {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.page-content {
    color: #ddd;
    line-height: 1.8;
}

.page-content p {
    margin-bottom: 15px;
}

/* === PAGINATION === */
.pagination {
    text-align: center;
    margin: 30px 0;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(189, 189, 189, 0.08);
    border: 1px solid rgba(189, 189, 189, 0.2);
    color: #E0E0E8;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: linear-gradient(135deg, #FF6B6B, #FFD93D);
    border-color: #FF6B6B;
    color: #0B0B0F;
}

/* === ERROR PAGE === */
.error-page {
    text-align: center;
    padding: 80px 20px;
}

.error-scratch {
    margin-bottom: 20px;
}

.error-scratch-card {
    display: inline-block;
    width: 80px;
    height: 55px;
    background: linear-gradient(135deg, #BDBDBD, #E0E0E0);
    border-radius: 8px;
    border: 2px solid #999;
    position: relative;
    animation: cardFlip88 4s ease infinite;
}

.error-scratch-card::after {
    content: '?';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Archivo Black', sans-serif;
    font-size: 24px;
    color: #0B0B0F;
}

.error-code {
    font-size: 100px;
    background: linear-gradient(135deg, #FF6B6B, #FFD93D, #6BCB77, #4D96FF, #BDBDBD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.error-title {
    font-size: 24px;
    color: #BDBDBD;
    margin-bottom: 15px;
}

.error-desc {
    color: #aaa;
    font-size: 15px;
    max-width: 500px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

/* === NO POSTS === */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #aaa;
}

.no-posts i {
    display: block;
    margin-bottom: 15px;
}
