/* ============================================
   STYLE.CSS - Cocopredict (Complete)
   ============================================ */

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f5f5f5;
    color: #333333;
    min-height: 100vh;
    line-height: 1.6;
    padding-bottom: 80px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- COLOR VARIABLES ---------- */
:root {
    --bg-primary: #f5f5f5;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #fafafa;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #888888;
    --navy: #13152B;
    --navy-light: #18192D;
    --purple: #4B3B60;
    --purple-light: #493B5E;
    --lime: #A2D819;
    --lime-dark: #8CB815;
    --green: #1E8535;
    --green-dark: #166A29;
    --violet: #6C2BD9;
    --violet-light: #7C3AED;
    --gold: #f5b342;
    --gold-dark: #d4942e;
    --grey: #888888;
    --grey-light: #e8e8e8;
    --border: #e0e0e0;
    --radius: 12px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 4px 24px rgba(0, 0, 0, 0.10);
}

/* ---------- HEADER ---------- */
.header {
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.logo-highlight {
    color: var(--violet);
}

.logo a {
    color: #ffffff;
    transition: var(--transition);
}
.logo a:hover {
    color: var(--violet-light);
}

/* ---------- NAVIGATION ---------- */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    display: flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* ---------- DROPDOWN MENU ---------- */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    cursor: pointer;
}

.dropdown-toggle:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.dropdown-toggle i {
    font-size: 0.65rem;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-hover);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: rgba(108, 43, 217, 0.06);
    color: var(--violet);
}

/* ---------- HEADER ACTIONS ---------- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-login-nav {
    padding: 8px 20px;
    background: var(--violet);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-login-nav:hover {
    background: var(--violet-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(108, 43, 217, 0.3);
}

.btn-signup-nav {
    padding: 8px 20px;
    background: var(--green);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-signup-nav:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(30, 133, 53, 0.3);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px 8px;
}

/* ---------- HERO SECTION ---------- */
.hero {
    padding: 32px 0 28px;
    background: var(--navy-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-content {
    display: flex;
    justify-content: center;
}

.hero-left {
    text-align: center;
    max-width: 900px;
}

.hero-left h1 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-left p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.btn-hero {
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero:hover {
    transform: translateY(-2px);
}

.btn-register {
    background: var(--green);
    color: #ffffff;
}

.btn-register:hover {
    background: var(--green-dark);
    box-shadow: 0 4px 20px rgba(30, 133, 53, 0.3);
}

.btn-vip {
    background: var(--lime);
    color: var(--navy);
}

.btn-vip:hover {
    background: var(--lime-dark);
    box-shadow: 0 4px 20px rgba(162, 216, 25, 0.3);
}

.btn-telegram {
    background: #26a5e4;
    color: #ffffff;
}

.btn-telegram:hover {
    background: #1a8ec4;
    box-shadow: 0 4px 20px rgba(38, 165, 228, 0.3);
}

/* ---------- CATEGORY PILLS ---------- */
.category-pills-section {
    padding: 20px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.pill {
    padding: 6px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: pointer;
}

.pill:hover {
    color: var(--violet);
    border-color: var(--violet);
}

.pill.active {
    background: var(--purple);
    color: #ffffff;
    border-color: var(--purple);
}

.pill.active:hover {
    background: var(--purple-light);
    border-color: var(--purple-light);
}

/* ---------- PREDICTION SECTION ---------- */
.prediction-section {
    padding: 24px 0 20px;
    background: #f5f5f5;
}

.prediction-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 20px 24px;
    box-shadow: var(--shadow);
}

.prediction-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.prediction-header-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.prediction-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prediction-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
}

.prediction-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.date-tabs {
    display: flex;
    gap: 6px;
    background: #f5f5f5;
    padding: 4px;
    border-radius: 50px;
    border: 1px solid var(--border);
}

.date-tab {
    padding: 6px 18px;
    border: none;
    border-radius: 50px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.date-tab:hover {
    color: var(--violet);
}

.date-tab.active {
    background: var(--lime);
    color: var(--navy);
}

.date-tab.active:hover {
    background: var(--lime-dark);
}

/* Calendar Button */
.calendar-btn {
    background: #f5f5f5;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.calendar-btn:hover {
    border-color: var(--violet);
    color: var(--violet);
    box-shadow: var(--shadow-hover);
}

/* ---------- PREDICTION GAMES ---------- */
.prediction-games {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.prediction-game-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.prediction-game-item:last-child {
    border-bottom: none;
}

.prediction-game-item:hover {
    background: var(--bg-card-hover);
}

.prediction-game-time {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--violet);
    min-width: 55px;
}

.prediction-game-match {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 0 16px;
}

.prediction-game-prediction {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.prediction-game-tip {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 16px;
    background: var(--purple);
    color: #ffffff;
    border-radius: 50px;
    min-width: 40px;
    text-align: center;
}

.prediction-game-result-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.6rem;
}

.prediction-game-result-icon.won {
    background: var(--green);
    color: #ffffff;
}

.prediction-game-result-icon.lost {
    background: #dc3545;
    color: #ffffff;
}

.prediction-game-result-icon.pending {
    display: none;
}

/* Mobile specific elements - hidden on desktop */
.prediction-game-teams-mobile {
    display: none;
}

.prediction-game-mobile-row {
    display: none;
}

/* View All */
.view-all-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.view-all {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--grey);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.view-all:hover {
    color: var(--violet);
    gap: 10px;
}

/* ---------- STATS SECTION ---------- */
.stats-section {
    padding: 20px 0 40px;
    background: #f5f5f5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 18px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.stat-card:hover {
    border-color: var(--violet);
    box-shadow: var(--shadow-hover);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--violet);
}

.stat-value.green {
    color: var(--green);
}

.stat-value.lime {
    color: var(--lime-dark);
}

/* ---------- CALENDAR MODAL ---------- */
.calendar-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.calendar-modal.show {
    display: flex;
}

.calendar-modal-content {
    background: #ffffff;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    animation: modalSlideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.calendar-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.calendar-modal-header h3 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}

.calendar-modal-header h3 i {
    color: var(--violet);
    margin-right: 8px;
}

.calendar-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: var(--transition);
}

.calendar-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.calendar-modal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f5f5f5;
    border-bottom: 1px solid var(--border);
}

.calendar-modal-nav-btn {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 0.9rem;
}

.calendar-modal-nav-btn:hover {
    color: var(--violet);
    background: rgba(108, 43, 217, 0.08);
}

#calendarMonthYear {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.9rem;
}

