/* ============================================
   SWIPEBET THEME - main.css (moban-119)
   Mobile Swipe Gestures, Card UI Theme
   Colors: #1976D2 (Blue), #FFFFFF (White), #43A047 (Green)
   Fonts: Poppins, Inter
   ============================================ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

body {
    font-family: 'Inter', sans-serif;
    background: #F5F7FA;
    color: #333333;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: #1A237E;
}

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

a:hover {
    color: #43A047;
}

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

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

.accent-text {
    color: #1976D2;
    background: linear-gradient(90deg, #1976D2, #43A047, #1976D2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* 1. swipeLeft - horizontal swipe gesture animation */
@keyframes swipeLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    30% {
        transform: translateX(-15px);
        opacity: 0.9;
    }
    60% {
        transform: translateX(-8px);
        opacity: 0.95;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 2. cardSlide - card sliding in from bottom */
@keyframes cardSlide {
    0% {
        transform: translateY(60px) scale(0.95);
        opacity: 0;
    }
    40% {
        transform: translateY(-5px) scale(1.01);
        opacity: 0.8;
    }
    70% {
        transform: translateY(3px) scale(0.99);
        opacity: 0.95;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* 3. touchRipple - touch/click ripple effect */
@keyframes touchRipple {
    0% {
        transform: scale(0);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.3;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* 4. snapBack - elastic snap-back after swipe */
@keyframes snapBack {
    0% {
        transform: translateX(-20px) rotate(-2deg);
    }
    30% {
        transform: translateX(8px) rotate(1deg);
    }
    60% {
        transform: translateX(-3px) rotate(-0.5deg);
    }
    100% {
        transform: translateX(0) rotate(0deg);
    }
}

/* Additional utility animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* === HEADER === */
.site-header {
    background: #FFFFFF;
    box-shadow: 0 2px 20px rgba(25, 118, 210, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #1976D2;
}

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

.logo img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.header-time {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.header-btn-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-login {
    padding: 8px 18px;
    border: 2px solid #1976D2;
    border-radius: 25px;
    color: #1976D2;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-login:hover {
    background: #1976D2;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
}

.btn-register {
    padding: 8px 18px;
    background: linear-gradient(135deg, #1976D2, #43A047);
    border: none;
    border-radius: 25px;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.4);
    color: #FFFFFF;
}

.btn-demo {
    padding: 8px 18px;
    border: 2px solid #43A047;
    border-radius: 25px;
    color: #43A047;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-demo:hover {
    background: #43A047;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(67, 160, 71, 0.3);
}

/* === NAVIGATION === */
.main-navigation {
    background: #1976D2;
    position: relative;
}

.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: #FFFFFF !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #43A047;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 80%;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF !important;
    text-shadow: none;
}

.nav-link i {
    margin-right: 5px;
    font-size: 12px;
}

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

/* === NOTIFICATION BAR === */
.notification-bar {
    background: linear-gradient(90deg, #1976D2, #43A047);
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 0;
}

.notification-content {
    display: flex;
    animation: notificationScroll 25s linear infinite;
    gap: 50px;
}

.notification-content span {
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    flex-shrink: 0;
}

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

/* === ANNOUNCEMENT MODAL === */
.announcement-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.announcement-modal.active {
    display: flex;
}

.announcement-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.announcement-content {
    position: relative;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 35px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 25px 80px rgba(25, 118, 210, 0.3);
    animation: cardSlide 0.5s ease;
    border: 3px solid #1976D2;
}

.announcement-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
    z-index: 5;
}

.announcement-close:hover {
    color: #1976D2;
}

.announcement-header-icon {
    text-align: center;
    margin-bottom: 15px;
    font-size: 40px;
    color: #1976D2;
}

.announcement-title {
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

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

.announcement-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #F5F7FA;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #E8ECF1;
}

.announcement-item:hover {
    background: #E3F2FD;
    transform: translateX(5px);
    animation: swipeLeft 0.5s ease;
}

.announcement-badge {
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    flex-shrink: 0;
}

.announcement-badge.hot {
    background: #FF5252;
    color: #FFFFFF;
}

.announcement-badge.new {
    background: #43A047;
    color: #FFFFFF;
}

.announcement-badge.info {
    background: #1976D2;
    color: #FFFFFF;
}

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

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

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

.announcement-cta {
    display: inline-block;
    padding: 12px 40px;
    background: linear-gradient(135deg, #1976D2, #43A047);
    color: #FFFFFF;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.announcement-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.4);
    color: #FFFFFF;
}

/* === HERO SECTION === */
.swipebet-hero {
    position: relative;
    background: linear-gradient(135deg, #1976D2 0%, #0D47A1 50%, #1565C0 100%);
    border-radius: 20px;
    padding: 60px 40px;
    margin: 25px 0;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hero-swipe-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.swipe-wave {
    position: absolute;
    width: 200%;
    height: 200px;
    border-radius: 50%;
    opacity: 0.1;
}

.swipe-wave.wave-1 {
    background: #43A047;
    top: -50px;
    left: -50%;
    animation: swipeLeft 8s ease-in-out infinite;
}

.swipe-wave.wave-2 {
    background: #FFFFFF;
    bottom: -80px;
    left: -30%;
    animation: swipeLeft 12s ease-in-out infinite reverse;
}

.swipe-wave.wave-3 {
    background: #43A047;
    top: 30%;
    right: -60%;
    animation: swipeLeft 10s ease-in-out infinite;
    animation-delay: 2s;
}

.hero-inner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

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

.hero-brand {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-divider-line {
    display: block;
    width: 80px;
    height: 4px;
    background: #43A047;
    margin: 15px auto;
    border-radius: 2px;
}

.hero-tagline {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #43A047;
    letter-spacing: 2px;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto 25px;
    line-height: 1.8;
}

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

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

.hero-stat-number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #43A047;
}

.hero-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

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

.btn-primary-solid {
    display: inline-block;
    padding: 14px 35px;
    background: #43A047;
    color: #FFFFFF;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    border: 2px solid #43A047;
}

.btn-primary-solid:hover {
    background: #388E3C;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(67, 160, 71, 0.4);
    color: #FFFFFF;
}

.btn-outline-primary {
    display: inline-block;
    padding: 14px 35px;
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-outline-primary:hover {
    background: #FFFFFF;
    color: #1976D2;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* === SWIPE GAME CARDS === */
.swipe-game-cards {
    padding: 40px 0;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.section-title i {
    margin-right: 8px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 15px;
    margin-bottom: 35px;
}

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

.swipe-game-card {
    position: relative;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.08);
    overflow: hidden;
    border: 1px solid #E8ECF1;
    animation: cardSlide 0.6s ease both;
}

.swipe-game-card:nth-child(1) { animation-delay: 0.1s; }
.swipe-game-card:nth-child(2) { animation-delay: 0.2s; }
.swipe-game-card:nth-child(3) { animation-delay: 0.3s; }
.swipe-game-card:nth-child(4) { animation-delay: 0.4s; }
.swipe-game-card:nth-child(5) { animation-delay: 0.5s; }
.swipe-game-card:nth-child(6) { animation-delay: 0.6s; }

.swipe-game-card-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(25, 118, 210, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
}

.swipe-game-card:hover .swipe-game-card-ripple {
    width: 300px;
    height: 300px;
    animation: touchRipple 0.8s ease;
}

.swipe-game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(25, 118, 210, 0.15);
    border-color: #1976D2;
}

.swipe-game-icon {
    font-size: 40px;
    color: #1976D2;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.swipe-game-card:hover .swipe-game-icon {
    transform: scale(1.15);
    color: #43A047;
}

.swipe-game-rating {
    margin-bottom: 10px;
    color: #FFC107;
    font-size: 12px;
}

.swipe-game-rating i {
    margin: 0 1px;
}

.swipe-game-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1A237E;
    margin-bottom: 8px;
}

.swipe-game-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.swipe-game-players {
    display: inline-block;
    font-size: 12px;
    color: #43A047;
    font-weight: 600;
    background: rgba(67, 160, 71, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

/* === SWIPE BANNER SLIDER === */
.swipe-banner-section {
    padding: 40px 0;
}

.swipe-banner-swiper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(25, 118, 210, 0.1);
}

.swipe-banner-swiper .swiper-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.swipe-banner-swiper .swiper-pagination-bullet-active {
    background: #1976D2;
}

.swipe-banner-swiper .swiper-button-next,
.swipe-banner-swiper .swiper-button-prev {
    color: #FFFFFF;
    background: rgba(25, 118, 210, 0.6);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.swipe-banner-swiper .swiper-button-next::after,
.swipe-banner-swiper .swiper-button-prev::after {
    font-size: 16px;
}

/* === FEATURES SECTION === */
.swipe-features {
    padding: 40px 0;
}

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

.feature-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.08);
    border: 1px solid #E8ECF1;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(25, 118, 210, 0.15);
    border-color: #43A047;
}

.feature-icon {
    font-size: 36px;
    color: #1976D2;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    color: #43A047;
    transform: scale(1.15);
}

.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1A237E;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* === STATS SECTION === */
.swipe-stats {
    padding: 40px 0;
}

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

.stat-card {
    background: linear-gradient(135deg, #1976D2, #1565C0);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    color: #FFFFFF;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(25, 118, 210, 0.3);
}

.stat-icon {
    font-size: 30px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    display: inline;
}

.stat-suffix {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

/* === PROMO CARDS === */
.swipe-promos {
    padding: 40px 0;
}

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

.promo-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 30px 25px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.08);
    border-left: 4px solid #1976D2;
    overflow: hidden;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(25, 118, 210, 0.15);
}

.promo-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 12px;
}

.promo-badge.hot {
    background: #FF5252;
    color: #FFFFFF;
}

.promo-badge.new {
    background: #43A047;
    color: #FFFFFF;
}

.promo-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1A237E;
    margin-bottom: 10px;
}

.promo-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #1976D2;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.promo-cta:hover {
    color: #43A047;
    gap: 10px;
}

/* === SWIPE CARD (shared touch-ripple effect) === */
.swipe-card {
    position: relative;
    overflow: hidden;
}

.swipe-card::before {
    content: '';
    position: absolute;
    top: var(--ripple-y, 50%);
    left: var(--ripple-x, 50%);
    width: 0;
    height: 0;
    background: rgba(25, 118, 210, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.swipe-card.ripple-active::before {
    animation: touchRipple 0.6s ease forwards;
}

.swipe-card.swiped {
    animation: snapBack 0.4s ease;
}

/* === LATEST ARTICLES SECTION === */
.swipe-latest-articles {
    padding: 40px 0;
}

/* === BREADCRUMB === */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 18px 0;
    font-size: 13px;
    color: #888;
    border-bottom: 1px solid #E8ECF1;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #1976D2;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #43A047;
}

.breadcrumb span {
    color: #888;
}

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

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

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

.article-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.08);
    border: 1px solid #E8ECF1;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(25, 118, 210, 0.15);
    border-color: #1976D2;
}

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

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

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

.article-card-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.article-card-title {
    padding: 15px 18px 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.article-card-title a {
    color: #1A237E;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-title a:hover {
    color: #1976D2;
}

.article-card-meta {
    padding: 0 18px;
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #888;
}

.article-card-meta i {
    margin-right: 4px;
    color: #1976D2;
}

.article-card-excerpt {
    padding: 10px 18px;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 12px 18px;
    color: #1976D2;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.article-card-more:hover {
    color: #43A047;
    gap: 10px;
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
    color: #888;
    font-size: 16px;
}

/* === CATEGORY PAGE === */
.category-header {
    background: linear-gradient(135deg, #1976D2, #0D47A1);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    text-align: center;
}

.category-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
    background: none;
    -webkit-text-fill-color: #FFFFFF;
}

.category-title i {
    margin-right: 8px;
}

.category-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    font-size: 14px;
}

/* === PROVIDER TABS === */
.provider-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    padding: 15px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(25, 118, 210, 0.05);
}

.provider-tab {
    padding: 8px 18px;
    border: 2px solid #E8ECF1;
    border-radius: 25px;
    background: transparent;
    color: #555;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.provider-tab:hover {
    border-color: #1976D2;
    color: #1976D2;
}

.provider-tab.active {
    background: #1976D2;
    color: #FFFFFF;
    border-color: #1976D2;
}

/* === SINGLE ARTICLE === */
.single-article {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.08);
    margin-bottom: 25px;
}

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

.article-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1A237E;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #888;
    padding-bottom: 15px;
    border-bottom: 1px solid #E8ECF1;
}

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

.article-meta a {
    color: #1976D2;
}

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

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

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

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

.article-content h2 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: #1A237E;
}

.article-content h3 {
    font-size: 18px;
    margin: 25px 0 12px;
    color: #1A237E;
}

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

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

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

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

.article-content blockquote {
    border-left: 4px solid #1976D2;
    padding: 15px 20px;
    margin: 20px 0;
    background: #F5F7FA;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #555;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid #E8ECF1;
}

.article-tags i {
    color: #1976D2;
}

.article-tags span {
    display: inline-block;
    padding: 4px 12px;
    background: #E3F2FD;
    color: #1976D2;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.article-tags span:hover {
    background: #1976D2;
    color: #FFFFFF;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid #E8ECF1;
    margin-top: 20px;
}

.article-nav a {
    color: #1976D2;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

/* === RELATED POSTS === */
.related-posts {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.08);
    margin-bottom: 25px;
}

.related-posts-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #E8ECF1;
}

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

