/* ============================================================
   KENOMASTER Theme - Main Stylesheet
   Color Scheme: Deep Teal (#006064 / #00838F) + Yellow (#FFD600) + White
   ============================================================ */

/* === CSS Variables === */
:root {
    --teal-dark: #006064;
    --teal: #00838F;
    --teal-light: #0097A7;
    --teal-lighter: #26C6DA;
    --yellow: #FFD600;
    --yellow-light: #FFEA00;
    --yellow-dark: #C7A600;
    --white: #ffffff;
    --white-off: #f5f5f5;
    --black: #0a0a0a;
    --black-light: #1a1a1a;
    --black-lighter: #2a2a2a;
    --gray: #888888;
    --gray-light: #cccccc;
    --gray-dark: #444444;
    --text-primary: #ffffff;
    --text-secondary: #b0bec5;
    --text-yellow: #FFD600;
    --text-teal: #00838F;
    --heat-very-hot: #D32F2F;
    --heat-hot: #FF6F00;
    --heat-warm: #FFB300;
    --heat-cool: #66BB6A;
    --heat-cold: #42A5F5;
    --font-heading: 'Exo 2', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --container-max: 1200px;
    --transition: all 0.3s ease;
    --shadow-card: 0 4px 15px rgba(0,0,0,0.3);
    --shadow-yellow: 0 0 20px rgba(255,214,0,0.3);
    --shadow-teal: 0 0 20px rgba(0,131,143,0.4);
    --border-yellow: 2px solid var(--yellow);
}

/* === Reset & Base === */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--yellow);
    transition: var(--transition);
}

a:hover {
    color: var(--yellow-light);
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.yellow-text {
    color: var(--yellow);
}

.teal-text {
    color: var(--teal);
}

/* === Buttons === */
.btn-yellow-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    color: var(--black);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    padding: 14px 35px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255,214,0,0.4);
}

.btn-yellow-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255,214,0,0.6);
    color: var(--black);
}

.btn-outline-yellow {
    display: inline-block;
    background: transparent;
    color: var(--yellow);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    padding: 14px 35px;
    border-radius: 50px;
    border: 2px solid var(--yellow);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline-yellow:hover {
    background: var(--yellow);
    color: var(--black);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 45px;
    font-size: 18px;
}

/* === Content Layout === */
.content-area {
    display: flex;
    gap: 30px;
    padding: 30px 0;
}

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

/* === 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;
}

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

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

.announcement-content {
    position: relative;
    background: linear-gradient(135deg, var(--teal-dark), var(--black-light));
    border: 2px solid var(--yellow);
    border-radius: 20px;
    padding: 40px;
    max-width: 550px;
    width: 90%;
    z-index: 1;
    box-shadow: 0 0 40px rgba(255,214,0,0.2);
}

.announcement-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--yellow);
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
}

.announcement-close:hover {
    transform: rotate(90deg);
}

.announcement-header-icon {
    text-align: center;
    font-size: 48px;
    color: var(--yellow);
    margin-bottom: 15px;
}

.announcement-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 25px;
}

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

.announcement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(0,131,143,0.15);
    border-radius: 10px;
    border: 1px solid rgba(0,131,143,0.3);
    transition: var(--transition);
    color: var(--white);
}

.announcement-item:hover {
    background: rgba(0,131,143,0.3);
    border-color: var(--yellow);
}

.announcement-badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.announcement-badge.hot {
    background: #D32F2F;
    color: white;
}

.announcement-badge.new {
    background: var(--yellow);
    color: var(--black);
}

.announcement-badge.info {
    background: var(--teal);
    color: white;
}

.announcement-text {
    flex: 1;
    font-size: 13px;
    line-height: 1.4;
}

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

.announcement-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    color: var(--black);
    font-weight: 700;
    padding: 12px 40px;
    border-radius: 50px;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

/* === Header === */
.site-header {
    background: linear-gradient(180deg, var(--teal-dark), var(--black-light));
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

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

.logo img {
    height: 50px;
    width: auto;
}

.header-time {
    font-family: var(--font-heading);
    color: var(--yellow);
    font-size: 14px;
}

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

.header-btn-group .btn-login {
    background: transparent;
    color: var(--yellow);
    padding: 8px 20px;
    border: 1px solid var(--yellow);
    border-radius: 25px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
}

.header-btn-group .btn-login:hover {
    background: var(--yellow);
    color: var(--black);
}

.header-btn-group .btn-register {
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    color: var(--black);
    padding: 8px 20px;
    border: none;
    border-radius: 25px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition);
}

.header-btn-group .btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,214,0,0.4);
}