.calendar-modal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    padding: 8px 8px 4px;
    background: #ffffff;
}

.calendar-modal-weekdays span {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.calendar-modal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 4px 8px 12px;
    gap: 2px;
    background: #ffffff;
}

.calendar-modal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
}

.calendar-modal-day:hover:not(.empty) {
    background: rgba(108, 43, 217, 0.08);
    color: var(--violet);
}

.calendar-modal-day.empty {
    visibility: hidden;
}

.calendar-modal-day.selected {
    background: var(--violet);
    color: #ffffff;
    font-weight: 700;
}

.calendar-modal-day.selected:hover {
    background: var(--violet-light);
}

.calendar-modal-day.today {
    border: 2px solid var(--lime);
    font-weight: 700;
}

.calendar-modal-footer {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    background: #f5f5f5;
    border-top: 1px solid var(--border);
}

.calendar-modal-today,
.calendar-modal-cancel {
    flex: 1;
    padding: 10px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.calendar-modal-today {
    background: var(--lime);
    color: var(--navy);
}

.calendar-modal-today:hover {
    background: var(--lime-dark);
}

.calendar-modal-cancel {
    background: #f5f5f5;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.calendar-modal-cancel:hover {
    background: var(--border);
}

/* ---------- MOBILE BOTTOM NAV ---------- */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
    z-index: 9998;
    padding: 6px 0 env(safe-area-inset-bottom, 0);
    height: 68px;
}

.mobile-bottom-nav .mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    padding: 4px 0;
    transition: var(--transition);
    color: var(--text-muted);
}

.mobile-bottom-nav .mobile-nav-item i {
    font-size: 1.2rem;
    transition: var(--transition);
}

.mobile-bottom-nav .mobile-nav-item span {
    font-size: 0.6rem;
    font-weight: 600;
    transition: var(--transition);
}

.mobile-bottom-nav .mobile-nav-item.active {
    color: var(--violet);
}

.mobile-bottom-nav .mobile-nav-item.active i {
    transform: scale(1.1);
}

/* ---------- BOTTOM SHEETS ---------- */
.sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.sheet-overlay.open {
    opacity: 1;
    visibility: visible;
}

.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
}

.bottom-sheet.open {
    transform: translateY(0);
}

.sheet-container {
    padding: 0 20px 20px;
    max-height: 80vh;
    overflow-y: auto;
}

.sheet-handle {
    width: 40px;
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    margin: 10px auto 0;
    flex-shrink: 0;
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 12px;
}

.sheet-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
}

.sheet-header h3 i {
    margin-right: 8px;
}

.sheet-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sheet-close:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.sheet-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 16px;
}

.sheet-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    color: var(--text-primary);
}

.sheet-item:hover {
    background: var(--bg-card-hover);
}

.sheet-item i:first-child {
    width: 20px;
    font-size: 1rem;
    color: var(--violet);
}

.sheet-item span {
    flex: 1;
    font-weight: 500;
    font-size: 0.9rem;
}

