* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f1f5f9;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    padding-top: 70px;
}

.main-content {
    min-height: calc(100vh - 80px);
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 20px 100px;
    position: relative;
    z-index: 1;
}

.fixed-page {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.back-btn {
    background: white;
    border: 1px solid #E2E8F0;
    padding: 8px 18px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.8rem;
    color: #64748B;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.back-btn:hover {
    border-color: #0EA5E9;
    color: #0EA5E9;
    background: rgba(14, 165, 233, 0.04);
}

.header-title h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0F172A;
}

.header-title h1 i {
    color: #0EA5E9;
    margin-right: 8px;
}

.header-title p {
    color: #64748B;
    font-size: 0.8rem;
    margin-top: 2px;
}

/* ==================== DATE TABS ==================== */
.date-tabs {
    display: flex;
    gap: 6px;
    background: white;
    padding: 4px;
    border-radius: 48px;
    width: 100%;
    margin-bottom: 20px;
    align-items: center;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.date-tab {
    flex: 1;
    padding: 8px 6px;
    border: none;
    border-radius: 40px;
    background: transparent;
    font-weight: 700;
    font-size: 0.75rem;
    color: #94A3B8;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.date-tab .tab-date {
    font-weight: normal;
    font-size: 0.6rem;
    display: block;
    margin-top: 2px;
    color: #94A3B8;
}

.date-tab:hover {
    color: #0EA5E9;
    background: rgba(14, 165, 233, 0.04);
}

.date-tab.active {
    background: linear-gradient(135deg, #0EA5E9, #3B82F6);
    color: white;
}

.date-tab.active .tab-date {
    color: rgba(255, 255, 255, 0.8);
}

.calendar-wrapper {
    margin-left: auto;
    flex-shrink: 0;
}

.calendar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.75rem;
    color: #64748B;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    min-width: 34px;
    min-height: 30px;
}

.calendar-btn:hover {
    border-color: #0EA5E9;
    color: #0EA5E9;
    background: rgba(14, 165, 233, 0.04);
}

.calendar-btn i {
    color: #0EA5E9;
    font-size: 0.85rem;
}

/* ==================== STATS SUMMARY ==================== */
.stats-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-radius: 16px;
    padding: 10px 16px;
    margin-bottom: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stats-icon i {
    font-size: 1.1rem;
    color: #0EA5E9;
}

.stats-info {
    display: flex;
    gap: 12px;
    align-items: baseline;
}

.stats-label {
    font-size: 0.75rem;
    color: #94A3B8;
}

.stats-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0EA5E9;
}

/* ==================== TICKET PREMIUM ==================== */
.ticket-premium {
    max-width: 100%;
    width: 100%;
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    margin: 0 auto 20px;
}

.watermark-top {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 1.6rem;
    font-weight: 900;
    color: rgba(14, 165, 233, 0.06);
    pointer-events: none;
    font-style: italic;
    z-index: 1;
    letter-spacing: 2px;
}

/* Turkey Red Header */
.ticket-header {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.turkey-logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.turkey-flag {
    font-size: 1.4rem;
}

.turkey-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    font-style: italic;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.fixed-ticket-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 4px 14px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fixed-ticket-badge.won-badge {
    background: rgba(16, 185, 129, 0.3) !important;
    color: #10B981 !important;
    border-color: rgba(16, 185, 129, 0.3);
}

.fixed-ticket-badge.lost-badge {
    background: rgba(239, 68, 68, 0.3) !important;
    color: #EF4444 !important;
    border-color: rgba(239, 68, 68, 0.3);
}

.fixed-ticket-badge.locked-badge {
    background: rgba(239, 68, 68, 0.3) !important;
    color: #EF4444 !important;
    border-color: rgba(239, 68, 68, 0.3);
}

.fixed-ticket-badge.pending-badge {
    background: rgba(245, 158, 11, 0.3) !important;
    color: #F59E0B !important;
    border-color: rgba(245, 158, 11, 0.3);
}

.meta-panel {
    background: #F8FAFC;
    padding: 10px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #F1F5F9;
}

.meta-item {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748B;
}

.meta-item strong {
    color: #0F172A;
    margin-left: 4px;
}

.dash-modern, .dash-light {
    border: none;
    margin: 0;
    width: 100%;
}

.dash-modern {
    border-top: 2px dashed #E2E8F0;
}

.dash-light {
    border-top: 1px solid #F1F5F9;
}

/* ==================== GAMES CONTAINER ==================== */
.games-container {
    padding: 16px 20px 10px 20px;
    min-height: 150px;
}

.game-card {
    margin-bottom: 16px;
}

.game-card:last-child {
    margin-bottom: 0;
}

.match-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.match-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #0F172A;
}