.header-btn-group .btn-demo {
    background: transparent;
    color: var(--white);
    padding: 8px 20px;
    border: 1px solid var(--teal-light);
    border-radius: 25px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
}

.header-btn-group .btn-demo:hover {
    background: var(--teal);
    border-color: var(--teal);
}

/* === Navigation === */
.main-navigation {
    background: rgba(0,96,100,0.6);
    border-top: 1px solid rgba(0,131,143,0.3);
    border-bottom: 1px solid rgba(0,131,143,0.3);
}

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

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 12px 18px;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--yellow);
    background: rgba(0,131,143,0.3);
}

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

.nav-item.has-dropdown .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--teal-dark);
    min-width: 200px;
    flex-direction: column;
    border: 1px solid rgba(0,131,143,0.4);
    border-radius: 0 0 10px 10px;
    box-shadow: var(--shadow-card);
    z-index: 100;
}

.nav-item.has-dropdown.open .nav-menu,
.nav-item.has-dropdown:hover .nav-menu {
    display: flex;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--yellow);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* === Notification Bar === */
.notification-bar {
    background: linear-gradient(90deg, var(--teal-dark), var(--teal), var(--teal-dark));
    padding: 8px 0;
    overflow: hidden;
}

.notification-content {
    display: flex;
    gap: 80px;
    white-space: nowrap;
    animation: scrollNotification 30s linear infinite;
    color: var(--yellow);
    font-size: 13px;
    font-weight: 500;
}

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

/* === Breadcrumb === */
.breadcrumb {
    padding: 15px 0;
    font-size: 13px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--teal-lighter);
}

.breadcrumb a:hover {
    color: var(--yellow);
}

/* === Section Titles === */
.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 40px;
}

/* === HERO SECTION === */
.kenomaster-hero {
    position: relative;
    padding: 80px 40px;
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, var(--teal-dark) 100%);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    text-align: center;
}

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

.grid-overlay {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 5px;
    padding: 10px;
}

.bg-number {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 5px;
}

.hero-floating-numbers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-num {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--yellow);
    opacity: 0.15;
    animation: floatNumber 6s ease-in-out infinite;
}

.fn-1 { top: 10%; left: 5%; animation-delay: 0s; }
.fn-2 { top: 20%; right: 8%; animation-delay: 0.8s; }
.fn-3 { top: 60%; left: 10%; animation-delay: 1.5s; }
.fn-4 { top: 70%; right: 12%; animation-delay: 2.2s; }
.fn-5 { top: 30%; left: 20%; animation-delay: 0.5s; font-size: 28px; }
.fn-6 { top: 40%; right: 20%; animation-delay: 1.2s; font-size: 28px; }
.fn-7 { top: 80%; left: 30%; animation-delay: 1.8s; font-size: 24px; }
.fn-8 { top: 15%; right: 30%; animation-delay: 2.5s; font-size: 24px; }

