* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(145deg, #0a1628 0%, #0d1b2a 100%);
    position: relative;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 40%, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.main-content {
    min-height: calc(100vh - 80px);
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 20px;
    display: block;
    position: relative;
    z-index: 1;
}

.turkey-page {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.back-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #FFE8B6;
    cursor: pointer;
    transition: all 0.2s;
}

.back-btn:hover {
    border-color: #e11d1d;
    color: #e11d1d;
    transform: translateY(-1px);
    background: rgba(225, 29, 29, 0.1);
}

.header-title h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.header-title h1 i {
    color: #e11d1d;
    margin-right: 8px;
}

.header-title p {
    color: #a8c4e0;
    font-size: 0.8rem;
    margin-top: 4px;
}

/* Date Tabs */
.date-tabs {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 4px;
    border-radius: 48px;
    width: 100%;
    margin-bottom: 24px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.date-tab {
    flex: 1;
    padding: 10px 8px;
    border: none;
    border-radius: 40px;
    background: transparent;
    font-weight: 700;
    font-size: 0.85rem;
    color: #a8c4e0;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    line-height: 1.3;
}

.date-tab .tab-date {
    font-weight: normal;
    font-size: 0.7rem;
    display: block;
    margin-top: 2px;
    color: #8ba3c0;
}

.date-tab:hover {
    color: #e11d1d;
    background: rgba(225, 29, 29, 0.1);
}

.date-tab:hover .tab-date {
    color: #e11d1d;
}

.date-tab.active {
    background: #e11d1d;
    color: white;
}

.date-tab.active .tab-date {
    color: #FFE8B6;
}

.calendar-wrapper {
    margin-left: auto;
}

.calendar-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #FFE8B6;
    cursor: pointer;
    transition: all 0.2s;
}

.calendar-btn:hover {
    border-color: #e11d1d;
    color: #e11d1d;
    background: rgba(225, 29, 29, 0.1);
}

.calendar-btn i {
    color: #e11d1d;
}

/* Stats Summary */
.stats-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 12px 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.stats-icon i {
    font-size: 1.2rem;
    color: #e11d1d;
}

.stats-info {
    display: flex;
    gap: 12px;
    align-items: baseline;
}

.stats-label {
    font-size: 0.8rem;
    color: #a8c4e0;
}

.stats-value {
    font-size: 1rem;
    font-weight: 700;
    color: #e11d1d;
}

/* Main Ticket */
.ticket-premium {
    max-width: 100%;
    width: 100%;
    background: #FFFFFF;
    border-radius: 28px;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    margin: 0 auto 24px;
    transition: all 0.2s ease;
}

.watermark-top {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    font-weight: 900;
    color: rgba(185, 28, 28, 0.08);
    pointer-events: none;
    font-style: italic;
    letter-spacing: 3px;
    z-index: 1;
    transform: rotate(-5deg);
}

/* Turkey Red Header */
.ticket-header {
    background: linear-gradient(135deg, #b91c1c 0%, #e11d1d 100%);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.turkey-logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.turkey-flag {
    font-size: 1.5rem;
}

.turkey-text {
    font-size: 1.5rem;
    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: 6px 16px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.75rem;
    color: #FFE8B6;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.fixed-ticket-badge.won-badge {
    background: #06c27030 !important;
    color: #06c270 !important;
}

.fixed-ticket-badge.lost-badge {
    background: #e6393930 !important;
    color: #e63939 !important;
}

.fixed-ticket-badge.locked-badge {
    background: #e6393930 !important;
    color: #e63939 !important;
}

.meta-panel {
    background: #f8f7f4;
    padding: 12px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #e8e2d6;
    position: relative;
    z-index: 2;
}

.meta-item {
    font-size: 0.8rem;
    font-weight: 500;
    color: #3a5c54;
    background: transparent;
    padding: 0;
}

.meta-item strong {
    color: #1f3d36;
    margin-left: 5px;
    font-weight: 700;
}

.dash-modern, .dash-light {
    border: none;
    border-top: 1.5px dashed #d4cfc4;
    margin: 0;
    width: 100%;
}

/* Games Container */
.games-container {
    padding: 20px 24px 12px 24px;
    position: relative;
    z-index: 2;
    min-height: 200px;
}

.game-card {
    margin-bottom: 28px;
    background: transparent;
    padding: 0;
}

.game-card:last-child {
    margin-bottom: 0;
}

.match-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    padding-bottom: 4px;
}

.match-name {
    font-weight: 800;
    font-size: 1rem;
    color: #1f3d36;
    letter-spacing: -0.2px;
}

.match-time {
    font-size: 0.7rem;
    font-weight: 500;
    color: #9a8b72;
}

/* Locked Ticket Styles */
.locked-match-badge {
    background: #2e7d64;
    color: white;
    padding: 5px 18px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.locked-time {
    color: #9a8b72;
    font-size: 0.7rem;
    font-weight: 500;
}

.locked-pick {
    background: #fff0e0 !important;
    color: #e8871e !important;
}

.prediction-line {
    font-size: 0.7rem;
    font-weight: 500;
    color: #8f9b95;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ft-score.won {
    color: #06c270;
}

.ft-score.lost {
    color: #e63939;
}

.ft-score.pending {
    color: #f5a623;
}

.green-tick {
    color: #06c270;
    font-size: 0.85rem;
    margin-left: 4px;
}

.pick-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.pick-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pick-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #5a756c;
}

.pick-value {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1f3d36;
    background: #f4f1ea;
    padding: 4px 16px;
    border-radius: 40px;
}

.odds-value {
    font-weight: 700;
    font-family: monospace;
    font-size: 1rem;
    color: #1a1a1a;
}

.game-divider {
    border: none;
    border-top: 1.5px dashed #d4cfc4;
    margin: 8px 0 0;
}

/* No Games Message */
.no-games-message {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.no-games-message i {
    font-size: 3rem;
    color: #e11d1d;
    margin-bottom: 16px;
    display: block;
}

.no-games-message h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.no-games-message p {
    color: #a8c4e0;
    font-size: 0.85rem;
}

/* ==================== ENHANCED NO DATA MESSAGE ==================== */
.no-data-message.enhanced {
    text-align: center;
    padding: 60px 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.no-data-message.enhanced .no-data-icon {
    font-size: 3.5rem;
    color: #e11d1d;
    margin-bottom: 16px;
}

.no-data-message.enhanced .no-data-icon i {
    display: block;
}

.no-data-message.enhanced h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.no-data-message.enhanced p {
    color: #a8c4e0;
    font-size: 0.95rem;
    max-width: 400px;
    margin: 0 auto 12px;
    line-height: 1.5;
}

.no-data-message.enhanced .next-ticket-info {
    color: #f5a623;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 8px;
}

.no-data-message.enhanced .next-ticket-info i {
    margin-right: 8px;
    color: #f5a623;
}

.no-data-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.btn-buy-ticket-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #e11d1d, #b91c1c);
    color: white;
    border: none;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-buy-ticket-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 29, 29, 0.4);
}

.btn-check-next {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.1);
    color: #a8c4e0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-check-next:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* ==================== SUBSCRIPTION MODAL ==================== */
.subscribe-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeIn 0.3s ease;
}