.match-time {
    font-size: 0.65rem;
    font-weight: 500;
    color: #94A3B8;
}

.locked-match-badge {
    background: #DC2626;
    color: white;
    padding: 3px 14px;
    border-radius: 40px;
    font-size: 0.65rem;
    font-weight: 700;
    display: inline-block;
}

.locked-time {
    color: #94A3B8;
    font-size: 0.65rem;
    font-weight: 500;
}

.locked-pick {
    background: #FEF2F2 !important;
    color: #DC2626 !important;
}

.prediction-line {
    font-size: 0.65rem;
    font-weight: 500;
    color: #94A3B8;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ft-score.won {
    color: #10B981;
}

.ft-score.lost {
    color: #EF4444;
}

.ft-score.pending {
    color: #F59E0B;
}

.green-tick {
    color: #10B981;
    margin-left: 4px;
}

.pick-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.pick-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pick-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: #94A3B8;
}

.pick-value {
    font-weight: 700;
    font-size: 0.85rem;
    color: #0F172A;
    background: #F8FAFC;
    padding: 3px 14px;
    border-radius: 40px;
}

.odds-value {
    font-weight: 700;
    font-family: monospace;
    font-size: 0.95rem;
    color: #DC2626;
}

.game-divider {
    border: none;
    border-top: 1px solid #F1F5F9;
    margin: 6px 0 0;
}

/* ==================== BADGE CONTAINER ==================== */
.badge-container {
    display: flex;
    justify-content: center;
    margin: 6px 0 10px 0;
}

.football-league-badge {
    background: #F8FAFC;
    border: 2px solid #DC2626;
    border-radius: 0 0 24px 24px;
    padding: 4px 18px;
    text-align: center;
    position: relative;
    min-width: 120px;
}

.badge-crown {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0 6px;
    font-size: 0.6rem;
    color: #F59E0B;
}

.badge-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-weight: 800;
    font-size: 0.7rem;
    font-style: italic;
    color: #DC2626;
}

.badge-brand .b-highlight {
    background: #DC2626;
    color: white;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 0.55rem;
}

.badge-text {
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #DC2626;
    margin-top: 2px;
}

/* ==================== FINANCIAL PANEL ==================== */
.financial-panel {
    padding: 0 20px 16px 20px;
}

.fin-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid #F1F5F9;
}

.fin-row:last-child {
    border-bottom: none;
}

.fin-label {
    font-weight: 600;
    font-size: 0.8rem;
    color: #64748B;
}

.fin-value {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0F172A;
    font-family: monospace;
}

.winnings-value {
    font-weight: 800;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ==================== FOOTER WARNING ==================== */
.footer-warning {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    color: white;
    margin: 6px 20px 16px;
    padding: 10px 14px;
    text-align: center;
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 16px;
    line-height: 1.6;
}

.footer-warning i {
    margin-right: 4px;
    color: rgba(255, 255, 255, 0.7);
}

/* ==================== NO DATA MESSAGE ==================== */
.no-data-message.enhanced {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
}

.no-data-icon {
    font-size: 3rem;
    color: #DC2626;
    margin-bottom: 12px;
}

.no-data-message.enhanced h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
}

.no-data-message.enhanced p {
    color: #64748B;
    font-size: 0.85rem;
    max-width: 400px;
    margin: 0 auto 16px;
    line-height: 1.5;
}

.no-data-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-buy-ticket-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    color: white;
    border: none;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.btn-buy-ticket-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-check-next {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #F8FAFC;
    color: #64748B;
    border: 1px solid #E2E8F0;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.btn-check-next:hover {
    border-color: #DC2626;
    color: #DC2626;
    background: rgba(220, 38, 38, 0.04);
}

/* ==================== TICKET ACTIONS ==================== */
.ticket-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 28px 0;
    width: 100%;
}

