/* ============================================
   JACKPOT-TOWER Main Stylesheet
   Project: JACKPOT-TOWER
   CSS Prefix: jt-
   Color System: Royal Blue + Gold + White + Red
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    --jt-blue: #0047AB;
    --jt-dark-blue: #002870;
    --jt-deeper-blue: #001946;
    --jt-gold: #FFD700;
    --jt-bright-gold: #FFC800;
    --jt-white: #FFFFFF;
    --jt-red: #E60012;
    --jt-light-blue: #3278C8;
    --jt-shadow-gold: 0 5px 25px rgba(255, 215, 0, 0.1);
    --jt-radius-card: 8px;
    --jt-radius-btn: 20px;
    --jt-radius-avatar: 50%;
    --jt-radius-chart: 6px;
    --jt-spacing-module: 64px;
    --jt-spacing-card: 24px;
    --jt-font-title: 'Playfair Display', 'Georgia', serif;
    --jt-font-body: 'Lato', 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --jt-font-number: 'Oswald', 'Impact', monospace;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--jt-font-body);
    background-color: var(--jt-deeper-blue);
    color: var(--jt-white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--jt-gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--jt-bright-gold);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--jt-font-title);
    color: var(--jt-gold);
    line-height: 1.3;
}

ul, ol {
    list-style: none;
}

/* ---- Layout Container ---- */
.jt-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.jt-section {
    padding: var(--jt-spacing-module) 0;
    position: relative;
}

.jt-section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 16px;
}

.jt-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--jt-gold), transparent);
}

/* ---- Header / Navigation ---- */
.jt-header {
    width: 100%;
    height: 72px;
    background: rgba(0, 71, 171, 0.95);
    display: flex;
    align-items: center;
    z-index: 100;
}

.jt-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.jt-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.jt-logo img {
    width: 48px;
    height: 48px;
    border-radius: var(--jt-radius-avatar);
}

.jt-logo-text {
    font-family: var(--jt-font-title);
    font-size: 1.25rem;
    color: var(--jt-gold);
    font-weight: 700;
    letter-spacing: 1px;
}

.jt-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.jt-nav-link {
    color: var(--jt-white);
    padding: 0 16px;
    height: 72px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.jt-nav-link:hover,
.jt-nav-link.jt-active {
    color: var(--jt-gold);
}

.jt-nav-link.jt-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--jt-gold);
}

/* Hamburger Menu */
.jt-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.jt-hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--jt-gold);
    transition: all 0.3s ease;
}

/* Mobile Menu Panel */
.jt-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 40, 112, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.4s ease;
}

.jt-mobile-menu.jt-open {
    right: 0;
}

.jt-mobile-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--jt-gold);
    font-size: 32px;
    cursor: pointer;
    padding: 8px;
}

.jt-mobile-menu .jt-mobile-nav-link {
    color: var(--jt-white);
    font-size: 20px;
    line-height: 60px;
    transition: color 0.2s ease;
    display: block;
    text-align: center;
}

.jt-mobile-menu .jt-mobile-nav-link:hover {
    color: var(--jt-gold);
}

/* ---- Banner / Carousel ---- */
.jt-banner {
    position: relative;
    width: 100%;
    height: 65vh;
    overflow: hidden;
    background: var(--jt-deeper-blue);
}

.jt-banner-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s ease;
}

.jt-banner-slide {
    width: 33.333%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.jt-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,25,70,0.3) 0%, rgba(0,25,70,0.7) 100%);
}

.jt-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 24px;
    max-width: 700px;
}

.jt-banner-title {
    font-size: 2.8rem;
    color: var(--jt-gold);
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.jt-banner-desc {
    font-size: 1.15rem;
    color: var(--jt-white);
    margin-bottom: 24px;
    line-height: 1.8;
}

.jt-banner-btn {
    display: inline-block;
    padding: 12px 40px;
    background: linear-gradient(135deg, var(--jt-gold), var(--jt-bright-gold));
    color: var(--jt-deeper-blue);
    font-weight: 700;
    border-radius: var(--jt-radius-btn);
    font-size: 1.05rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.jt-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
    color: var(--jt-deeper-blue);
}

.jt-banner-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

.jt-banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s ease;
    border: none;
}