.subscribe-modal-content {
    background: white;
    border-radius: 32px;
    max-width: 520px;
    width: 92%;
    padding: 36px 32px 28px;
    position: relative;
    animation: modalSlideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.subscribe-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.2s;
}

.subscribe-modal-close:hover {
    color: #1f2a44;
}

.subscribe-modal-icon {
    text-align: center;
    font-size: 3rem;
    color: #e11d1d;
    margin-bottom: 12px;
}

.subscribe-modal-content h3 {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1f2a44;
    margin-bottom: 8px;
}

.subscribe-modal-content > p {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.subscribe-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.subscribe-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.4;
}

.subscribe-steps li:last-child {
    border-bottom: none;
}

.step-number {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #e11d1d, #b91c1c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
}

.subscribe-steps li strong {
    color: #1f2a44;
}

.subscribe-modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.btn-buy-ticket {
    flex: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #e11d1d, #b91c1c);
    color: white;
    border: none;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-buy-ticket:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 29, 29, 0.35);
}

.btn-later {
    flex: 1;
    padding: 14px 20px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-later:hover {
    background: #e2e8f0;
}

/* Multi-day Games List - Previous Tab */
.multi-day-games-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
}

.day-section {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 16px;
}

.day-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #f8fafc;
    cursor: default;
    transition: background 0.2s;
}

.day-section-header:hover {
    background: rgba(225, 29, 29, 0.05);
}

.day-section-header.permanent-open {
    cursor: default !important;
    pointer-events: none !important;
}

.day-section-header.permanent-open .toggle-icon {
    display: none !important;
}