.action-btn {
    flex: 1;
    max-width: 180px;
    padding: 12px 20px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.share-btn {
    background: white;
    color: #0F172A;
    border: 1px solid #E2E8F0;
}

.share-btn:hover {
    border-color: #0EA5E9;
    color: #0EA5E9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.download-btn {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    color: white;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* ==================== BUY NOW BUTTON ==================== */
.buy-now-btn {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    border: none;
    padding: 12px 24px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    color: white;
    width: calc(100% - 40px);
    margin: 6px 20px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.buy-now-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* ==================== INFO BOX ==================== */
.info-box {
    background: white;
    border-radius: 16px;
    padding: 20px 24px;
    margin-top: 24px;
    margin-bottom: 20px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.info-box h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box h3 i {
    color: #DC2626;
    font-size: 1.1rem;
}

.info-box ul {
    list-style: none;
    padding-left: 0;
}

.info-box li {
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: #475569;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.info-box li:last-child {
    margin-bottom: 0;
}

.info-box li i {
    color: #DC2626;
    font-size: 0.85rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-box li strong {
    color: #0F172A;
    font-weight: 600;
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    background: white;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-header {
    text-align: center;
    padding: 20px 16px;
    background: #F8FAFC;
    border-bottom: 1px solid #F1F5F9;
}

.faq-header i {
    font-size: 1.8rem;
    color: #DC2626;
    margin-bottom: 6px;
}

.faq-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 2px;
}

.faq-header p {
    color: #94A3B8;
    font-size: 0.8rem;
}

.faq-container {
    padding: 0;
}

.faq-item {
    border-bottom: 1px solid #F1F5F9;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #F8FAFC;
}

.faq-question i:first-child {
    color: #DC2626;
    font-size: 0.75rem;
    transition: transform 0.2s;
    width: 18px;
}

.faq-item.active .faq-question i:first-child {
    transform: rotate(90deg);
}

.faq-question span {
    font-weight: 600;
    font-size: 0.85rem;
    color: #0F172A;
    flex: 1;
}

.faq-answer {
    display: none;
    padding: 0 16px 16px 46px;
    color: #64748B;
    font-size: 0.8rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ==================== LOADERS ==================== */
.loader-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
}

.loader {
    width: 36px;
    height: 36px;
    border: 3px solid #E2E8F0;
    border-top-color: #DC2626;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-centered-small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px;
    color: #94A3B8;
}

.loader-small {
    width: 20px;
    height: 20px;
    border: 2px solid #E2E8F0;
    border-top-color: #DC2626;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    margin-top: 12px;
    color: #94A3B8;
    font-size: 0.8rem;
}

.ticket-wrapper {
    position: relative;
}

/* ==================== MULTI-DAY LIST ==================== */
.multi-day-games-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.day-section {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
}

.day-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #F8FAFC;
    cursor: pointer;
    transition: background 0.2s;
}

.day-section-header:hover {
    background: rgba(220, 38, 38, 0.04);
}

.day-section-header .toggle-icon {
    display: none !important;
}

.day-content {
    display: block !important;
}

.day-info {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.day-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0F172A;
}

.day-date {
    font-size: 0.75rem;
    color: #94A3B8;
}

.day-stats .stats-record {
    font-weight: 600;
    color: #DC2626;
    background: rgba(220, 38, 38, 0.08);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
}

.day-games-container {
    padding: 0 4px;
}

/* ==================== PREVIOUS NAV BAR ==================== */
.prev-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: #F8FAFC;
    border-radius: 12px;
    margin-bottom: 14px;
    gap: 10px;
    flex-wrap: wrap;
    border: 1px solid #E2E8F0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.prev-nav-bar:hover {
    background: white;
    border-color: rgba(220, 38, 38, 0.3);
}

.prev-nav-bar:active {
    transform: scale(0.98);
}

.prev-counter {
    color: #64748B;
    font-size: 0.8rem;
    font-weight: 500;
}

.prev-count {
    color: #DC2626;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(220, 38, 38, 0.08);
    padding: 3px 14px;
    border-radius: 20px;
    border: 1px solid rgba(220, 38, 38, 0.15);
}

/* ==================== 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);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.calendar-modal.show {
    display: flex;
}

.calendar-modal-content {
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.calendar-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #DC2626, #B91C1C);
}

.calendar-modal-header h3 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
}

.calendar-modal-header h3 i {
    color: rgba(255, 255, 255, 0.8);
    margin-right: 8px;
}

.calendar-modal-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.calendar-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.calendar-modal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #F8FAFC;
    border-bottom: 1px solid #F1F5F9;
}

.calendar-modal-nav-btn {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    color: #64748B;
}

.calendar-modal-nav-btn:hover {
    background: rgba(220, 38, 38, 0.08);
    color: #DC2626;
}

#calendarModalMonthYear {
    font-weight: 700;
    color: #0F172A;
}

.calendar-modal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    padding: 10px 6px;
    border-bottom: 1px solid #F1F5F9;
}

.calendar-modal-weekdays span {
    font-size: 0.65rem;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
}

.calendar-modal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 12px;
    gap: 3px;
}

.calendar-modal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: #0F172A;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s;
    background: #F8FAFC;
}

.calendar-modal-day:hover:not(.empty) {
    background: rgba(220, 38, 38, 0.08);
    color: #DC2626;
}

.calendar-modal-day.empty {
    visibility: hidden;
}

.calendar-modal-day.selected {
    background: #DC2626;
    color: white;
    font-weight: 700;
}

.calendar-modal-day.today {
    border: 2px solid #DC2626;
    font-weight: 700;
}

.calendar-modal-day.available.settled {
    background: #D1FAE5;
    color: #059669;
    font-weight: 700;
    border: 2px solid #10B981;
}

.calendar-modal-day.available.settled:hover {
    background: #A7F3D0;
    transform: scale(1.05);
}

.calendar-modal-day.available.future {
    background: #FEF3C7;
    color: #92400E;
    font-weight: 600;
    border: 2px solid #F59E0B;
}

.calendar-modal-day.available.future:hover {
    background: #FDE68A;
    transform: scale(1.05);
}

.calendar-modal-day.available-future {
    background: #E0F2FE;
    color: #0369A1;
    cursor: pointer;
    border: 1px dashed #0369A1;
}

.calendar-modal-day.available-future:hover {
    background: #BAE6FD;
    transform: scale(1.05);
}

.calendar-modal-day.disabled {
    background: #F1F5F9;
    color: #CBD5E1;
    cursor: not-allowed;
    opacity: 0.5;
}

.calendar-modal-day.pending-ticket {
    background: #FEF3C7;
    color: #92400E;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid #F59E0B;
}

.calendar-modal-day.pending-ticket:hover {
    background: #FDE68A;
    transform: scale(1.05);
}

.calendar-modal-day .settled-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 0.45rem;
    color: #10B981;
}

.calendar-modal-day .ticket-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 0.45rem;
    color: #F59E0B;
}

.calendar-modal-day .pending-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 0.45rem;
    color: #F59E0B;
}

.calendar-modal-day .today-label {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.4rem;
    background: #DC2626;
    color: white;
    padding: 1px 5px;
    border-radius: 6px;
    font-weight: 600;
    white-space: nowrap;
}

.calendar-modal-day {
    position: relative;
}

.calendar-modal-footer {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid #F1F5F9;
    background: #F8FAFC;
}

.calendar-modal-today,
.calendar-modal-cancel {
    flex: 1;
    padding: 8px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.calendar-modal-today {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    color: white;
}

.calendar-modal-today:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.calendar-modal-cancel {
    background: #F8FAFC;
    color: #64748B;
    border: 1px solid #E2E8F0;
}

.calendar-modal-cancel:hover {
    background: #F1F5F9;
}

/* ==================== AUTH MODAL ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    animation: modalSlideUp 0.3s ease;
}

.auth-modal {
    text-align: center;
}

.modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #F1F5F9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
}

.modal-header h2 i {
    color: #F59E0B;
    margin-right: 6px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: #94A3B8;
}

.modal-close:hover {
    color: #0F172A;
}

.modal-body {
    padding: 24px 20px;
}

.auth-icon {
    font-size: 2.5rem;
    color: #DC2626;
    margin-bottom: 12px;
}

.auth-modal h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}

.auth-modal p {
    color: #64748B;
    font-size: 0.85rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.auth-buttons-modal {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 14px;
}

.btn-login-modal {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-login-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-register-modal {
    background: white;
    color: #64748B;
    border: 1px solid #E2E8F0;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-register-modal:hover {
    border-color: #DC2626;
    color: #DC2626;
}

.subscribe-link {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #F1F5F9;
}

.subscribe-link a {
    color: #DC2626;
    text-decoration: none;
    font-size: 0.8rem;
}

/* ==================== SUBSCRIBE MODAL ==================== */
.subscribe-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.subscribe-modal-content {
    background: white;
    border-radius: 24px;
    max-width: 480px;
    width: 92%;
    padding: 28px 24px 20px;
    position: relative;
    animation: modalSlideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.subscribe-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #94A3B8;
    transition: color 0.2s;
}

.subscribe-modal-close:hover {
    color: #0F172A;
}

.subscribe-modal-icon {
    text-align: center;
    font-size: 2.5rem;
    color: #DC2626;
    margin-bottom: 10px;
}

.subscribe-modal-content h3 {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 6px;
}

.subscribe-modal-content > p {
    text-align: center;
    color: #64748B;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.subscribe-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.subscribe-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 10px;
    border-bottom: 1px solid #F1F5F9;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.4;
}

.subscribe-steps li:last-child {
    border-bottom: none;
}

.step-number {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.65rem;
}

.subscribe-steps li strong {
    color: #0F172A;
}

.subscribe-modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.btn-buy-ticket {
    flex: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    color: white;
    border: none;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.btn-buy-ticket:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
}

.btn-later {
    flex: 1;
    padding: 12px 16px;
    background: #F8FAFC;
    color: #64748B;
    border: 1px solid #E2E8F0;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.btn-later:hover {
    background: #F1F5F9;
}

/* ==================== CUSTOM ALERT MODAL ==================== */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.custom-alert-modal {
    background: white;
    border-radius: 24px;
    max-width: 420px;
    width: 92%;
    overflow: hidden;
    animation: modalSlideUp 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.custom-alert-header {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    padding: 20px 24px;
    text-align: center;
}

.custom-alert-header .alert-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.custom-alert-header .alert-icon i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.custom-alert-header h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.custom-alert-body {
    padding: 24px 24px 20px;
}

.custom-alert-body .alert-message {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 20px;
    padding: 14px;
    background: #F8FAFC;
    border-radius: 12px;
    border-left: 3px solid #DC2626;
}

.alert-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.alert-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 100px;
    font-family: 'Inter', sans-serif;
}

.alert-btn-primary {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    color: white;
}

.alert-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.alert-btn-secondary {
    background: #F8FAFC;
    color: #64748B;
    border: 1px solid #E2E8F0;
}

.alert-btn-secondary:hover {
    background: #F1F5F9;
}

/* ==================== TOAST ==================== */
#customToast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #0F172A;
    color: white;
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 0.8rem;
    z-index: 10000;
    display: none;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fixed-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #0F172A;
    color: white;
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10001;
    animation: slideUpToast 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 90%;
}

.fixed-toast.success {
    background: #10B981;
}

.fixed-toast.error {
    background: #EF4444;
}

.fixed-toast.info {
    background: #0EA5E9;
}

@keyframes slideUpToast {
    from {
        transform: translateX(-50%) translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .main-content {
        padding: 8px 12px 100px;
    }

    .fixed-page {
        padding: 0;
    }

    .page-header {
        gap: 12px;
        margin-bottom: 16px;
    }

    .header-title h1 {
        font-size: 1.2rem;
    }

    .date-tabs {
        padding: 3px;
        gap: 4px;
    }

    .date-tab {
        font-size: 0.65rem;
        padding: 6px 4px;
    }

    .date-tab .tab-date {
        font-size: 0.55rem;
    }

    .calendar-btn {
        padding: 4px 8px;
        min-width: 30px;
        min-height: 26px;
    }

    .calendar-btn i {
        font-size: 0.75rem;
    }

    .ticket-header {
        padding: 14px 16px;
    }

    .turkey-text {
        font-size: 1.1rem;
    }

    .turkey-flag {
        font-size: 1.2rem;
    }

    .games-container {
        padding: 12px 16px 8px 16px;
    }

    .financial-panel {
        padding: 0 16px 12px 16px;
    }

    .footer-warning {
        margin: 6px 16px 12px;
        padding: 8px 12px;
        font-size: 0.55rem;
    }

    .watermark-top {
        font-size: 1.2rem;
        top: 10px;
        right: 12px;
    }

    .meta-panel {
        padding: 8px 16px;
        gap: 8px;
    }

    .meta-item {
        font-size: 0.65rem;
    }

    .match-name {
        font-size: 0.8rem;
    }

    .pick-value {
        font-size: 0.75rem;
        padding: 2px 10px;
    }

    .odds-value {
        font-size: 0.85rem;
    }

    .ticket-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin: 16px 0 24px 0;
    }

    .action-btn {
        max-width: 100%;
        width: 100%;
        padding: 10px 16px;
        font-size: 0.75rem;
    }

    .buy-now-btn {
        width: calc(100% - 32px);
        margin: 6px 16px 12px;
        font-size: 0.75rem;
        padding: 10px 16px;
    }

    .info-box {
        padding: 16px 18px;
        margin-top: 20px;
        margin-bottom: 16px;
    }

    .info-box h3 {
        font-size: 0.9rem;
    }

    .info-box li {
        font-size: 0.75rem;
    }

    .faq-header {
        padding: 16px 14px;
    }

    .faq-header h2 {
        font-size: 1rem;
    }

    .faq-question {
        padding: 10px 14px;
        gap: 10px;
    }

    .faq-question span {
        font-size: 0.8rem;
    }

    .faq-answer {
        padding: 0 14px 14px 42px;
        font-size: 0.75rem;
    }

    .subscribe-modal-content {
        padding: 24px 16px 16px;
        width: 95%;
    }

    .subscribe-modal-content h3 {
        font-size: 1.1rem;
    }

    .subscribe-steps li {
        font-size: 0.75rem;
        padding: 6px 8px;
        gap: 10px;
    }

    .step-number {
        width: 20px;
        height: 20px;
        font-size: 0.55rem;
    }

    .subscribe-modal-buttons {
        flex-direction: column;
    }

    .btn-buy-ticket, .btn-later {
        width: 100%;
        justify-content: center;
    }

    .custom-alert-modal {
        width: 95%;
    }

    .custom-alert-header {
        padding: 16px 20px;
    }

    .custom-alert-header .alert-icon {
        width: 44px;
        height: 44px;
    }

    .custom-alert-header .alert-icon i {
        font-size: 18px;
    }

    .custom-alert-header h3 {
        font-size: 1rem;
    }

    .custom-alert-body {
        padding: 18px 18px 16px;
    }

    .custom-alert-body .alert-message {
        font-size: 0.8rem;
        padding: 10px;
    }

    .alert-actions {
        flex-direction: column;
    }

    .alert-btn {
        width: 100%;
        justify-content: center;
        padding: 10px;
    }

    .prev-nav-bar {
        padding: 8px 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .prev-counter {
        font-size: 0.7rem;
    }

    .prev-count {
        font-size: 0.7rem;
        padding: 2px 10px;
    }

    .day-section-header {
        padding: 10px 14px;
    }

    .day-name {
        font-size: 0.8rem;
    }

    .day-date {
        font-size: 0.7rem;
    }

    .day-stats .stats-record {
        font-size: 0.6rem;
    }

    .loader-centered {
        min-height: 120px;
        padding: 20px;
    }

    .loader {
        width: 28px;
        height: 28px;
    }

    .loader-centered-small {
        padding: 24px;
    }

    .fixed-toast {
        font-size: 0.7rem;
        padding: 8px 16px;
        bottom: 16px;
    }
}

@media (max-width: 480px) {
    .header-title h1 {
        font-size: 1rem;
    }

    .header-title p {
        font-size: 0.7rem;
    }

    .back-btn {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    .date-tab {
        font-size: 0.55rem;
        padding: 4px 3px;
    }

    .date-tab .tab-date {
        font-size: 0.5rem;
    }

    .turkey-text {
        font-size: 0.95rem;
    }

    .turkey-flag {
        font-size: 1rem;
    }

    .fixed-ticket-badge {
        font-size: 0.55rem;
        padding: 3px 10px;
    }

    .winnings-value {
        font-size: 1rem;
    }

    .fin-value {
        font-size: 0.85rem;
    }

    .fin-label {
        font-size: 0.7rem;
    }

    .match-name {
        font-size: 0.7rem;
    }

    .match-time {
        font-size: 0.55rem;
    }

    .prediction-line {
        font-size: 0.55rem;
    }

    .pick-label {
        font-size: 0.6rem;
    }

    .pick-value {
        font-size: 0.7rem;
        padding: 2px 8px;
    }

    .odds-value {
        font-size: 0.75rem;
    }

    .locked-match-badge {
        font-size: 0.55rem;
        padding: 2px 10px;
    }

    .locked-time {
        font-size: 0.55rem;
    }

    .calendar-modal-content {
        width: 95%;
        border-radius: 20px;
    }

    .calendar-modal-days {
        padding: 8px;
        gap: 2px;
    }

    .calendar-modal-day {
        font-size: 0.7rem;
        border-radius: 8px;
    }

    .modal-content {
        width: 95%;
        border-radius: 20px;
    }
}