/* ============================================
   DERBYWIN THEME - main.css (moban-95)
   Horse Racing Theme with Track, Horseshoe, Jockey
   Colors: #6D4C41 (Brown), #FFD700 (Gold), #2E7D32 (Green), #FFF8E1 (Cream)
   ============================================ */

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

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

body {
    font-family: 'Josefin Sans', sans-serif;
    background: #1a0f0a;
    color: #FFF8E1;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

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

a:hover {
    color: #FFF8E1;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

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

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

.gold-text {
    color: #FFD700;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.derby-text {
    background: linear-gradient(90deg, #6D4C41, #FFD700, #6D4C41);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* 1. Horse Gallop Animation */
@keyframes horseGallop {
    0%, 100% {
        transform: translateY(0) scaleX(1);
    }
    15% {
        transform: translateY(-8px) scaleX(1.02);
    }
    30% {
        transform: translateY(-3px) scaleX(0.98);
    }
    45% {
        transform: translateY(-10px) scaleX(1.03);
    }
    60% {
        transform: translateY(-2px) scaleX(0.97);
    }
    75% {
        transform: translateY(-6px) scaleX(1.01);
    }
    90% {
        transform: translateY(-1px) scaleX(0.99);
    }
}

/* 2. Track Oval Animation */
@keyframes trackOval {
    0% {
        transform: rotate(0deg);
        border-radius: 50%;
    }
    25% {
        transform: rotate(90deg);
        border-radius: 45% 55% 50% 50%;
    }
    50% {
        transform: rotate(180deg);
        border-radius: 50%;
    }
    75% {
        transform: rotate(270deg);
        border-radius: 55% 45% 50% 50%;
    }
    100% {
        transform: rotate(360deg);
        border-radius: 50%;
    }
}

/* 3. Horseshoe Spin Animation */
@keyframes horseshoeSpin {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.05); }
    50% { transform: rotate(180deg) scale(1); }
    75% { transform: rotate(270deg) scale(1.05); }
    100% { transform: rotate(360deg) scale(1); }
}

/* 4. Derby Hat Tilt Animation */
@keyframes derbyHat {
    0%, 100% {
        transform: rotate(0deg) translateY(0);
    }
    20% {
        transform: rotate(-5deg) translateY(-3px);
    }
    40% {
        transform: rotate(3deg) translateY(-5px);
    }
    60% {
        transform: rotate(-3deg) translateY(-2px);
    }
    80% {
        transform: rotate(5deg) translateY(-4px);
    }
}

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

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

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

@keyframes derbyPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(109, 76, 65, 0.3), 0 0 40px rgba(255, 215, 0, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(109, 76, 65, 0.6), 0 0 60px rgba(255, 215, 0, 0.3);
    }
}

@keyframes trackLineMove {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

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

/* === HEADER === */
.site-header {
    background: linear-gradient(180deg, #1a0f0a 0%, #2d1a10 100%);
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #6D4C41, #FFD700, #6D4C41) 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(109, 76, 65, 0.5));
    transition: all 0.3s ease;
}

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

.header-time {
    font-family: 'Playfair Display', serif;
    color: #FFD700;
    font-size: 14px;
    letter-spacing: 1px;
}

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

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

.btn-login:hover {
    background: #FFD700;
    color: #1a0f0a;
}

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

.btn-register:hover {
    background: linear-gradient(135deg, #8D6E63, #6D4C41);
    box-shadow: 0 0 15px rgba(109, 76, 65, 0.5);
    color: #FFF8E1;
}

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

.btn-demo:hover {
    background: #2E7D32;
    color: #FFF8E1;
}

/* === NAVIGATION === */
.main-navigation {
    background: #1a0f0a;
    border-top: 1px solid rgba(109, 76, 65, 0.3);
}

.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: #FFF8E1;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #FFD700;
    background: rgba(109, 76, 65, 0.15);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

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

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

/* === NOTIFICATION BAR === */
.notification-bar {
    background: linear-gradient(90deg, rgba(109, 76, 65, 0.2), rgba(255, 215, 0, 0.1), rgba(109, 76, 65, 0.2));
    overflow: hidden;
    padding: 8px 0;
    border-top: 1px solid rgba(109, 76, 65, 0.3);
}

.notification-content {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    animation: notificationScroll 30s linear infinite;
    color: #FFD700;
    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, #2d1a10 0%, #1a0f0a 100%);
    border: 2px solid;
    border-image: linear-gradient(90deg, #6D4C41, #FFD700, #6D4C41) 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: #FFD700;
    font-size: 28px;
    cursor: pointer;
}

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

.announcement-header-icon i {
    font-size: 48px;
    color: #FFD700;
    animation: horseGallop 2s 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(109, 76, 65, 0.15);
    border: 1px solid rgba(109, 76, 65, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.announcement-item:hover {
    background: rgba(109, 76, 65, 0.25);
    border-color: #6D4C41;
    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: #c62828;
    color: #fff;
}

.announcement-badge.new {
    background: #2E7D32;
    color: #FFF8E1;
}

.announcement-badge.info {
    background: #6D4C41;
    color: #FFF8E1;
}

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

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

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

.announcement-cta {
    display: inline-block;
    padding: 12px 40px;
    background: linear-gradient(135deg, #6D4C41, #8D6E63);
    color: #FFF8E1;
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    animation: derbyPulse 2s ease infinite;
}

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

/* === HERO SECTION - Horse Racing Track === */
.derbywin-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, #2d1a10 0%, #1a0f0a 70%);
    border-radius: 15px;
    margin: 20px 0;
    overflow: hidden;
    border: 1px solid rgba(109, 76, 65, 0.3);
}

/* Track Oval Lines */
.track-oval-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.track-line {
    position: absolute;
    width: 100%;
    height: 3px;
    opacity: 0.5;
    animation: trackLineMove 6s linear infinite;
}

.track-line.track-line-1 {
    top: 15%;
    background: linear-gradient(90deg, transparent, #6D4C41, transparent);
    animation-delay: 0s;
}

.track-line.track-line-2 {
    top: 30%;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    animation-delay: 1s;
}

.track-line.track-line-3 {
    top: 50%;
    background: linear-gradient(90deg, transparent, #2E7D32, transparent);
    animation-delay: 2s;
}

.track-line.track-line-4 {
    top: 70%;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    animation-delay: 3s;
}

.track-line.track-line-5 {
    top: 85%;
    background: linear-gradient(90deg, transparent, #6D4C41, transparent);
    animation-delay: 4s;
}

/* Horseshoe Decoration */
.horseshoe-decoration {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 180px;
    height: 180px;
    animation: horseshoeSpin 20s linear infinite;
}

.horseshoe-inner {
    width: 100%;
    height: 100%;
    border: 12px solid #FFD700;
    border-radius: 50%;
    border-bottom-color: transparent;
    position: relative;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3), inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.horseshoe-inner::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 20%;
    width: 15px;
    height: 15px;
    background: #FFD700;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.horseshoe-inner::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 20%;
    width: 15px;
    height: 15px;
    background: #FFD700;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* 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: 'Playfair Display', serif;
    font-size: 56px;
    letter-spacing: 8px;
    background: linear-gradient(90deg, #6D4C41, #FFD700, #6D4C41);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: trackLineMove 8s ease infinite;
    text-shadow: none;
}

.hero-divider-line {
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #6D4C41, #FFD700, #2E7D32);
    margin: 15px 0;
    border-radius: 2px;
}

.hero-tagline {
    display: block;
    font-size: 22px;
    letter-spacing: 4px;
    color: #FFD700;
    font-family: 'Playfair Display', serif;
}

.hero-description {
    color: #d4c5b0;
    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: 'Playfair Display', serif;
    font-size: 28px;
    color: #FFD700;
    animation: counterGlow 3s ease infinite;
}

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

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

.btn-gold-primary {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a0f0a;
    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-gold-primary:hover {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    color: #1a0f0a;
}

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

.btn-outline-gold:hover {
    background: #FFD700;
    color: #1a0f0a;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

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

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

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

/* === DERBY FEATURED GAMES (6 cards) === */
.derby-featured-games {
    padding: 60px 0;
}

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

.derby-game-card {
    position: relative;
    display: block;
    background: linear-gradient(135deg, #2d1a10, #1a0f0a);
    border: 1px solid rgba(109, 76, 65, 0.3);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    overflow: hidden;
}

.derby-game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6D4C41, #FFD700, #2E7D32);
}

.derby-game-card:hover {
    border-color: #FFD700;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(109, 76, 65, 0.3);
}

.derby-game-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

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

.derby-game-icon i {
    font-size: 40px;
    color: #FFD700;
    animation: horseGallop 3s ease infinite;
}

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

.derby-game-rating i {
    color: #FFD700;
    font-size: 12px;
}

.derby-game-card h3 {
    color: #FFF8E1;
    font-size: 18px;
    margin-bottom: 10px;
}

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

.derby-game-players {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(109, 76, 65, 0.25);
    border-radius: 20px;
    font-size: 11px;
    color: #FFD700;
}

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

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

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

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

.derby-grid-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    background: linear-gradient(135deg, #2d1a10, #1a0f0a);
    border: 1px solid rgba(109, 76, 65, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
}

.derby-grid-node:hover {
    border-color: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.15);
}

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

.derby-node-icon i {
    font-size: 28px;
    background: linear-gradient(135deg, #6D4C41, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* === JOCKEY FEATURES === */
.jockey-features {
    padding: 60px 0;
}

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

.jockey-feature-card {
    background: linear-gradient(135deg, #2d1a10, #1a0f0a);
    border: 1px solid rgba(109, 76, 65, 0.3);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.jockey-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #6D4C41, #FFD700, #2E7D32);
    background-size: 200% 100%;
    animation: trackLineMove 6s ease infinite;
}

.jockey-feature-card:hover {
    transform: translateY(-5px);
    border-color: #FFD700;
    box-shadow: 0 10px 30px rgba(109, 76, 65, 0.2);
}

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

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

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

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

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

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

.track-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(109, 76, 65, 0.05), rgba(255, 215, 0, 0.03));
    pointer-events: none;
}

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

.derby-stat-card {
    background: linear-gradient(135deg, #2d1a10, #1a0f0a);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.derby-stat-card:hover {
    border-color: #FFD700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
    transform: translateY(-3px);
}

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

.stat-derby-decoration i {
    font-size: 20px;
    color: #6D4C41;
    animation: horseGallop 2s ease infinite;
}

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

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #FFD700;
    animation: counterGlow 3s ease infinite;
    margin-bottom: 5px;
}

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

/* === DERBY PROMOTIONS === */
.derby-promos {
    padding: 60px 0;
}

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

.derby-promo-card {
    position: relative;
    background: linear-gradient(135deg, #2d1a10, #1a0f0a);
    border: 1px solid rgba(109, 76, 65, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.derby-promo-card:hover {
    border-color: #FFD700;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(109, 76, 65, 0.3);
}

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

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

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

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

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

.derby-promo-inner p {
    color: #c4a882;
    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: #a08060;
}

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

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

.promo-badge.new {
    background: #2E7D32;
    color: #FFF8E1;
}

.promo-badge.vip {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a0f0a;
}

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

.btn-promo:hover {
    background: linear-gradient(135deg, #8D6E63, #6D4C41);
    box-shadow: 0 0 15px rgba(109, 76, 65, 0.5);
    color: #FFF8E1;
    transform: scale(1.05);
}

/* === DERBY SLIDER SECTION === */
.derby-slider-section {
    padding: 60px 0;
}

.derby-slider {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(109, 76, 65, 0.3);
}

.derby-slider .swiper-slide {
    position: relative;
    height: 400px;
}

.derby-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    background: linear-gradient(transparent, rgba(26, 15, 10, 0.9));
    text-align: center;
}

.slide-overlay h3 {
    color: #FFD700;
    font-size: 24px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.derby-slider .swiper-pagination-bullet {
    background: #FFD700;
    opacity: 0.5;
}

.derby-slider .swiper-pagination-bullet-active {
    opacity: 1;
}

.derby-slider .swiper-button-next,
.derby-slider .swiper-button-prev {
    color: #FFD700;
}

/* === FOOTER CTA SECTION === */
.footer-cta-section {
    position: relative;
    padding: 80px 0;
    margin: 40px 0;
    background: linear-gradient(135deg, #2d1a10, #1a0f0a);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(109, 76, 65, 0.3);
}

.footer-cta-derbyfield {
    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-derby-decoration {
    margin-bottom: 20px;
}

.cta-derby-horseshoe {
    display: inline-block;
    width: 60px;
    height: 60px;
    border: 8px solid #FFD700;
    border-radius: 50%;
    border-bottom-color: transparent;
    animation: horseshoeSpin 8s linear infinite;
}

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

.footer-cta-inner p {
    color: #d4c5b0;
    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: #FFF8E1;
    font-size: 14px;
}

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

.cta-main-btn {
    padding: 16px 50px;
    font-size: 18px;
    animation: derbyPulse 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, #2d1a10, #1a0f0a);
    border: 1px solid rgba(109, 76, 65, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-card:hover {
    border-color: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(109, 76, 65, 0.2);
}

.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: #FFF8E1;
    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: #a08060;
    margin-bottom: 8px;
}

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

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

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

.article-card-more:hover {
    background: #FFD700;
    color: #1a0f0a;
}

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

.view-more-btn:hover {
    background: #FFD700;
    color: #1a0f0a;
}

.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, #6D4C41, #8D6E63);
    color: #FFF8E1;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

.sidebar-label {
    display: none;
}

/* === FOOTER === */
.site-footer {
    background: linear-gradient(180deg, #1a0f0a 0%, #0d0705 100%);
    border-top: 2px solid;
    border-image: linear-gradient(90deg, #6D4C41, #FFD700, #2E7D32) 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(109, 76, 65, 0.5));
}

.footer-brand-text {
    color: #c4a882;
    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: #6D4C41;
    color: #FFF8E1;
    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(109, 76, 65, 0.25);
    color: #FFD700;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background: #6D4C41;
    color: #FFF8E1;
    transform: scale(1.1);
}

.footer-col h4 {
    color: #FFD700;
    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: #c4a882;
    font-size: 13px;
    transition: all 0.3s ease;
}

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

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

.footer-license-bar h4 {
    color: #FFD700;
    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(109, 76, 65, 0.15);
    border: 1px solid rgba(109, 76, 65, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.license-item:hover {
    border-color: #FFD700;
    background: rgba(109, 76, 65, 0.25);
}

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

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

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

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

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

.breadcrumb a {
    color: #FFD700;
}

.breadcrumb a:hover {
    color: #6D4C41;
}

.breadcrumb span {
    color: #6D4C41;
}

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

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

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

.category-desc {
    color: #c4a882;
    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(109, 76, 65, 0.15);
    border: 1px solid rgba(109, 76, 65, 0.3);
    border-radius: 20px;
    color: #FFF8E1;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.provider-tab:hover,
.provider-tab.active {
    background: linear-gradient(135deg, #6D4C41, #8D6E63);
    border-color: #FFD700;
    color: #FFF8E1;
}

/* === 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, #2d1a10, #1a0f0a);
    border: 1px solid rgba(109, 76, 65, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

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

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

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

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

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

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

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

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

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

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

.article-content a {
    color: #2E7D32;
    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 #6D4C41;
    padding: 15px 20px;
    background: rgba(109, 76, 65, 0.08);
    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(109, 76, 65, 0.3);
    margin-top: 20px;
}

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

.article-tags span {
    padding: 5px 12px;
    background: rgba(109, 76, 65, 0.15);
    border-radius: 15px;
    font-size: 12px;
    color: #FFF8E1;
}

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

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

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

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

/* === 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, #2d1a10, #1a0f0a);
    border: 1px solid rgba(109, 76, 65, 0.3);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-item:hover {
    border-color: #FFD700;
    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: #FFF8E1;
    line-height: 1.4;
}

/* === PAGE === */
.page-article {
    background: linear-gradient(135deg, #2d1a10, #1a0f0a);
    border: 1px solid rgba(109, 76, 65, 0.3);
    border-radius: 15px;
    padding: 30px;
}

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

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

.page-content {
    color: #d4c5b0;
    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(109, 76, 65, 0.15);
    border: 1px solid rgba(109, 76, 65, 0.3);
    color: #FFF8E1;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: linear-gradient(135deg, #6D4C41, #8D6E63);
    border-color: #FFD700;
    color: #FFF8E1;
}

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

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

.error-derby-horseshoe {
    display: inline-block;
    width: 80px;
    height: 80px;
    border: 10px solid #FFD700;
    border-radius: 50%;
    border-bottom-color: transparent;
    animation: horseshoeSpin 5s linear infinite;
}

.error-code {
    font-size: 100px;
    background: linear-gradient(135deg, #6D4C41, #FFD700, #2E7D32);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

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

.error-desc {
    color: #c4a882;
    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: #c4a882;
}

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

/* === SEARCH === */
.search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.search-form input[type="text"],
.search-form input[type="search"] {
    flex: 1;
    padding: 12px 20px;
    background: rgba(109, 76, 65, 0.15);
    border: 1px solid rgba(109, 76, 65, 0.3);
    border-radius: 25px;
    color: #FFF8E1;
    font-size: 14px;
    outline: none;
}

.search-form input:focus {
    border-color: #FFD700;
}

.search-form button {
    padding: 12px 25px;
    background: linear-gradient(135deg, #6D4C41, #8D6E63);
    color: #FFF8E1;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a0f0a;
}

/* === UTILITY CLASSES === */
.text-gold { color: #FFD700; }
.text-brown { color: #6D4C41; }
.text-green { color: #2E7D32; }
.text-cream { color: #FFF8E1; }
.bg-brown { background: #6D4C41; }
.bg-gold { background: #FFD700; }
.bg-green { background: #2E7D32; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.p-10 { padding: 10px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a0f0a;
}

::-webkit-scrollbar-thumb {
    background: #6D4C41;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFD700;
}

/* === SELECTION === */
::selection {
    background: rgba(255, 215, 0, 0.3);
    color: #FFF8E1;
}

::-moz-selection {
    background: rgba(255, 215, 0, 0.3);
    color: #FFF8E1;
}