.jt-banner-dot.jt-dot-active {
    background: var(--jt-gold);
}

.jt-banner-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 5;
    pointer-events: none;
}

.jt-banner-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 71, 171, 0.6);
    color: var(--jt-gold);
    border: 2px solid var(--jt-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    pointer-events: all;
    transition: background 0.2s ease;
}

.jt-banner-arrow:hover {
    background: rgba(0, 71, 171, 0.9);
}

/* ---- Cards ---- */
.jt-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--jt-radius-card);
    padding: var(--jt-spacing-card);
    box-shadow: var(--jt-shadow-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.08);
}

.jt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 35px rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.2);
}

.jt-card-gold-border {
    border: 2px solid var(--jt-gold);
}

/* ---- Draw Result Cards (Module 2) ---- */
.jt-draw-wall {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 16px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.jt-draw-wall::-webkit-scrollbar {
    height: 6px;
}

.jt-draw-wall::-webkit-scrollbar-track {
    background: var(--jt-dark-blue);
    border-radius: 3px;
}

.jt-draw-wall::-webkit-scrollbar-thumb {
    background: var(--jt-gold);
    border-radius: 3px;
}

.jt-draw-card {
    min-width: 320px;
    background: var(--jt-dark-blue);
    border: 2px solid var(--jt-gold);
    border-radius: var(--jt-radius-card);
    padding: 20px;
    flex-shrink: 0;
}

.jt-draw-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.jt-draw-card-type {
    font-family: var(--jt-font-title);
    color: var(--jt-gold);
    font-size: 1.1rem;
    font-weight: 700;
}

.jt-draw-card-period {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.jt-draw-balls {
    display: flex;
    gap: 8px;
    margin: 16px 0;
    flex-wrap: wrap;
}

.jt-ball {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--jt-font-number);
    font-size: 0.95rem;
    font-weight: 700;
}

.jt-ball-red {
    background: linear-gradient(135deg, #FF1A1A, #CC0000);
    color: var(--jt-white);
}

.jt-ball-blue {
    background: linear-gradient(135deg, var(--jt-gold), #E6C200);
    color: var(--jt-deeper-blue);
}

.jt-draw-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.jt-draw-detail-link {
    display: block;
    text-align: right;
    margin-top: 8px;
    color: var(--jt-gold);
    font-size: 0.9rem;
}

/* ---- Prediction Cards (Module 3) ---- */
.jt-predict-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.jt-predict-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--jt-radius-card);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
}

.jt-predict-card:hover {
    transform: translateY(-4px);
    border-color: var(--jt-gold);
}

.jt-predict-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.jt-predict-card-body {
    padding: 20px;
}

.jt-predict-card-title {
    font-size: 1.05rem;
    color: var(--jt-white);
    margin-bottom: 8px;
    line-height: 1.4;
}

.jt-predict-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.jt-predict-card-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.jt-predict-card-author {
    font-size: 0.85rem;
    color: var(--jt-gold);
}

.jt-predict-card-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-left: auto;
}

.jt-predict-card-summary {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ---- Trend Chart (Module 4) ---- */
.jt-trend-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.jt-trend-tab {
    padding: 12px 24px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.2s ease;
    position: relative;
    font-family: var(--jt-font-body);
}

.jt-trend-tab:hover,
.jt-trend-tab.jt-tab-active {
    color: var(--jt-gold);
}

.jt-trend-tab.jt-tab-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--jt-gold);
}

.jt-trend-chart {
    background: var(--jt-dark-blue);
    border-radius: var(--jt-radius-chart);
    padding: 24px;
    min-height: 350px;
    position: relative;
    overflow: hidden;
}

.jt-trend-chart canvas {
    width: 100% !important;
    height: 300px !important;
}

/* ---- Countdown (Module 5) ---- */
.jt-countdown-section {
    text-align: center;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    position: relative;
}

.jt-countdown-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 25, 70, 0.7);
}

.jt-countdown-content {
    position: relative;
    z-index: 2;
}

.jt-countdown-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
}

.jt-countdown-timer {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 32px 0;
}