.day-info {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.day-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1b4d3e;
}

.day-date {
    font-size: 0.8rem;
    color: #64748b;
}

.day-stats .stats-record {
    font-weight: 600;
    color: #e11d1d;
    background: rgba(225, 29, 29, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
}

.toggle-icon {
    color: #e11d1d;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.day-content {
    display: none;
    background: white;
}

.day-content.open {
    display: block !important;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ==================== DAY SECTION - OPEN BY DEFAULT ==================== */
.day-section-header .toggle-icon {
    display: none !important;
}

.day-content {
    display: block !important;
}

/* ==================== ENHANCED DAY SECTION ==================== */
.day-section-header.open {
    background: rgba(225, 29, 29, 0.05);
}

.day-section-header.open .day-name {
    color: #e11d1d;
}

.day-content.open .day-games-container {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badge Container */
.badge-container {
    display: flex;
    justify-content: center;
    margin: 8px 0 12px 0;
    z-index: 2;
    position: relative;
}

.football-league-badge {
    background: #fefbf5;
    border: 2px solid #b91c1c;
    border-radius: 0 0 28px 28px;
    padding: 6px 22px;
    text-align: center;
    position: relative;
    min-width: 130px;
}

.badge-crown {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0 8px;
    font-size: 0.7rem;
    color: #e6a017;
}

.badge-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-weight: 800;
    font-size: 0.8rem;
    font-style: italic;
    color: #b91c1c;
}

.badge-brand .b-highlight {
    background: #e11d1d;
    color: white;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    margin-left: 3px;
}

.badge-text {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #b91c1c;
    letter-spacing: 0.3px;
    margin-top: 3px;
}

/* Financial Panel */
.financial-panel {
    padding: 0 24px 20px 24px;
    position: relative;
    z-index: 2;
}

.fin-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: none;
}

.fin-row:last-child {
    border-bottom: none;
}

.fin-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #5a756c;
}

.fin-value {
    font-weight: 800;
    font-size: 1.1rem;
    color: #1f3d36;
    font-family: monospace;
}