@keyframes floatNumber {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

.hero-inner-content {
    position: relative;
    z-index: 2;
}

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

.hero-brand {
    display: block;
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 800;
    color: var(--yellow);
    letter-spacing: 6px;
    text-shadow: 0 0 30px rgba(255,214,0,0.4);
    text-transform: uppercase;
}

.hero-divider {
    display: block;
    width: 80px;
    height: 3px;
    background: var(--yellow);
    margin: 15px auto;
    border-radius: 2px;
}

.hero-tagline {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 4px;
    text-transform: uppercase;
}

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

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

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

.hero-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--yellow);
}

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

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

/* === NUMBER MATRIX SECTION === */
.number-matrix {
    padding: 50px 0;
    background: linear-gradient(180deg, var(--black-light), var(--black-lighter), var(--black-light));
    border-radius: 20px;
    margin-bottom: 40px;
    padding-left: 30px;
    padding-right: 30px;
    border: 1px solid rgba(0,131,143,0.3);
}

.matrix-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.matrix-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 20px;
}

.counter-label {
    color: var(--text-secondary);
    font-weight: 600;
}

.counter-value {
    color: var(--yellow);
    font-size: 32px;
    font-weight: 800;
}

.counter-max {
    color: var(--text-secondary);
}

.matrix-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.matrix-btn {
    padding: 10px 20px;
    border-radius: 25px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
}

.btn-clear {
    background: rgba(211,47,47,0.2);
    color: #EF5350;
    border: 1px solid rgba(211,47,47,0.4);
}

.btn-clear:hover {
    background: rgba(211,47,47,0.4);
}

.btn-random {
    background: rgba(0,131,143,0.2);
    color: var(--teal-lighter);
    border: 1px solid rgba(0,131,143,0.4);
}

.btn-random:hover {
    background: rgba(0,131,143,0.4);
}

.btn-submit {
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    color: var(--black);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-yellow);
}

/* Number Grid */
.number-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
    max-width: 700px;
    margin: 0 auto;
}

.number-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    background: rgba(0,131,143,0.15);
    border: 2px solid rgba(0,131,143,0.4);
}

.number-cell:hover {
    background: rgba(0,131,143,0.4);
    border-color: var(--teal-lighter);
    transform: scale(1.05);
}

.number-cell.selected {
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    border-color: var(--yellow);
    animation: cellSelect 0.3s ease;
}

.number-cell.selected .cell-number {
    color: var(--black);
    font-weight: 800;
}

.cell-number {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    z-index: 1;
}