.jt-countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.jt-countdown-number {
    font-family: var(--jt-font-number);
    font-size: 3.5rem;
    color: var(--jt-gold);
    background: var(--jt-dark-blue);
    padding: 8px 20px;
    border-radius: var(--jt-radius-card);
    border: 2px solid var(--jt-gold);
    min-width: 90px;
    text-align: center;
}

.jt-countdown-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

.jt-countdown-pool {
    font-family: var(--jt-font-number);
    font-size: 2rem;
    color: var(--jt-gold);
    margin: 24px 0;
}

/* ---- Newbie Guide (Module 6) ---- */
.jt-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.jt-guide-item {
    text-align: center;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--jt-radius-card);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.jt-guide-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--jt-gold);
}

.jt-guide-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
}

.jt-guide-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.jt-guide-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.jt-guide-detail {
    display: none;
    text-align: left;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.jt-guide-item.jt-expanded .jt-guide-detail {
    display: block;
}

/* ---- Simulator (Module 7) ---- */
.jt-simulator {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.jt-sim-type-select {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.jt-sim-type-btn {
    padding: 10px 32px;
    border-radius: var(--jt-radius-btn);
    border: 2px solid var(--jt-gold);
    background: transparent;
    color: var(--jt-gold);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--jt-font-body);
}

.jt-sim-type-btn.jt-sim-active {
    background: var(--jt-gold);
    color: var(--jt-deeper-blue);
}

.jt-sim-board {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 24px 0;
    padding: 24px;
    background: var(--jt-dark-blue);
    border-radius: var(--jt-radius-card);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.jt-sim-ball {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--jt-font-number);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--jt-white);
}

.jt-sim-ball:hover {
    border-color: var(--jt-gold);
}

.jt-sim-ball.jt-sim-selected {
    background: linear-gradient(135deg, #FF1A1A, #CC0000);
    border-color: #FF1A1A;
    color: var(--jt-white);
}

.jt-sim-ball.jt-sim-blue-selected {
    background: linear-gradient(135deg, var(--jt-gold), #E6C200);
    border-color: var(--jt-gold);
    color: var(--jt-deeper-blue);
}

.jt-sim-selected-area {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 16px 0;
    min-height: 50px;
    align-items: center;
}

.jt-sim-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.jt-sim-result {
    margin-top: 24px;
    padding: 20px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: var(--jt-radius-card);
    border: 1px solid rgba(255, 215, 0, 0.2);
    display: none;
}

.jt-sim-result.jt-show {
    display: block;
}

/* ---- Stories (Module 8) ---- */
.jt-story-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.jt-story-card {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--jt-radius-card);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.jt-story-card:hover {
    transform: translateY(-4px);
}

.jt-story-img {
    width: 200px;
    min-height: 180px;
    object-fit: cover;
    flex-shrink: 0;
}

.jt-story-body {
    padding: 20px 20px 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.jt-story-title {
    font-size: 1.05rem;
    color: var(--jt-gold);
    margin-bottom: 8px;
    line-height: 1.4;
}

.jt-story-summary {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.jt-story-prize {
    font-family: var(--jt-font-number);
    color: var(--jt-red);
    font-size: 1.3rem;
    margin-top: 8px;
}

/* ---- Expert Ranking (Module 9) ---- */
.jt-ranking-list {
    max-width: 900px;
    margin: 0 auto;
}

.jt-ranking-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--jt-radius-card);
    margin-bottom: 8px;
    transition: background 0.2s ease;
}

.jt-ranking-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.jt-ranking-num {
    font-family: var(--jt-font-number);
    font-size: 1.5rem;
    color: var(--jt-gold);
    width: 40px;
    text-align: center;
}

.jt-ranking-item:nth-child(1) .jt-ranking-num {
    color: var(--jt-gold);
    font-size: 1.8rem;
}

.jt-ranking-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--jt-gold);
}

.jt-ranking-item:nth-child(1) .jt-ranking-avatar {
    border-width: 3px;
}

.jt-ranking-name {
    font-size: 1rem;
    color: var(--jt-white);
    flex: 1;
}

.jt-ranking-crown {
    color: var(--jt-gold);
    font-size: 1.2rem;
    margin-left: 4px;
}

.jt-ranking-stats {
    display: flex;
    gap: 24px;
    align-items: center;
}

.jt-ranking-accuracy {
    font-family: var(--jt-font-number);
    color: var(--jt-gold);
    font-size: 1.1rem;
}

.jt-ranking-streak {
    color: var(--jt-red);
    font-size: 0.9rem;
    font-weight: 700;
}

.jt-ranking-follow {
    padding: 6px 20px;
    border-radius: var(--jt-radius-btn);
    border: 1px solid var(--jt-gold);
    background: transparent;
    color: var(--jt-gold);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--jt-font-body);
}