.sheet-item .sheet-arrow {
    color: var(--text-muted);
    font-size: 0.7rem;
}

/* ---------- ACCOUNT SHEET ---------- */
.account-profile {
    text-align: center;
    padding: 16px 0 20px;
}

.account-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 2rem;
    color: #ffffff;
}

.account-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
}

.account-email {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.account-divider {
    height: 1px;
    background: var(--border);
    margin: 12px 0;
}

.account-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}

.account-menu-item:hover {
    background: var(--bg-card-hover);
}

.account-menu-item i:first-child {
    width: 20px;
    font-size: 1rem;
    color: var(--violet);
}

.account-menu-item span {
    flex: 1;
    font-weight: 500;
    font-size: 0.9rem;
}

.account-menu-item .menu-arrow {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.account-menu-item.logout {
    color: #dc3545;
}

.account-menu-item.logout i:first-child {
    color: #dc3545;
}

.account-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 0;
}

.account-auth-buttons .btn-auth {
    padding: 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.account-auth-buttons .btn-login {
    background: var(--violet);
    color: #ffffff;
}

.account-auth-buttons .btn-login:hover {
    background: var(--violet-light);
}

.account-auth-buttons .btn-register {
    background: var(--green);
    color: #ffffff;
}

.account-auth-buttons .btn-register:hover {
    background: var(--green-dark);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand .logo-highlight {
    font-size: 1.4rem;
    font-weight: 900;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-top: 8px;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--lime);
}

.footer-column .telegram-link {
    color: rgba(38, 165, 228, 0.7) !important;
}
.footer-column .telegram-link:hover {
    color: #26a5e4 !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

/* ---------- TOAST ---------- */
#customToast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 99999;
    display: none;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

#customToast.success {
    background: var(--green);
}
#customToast.error {
    background: #dc3545;
}
#customToast.info {
    background: var(--violet);
}

/* ---------- VIP LOCKED MESSAGE ---------- */
.vip-locked-message {
    padding: 40px;
    text-align: center;
}