.winnings-value {
    font-weight: 800;
    font-size: 1.3rem;
    background: linear-gradient(125deg, #c47d1d, #e99c2e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Plain winnings value for download (no gradient) */
.winnings-value-plain {
    font-weight: 800;
    font-size: 1.3rem;
    color: #e8871e;
    font-family: monospace;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    text-fill-color: #e8871e !important;
}

/* Footer Warning */
.footer-warning {
    background: #b91c1c;
    color: white;
    margin: 8px 24px 20px;
    padding: 14px 16px;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 20px;
}

.footer-warning i {
    margin-right: 5px;
    color: #ffcd7e;
}

/* ==================== TICKET ACTIONS - SHARE & DOWNLOAD ==================== */
.ticket-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 24px 0 32px 0;
    width: 100%;
}

.action-btn {
    flex: 1;
    max-width: 200px;
    padding: 14px 24px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    transition: all 0.2s ease;
}

.share-btn {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.download-btn {
    background: linear-gradient(135deg, #e11d1d, #b91c1c);
    color: white;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.4);
}

/* Buy Now Button */
.buy-now-btn {
    background: linear-gradient(135deg, #e11d1d, #b91c1c);
    border: none;
    padding: 14px 28px;
    border-radius: 60px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    color: white;
    width: calc(100% - 48px);
    margin: 8px 24px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}

.buy-now-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(185, 28, 28, 0.4);
}

/* ==================== INFO BOX (About Section) ==================== */
.info-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px 28px;
    margin-top: 32px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.info-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box h3 i {
    color: #e11d1d;
    font-size: 1.2rem;
}

.info-box ul {
    list-style: none;
    padding-left: 0;
}

.info-box li {
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #a8c4e0;
    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: #e11d1d;
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-box li strong {
    color: white;
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%;
}

.faq-header {
    text-align: center;
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-header i {
    font-size: 2rem;
    color: #e11d1d;
    margin-bottom: 8px;
}

.faq-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.faq-header p {
    color: #a8c4e0;
    font-size: 0.8rem;
}

.faq-container {
    padding: 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question i:first-child {
    color: #e11d1d;
    font-size: 0.85rem;
    transition: transform 0.2s;
}

.faq-item.active .faq-question i:first-child {
    transform: rotate(90deg);
}

.faq-question span {
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    flex: 1;
}

.faq-answer {
    display: none;
    padding: 0 20px 20px 48px;
    color: #a8c4e0;
    font-size: 0.85rem;
    line-height: 1.6;
    background: transparent;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Loaders */
.loader-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #e11d1d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-centered-small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px;
    color: #a8c4e0;
    background: rgba(255, 255, 255, 0.08);
}

.loader-small {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: #e11d1d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    margin-top: 16px;
    color: #a8c4e0;
}

.ticket-wrapper {
    position: relative;
}

/* ==================== CALENDAR BADGES ==================== */
.calendar-modal-day {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s;
    background: #f8fafc;
}

/* Available tickets - SETTLED (won/lost) */
.calendar-modal-day.available.settled {
    background: #d1fae5 !important;
    color: #059669 !important;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid #10b981;
}

.calendar-modal-day.available.settled:hover {
    background: #a7f3d0 !important;
    transform: scale(1.05);
}

/* Available tickets - PENDING */
.calendar-modal-day.available.pending-ticket {
    background: #fef3c7 !important;
    color: #92400e !important;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid #f59e0b;
}

.calendar-modal-day.available.pending-ticket:hover {
    background: #fde68a !important;
    transform: scale(1.05);
}

/* Available tickets - FUTURE (has ticket but not past) */
.calendar-modal-day.available.future {
    background: #fef3c7 !important;
    color: #92400e !important;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid #f5a623;
}

.calendar-modal-day.available.future:hover {
    background: #fde68a !important;
    transform: scale(1.05);
}

/* Available future - NO TICKET YET (but day is valid) */
.calendar-modal-day.available-future {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    cursor: pointer;
    border: 1px dashed #0369a1;
}

.calendar-modal-day.available-future:hover {
    background: #bae6fd !important;
    transform: scale(1.05);
}

/* Disabled days (no ticket, not a valid day) */
.calendar-modal-day.disabled {
    background: #f1f5f9 !important;
    color: #cbd5e1 !important;
    cursor: not-allowed;
    opacity: 0.5;
}

/* Pending (past date with ticket but no results) */
.calendar-modal-day.pending {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
    opacity: 0.6;
    border: 1px dashed #94a3b8;
}

/* Today */
.calendar-modal-day.today {
    border: 2px solid #e11d1d !important;
    font-weight: 700;
    position: relative;
}

/* Badges */
.calendar-modal-day .settled-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 0.5rem;
    color: #10b981;
}

.calendar-modal-day .pending-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 0.5rem;
    color: #f59e0b;
}

.calendar-modal-day .ticket-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 0.5rem;
    color: #f5a623;
}

.calendar-modal-day .today-label {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.45rem;
    background: #e11d1d;
    color: white;
    padding: 1px 6px;
    border-radius: 8px;
    font-weight: 600;
    white-space: nowrap;
}

/* Selected */
.calendar-modal-day.selected {
    background: #e11d1d !important;
    color: white !important;
    font-weight: 700;
    border: 2px solid #b91c1c;
}

/* Empty cells */
.calendar-modal-day.empty {
    background: transparent !important;
    cursor: default;
}

/* Calendar Modal Container */
.calendar-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    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: 28px;
    width: 90%;
    max-width: 400px;
    overflow: hidden;
}

.calendar-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #b91c1c, #e11d1d);
}

.calendar-modal-header h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
}

.calendar-modal-header h3 i {
    color: #F5A623;
    margin-right: 8px;
}

.calendar-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.calendar-modal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f4f7f6;
}

.calendar-modal-nav-btn {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    color: #64748b;
}

.calendar-modal-nav-btn:hover {
    background: #edf2ec;
    color: #F5A623;
}

#calendarModalMonthYear {
    font-weight: 700;
    color: #1b4d3e;
}

.calendar-modal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    padding: 12px 8px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.calendar-modal-weekdays span {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
}

.calendar-modal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 16px;
    gap: 4px;
    background: white;
}

.calendar-modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: #f4f7f6;
    border-top: 1px solid #e2e8f0;
}

.calendar-modal-today,
.calendar-modal-cancel {
    flex: 1;
    padding: 10px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
}

