/* ============================================================
   SPINMASTER WordPress Theme - Main Stylesheet (main.css)
   Rainbow Gradient + Dark Theme
   ============================================================ */

/* ============================================================
   Section 1: Reset & Base Styles
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    background: #111;
    color: #ffffff;
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a {
    color: #FF6B6B;
    text-decoration: none;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
a:hover {
    color: #4ECDC4;
}
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: #ffffff; }
p { margin-bottom: 10px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
::selection { background: #FF6B6B; color: #000; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #FF6B6B; }

/* ============================================================
   Section 2: Header
   ============================================================ */
.site-header {
    width: 100%;
    background: #0a0a0a;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid #333;
}
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.logo a { display: inline-flex; align-items: center; }
.logo img { max-height: 50px; width: auto; }
.header-time {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    background: rgba(255, 107, 107, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 107, 0.2);
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}
.header-btn-group { display: flex; align-items: center; gap: 10px; }
.btn-login, .btn-register, .btn-demo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    letter-spacing: 0.3px;
}
.btn-login {
    background: transparent;
    color: #FF6B6B;
    border: 1.5px solid #FF6B6B;
}
.btn-login:hover {
    background: #FF6B6B;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.3);
}
.btn-register {
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    color: #000;
    font-weight: 700;
    border: none;
}
.btn-register:hover {
    background: linear-gradient(135deg, #4ECDC4, #45B7D1);
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
    transform: translateY(-1px);
    color: #000;
}
.btn-demo {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid #ffffff;
}
.btn-demo:hover {
    background: #ffffff;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* ============================================================
   Section 3: Navigation
   ============================================================ */
.main-navigation {
    background: #0d0d0d;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    position: relative;
}
.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-item { position: relative; }
.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}
.nav-link:hover {
    color: #FF6B6B;
    background: rgba(255, 107, 107, 0.08);
}
.nav-icon { margin-right: 6px; font-size: 14px; color: #FF6B6B; }
.nav-item.has-dropdown .nav-link::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 6px;
    font-size: 10px;
    transition: transform 0.3s;
}
.nav-dropdown, .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    min-width: 200px;
    border: 1px solid #333;
    border-top: 2px solid #FF6B6B;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    list-style: none;
    padding: 0;
}
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:hover .sub-menu,
.nav-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown li a, .sub-menu li a {
    display: block;
    padding: 10px 18px;
    color: #ccc;
    font-size: 13px;
    border-bottom: 1px solid rgba(51,51,51,0.5);
    transition: all 0.3s;
}
.nav-dropdown li a:hover, .sub-menu li a:hover {
    color: #FF6B6B;
    background: rgba(255, 107, 107, 0.05);
    padding-left: 22px;
}
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid #333;
    color: #FF6B6B;
    font-size: 20px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}
.mobile-menu-toggle:hover { background: rgba(255, 107, 107, 0.1); }

/* Notification Bar */
.notification-bar {
    background: linear-gradient(90deg, #0d0d0d, #1a1a1a);
    border-top: 1px solid #333;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
}
.notification-content {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: scroll-notification 30s linear infinite;
    color: #ccc;
    font-size: 13px;
}
.notification-content span { flex-shrink: 0; color: #ddd; }
@keyframes scroll-notification {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================================
   Section 4: Spin Wheel Hero
   ============================================================ */
.spin-wheel-hero {
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(255,107,107,0.05) 0%, transparent 70%);
}
.spin-wheel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.spin-wheel {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 6px solid #fff;
    margin: 0 auto;
    background: conic-gradient(#FF6B6B 0deg 45deg, #4ECDC4 45deg 90deg, #45B7D1 90deg 135deg, #96CEB4 135deg 180deg, #FFEAA7 180deg 225deg, #DDA0DD 225deg 270deg, #FF8A80 270deg 315deg, #82B1FF 315deg 360deg);
    animation: wheel-spin 8s linear infinite;
    position: relative;
    box-shadow: 0 0 40px rgba(255,107,107,0.3), 0 0 80px rgba(78,205,196,0.15);
}
@keyframes wheel-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.spin-wheel::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    z-index: 2;
}
.spin-wheel-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 20px solid #fff;
    z-index: 3;
}
.spin-wheel-text h1 {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4, #45B7D1, #FFEAA7, #DDA0DD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    margin-bottom: 10px;
}
.spin-wheel-text p {
    color: #aaa;
    font-size: 18px;
    margin-bottom: 20px;
}
.spin-cta {
    padding: 14px 50px !important;
    font-size: 18px !important;
    letter-spacing: 2px;
    animation: ctaPulse 2s ease-in-out infinite;
}
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(255, 107, 107, 0); }
}