.jt-ranking-follow:hover {
    background: var(--jt-gold);
    color: var(--jt-deeper-blue);
}

/* ---- Trust / Badges (Module 10) ---- */
.jt-trust-track {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding: 24px 0;
    scroll-behavior: smooth;
    align-items: center;
}

.jt-trust-track::-webkit-scrollbar {
    display: none;
}

.jt-trust-item {
    flex-shrink: 0;
    text-align: center;
    width: 160px;
}

.jt-trust-item img {
    width: 100px;
    height: 100px;
    margin: 0 auto 12px;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.2));
}

.jt-trust-item p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* ---- Footer ---- */
.jt-footer {
    background: var(--jt-deeper-blue);
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    padding: 48px 0 24px;
}

.jt-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.3fr;
    gap: 40px;
    margin-bottom: 32px;
}

.jt-footer-title {
    font-size: 1.1rem;
    color: var(--jt-gold);
    margin-bottom: 16px;
    font-family: var(--jt-font-title);
}

.jt-footer-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.jt-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jt-footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.jt-footer-link:hover {
    color: var(--jt-gold);
}

.jt-footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.jt-footer-badge {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 2px 6px rgba(255, 215, 0, 0.15));
}

.jt-footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.jt-footer-auth {
    color: var(--jt-gold);
    font-family: var(--jt-font-number);
}

/* ---- Buttons ---- */
.jt-btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--jt-radius-btn);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: var(--jt-font-body);
    text-align: center;
}

.jt-btn-gold {
    background: linear-gradient(135deg, var(--jt-gold), var(--jt-bright-gold));
    color: var(--jt-deeper-blue);
}

.jt-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
    color: var(--jt-deeper-blue);
}

.jt-btn-outline {
    background: transparent;
    border: 2px solid var(--jt-gold);
    color: var(--jt-gold);
}

.jt-btn-outline:hover {
    background: var(--jt-gold);
    color: var(--jt-deeper-blue);
}

.jt-btn-red {
    background: linear-gradient(135deg, var(--jt-red), #CC0000);
    color: var(--jt-white);
}

/* ---- Water Tower Page ---- */
.jt-water-tower-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
}

.jt-water-tower {
    position: relative;
    width: 200px;
    height: 500px;
    border: 3px solid var(--jt-gold);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(0, 40, 100, 0.3);
}

.jt-water-level {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 150, 255, 0.6), rgba(0, 100, 200, 0.8));
    transition: height 2s ease;
    border-radius: 0 0 17px 17px;
}

.jt-water-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.4), transparent);
    animation: jt-shimmer 3s infinite;
}

@keyframes jt-shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.jt-water-scale {
    position: absolute;
    right: -80px;
    top: 0;
    bottom: 0;
    width: 80px;
}

.jt-water-mark {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--jt-gold);
    font-family: var(--jt-font-number);
    font-size: 0.85rem;
}

.jt-water-mark::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--jt-gold);
}

.jt-data-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.jt-data-card {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--jt-radius-card);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.jt-data-card-value {
    font-family: var(--jt-font-number);
    font-size: 2rem;
    color: var(--jt-gold);
    margin-bottom: 8px;
}

.jt-data-card-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ---- Page Content (Inner Pages) ---- */
.jt-page-hero {
    padding: 60px 0 40px;
    text-align: center;
    background: linear-gradient(180deg, var(--jt-dark-blue), var(--jt-deeper-blue));
}

.jt-page-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.jt-page-hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.jt-article-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.jt-article-card {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--jt-radius-card);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.05);
}

.jt-article-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.2);
}

.jt-article-card-img {
    width: 200px;
    min-height: 160px;
    object-fit: cover;
    flex-shrink: 0;
}

.jt-article-card-body {
    padding: 16px 16px 16px 0;
}