.cell-freq {
    position: absolute;
    bottom: 2px;
    right: 4px;
    font-size: 9px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

@keyframes cellSelect {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.matrix-tips {
    margin-top: 25px;
    padding: 15px 20px;
    background: rgba(255,214,0,0.08);
    border: 1px solid rgba(255,214,0,0.2);
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.matrix-tips i {
    color: var(--yellow);
    margin-right: 5px;
}

/* === PROBABILITY HEATMAP SECTION === */
.probability-heatmap {
    padding: 50px 0;
    background: linear-gradient(180deg, var(--black-lighter), var(--black-light), var(--black-lighter));
    border-radius: 20px;
    margin-bottom: 40px;
    padding-left: 30px;
    padding-right: 30px;
    border: 1px solid rgba(0,131,143,0.3);
}

.heatmap-legend {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-color.heat-very-hot { background: var(--heat-very-hot); }
.legend-color.heat-hot { background: var(--heat-hot); }
.legend-color.heat-warm { background: var(--heat-warm); }
.legend-color.heat-cool { background: var(--heat-cool); }
.legend-color.heat-cold { background: var(--heat-cold); }

.legend-label {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Heatmap cells */
.heat-cell.heat-very-hot {
    background: var(--heat-very-hot);
    border-color: var(--heat-very-hot);
    animation: heatPulse 2s ease-in-out infinite;
}

.heat-cell.heat-hot {
    background: var(--heat-hot);
    border-color: var(--heat-hot);
}

.heat-cell.heat-warm {
    background: var(--heat-warm);
    border-color: var(--heat-warm);
}

.heat-cell.heat-cool {
    background: var(--heat-cool);
    border-color: var(--heat-cool);
}

.heat-cell.heat-cold {
    background: var(--heat-cold);
    border-color: var(--heat-cold);
}

.heat-cell .cell-number {
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

@keyframes heatPulse {
    0%, 100% { box-shadow: 0 0 5px rgba(211,47,47,0.3); }
    50% { box-shadow: 0 0 15px rgba(211,47,47,0.6); }
}

.heatmap-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.heat-toggle-btn {
    padding: 10px 25px;
    border-radius: 25px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(0,131,143,0.15);
    color: var(--text-secondary);
    border: 1px solid rgba(0,131,143,0.3);
}

.heat-toggle-btn.active {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

.heat-toggle-btn:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

/* === KENO MODES SECTION === */
.keno-modes {
    padding: 50px 0;
    margin-bottom: 40px;
}

.keno-modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.mode-card {
    background: linear-gradient(135deg, var(--black-lighter), var(--black-light));
    border: 1px solid rgba(0,131,143,0.3);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mode-card:hover {
    transform: translateY(-5px);
    border-color: var(--teal-lighter);
    box-shadow: var(--shadow-teal);
}

.mode-card.mode-featured {
    border-color: var(--yellow);
    box-shadow: var(--shadow-yellow);
}

.mode-card.mode-featured:hover {
    box-shadow: 0 0 30px rgba(255,214,0,0.5);
}

.mode-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--yellow);
    color: var(--black);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
}

.mode-icon {
    font-size: 48px;
    color: var(--teal-lighter);
    margin-bottom: 20px;
}

.mode-featured .mode-icon {
    color: var(--yellow);
}

.mode-title {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.mode-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.mode-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
}

.mode-features li {
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0,131,143,0.1);
}

.mode-features li i {
    color: var(--teal-lighter);
    margin-right: 8px;
    width: 14px;
}

.mode-featured .mode-features li i {
    color: var(--yellow);
}

.mode-play-btn {
    display: inline-block;
    padding: 10px 30px;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: var(--white);
    border-radius: 25px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    text-transform: uppercase;
}

.mode-play-btn:hover {
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    color: var(--black);
    transform: translateY(-2px);
}

/* === TREND ANALYSIS SECTION === */
.trend-section {
    padding: 50px 0;
    background: linear-gradient(180deg, var(--black-light), var(--black-lighter), var(--black-light));
    border-radius: 20px;
    margin-bottom: 40px;
    padding-left: 30px;
    padding-right: 30px;
    border: 1px solid rgba(0,131,143,0.3);
}

.trend-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.trend-chart-container {
    background: rgba(0,96,100,0.1);
    border: 1px solid rgba(0,131,143,0.3);
    border-radius: 15px;
    padding: 25px;
}

.trend-chart-title {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--teal-lighter);
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.trend-chart {
    width: 100%;
    overflow: hidden;
}

.trend-svg {
    width: 100%;
    height: auto;
}

.trend-line {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: trendDraw 3s ease forwards;
}

.trend-line-hot { animation-delay: 0.2s; }
.trend-line-hot2 { animation-delay: 0.5s; }
.trend-line-warm { animation-delay: 0.8s; }
.trend-line-cold { animation-delay: 1.1s; }

@keyframes trendDraw {
    to { stroke-dashoffset: 0; }
}

.trend-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.trend-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.legend-line {
    display: inline-block;
    width: 30px;
    height: 3px;
    border-radius: 2px;
}

.trend-lists {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.trend-list {
    background: rgba(0,96,100,0.1);
    border: 1px solid rgba(0,131,143,0.3);
    border-radius: 15px;
    padding: 20px;
}

.trend-list-title {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,131,143,0.3);
}

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

.hot-numbers .trend-list-title {
    color: #FF6F00;
}

.cold-numbers .trend-list-title {
    color: #42A5F5;
}

.trend-list-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trend-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.trend-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.trend-num.hot {
    background: rgba(255,111,0,0.2);
    color: #FF6F00;
    border: 1px solid rgba(255,111,0,0.4);
}

.trend-num.cold {
    background: rgba(66,165,245,0.2);
    color: #42A5F5;
    border: 1px solid rgba(66,165,245,0.4);
}

.trend-freq {
    font-size: 12px;
    color: var(--text-secondary);
    width: 50px;
    flex-shrink: 0;
}

.trend-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
}

.trend-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1.5s ease;
}

.trend-bar-fill.hot {
    background: linear-gradient(90deg, #FF6F00, #FFB300);
}

.trend-bar-fill.cold {
    background: linear-gradient(90deg, #42A5F5, #90CAF9);
}

/* === PROMOTIONS SECTION === */
.keno-promos {
    padding: 50px 0;
    margin-bottom: 40px;
}

.promo-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.promo-card {
    background: linear-gradient(135deg, var(--black-lighter), var(--black-light));
    border: 1px solid rgba(0,131,143,0.3);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
}

.promo-card:hover {
    transform: translateY(-5px);
    border-color: var(--teal-lighter);
    box-shadow: var(--shadow-teal);
}

.promo-card.promo-featured {
    border-color: var(--yellow);
    box-shadow: var(--shadow-yellow);
}

.promo-card-icon {
    font-size: 48px;
    color: var(--teal-lighter);
    margin-bottom: 20px;
}

.promo-featured .promo-card-icon {
    color: var(--yellow);
}

.promo-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.promo-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.promo-card-details {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 12px;
    color: var(--gray);
    flex-wrap: wrap;
}

.promo-card-details i {
    color: var(--yellow);
    margin-right: 5px;
}

.promo-card-btn {
    display: inline-block;
    padding: 10px 30px;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: var(--white);
    border-radius: 25px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    text-transform: uppercase;
}

.promo-card-btn:hover {
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    color: var(--black);
}

/* === FOOTER CTA SECTION === */
.footer-cta-section {
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--teal-dark), var(--teal));
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,214,0,0.05) 0%, transparent 60%);
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.footer-cta-content {
    position: relative;
    z-index: 2;
}

.footer-cta-title {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--yellow);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.footer-cta-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-cta-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

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

.cta-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--yellow);
}

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