/* ============================================================
   Section 5: Hero / Banner Slider
   ============================================================ */
.hero-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #333;
}
.hero-slider .swiper-wrapper { width: 100%; }
.hero-slider .swiper-slide { width: 100%; }
.hero-slider .swiper-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}
.hero-slider .swiper-pagination-bullet {
    background: rgba(255, 107, 107, 0.5);
    opacity: 1;
    width: 10px;
    height: 10px;
}
.hero-slider .swiper-pagination-bullet-active {
    background: #FF6B6B;
    width: 28px;
    border-radius: 5px;
}
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: #FF6B6B;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s;
}
.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}
.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: rgba(255, 107, 107, 0.3);
}
.hero-slider::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(17,17,17,0) 60%, rgba(17,17,17,0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

/* ============================================================
   Section 6: Section Header (Shared)
   ============================================================ */
.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}
.section-title i {
    margin-right: 10px;
    font-size: 20px;
    color: #FF6B6B;
}
.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 22px;
    background: linear-gradient(180deg, #FF6B6B, #4ECDC4, #45B7D1);
    margin-right: 12px;
    border-radius: 2px;
}

/* ============================================================
   Section 7: Rainbow Border Categories
   ============================================================ */
.rainbow-categories-section { padding: 30px 0; }
.rainbow-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.rainbow-border {
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}
.rainbow-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4, #45B7D1, #FFEAA7, #DDA0DD);
    z-index: -1;
    border-radius: 12px;
}
.rainbow-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    border-radius: 12px;
    padding: 30px 15px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #ffffff;
}
.rainbow-cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.15);
    color: #ffffff;
}
.rainbow-cat-icon {
    font-size: 40px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s;
}
.rainbow-cat-card:hover .rainbow-cat-icon { transform: scale(1.15) rotate(10deg); }
.rainbow-cat-card h3 { font-size: 16px; margin-bottom: 5px; color: #fff; }
.rainbow-cat-card p { font-size: 13px; color: #888; margin-bottom: 0; }

/* ============================================================
   Section 8: Hot Games Showcase
   ============================================================ */
.hot-games-section { padding: 30px 0; }
.hot-games-swiper { padding-bottom: 40px; }
.hot-games-swiper .swiper-slide { height: auto; }
.game-item {
    display: block;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #1a1a1a;
    border: 1px solid #333;
}
.game-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.15);
}
.game-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}
.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    padding: 30px 8px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    opacity: 0;
    transition: opacity 0.3s;
}
.game-item:hover .game-overlay { opacity: 1; }
.hot-games-swiper .swiper-pagination-bullet { background: rgba(255, 107, 107, 0.4); opacity: 1; }
.hot-games-swiper .swiper-pagination-bullet-active { background: #FF6B6B; }

/* ============================================================
   Section 9: Poster Section
   ============================================================ */
.poster-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 30px 0;
}
.poster-item {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #333;
}
.poster-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: #FF6B6B;
}
.poster-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ============================================================
   Section 10: Home News Section
   ============================================================ */