.jt-article-card-title {
    font-size: 1rem;
    color: var(--jt-white);
    margin-bottom: 8px;
    line-height: 1.4;
}

.jt-article-card-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.jt-article-card-excerpt {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

/* ---- App Download Page ---- */
.jt-app-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.jt-app-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 25, 70, 0.75);
}

.jt-app-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
}

.jt-app-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 24px;
    border: 3px solid var(--jt-gold);
}

.jt-app-title {
    font-size: 2.5rem;
    color: var(--jt-gold);
    margin-bottom: 12px;
}

.jt-app-slogan {
    font-size: 1.2rem;
    color: var(--jt-white);
    margin-bottom: 40px;
}

.jt-app-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
}

.jt-app-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: var(--jt-radius-btn);
    font-size: 1.05rem;
    font-weight: 600;
}

.jt-app-features {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 40px;
}

.jt-app-feature {
    text-align: center;
}

.jt-app-feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
}

.jt-app-feature p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ---- Responsive Design ---- */

/* Tablet */
@media (max-width: 1280px) {
    .jt-predict-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .jt-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .jt-data-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Tablet */
@media (max-width: 768px) {
    .jt-nav {
        display: none;
    }
    .jt-hamburger {
        display: flex;
    }
    .jt-banner {
        height: 45vh;
    }
    .jt-banner-title {
        font-size: 1.8rem;
    }
    .jt-banner-desc {
        font-size: 0.95rem;
    }
    .jt-section-title {
        font-size: 1.5rem;
    }
    .jt-predict-grid {
        grid-template-columns: 1fr;
    }
    .jt-guide-grid {
        grid-template-columns: 1fr;
    }
    .jt-story-grid {
        grid-template-columns: 1fr;
    }
    .jt-story-card {
        flex-direction: column;
    }
    .jt-story-img {
        width: 100%;
        height: 200px;
    }
    .jt-story-body {
        padding: 16px;
    }
    .jt-footer-grid {
        grid-template-columns: 1fr;
    }
    .jt-article-list {
        grid-template-columns: 1fr;
    }
    .jt-article-card {
        flex-direction: column;
    }
    .jt-article-card-img {
        width: 100%;
        height: 180px;
    }
    .jt-article-card-body {
        padding: 16px;
    }
    .jt-countdown-number {
        font-size: 2.2rem;
        min-width: 60px;
        padding: 6px 12px;
    }
    .jt-ranking-stats {
        flex-direction: column;
        gap: 8px;
    }
    .jt-app-buttons {
        flex-direction: column;
        align-items: center;
    }
    .jt-app-features {
        flex-wrap: wrap;
        gap: 24px;
    }
    .jt-data-cards {
        grid-template-columns: 1fr 1fr;
    }
    .jt-water-tower-container {
        flex-direction: column;
    }
}

/* Mobile */
@media (max-width: 360px) {
    html {
        font-size: 14px;
    }
    .jt-container {
        padding: 0 16px;
    }
    .jt-banner-title {
        font-size: 1.4rem;
    }
    .jt-countdown-timer {
        gap: 8px;
    }
    .jt-countdown-number {
        font-size: 1.8rem;
        min-width: 50px;
    }
    .jt-sim-board {
        gap: 6px;
    }
    .jt-sim-ball {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    .jt-data-cards {
        grid-template-columns: 1fr;
    }
}

/* Large Desktop */
@media (min-width: 1920px) {
    .jt-container {
        max-width: 1600px;
    }
    .jt-banner-title {
        font-size: 3.5rem;
    }
    .jt-section-title {
        font-size: 2.5rem;
    }
}

/* ---- Utility Classes ---- */
.jt-text-gold { color: var(--jt-gold); }
.jt-text-red { color: var(--jt-red); }
.jt-text-white { color: var(--jt-white); }
.jt-text-center { text-align: center; }
.jt-mt-16 { margin-top: 16px; }
.jt-mt-24 { margin-top: 24px; }
.jt-mt-32 { margin-top: 32px; }
.jt-mb-16 { margin-bottom: 16px; }
.jt-mb-24 { margin-bottom: 24px; }
.jt-mb-32 { margin-bottom: 32px; }
.jt-hidden { display: none; }
