/* static/css/style.css */
:root {
    /* blue、gold、white */
    --primary-blue: #002b5e;
    --gold: #d4af37;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

/* Banner */
.hero {
    background: url('https://im.gurl.eu.org/file/AgACAgEAAxkDAAEBeYJpzj9oXEIR6_W8gPBZDPuQiGbc6AACRgxrG-UbcUZC0m8WSK2ohwEAAwIAA3kAAzoE.jpg') center/cover no-repeat;
    background-color: var(--primary-blue);
    height: 380px;           /* PC height */
    min-height: 260px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* mobile */
@media (max-width: 768px) {
    .hero {
        height: 280px;
        min-height: 240px;
    }
	
    .hero-overlay {
        padding-bottom: 50px;
    }
	
    .hero h1 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 15px;
    }
    
    .hero .hero-sub {
        font-size: 18px;
    }
}

/* Hero */
.hero-overlay {
    background: transparent;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 20px 0px;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 32px;
	text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    color: var(--gold);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero p {
    font-size: 16px;
    font-weight: 500;
	text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.hero .hero-sub {
	font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--white);
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9);
    margin-bottom: 10px;
}

/* main container for mobile */
.container {
    padding: 20px;
    max-width: 720px;
    margin: 0 auto;
}

.section-title {
    color: var(--primary-blue);
    font-size: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--gold);
    padding-left: 10px;
}

/* matches cards */
.match-card {
    background: var(--white);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid #eaeaea;
	transition: all 0.3s ease;
}

.match-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.match-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
}


.match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* team with VS gap */
    margin: 15px 0;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-blue);
    width: 35%;
    text-align: center;
}

.team-flag {
    width: 60px;   /* flag width */
    height: 40px;  /* flag height */
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vs-text {
    font-size: 14px;
    color: var(--text-light);
    font-weight: bold;
}

.match-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.price {
    font-size: 20px;
    color: var(--gold);
    font-weight: bold;
}

/* btn */
.btn-primary {
    background-color: var(--gold);
    color: var(--primary-blue);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #c4a02d;
}

.btn-secondary {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    width: 100%;
    margin-top: 15px;
    cursor: pointer;
}

/* Modal)*/
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
}

.modal h2 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 22px;
}

.order-summary {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    background: var(--white);
}

#submit-order {
    width: 100%;
    font-size: 16px;
    padding: 12px;
}

.hidden {
    display: none;
}

.success-icon {
    font-size: 40px;
    color: #2e7d32;
    text-align: center;
    margin-bottom: 10px;
}

.order-no {
    font-size: 24px;
    color: var(--primary-blue);
    text-align: center;
    margin: 10px 0;
    letter-spacing: 1px;
}

.note {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 40px 20px 25px;
    margin-top: 60px;
    font-size: 14px;
    text-align: center;
}

.footer .disclaimer {
    background-color: rgba(255,255,255,0.1);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 13px;
    line-height: 1.5;
}

.footer .disclaimer a {
    color: var(--gold);
    text-decoration: underline;
}

.footer .footer-content {
    opacity: 0.9;
}

.footer .footer-content a {
    color: var(--white);
    margin: 0 8px;
    text-decoration: none;
}

.footer .footer-content a:hover {
    text-decoration: underline;
}


.hero-badge {
    background: var(--gold);
    color: var(--primary-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-btn {
    margin-top: 15px;
    font-size: 18px;
    padding: 12px 30px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.trust-features {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.feature-box {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-bottom: 3px solid var(--gold);
}

.feature-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.feature-box h3 {
    font-size: 16px;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.feature-box p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.4;
}

.demand-tag {
    color: #e74c3c;
    font-weight: bold;
    background: #fadbd8;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.price-container {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .trust-features {
        flex-direction: column;
        margin-top: 20px;
    }
    .feature-box {
        margin-bottom: 10px;
    }
}

.hero {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    background-color: #002b5e;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero {
        height: 280px;
    }
}

.hero-text-section {
    background: linear-gradient(135deg, #002b5e, #001f44);
    padding: 50px 20px 40px;
    text-align: center;
    color: white;
}

.hero-overlay {
    max-width: 720px;
    margin: 0 auto;
}

.hero-overlay .hero-badge {
    background: #d4af37;
    color: #002b5e;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 32px;
    color: #d4af37;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-sub {
    font-size: 21px;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
}

.hero-btn {
    font-size: 18px;
    padding: 14px 32px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

@media (max-width: 768px) {
    .hero-text-section {
        padding: 40px 20px 30px;
    }
    
    .hero h1 {
        font-size: 26px;
    }
    
    .hero-sub {
        font-size: 18px;
    }
}

.hero-connect-main {
    background: var(--gold) !important;
    color: var(--primary-blue) !important;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    margin-bottom: 20px;
    border: 2px solid var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.2s;
}

.hero-connect-main:hover {
    transform: scale(1.05);
}

.wallet-header {
    position: fixed;
    top: 20px;
    right: 20px;
}


.trust-features-unified {
    margin-top: -25px;
    position: relative;
    z-index: 20;
}

.unified-badge {
    background: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.badge-item {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-sep {
    width: 1px;
    height: 20px;
    background: #ddd;
}

@media (max-width: 768px) {
    .unified-badge {
        flex-direction: column;
        border-radius: 15px;
        gap: 10px;
    }
    .badge-sep { display: none; }
}

.booking-ticker {
    background: #eef2f7;
    border: 1px solid #d1d9e6;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 20px;
    overflow: hidden;
    height: 40px;
    display: flex;
    align-items: center;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    transition: opacity 0.5s ease;
}

.ticker-icon {
    font-size: 16px;
}

#ticker-text {
    font-size: 13px;
    color: var(--primary-blue);
    font-weight: 500;
    white-space: nowrap;
}

.fade-out {
    opacity: 0;
}