.home-news-section { padding: 30px 0; }
.home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}
.home-news-grid .article-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.3s;
}
.home-news-grid .article-card:hover {
    border-color: #FF6B6B;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    color: inherit;
}
.home-news-grid .article-card-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s;
}
.home-news-grid .article-card:hover .article-card-thumb img { transform: scale(1.05); }
.home-news-grid .article-card-title {
    padding: 14px 16px 6px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    transition: color 0.3s;
}
.home-news-grid .article-card:hover .article-card-title { color: #FF6B6B; }
.home-news-grid .article-card-meta { padding: 0 16px; font-size: 12px; color: #888; }
.home-news-grid .article-card-meta i { margin-right: 4px; color: #666; }
.home-news-grid .article-card-excerpt { padding: 8px 16px 18px; font-size: 13px; color: #aaa; line-height: 1.5; }
.home-news-placeholder { display: contents; }
.view-more-btn {
    display: block;
    text-align: center;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #FF6B6B;
    color: #FF6B6B;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    max-width: 200px;
    margin: 0 auto;
    letter-spacing: 1px;
}
.view-more-btn:hover {
    background: #FF6B6B;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}
.view-more-btn i { margin-left: 6px; font-size: 12px; }

/* ============================================================
   Section 11: Download Section
   ============================================================ */
.download-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #111 50%, #0a0a0a 100%);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}
.download-section::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4, #45B7D1, #FFEAA7, #DDA0DD);
    z-index: -1;
    opacity: 0.15;
}
.download-section h2 {
    font-size: 26px;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.download-section p {
    color: #aaa;
    font-size: 15px;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.download-buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    color: #000;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}
.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    color: #000;
}
.download-btn i { font-size: 20px; }

/* ============================================================
   Section 12: Breadcrumb
   ============================================================ */
.breadcrumb {
    padding: 15px 0;
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.breadcrumb a { color: #FF6B6B; transition: color 0.3s; }
.breadcrumb a:hover { color: #4ECDC4; }
.breadcrumb span { margin: 0 4px; color: #555; }

/* ============================================================
   Section 13: Category Page
   ============================================================ */
.category-header { padding: 20px 0; border-bottom: 1px solid #333; margin-bottom: 10px; }
.category-title {
    font-size: 28px;
    color: #FF6B6B;
    display: flex;
    align-items: center;
    gap: 10px;
}
.category-title i { font-size: 26px; }
.category-desc { color: #aaa; font-size: 14px; margin-top: 10px; margin-bottom: 0; line-height: 1.6; }
.provider-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 0;
    border-bottom: 1px solid #333;
    margin-bottom: 10px;
}
.provider-tab {
    padding: 8px 16px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 20px;
    color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-family: inherit;
}
.provider-tab:hover {
    background: rgba(255, 107, 107, 0.1);
    border-color: #FF6B6B;
    color: #FF6B6B;
}
.provider-tab.active {
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    color: #000;
    border-color: #FF6B6B;
    font-weight: 600;
}
.content-area { display: flex; gap: 30px; padding: 30px 0; }
.content-area .main-content { flex: 1; min-width: 0; }
.sidebar-area { width: 300px; flex-shrink: 0; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.3s ease;
}
.article-card:hover {
    border-color: #FF6B6B;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.article-card-thumb { overflow: hidden; }
.article-card-thumb img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.4s;
}
.article-card:hover .article-card-thumb img { transform: scale(1.05); }
.article-card-thumb a { display: block; }
.article-card-title { padding: 12px 15px 5px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.article-card-title a { color: #ffffff; transition: color 0.3s; }
.article-card-title a:hover { color: #FF6B6B; }
.article-card-meta { padding: 0 15px; font-size: 12px; color: #888; display: flex; flex-wrap: wrap; gap: 15px; }
.article-card-meta i { margin-right: 4px; color: #666; }
.article-card-meta a { color: #FF6B6B; }
.article-card-excerpt { padding: 8px 15px 15px; font-size: 13px; color: #aaa; line-height: 1.5; }
.article-card-more {
    display: inline-block;
    padding: 0 15px 15px;
    color: #FF6B6B;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s;
}
.article-card-more:hover { color: #4ECDC4; }
.article-card-more i { margin-left: 4px; font-size: 11px; transition: transform 0.3s; }
.article-card-more:hover i { transform: translateX(3px); }

/* Pagination */
.pagination { padding: 30px 0; text-align: center; }
.pagination .nav-links { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.nav-links a, .nav-links .current, .nav-links span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
}
.nav-links a { background: #1a1a1a; color: #ffffff; border: 1px solid #333; }
.nav-links a:hover { background: rgba(255, 107, 107, 0.1); border-color: #FF6B6B; color: #FF6B6B; }
.nav-links .current {
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    color: #000;
    font-weight: 700;
    border: none;
}
.no-posts { text-align: center; padding: 60px 20px; color: #888; font-size: 16px; grid-column: 1 / -1; }

/* ============================================================
   Section 14: Single Article Page
   ============================================================ */
.single-article {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid #333;
    margin-bottom: 30px;
}
.article-header { margin-bottom: 20px; }
.article-header h1 { font-size: 28px; font-weight: 700; line-height: 1.4; color: #fff; margin-bottom: 15px; }
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px 0;
    font-size: 13px;
    color: #888;
    border-bottom: 1px solid #333;
}
.article-meta span { display: inline-flex; align-items: center; gap: 5px; }
.article-meta i { color: #666; font-size: 13px; }
.article-meta a { color: #FF6B6B; }
.article-meta a:hover { color: #4ECDC4; }
.article-content { font-size: 16px; line-height: 1.8; color: #ddd; padding: 20px 0; }
.article-content p { margin-bottom: 15px; }
.article-content h2 { color: #FF6B6B; font-size: 22px; margin: 25px 0 15px; }
.article-content h3 { color: #ffffff; font-size: 18px; margin: 20px 0 12px; }
.article-content img { border-radius: 8px; margin: 15px 0; max-width: 100%; height: auto; }
.article-content a { color: #FF6B6B; text-decoration: underline; }
.article-content a:hover { color: #4ECDC4; }
.article-content blockquote {
    border-left: 3px solid #FF6B6B;
    padding: 15px 20px;
    margin: 20px 0;
    background: rgba(255, 107, 107, 0.05);
    border-radius: 0 6px 6px 0;
    color: #ccc;
    font-style: italic;
}
.article-content ul, .article-content ol { padding-left: 25px; margin-bottom: 15px; list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 6px; color: #ccc; }
.article-content table { width: 100%; border-collapse: collapse; margin: 15px 0; }
.article-content table th, .article-content table td { padding: 10px; border: 1px solid #333; color: #ccc; }
.article-content table th { background: #1a1a1a; color: #FF6B6B; }
.article-tags { padding: 20px 0; border-top: 1px solid #333; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.article-tags i { color: #FF6B6B; margin-right: 5px; }
.article-tags span { padding: 4px 12px; background: #0d0d0d; border: 1px solid #333; border-radius: 20px; font-size: 12px; color: #ccc; }
.article-nav { display: flex; justify-content: space-between; padding: 20px 0; border-top: 1px solid #333; gap: 20px; }
.article-nav-prev, .article-nav-next { max-width: 48%; }
.article-nav a { color: #FF6B6B; font-size: 14px; }
.article-nav a:hover { color: #4ECDC4; }

/* Related Posts */
.related-posts { margin-top: 40px; margin-bottom: 30px; }
.related-posts h3, .related-posts-title {
    font-size: 20px;
    color: #FF6B6B;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.related-item {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.3s;
    display: block;
    text-decoration: none;
}
.related-item:hover {
    border-color: #FF6B6B;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.related-item-thumb img { width: 100%; height: 120px; object-fit: cover; }
.related-item-title { padding: 10px; font-size: 13px; font-weight: 500; line-height: 1.4; color: #fff; }

/* ============================================================
   Section 15: Page Styles
   ============================================================ */
.page-article { background: #1a1a1a; border-radius: 8px; padding: 30px; border: 1px solid #333; }
.page-title { font-size: 28px; margin-bottom: 20px; color: #fff; }
.page-content { font-size: 16px; line-height: 1.8; color: #ddd; }
.page-content h2 { color: #FF6B6B; margin: 25px 0 15px; }
.page-content img { border-radius: 8px; margin: 15px 0; }

/* ============================================================
   Section 16: Floating Sidebar
   ============================================================ */
.floating-sidebar {
    position: fixed;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sidebar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #1a1a1a, #222);
    border: 1px solid #333;
    border-radius: 10px;
    color: #FF6B6B;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}
.sidebar-btn:hover {
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    color: #000;
    border-color: #FF6B6B;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}
.sidebar-label {
    font-size: 8px;
    margin-top: 2px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    color: inherit;
    line-height: 1;
}

/* ============================================================
   Section 17: Footer
   ============================================================ */
.site-footer {
    background: #0a0a0a;
    border-top: 1px solid #333;
    margin-top: 30px;
}
.footer-columns-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 30px;
    padding: 40px 0;
    border-bottom: 1px solid #333;
}
.footer-col h4 {
    color: #FF6B6B;
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF6B6B;
    letter-spacing: 0.5px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { padding: 6px 0; border-bottom: 1px solid rgba(51,51,51,0.5); }
.footer-col ul li:last-child { border-bottom: none; }
.footer-col ul li a { color: #aaa; font-size: 13px; transition: all 0.3s; display: inline-block; }
.footer-col ul li a:hover { color: #FF6B6B; padding-left: 5px; }
.footer-brand-logo { margin-bottom: 10px; }
.footer-brand-logo img { max-height: 45px; width: auto; }
.footer-brand-text { color: #888; font-size: 13px; line-height: 1.7; margin: 15px 0; }
.footer-18plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 2px solid #ff4444;
    color: #ff4444;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
}
.footer-social-links { display: flex; gap: 10px; margin-top: 5px; }
.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #ccc;
    font-size: 16px;
    transition: all 0.3s;
    text-decoration: none;
}
.footer-social-links a:hover {
    background: #FF6B6B;
    color: #000;
    border-color: #FF6B6B;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}
.footer-license-bar { padding: 25px 0; text-align: center; border-bottom: 1px solid #333; }
.footer-license-bar h4 { font-size: 14px; color: #FF6B6B; text-transform: uppercase; margin-bottom: 18px; letter-spacing: 1px; }
.footer-license-bar .license-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.license-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    transition: all 0.3s;
    min-width: 100px;
}
.license-item:hover { border-color: #FF6B6B; transform: translateY(-3px); }
.license-item i { font-size: 28px; color: #FF6B6B; }
.license-item span { font-size: 12px; color: #ccc; font-weight: 600; text-transform: uppercase; }
.footer-bottom { border-top: 1px solid #333; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; }
.footer-copyright { color: #666; font-size: 13px; margin-bottom: 0; }
.footer-disclaimer { color: #666; font-size: 12px; margin-top: 8px; }

/* ============================================================
   Section 18: Announcement Modal
   ============================================================ */
.announcement-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.announcement-modal.hidden { display: none; }
.announcement-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
}
.announcement-content {
    position: relative;
    background: linear-gradient(145deg, #1a1a1a 0%, #111 50%, #0a0a0a 100%);
    border: 2px solid #FF6B6B;
    border-radius: 16px;
    padding: 30px 28px;
    max-width: 500px;
    width: 90%;
    z-index: 1;
    animation: modalSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 40px rgba(255, 107, 107, 0.15), 0 20px 60px rgba(0, 0, 0, 0.5);
}
@keyframes modalSlideIn {
    from { transform: translateY(-30px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
.announcement-close {
    position: absolute;
    top: 8px; right: 12px;
    background: none; border: none;
    color: #FF6B6B;
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 2;
    line-height: 1;
    padding: 5px;
}
.announcement-close:hover { transform: rotate(90deg); color: #fff; }
.announcement-header-icon { text-align: center; margin-bottom: 10px; }
.announcement-header-icon i { font-size: 32px; color: #FF6B6B; animation: bullhornBounce 2s ease-in-out infinite; }
@keyframes bullhornBounce {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}
.announcement-title {
    color: #FF6B6B;
    font-size: 17px;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
    letter-spacing: 1px;
    font-weight: 700;
}
.announcement-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.announcement-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 107, 107, 0.04);
    border: 1px solid #333;
    border-radius: 8px;
    color: #ddd;
    font-size: 13px;
    transition: all 0.3s;
    text-decoration: none;
    line-height: 1.4;
}
.announcement-item:hover {
    border-color: #FF6B6B;
    background: rgba(255, 107, 107, 0.1);
    color: #FF6B6B;
    transform: translateX(5px);
}
.announcement-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    background: #333;
    color: #aaa;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}
.announcement-badge.hot { background: #ff4444; color: #fff; }
.announcement-badge.new { background: linear-gradient(135deg, #FF6B6B, #4ECDC4); color: #000; }
.announcement-badge.info { background: #45B7D1; color: #fff; }
.announcement-text { flex: 1; }
.announcement-item i.fa-chevron-right { color: #FF6B6B; font-size: 11px; flex-shrink: 0; }
.announcement-footer { text-align: center; }
.announcement-cta {
    display: inline-block;
    padding: 12px 50px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 8px;
    animation: ctaPulse 2s ease-in-out infinite;
}

/* ============================================================
   Section 19: Widget Styles
   ============================================================ */
.widget {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #333;
}
.widget .widget-title, .widget-title {
    font-size: 16px;
    font-weight: 700;
    color: #FF6B6B;
    padding-bottom: 12px;
    border-bottom: 1px solid #333;
    margin-bottom: 15px;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid rgba(51,51,51,0.5); }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: #ccc; font-size: 14px; transition: all 0.3s; }
.widget ul li a:hover { color: #FF6B6B; padding-left: 4px; }
.widget_search .search-form { display: flex; gap: 0; }
.widget_search .search-field {
    flex: 1;
    padding: 10px 14px;
    background: #0d0d0d;
    border: 1px solid #333;
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: #fff;
    font-size: 14px;
    height: 40px;
    outline: none;
}
.widget_search .search-field::placeholder { color: #888; }
.widget_search .screen-reader-text { display: none; }
.widget_search .search-submit {
    padding: 10px 16px;
    background: #FF6B6B;
    color: #000;
    border: 1px solid #FF6B6B;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    height: 40px;
    transition: all 0.3s;
}
.widget_search .search-submit:hover { background: #4ECDC4; border-color: #4ECDC4; }

/* ============================================================
   Section 20: Utilities
   ============================================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    color: #000;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: none;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    transition: all 0.3s;
}
.scroll-top-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4); }

/* LV Page */
.lv-page { padding: 40px 0; }
.lv-content { background: #1a1a1a; border-radius: 12px; padding: 40px; border: 1px solid #333; }