.footer-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* === Footer === */
.site-footer {
    background: linear-gradient(180deg, var(--black-light), var(--teal-dark));
    padding: 50px 0 30px;
    margin-top: 30px;
    border-top: 2px solid var(--teal);
}

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

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

.footer-brand-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-18plus {
    display: inline-block;
    padding: 4px 12px;
    border: 2px solid var(--yellow);
    border-radius: 5px;
    color: var(--yellow);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 15px;
}

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

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,131,143,0.2);
    color: var(--teal-lighter);
    font-size: 16px;
    transition: var(--transition);
    border: 1px solid rgba(0,131,143,0.4);
}

.footer-social-links a:hover {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--yellow);
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

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

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 13px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--yellow);
    padding-left: 5px;
}

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

.footer-license-bar h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--yellow);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

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

.license-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 13px;
}

.license-item i {
    color: var(--teal-lighter);
    font-size: 18px;
}

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

.footer-copyright {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--gray);
}

/* === Sidebar === */
.floating-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 999;
    padding: 8px;
    background: rgba(0,96,100,0.9);
    border-radius: 10px 0 0 10px;
    border: 1px solid rgba(0,131,143,0.4);
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(0,131,143,0.3);
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
    position: relative;
}

.sidebar-btn:hover {
    background: var(--yellow);
    color: var(--black);
}

.sidebar-btn:hover .sidebar-label {
    opacity: 1;
    visibility: visible;
    right: 55px;
}