.related-item {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background: #F5F7FA;
}

.related-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.12);
}

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

.related-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-item:hover .related-item-thumb img {
    transform: scale(1.08);
}

.related-item-title {
    padding: 10px 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #1A237E;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

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

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #FFFFFF;
    color: #1976D2;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid #E8ECF1;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover {
    background: #1976D2;
    color: #FFFFFF;
    border-color: #1976D2;
}

.pagination .page-numbers.current {
    background: #1976D2;
    color: #FFFFFF;
    border-color: #1976D2;
}

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

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #1976D2;
    color: #FFFFFF;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
}

.sidebar-btn:hover {
    transform: scale(1.1);
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.4);
}

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

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

.sidebar-label {
    display: none;
}

.sidebar-btn[data-tooltip]:hover::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 55px;
    background: #333;
    color: #FFFFFF;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
}

/* === FOOTER === */
.site-footer {
    background: #0D1B2A;
    color: #B0BEC5;
    padding: 50px 0 0;
    margin-top: 40px;
}

.footer-columns-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 35px;
}

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

.footer-brand-logo img {
    height: 40px;
}

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

.footer-18plus {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #FF5252;
    color: #FFFFFF;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    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: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background: #1976D2;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #1976D2;
    border-radius: 2px;
}

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

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

.footer-col ul li a {
    color: #8899AA;
    font-size: 13px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-col ul li a::before {
    content: '›';
    color: #1976D2;
    font-weight: 700;
}

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

/* === LICENSE BAR === */
.footer-license-bar {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-license-bar h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.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: 12px 18px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    min-width: 80px;
}

.license-item:hover {
    background: rgba(25, 118, 210, 0.2);
    transform: translateY(-3px);
}

.license-item i {
    font-size: 22px;
    color: #1976D2;
}

.license-item span {
    font-size: 11px;
    color: #8899AA;
    font-weight: 600;
}

/* === FOOTER BOTTOM === */
.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copyright {
    font-size: 13px;
    color: #8899AA;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

/* === ERROR PAGE === */
.error-page {
    text-align: center;
    padding: 80px 20px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.08);
    margin: 40px auto;
    max-width: 600px;
}

.error-icon {
    font-size: 60px;
    color: #1976D2;
    margin-bottom: 20px;
    animation: pulse 2s ease infinite;
}

.error-code {
    font-family: 'Poppins', sans-serif;
    font-size: 80px;
    font-weight: 700;
    color: #1976D2;
    line-height: 1;
    margin-bottom: 15px;
}

.error-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #1A237E;
    margin-bottom: 15px;
}

.error-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* === SCROLL-TRIGGERED CARD ANIMATION === */
.article-card,
.feature-card,
.promo-card,
.stat-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.article-card.visible,
.feature-card.visible,
.promo-card.visible,
.stat-card.visible {
    opacity: 1;
    transform: translateY(0);
}