.calendar-modal-today {
    background: linear-gradient(135deg, #F5A623, #E8871E);
    color: #1b4d3e;
}

.calendar-modal-cancel {
    background: #f4f7f6;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

/* Auth Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    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: 28px;
    width: 90%;
    max-width: 420px;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #b91c1c, #e11d1d);
}

.modal-header h2 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

.modal-header h2 i {
    color: #F5A623;
    margin-right: 8px;
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.modal-body {
    padding: 32px 24px;
    text-align: center;
}

.auth-icon {
    font-size: 3rem;
    color: #e11d1d;
    margin-bottom: 16px;
}

.auth-modal h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1b4d3e;
    margin-bottom: 12px;
}

.auth-modal p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.auth-buttons-modal {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}

.btn-login-modal {
    background: linear-gradient(135deg, #e11d1d, #b91c1c);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
}

.btn-register-modal {
    background: white;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
}

.subscribe-link {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.subscribe-link a {
    color: #e11d1d;
    text-decoration: none;
    font-size: 0.85rem;
}

/* ==================== TOAST NOTIFICATIONS ==================== */
#customToast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 0.85rem;
    z-index: 10000;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
    max-width: 90%;
    text-align: center;
}

/* ==================== SUBSCRIPTION STATUS MODAL ==================== */
.subscription-status-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    animation: fadeIn 0.3s ease;
}

.subscription-status-content {
    background: white;
    border-radius: 32px;
    max-width: 480px;
    width: 90%;
    padding: 32px;
    text-align: center;
    animation: modalSlideUp 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.subscription-status-content.active-status {
    border-top: 5px solid #10b981;
}

.subscription-status-content.pending-status {
    border-top: 5px solid #f5a623;
}

.status-icon {
    width: 80px;
    height: 80px;
    background: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.status-icon i {
    font-size: 2.5rem;
    color: #10b981;
}

.status-icon.pending {
    background: #fef3c7;
}

.status-icon.pending i {
    color: #f5a623;
}

.subscription-status-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2a44;
    margin-bottom: 20px;
}

.subscription-details-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #475569;
    font-size: 0.85rem;
}

.detail-value {
    color: #1f2a44;
    font-weight: 500;
    font-size: 0.85rem;
}

.plan-name-value {
    font-weight: 700;
    color: #1f2a44;
}

.amount-value {
    font-weight: 700;
    color: #f5a623;
}

.status-message {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 16px 0;
}

.pending-status-message {
    background: #fef9f0;
    border-radius: 16px;
    padding: 16px;
    margin: 16px 0;
    border-left: 4px solid #f5a623;
}

.pending-status-message p {
    color: #92400e;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.pending-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fef9f0;
    padding: 12px;
    border-radius: 40px;
    margin: 16px 0;
}

.pending-timer i {
    color: #f5a623;
}

.pending-timer span {
    font-size: 0.8rem;
    color: #92400e;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-view-subscription {
    flex: 1;
    padding: 12px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: linear-gradient(135deg, #b91c1c, #e11d1d);
    color: white;
}

.btn-view-subscription:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(185, 28, 28, 0.3);
}

.btn-close-modal {
    flex: 1;
    padding: 12px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: #f1f5f9;
    color: #475569;
}

.btn-close-modal:hover {
    background: #e2e8f0;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ==================== TICKET CLEAN WORKSPACE ==================== */
.ticket-clean-workspace {
    width: 100%;
    display: flex;
    justify-content: center;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

/* ==================== MULTI-DAY CONTAINER ==================== */
.multi-day-container {
    width: 100%;
}

.day-games-container {
    padding: 0 4px;
}

/* ==================== PREVIOUS TAB PAGINATION ==================== */
.prev-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 16px;
    gap: 12px;
    flex-wrap: wrap;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
}

.prev-nav-bar:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(225, 29, 29, 0.3);
}

.prev-nav-bar:active {
    transform: scale(0.98);
}

.prev-counter {
    color: #a8c4e0;
    font-size: 0.85rem;
    font-weight: 500;
}

.prev-count {
    color: #e11d1d;
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(225, 29, 29, 0.1);
    padding: 4px 16px;
    border-radius: 20px;
    border: 1px solid rgba(225, 29, 29, 0.2);
}

/* ==================== CUSTOM ALERT MODAL ==================== */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeIn 0.3s ease;
}