.sidebar-label {
    position: absolute;
    right: 60px;
    background: var(--black);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

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

/* === Article Grid (Blog) === */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.article-card {
    background: var(--black-lighter);
    border: 1px solid rgba(0,131,143,0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-3px);
    border-color: var(--teal-lighter);
    box-shadow: var(--shadow-teal);
}

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

.article-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

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

.article-card-title a {
    color: var(--white);
}

.article-card-title a:hover {
    color: var(--yellow);
}

.article-card-meta {
    padding: 0 15px;
    font-size: 12px;
    color: var(--gray);
    display: flex;
    gap: 15px;
    margin-bottom: 8px;
}

.article-card-meta i {
    margin-right: 4px;
    color: var(--teal-lighter);
}

.article-card-excerpt {
    padding: 0 15px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.article-card-more {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 15px 15px;
    font-size: 13px;
    color: var(--yellow);
    border: 1px solid var(--yellow);
    border-radius: 20px;
    transition: var(--transition);
}

.article-card-more:hover {
    background: var(--yellow);
    color: var(--black);
}

/* === Category Header === */
.category-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(0,96,100,0.3), rgba(0,131,143,0.1));
    border: 1px solid rgba(0,131,143,0.3);
    border-radius: 12px;
    margin-bottom: 25px;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 8px;
}

.category-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* === Provider Tabs === */
.provider-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.provider-tab {
    padding: 8px 18px;
    border-radius: 25px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(0,131,143,0.15);
    color: var(--text-secondary);
    border: 1px solid rgba(0,131,143,0.3);
}

.provider-tab.active {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

.provider-tab:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

/* === Pagination === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px 0;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(0,131,143,0.15);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: 1px solid rgba(0,131,143,0.3);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
}

/* === Single Article === */
.single-article {
    background: var(--black-lighter);
    border: 1px solid rgba(0,131,143,0.3);
    border-radius: 15px;
    padding: 35px;
    margin-bottom: 30px;
}

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

.article-title {
    font-family: var(--font-heading);
    font-size: 30px;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--gray);
    flex-wrap: wrap;
}

.article-meta i {
    margin-right: 5px;
    color: var(--teal-lighter);
}

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

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

.article-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

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

.article-content h2, .article-content h3 {
    color: var(--yellow);
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content a {
    color: var(--teal-lighter);
}

.article-content a:hover {
    color: var(--yellow);
}

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

.article-content blockquote {
    border-left: 4px solid var(--yellow);
    padding: 15px 20px;
    margin: 20px 0;
    background: rgba(0,131,143,0.1);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-tags {
    padding: 20px 0;
    border-top: 1px solid rgba(0,131,143,0.2);
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.article-tags i {
    color: var(--yellow);
}

.article-tags span {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(0,131,143,0.15);
    border-radius: 15px;
    font-size: 12px;
    color: var(--text-secondary);
}

.article-nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid rgba(0,131,143,0.2);
}

.article-nav a {
    color: var(--teal-lighter);
    font-size: 14px;
}

.article-nav a:hover {
    color: var(--yellow);
}

/* === Related Posts === */
.related-posts {
    margin-bottom: 30px;
}

.related-posts-title {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 20px;
}

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

.related-item {
    background: var(--black-lighter);
    border: 1px solid rgba(0,131,143,0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    color: var(--white);
}

.related-item:hover {
    border-color: var(--teal-lighter);
    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: 14px;
    color: var(--white);
    line-height: 1.4;
}

/* === Page Article === */
.page-article {
    background: var(--black-lighter);
    border: 1px solid rgba(0,131,143,0.3);
    border-radius: 15px;
    padding: 35px;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 30px;
    color: var(--yellow);
    margin-bottom: 25px;
}

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

.page-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

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

/* === No Posts === */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

/* === Scroll Animations === */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Keyframes === */
@keyframes numberHighlight {
    0% { box-shadow: 0 0 0 0 rgba(255,214,0,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255,214,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,214,0,0); }
}

@keyframes heatPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}