.vip-locked-message i {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

.vip-locked-message h3 {
    color: var(--navy);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.vip-locked-message p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.btn-vip-action {
    padding: 10px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-vip-action:hover {
    transform: translateY(-2px);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--navy);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 12px 20px;
        flex-direction: column;
        align-items: stretch;
        transform: translateY(-120%);
        transition: var(--transition);
        opacity: 0;
        visibility: hidden;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .nav-list > li > a,
    .dropdown-toggle {
        padding: 10px 12px;
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
        justify-content: flex-start;
    }

    .nav-list > li > a:hover,
    .dropdown-toggle:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.05);
    }

    /* Mobile dropdown */
    .dropdown-menu {
        position: static;
        background: rgba(255, 255, 255, 0.04);
        border: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    
    .dropdown.open .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li a {
        color: rgba(255, 255, 255, 0.7);
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .dropdown-menu li a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: #ffffff;
    }
    
    .dropdown-toggle i {
        margin-left: auto;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-left h1 {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .header-actions .btn-login-nav,
    .header-actions .btn-signup-nav {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    .footer {
        display: none;
    }

    body {
        padding-bottom: 72px;
    }

    #customToast {
        bottom: 85px;
    }
}

/* ---------- MOBILE RESPONSIVE (768px and below) ---------- */
@media (max-width: 768px) {
    .prediction-card {
        padding: 16px;
        border-radius: var(--radius);
    }

    .prediction-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-bottom: 10px;
        margin-bottom: 12px;
    }

    .prediction-header-right {
        width: 100%;
        justify-content: space-between;
    }

    .prediction-header h2 {
        font-size: 1.1rem;
    }

    .prediction-date {
        font-size: 0.7rem;
    }

    .date-tabs {
        flex: 1;
        justify-content: center;
    }

    .date-tab {
        padding: 4px 12px;
        font-size: 0.65rem;
    }

    .calendar-btn {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    /* ---------- MOBILE GAME DISPLAY ---------- */
    .prediction-game-item {
        display: grid;
        grid-template-columns: 50px 1fr auto;
        grid-template-rows: auto auto;
        gap: 2px 8px;
        padding: 10px 0;
        align-items: center;
        border-bottom: 1px solid var(--border);
    }

    .prediction-game-item:last-child {
        border-bottom: none;
    }

    .prediction-game-time {
        grid-column: 1;
        grid-row: 1 / 3;
        font-size: 0.7rem;
        min-width: 40px;
        font-weight: 700;
        align-self: center;
        color: var(--violet);
        padding: 0;
    }

    .prediction-game-match {
        display: none;
    }

    .prediction-game-teams-mobile {
        display: block;
        grid-column: 2;
        grid-row: 1;
        padding: 0;
    }

    .prediction-game-home-mobile {
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--navy);
        line-height: 1.3;
    }

    .prediction-game-away-mobile {
        font-size: 0.75rem;
        font-weight: 500;
        color: var(--text-secondary);
        line-height: 1.3;
    }

    .prediction-game-prediction {
        display: none;
    }

    .prediction-game-mobile-row {
        display: flex;
        align-items: center;
        gap: 6px;
        grid-column: 3;
        grid-row: 1 / 3;
        justify-self: end;
        align-self: center;
    }

    .prediction-game-tip-mobile {
        font-size: 0.7rem;
        font-weight: 700;
        padding: 3px 12px;
        background: var(--purple);
        color: #ffffff;
        border-radius: 50px;
        min-width: 32px;
        text-align: center;
    }

    .prediction-game-result-icon {
        width: 20px;
        height: 20px;
        font-size: 0.55rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        flex-shrink: 0;
    }

    .prediction-game-result-icon.won {
        background: var(--green);
        color: #ffffff;
    }

    .prediction-game-result-icon.lost {
        background: #dc3545;
        color: #ffffff;
    }

    .prediction-game-result-icon.pending {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 10px 12px;
    }

    .stat-value {
        font-size: 0.95rem;
    }

    .calendar-modal-content {
        width: 95%;
        max-width: 360px;
    }

    .sheet-container {
        padding: 0 16px 16px;
    }

    .vip-locked-message {
        padding: 24px 16px;
    }

    .vip-locked-message i {
        font-size: 2.5rem;
    }

    .vip-locked-message h3 {
        font-size: 1rem;
    }

    .vip-locked-message p {
        font-size: 0.8rem;
    }

    .btn-vip-action {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
}

/* ---------- EXTRA SMALL (480px and below) ---------- */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .logo {
        font-size: 1.3rem;
    }

    .header-inner {
        height: 60px;
    }

    .main-nav {
        top: 60px;
        max-height: calc(100vh - 60px);
    }

    .hero {
        padding: 20px 0 16px;
    }

    .hero-left h1 {
        font-size: 1rem;
    }

    .hero-left p {
        font-size: 0.8rem;
    }

    .btn-hero {
        font-size: 0.7rem;
        padding: 6px 16px;
    }

    .category-pills {
        gap: 4px;
    }

    .pill {
        font-size: 0.6rem;
        padding: 4px 10px;
    }

    .prediction-section {
        padding: 12px 0;
    }

    .prediction-card {
        padding: 12px;
    }

    .prediction-header h2 {
        font-size: 0.95rem;
    }

    .prediction-date {
        font-size: 0.6rem;
    }

    .date-tab {
        padding: 3px 8px;
        font-size: 0.55rem;
    }

    .calendar-btn {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }

    /* Mobile game - extra small */
    .prediction-game-item {
        grid-template-columns: 38px 1fr auto;
        padding: 8px 0;
        gap: 2px 6px;
    }

    .prediction-game-time {
        font-size: 0.6rem;
        min-width: 32px;
    }

    .prediction-game-home-mobile {
        font-size: 0.72rem;
    }

    .prediction-game-away-mobile {
        font-size: 0.65rem;
    }

    .prediction-game-tip-mobile {
        font-size: 0.6rem;
        padding: 2px 8px;
        min-width: 28px;
    }

    .prediction-game-result-icon {
        width: 18px;
        height: 18px;
        font-size: 0.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .stat-card {
        padding: 8px 10px;
    }

    .stat-value {
        font-size: 0.85rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .view-all {
        font-size: 0.75rem;
    }

    .mobile-bottom-nav .mobile-nav-item i {
        font-size: 1rem;
    }

    .mobile-bottom-nav .mobile-nav-item span {
        font-size: 0.5rem;
    }

    .mobile-bottom-nav {
        height: 60px;
        padding: 4px 0 env(safe-area-inset-bottom, 0);
    }

    body {
        padding-bottom: 64px;
    }

    #customToast {
        bottom: 75px;
        font-size: 0.75rem;
        padding: 10px 20px;
        white-space: normal;
    }

    .sheet-item {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .sheet-header h3 {
        font-size: 0.95rem;
    }

    .vip-locked-message {
        padding: 20px 12px;
    }

    .vip-locked-message i {
        font-size: 2rem;
    }

    .vip-locked-message h3 {
        font-size: 0.9rem;
    }

    .vip-locked-message p {
        font-size: 0.75rem;
    }

    .btn-vip-action {
        padding: 6px 16px;
        font-size: 0.7rem;
    }
}

/* ---------- DESKTOP ONLY - HIDE MOBILE ELEMENTS ---------- */
@media (min-width: 901px) {
    .mobile-bottom-nav,
    .sheet-overlay,
    .bottom-sheet {
        display: none !important;
    }

    body {
        padding-bottom: 0;
    }
}