.custom-alert-modal {
    background: #0f172a;
    border-radius: 24px;
    max-width: 460px;
    width: 92%;
    overflow: hidden;
    animation: modalSlideUp 0.3s ease;
    border: 1px solid rgba(225, 29, 29, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.custom-alert-header {
    background: linear-gradient(135deg, #b91c1c, #e11d1d);
    padding: 24px 28px;
    text-align: center;
    position: relative;
}

.custom-alert-header .alert-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.custom-alert-header .alert-icon i {
    font-size: 28px;
    color: #FFE8B6;
}

.custom-alert-header h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
}

.custom-alert-body {
    padding: 28px 28px 24px;
}

.custom-alert-body .alert-message {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 3px solid #e11d1d;
}

.custom-alert-body .alert-message i {
    color: #f5a623;
    margin-right: 8px;
}

.alert-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.alert-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 120px;
}

.alert-btn-primary {
    background: linear-gradient(135deg, #e11d1d, #b91c1c);
    color: white;
}

.alert-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(225, 29, 29, 0.4);
}

.alert-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.alert-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .main-content {
        padding: 0 !important;
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }
    .turkey-page {
        max-width: 100%;
        padding: 0 16px;
    }
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .date-tabs {
        width: 100%;
    }
    .date-tab {
        padding: 8px 6px;
        font-size: 0.7rem;
    }
    .date-tab .tab-date {
        font-size: 0.6rem;
    }
    .games-container {
        padding: 16px 18px;
    }
    .financial-panel {
        padding: 0 18px 16px;
    }
    .subscribe-modal-content {
        padding: 28px 20px 20px;
        width: 95%;
        max-height: 85vh;
    }
    .subscribe-modal-content h3 {
        font-size: 1.2rem;
    }
    .subscribe-steps li {
        font-size: 0.8rem;
        padding: 8px 10px;
    }
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
    }
    .subscribe-modal-buttons {
        flex-direction: column;
    }
    .btn-buy-ticket, .btn-later {
        width: 100%;
        justify-content: center;
    }
    .no-data-message.enhanced {
        padding: 40px 20px;
    }
    .no-data-message.enhanced .no-data-icon {
        font-size: 2.8rem;
    }
    .no-data-message.enhanced h4 {
        font-size: 1.1rem;
    }
    .no-data-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-buy-ticket-small, .btn-check-next {
        justify-content: center;
    }
    .subscription-status-content {
        padding: 24px;
        width: 85%;
    }
    .modal-actions {
        flex-direction: column;
    }
    .detail-item {
        flex-direction: column;
        gap: 4px;
    }
    .detail-value {
        text-align: left;
    }
    .prev-nav-bar {
        padding: 10px 14px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .prev-counter {
        font-size: 0.75rem;
    }
    .prev-count {
        font-size: 0.75rem;
        padding: 3px 12px;
    }
}

@media (max-width: 480px) {
    .ticket-header {
        padding: 14px 18px;
    }
    .turkey-text {
        font-size: 1.2rem;
    }
    .turkey-flag {
        font-size: 1.2rem;
    }
    .winnings-value {
        font-size: 1.1rem;
    }
    .footer-warning {
        margin: 8px 18px 16px;
    }
    .watermark-top {
        font-size: 1.2rem;
        top: 12px;
        right: 12px;
    }
    .match-name {
        font-size: 0.85rem;
    }
    .ticket-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin: 20px 0 28px 0;
    }
    .action-btn {
        max-width: 100%;
        width: 100%;
        padding: 12px 20px;
        font-size: 0.8rem;
    }
    .buy-now-btn {
        width: calc(100% - 36px);
        margin: 8px 18px 20px;
    }
    .info-box {
        padding: 18px 16px;
        margin-top: 24px;
        margin-bottom: 20px;
    }
    .info-box h3 {
        font-size: 1rem;
    }
    .info-box li {
        font-size: 0.8rem;
        gap: 8px;
    }
    .subscribe-modal-content {
        padding: 24px 16px 16px;
    }
    .subscribe-modal-icon {
        font-size: 2.2rem;
    }
    .subscribe-steps li {
        font-size: 0.75rem;
        padding: 6px 8px;
        gap: 10px;
    }
    .custom-alert-modal {
        width: 95%;
        border-radius: 20px;
    }
    .custom-alert-header {
        padding: 20px 20px 16px;
    }
    .custom-alert-header .alert-icon {
        width: 52px;
        height: 52px;
    }
    .custom-alert-header .alert-icon i {
        font-size: 22px;
    }
    .custom-alert-header h3 {
        font-size: 1.1rem;
    }
    .custom-alert-body {
        padding: 20px 20px 18px;
    }
    .custom-alert-body .alert-message {
        font-size: 0.85rem;
        padding: 12px;
    }
    .alert-actions {
        flex-direction: column;
    }
    .alert-btn {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }
}