/*
Theme Name: 2026 FIFA World Cup Ticket
Theme URI: 
Author: Custom
Description: 1:1还原静态HTML，34场赛事完整，对接KZ支付插件，移除USDT
Version: 1.0
Text Domain: worldcup2026
*/

/* 以下是你原HTML里的全部CSS样式，一字未改 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
:root {
    --world-cup-main: #00529B;
    --world-cup-red: #E63946;
    --date-red: #d32f2f;
    --pay-green: #4CAF50;
    --pay-border: #e0e0e0;
    --text-gray: #666;
    --buy-btn-green: #00d1b2;
    --card-shadow: 0 4px 12px rgba(0,0,0,0.08);
    --card-hover-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: #f8f9fa;
    color: #212529;
    line-height: 1.5;
    min-height: 100vh;
}
.home-page {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #00529B 0%, #004483 100%);
    color: white;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    cursor: pointer;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}
.home-page.hidden {
    display: none;
}
.home-logo {
    width: 180px;
    margin-bottom: 30px;
}
.home-title {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
}
.home-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}
.countdown {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
}
.countdown-item {
    background: rgba(255,255,255,0.15);
    padding: 15px 20px;
    border-radius: 12px;
    min-width: 70px;
    backdrop-filter: blur(10px);
}
.countdown-number {
    font-size: 36px;
    font-weight: bold;
}
.countdown-label {
    font-size: 14px;
    opacity: 0.8;
}
.home-btn {
    background: white;
    color: #00529B;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.home-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.header {
    background: linear-gradient(135deg, #00529B 0%, #003d73 100%);
    color: white;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 99;
}
.header h1 {
    font-size: 26px;
    margin-bottom: 8px;
    font-weight: 600;
}
.header p {
    font-size: 15px;
    opacity: 0.95;
    font-weight: 400;
}
.official-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 8px;
    font-weight: 500;
}
.search-filter {
    max-width: 1200px;
    margin: 16px auto;
    padding: 16px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.search-filter-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
#searchInput, #dateFilter {
    padding: 12px 16px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 15px;
    transition: border 0.2s;
}
#searchInput:focus, #dateFilter:focus {
    outline: none;
    border-color: var(--world-cup-main);
}
#searchInput {
    flex: 1;
    min-width: 220px;
}
button {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    font-size: 15px;
}
button:focus {
    outline: 2px solid rgba(0,82,155,0.3);
}
.search-btn {
    background: var(--world-cup-main);
    color: white;
}
.search-btn:hover {
    background: #004483;
}
.reset-btn {
    background: white;
    color: var(--world-cup-main);
    border: 1px solid var(--world-cup-main);
}
.reset-btn:hover {
    background: #f0f7ff;
}
.container {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}
.match-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    display: flex;
    padding: 20px;
    gap: 16px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}
.match-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--world-cup-main);
}
.date-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 68px;
    text-align: center;
}
.date-month {
    background-color: var(--date-red);
    color: white;
    width: 100%;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px 6px 0 0;
}
.date-day {
    background-color: #f8f9fa;
    color: #212529;
    width: 100%;
    padding: 10px 0;
    font-size: 22px;
    font-weight: 700;
}
.date-week {
    background-color: #6c757d;
    color: white;
    width: 100%;
    padding: 6px 0;
    font-size: 12px;
    font-weight: 500;
    border-radius: 0 0 6px 6px;
}
.match-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.match-title {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
}
.team-flag {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.match-stadium-small {
    font-size: 13px;
    color: #6c757d;
}
.match-location {
    font-size: 14px;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 6px;
}
.location-icon {
    width: 16px;
    height: 16px;
    fill: #6c757d;
    flex-shrink: 0;
}
.ticket-count {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
}
.match-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}
.match-price {
    font-size: 15px;
    color: #212529;
    font-weight: 600;
}
.match-price span {
    color: var(--world-cup-red);
    font-size: 18px;
}
.card-btn {
    background: linear-gradient(90deg, #00d1b2 0%, #00bfa5 100%);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 3px 8px rgba(0,209,178,0.25);
    text-decoration: none;
}
.card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0,209,178,0.35);
}
.card-like {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 22px;
    height: 22px;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23bdc3c7"%3E%3Cpath d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
    transition: all 0.25s ease;
}
.card-like.liked {
    transform: scale(1.15);
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e53935"%3E%3Cpath d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/%3E%3C/svg%3E');
}
#loading, #emptyState {
    text-align: center;
    padding: 60px 20px;
    display: none;
}
.pay-page {
    max-width: 600px;
    margin: 20px auto;
    padding: 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.pay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.back-btn {
    background: none;
    border: none;
    font-size: 16px;
    color: var(--world-cup-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    text-decoration: none;
}
.back-btn:hover {
    color: #003c72;
}
.pay-title {
    font-size: 22px;
    font-weight: 600;
    color: #212529;
}
.match-info {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e9ecef;
}
.match-img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.match-detail {
    flex: 1;
}
.match-title-box h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}
.match-title-box p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 16px;
}
.price-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.price-text {
    font-size: 16px;
    color: #495057;
}
.price-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--world-cup-red);
}
.ticket-num-area, .fifa-form-area, .copy-area {
    margin-bottom: 24px;
}
.ticket-num-title, .fifa-form-title, .copy-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #212529;
}
.ticket-num-select {
    display: flex;
    align-items: center;
    gap: 12px;
}
.num-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.num-btn:hover {
    background: #f8f9fa;
}
.ticket-num-input {
    width: 90px;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
}
.fifa-input-group {
    margin-bottom: 16px;
}
.fifa-input {
    width: 100%;
    padding: 14px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 15px;
    transition: border 0.2s;
}
.fifa-input:focus {
    outline: none;
    border-color: var(--world-cup-main);
}
.fifa-tip {
    font-size: 12px;
    color: var(--world-cup-red);
    margin-top: 6px;
    font-weight: 500;
}
.notice-area {
    margin-top: 24px;
}
.notice-all {
    margin-bottom: 12px;
    font-size: 15px;
    color: #212529;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}
.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #495057;
    line-height: 1.5;
}
.notice-checkbox {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}
.footer {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 40px;
    font-size: 12px;
    color: #666;
}
.footer-logo {
    width: 60px;
    margin-bottom: 12px;
    opacity: 0.7;
}
.footer-copyright {
    margin-bottom: 8px;
    line-height: 1.5;
}
.footer-legal {
    font-size: 11px;
    color: #888;
}
@media (max-width: 768px) {
    .home-title {
        font-size: 24px;
    }
    .countdown-number {
        font-size: 28px;
    }
    .header h1 {
        font-size: 22px;
    }
    .container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .match-card {
        flex-direction: column;
        padding: 18px;
        gap: 14px;
    }
    .date-column {
        flex-direction: row !important;
        min-width: auto !important;
        width: 100% !important;
    }
    .date-month, .date-day, .date-week {
        flex: 1;
        border-radius: 0;
        padding: 8px 0;
    }
    .date-month {
        border-radius: 8px 0 0 8px;
    }
    .date-week {
        border-radius: 0 8px 8px 0;
    }
    .match-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .card-btn {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
    .match-info {
        flex-direction: column;
        gap: 16px;
    }
    .match-img {
        width: 100%;
        height: auto;
    }
    .search-filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    #searchInput, #dateFilter, button {
        width: 100%;
    }
}