/* ===== RESET ===== */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f5f5;
    margin: 0;
}

.container {
    width: 94%;
    margin: auto;
}

/* ===== HEADER ===== */

.header {
    background: #fff;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

/* ===== BANNER ===== */

.banner {
    width: 100%;
    border-radius: 12px;
    margin-top: 10px;
}

/* ===== TAG ===== */

.tag {
    background: #222;
    color: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 10px;
}

/* ========================= */

/* ===== HOMEPAGE ===== */

/* ========================= */

/* TEAMS GRID */

.teams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.team-box-grid {
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    color: #fff;
    transition: 0.3s;
}

.team-box-grid:hover {
    transform: translateY(-4px);
}

/* TEAM COLORS */

.rcb {
    background: linear-gradient(135deg, #000, #ff0000);
}

.mi {
    background: linear-gradient(135deg, #004ba0, #00c6ff);
}

.kkr {
    background: linear-gradient(135deg, #3a0ca3, #7209b7);
}

.csk {
    background: linear-gradient(135deg, #f9d423, #ff4e50);
}

.dc {
    background: linear-gradient(135deg, #004e92, #000428);
}

.rr {
    background: linear-gradient(135deg, #ff4e50, #f9d423);
}

.pbks {
    background: linear-gradient(135deg, #b31217, #e52d27);
}

.gt {
    background: linear-gradient(135deg, #1f4037, #99f2c8);
}

.lsg {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.srh {
    background: linear-gradient(135deg, #ff8008, #ffc837);
}

/* LOGO */

.logo-wrap {
    width: 60px;
    height: 60px;
    margin: auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-wrap img {
    width: 40px;
}

/* TEAM NAME */

.team-box-grid p {
    margin-top: 6px;
    font-size: 12px;
    font-weight: bold;
}

/* EVENTS */

.event-link {
    text-decoration: none;
    color: inherit;
}

.event-card {
    background: #fff;
    border-radius: 12px;
    margin-top: 10px;
    padding: 12px;
    transition: 0.2s;
}

.event-card:hover {
    transform: translateY(-2px);
}

.event-top {
    display: flex;
    justify-content: space-between;
}

.date-box {
    background: #eee;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
}

.match {
    font-size: 12px;
    color: #777;
}

.teams-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
}

.team-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
}

.team-box img {
    width: 36px;
}

.team-box span {
    font-size: 12px;
    font-weight: 600;
}

.vs-circle {
    background: #eee;
    padding: 6px 8px;
    border-radius: 50%;
}

.event-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.time {
    font-size: 12px;
    color: gray;
}

.status {
    font-size: 12px;
    color: red;
    font-weight: bold;
}

.book {
    font-size: 12px;
    color: #ff4d4f;
    font-weight: bold;
}

/* ========================= */

/* ===== MATCH PAGE ===== */

/* ========================= */

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
    padding: 15px;
    background: #fff;
    border-radius: 14px;
}

.team-detail {
    text-align: center;
    width: 35%;
}

.team-detail img {
    width: 65px;
}

.team-detail p {
    font-size: 13px;
    font-weight: 600;
}

.vs-big {
    font-size: 18px;
    font-weight: bold;
}

/* INFO */

.match-info-box {
    background: #fff;
    padding: 14px;
    border-radius: 12px;
    margin: 15px 0;
}

/* ========================= */

/* ===== STADIUM UI ===== */

/* ========================= */

.timer-bar {
    background: linear-gradient(90deg, #5f2c82, #49a09d);
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
    margin: 10px 0;
}

.stadium {
    width: 320px;
    height: 320px;
    margin: 30px auto;
    position: relative;
    border-radius: 50%;
}

/* FIELD */

.field {
    width: 180px;
    height: 180px;
    background: #2e7d32;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pitch {
    width: 20px;
    height: 60px;
    background: #fff;
    margin: auto;
    margin-top: 60px;
}

/* SECTIONS */

.section {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 20px;
}

.section:nth-child(2) {
    clip-path: polygon(0 0, 100% 0, 50% 50%);
}

.section:nth-child(3) {
    clip-path: polygon(100% 0, 100% 100%, 50% 50%);
}

.section:nth-child(4) {
    clip-path: polygon(0 100%, 100% 100%, 50% 50%);
}

.section:nth-child(5) {
    clip-path: polygon(0 0, 0 100%, 50% 50%);
}

/* SEAT COLORS */

.blue .seat {
    background: #2196f3;
}

.pink .seat {
    background: #e91e63;
}

.teal .seat {
    background: #009688;
}

.purple .seat {
    background: #9c27b0;
}

/* SEAT */

.seat {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    cursor: pointer;
    transition: 0.2s;
}

.seat:hover {
    transform: scale(1.2);
}

.seat.selected {
    background: #4caf50 !important;
    box-shadow: 0 0 8px #4caf50;
}

/* PRICE */

.price-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.price {
    padding: 8px 12px;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
}

.pink {
    background: #e91e63;
}

.purple {
    background: #9c27b0;
}

.blue {
    background: #2196f3;
}

.teal {
    background: #009688;
}

/* TOTAL */

.total-box {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

/* BUTTON */

.confirm-btn {
    width: 100%;
    padding: 14px;
    margin-top: 15px;
    background: #ff4d4f;
    color: #fff;
    border: none;
    border-radius: 10px;
}

/* ========================= */

/* ===== MOBILE ===== */

/* ========================= */

@media(max-width:768px) {
    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stadium {
        width: 260px;
        height: 260px;
    }
    .seat-layout {
        grid-template-columns: repeat(6, 1fr);
    }
    .team-detail img {
        width: 55px;
    }
}

/* ===== MATCH DETAILS ===== */

.match-info-box {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    margin: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    font-size: 13px;
}

/* ===== STADIUM STYLE ===== */

.stadium {
    width: 320px;
    height: 320px;
    margin: 20px auto;
    border-radius: 50%;
    background: #ddd;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

/* FIELD CENTER */

.field {
    width: 140px;
    height: 140px;
    background: #2e7d32;
    border-radius: 50%;
    position: absolute;
}

/* SEATS */

.seat {
    width: 10px;
    height: 10px;
    margin: 3px;
    background: #999;
    border-radius: 2px;
    cursor: pointer;
    transition: 0.2s;
}

.seat:hover {
    transform: scale(1.2);
}

.seat.selected {
    background: #4caf50;
    box-shadow: 0 0 6px #4caf50;
}

/* TOTAL */

.total-box {
    text-align: center;
    margin-top: 15px;
}

/* BUTTON */

.confirm-btn {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: #ff4d4f;
    color: #fff;
    border: none;
    border-radius: 10px;
}

/* ===== MATCH IMAGE ===== */

.match-banner {
    width: 100%;
    border-radius: 12px;
    margin-top: 10px;
}

/* ===== DETAILS ===== */

.match-info-box {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    margin: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    font-size: 13px;
}

/* ===== PRICE GRID ===== */

.price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}

/* CARD */

.price-card {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.2s;
}

.price-card:hover {
    transform: translateY(-2px);
}

/* ACTIVE */

.price-card.active {
    border: 2px solid #ff4d4f;
    background: #fff5f5;
}

/* PRICE TEXT */

.price-card h4 {
    margin: 0;
    color: #ff4d4f;
}

.price-card p {
    font-size: 12px;
    color: #777;
}

/* TOTAL */

.total-box {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

/* BUTTON */

.confirm-btn {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: #ff4d4f;
    color: #fff;
    border: none;
    border-radius: 10px;
}

/* SEAT COUNT */

.seat-count {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.seat-count button {
    padding: 8px 14px;
    border: none;
    background: #ff4d4f;
    color: #fff;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}

.seat-count span {
    font-size: 16px;
    font-weight: bold;
}

/* ===== PREMIUM PRICE CARDS ===== */

.price-card {
    background: #fff;
    padding: 15px;
    border-radius: 14px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.price-card:hover {
    transform: translateY(-3px);
}

.price-card.active {
    border: 2px solid #ff4d4f;
    background: #fff5f5;
}

/* ===== SEAT CONTROL ===== */

.seat-count {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.seat-count button {
    padding: 8px 14px;
    background: #ff4d4f;
    color: #fff;
    border: none;
    border-radius: 6px;
}

/* ===== TOTAL ===== */

.total-box {
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
}

/* ===== BUTTON ===== */

.confirm-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: #fff;
    border: none;
    border-radius: 12px;
    margin-top: 10px;
    font-weight: bold;
}

/* ===== POPUP ===== */

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
}

/* POPUP BOX */

.popup-box {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    width: 80%;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* BUTTONS */

.pay-btn {
    width: 100%;
    padding: 10px;
    background: #4caf50;
    color: #fff;
    border: none;
    border-radius: 8px;
    margin-top: 10px;
}

.close-btn {
    width: 100%;
    padding: 10px;
    background: #ccc;
    border: none;
    border-radius: 8px;
    margin-top: 5px;
}

/* INPUTS */

.popup-box input {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* INPUT FOCUS */

.popup-box input:focus {
    border-color: #ff4d4f;
    outline: none;
}

/* PAYMENT */

.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 15px;
}

.pay-card {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-weight: bold;
    transition: 0.2s;
}

.pay-card:hover {
    transform: translateY(-3px);
}

/* ===== TITLE ===== */

.pay-title {
    text-align: center;
    margin-top: 10px;
}

/* ===== SUMMARY CARD ===== */

.summary-card {
    background: linear-gradient(135deg, #ffffff, #f7f7f7);
    padding: 18px;
    border-radius: 18px;
    margin-top: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.summary-card h3 {
    margin-bottom: 10px;
}

/* ROW */

.summary-row {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    font-size: 14px;
}

.amount {
    color: #ff416c;
    font-size: 18px;
}

/* ===== PAYMENT GRID ===== */

.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 15px;
}

/* CARD */

.pay-card {
    padding: 18px;
    border-radius: 16px;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
    color: #fff;
}

/* UPI STYLE */

.pay-card.upi {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

/* RAZORPAY STYLE */

.pay-card.razor {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

/* HOVER */

.pay-card:hover {
    transform: translateY(-5px) scale(1.02);
}

/* SUB TITLE */

.pay-sub {
    margin-top: 20px;
    font-size: 16px;
}

/* ===== HEADER PREMIUM ===== */

.header {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    padding: 14px 0;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-wrap {
    width: 94%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */

.logo {
    font-size: 18px;
    font-weight: bold;
}

/* NAV */

.nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 15px;
    font-size: 14px;
    transition: 0.2s;
}

.nav a:hover {
    opacity: 0.8;
}

/* ===== FOOTER PREMIUM ===== */

.footer {
    .footer {
        background: #111;
        color: #ccc;
        padding: 25px 0;
        text-align: center;
    }
    .footer-logo img {
        height: 40px;
        margin-bottom: 8px;
    }
}

.footer h3 {
    color: #fff;
    margin-bottom: 5px;
}

/* LINKS */

.footer-links {
    margin: 10px 0;
}

.footer-links a {
    color: #ccc;
    margin: 0 10px;
    text-decoration: none;
    font-size: 13px;
}

.footer-links a:hover {
    color: #fff;
}

/* COPYRIGHT */

.copy {
    font-size: 12px;
    margin-top: 10px;
}

/* ===== HERO ===== */

.hero-banner img {
    width: 100%;
    border-radius: 16px;
    margin-top: 10px;
}

/* ===== SECTION TITLE ===== */

.section-title {
    margin-top: 20px;
    font-size: 18px;
}

/* ===== CATEGORY ===== */

.category-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-top: 10px;
}

.cat-card {
    min-width: 100px;
    background: #fff;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    cursor: pointer;
}

/* ===== TRENDING ===== */

.trending-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin-top: 10px;
}

.trend-card {
    min-width: 180px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: #000;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.trend-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.trend-info {
    padding: 10px;
}

.trend-info h4 {
    font-size: 14px;
    margin: 0;
}

.trend-info p {
    font-size: 12px;
    color: #777;
}

/* ===== EVENT CARD ===== */

.event-card {
    display: block;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    margin-top: 10px;
    text-decoration: none;
    color: #000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.event-card:hover {
    transform: translateY(-2px);
}

h1,
h2,
h3 {
    font-weight: 600;
}

p {
    font-weight: 400;
    color: #555;
}

button {
    font-weight: 500;
}

.match-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 15px;
    border-radius: 16px;
    margin-top: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.match-hero .team {
    text-align: center;
    width: 35%;
}

.team-logo {
    width: 60px;
}

.vs {
    text-align: center;
}

.vs span {
    font-size: 18px;
    font-weight: bold;
    color: #ff4d4f;
}

/* ===== PAYMENT PAGE ENHANCE ===== */

/* Container spacing */

.container {
    min-height: 70vh;
    /* footer push fix */
}

/* Summary card upgrade */

.summary-card {
    background: linear-gradient(135deg, #ffffff, #f9f9f9);
    padding: 20px;
    border-radius: 18px;
    margin-top: 15px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Row spacing */

.summary-row {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    font-size: 14px;
}

/* Amount highlight */

.amount {
    color: #ff416c;
    font-size: 20px;
    font-weight: 600;
}

/* Payment cards upgrade */

.pay-card {
    padding: 20px;
    border-radius: 18px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    color: #fff;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Hover glow */

.pay-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* UPI */

.pay-card.upi {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

/* Razor */

.pay-card.razor {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

/* Title */

.pay-title {
    text-align: center;
    font-weight: 600;
}

/* ===== HEADER FIX ===== */

.header {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    padding: 10px 0;
}

/* WRAP */

.header-wrap {
    width: 94%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO FIX */

.logo {
    display: flex;
    align-items: center;
}

/* LOGO IMAGE */

.logo img {
    height: 32px;
    width: auto;
    display: block;
}

/* NAV FIX */

.nav {
    display: flex;
    align-items: center;
}

.nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 18px;
    font-size: 14px;
    font-weight: 500;
}

/* ===== FOOTER FIX ===== */

.footer {
    background: #111;
    color: #ccc;
    padding: 25px 0;
    margin-top: auto;
}

/* FOOTER LOGO */

.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 8px;
}

/* LINKS */

.footer-links a {
    color: #ccc;
    margin: 0 10px;
    text-decoration: none;
    font-size: 13px;
}

/* FIX BODY LAYOUT */

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
}

/* SEASON TEXT */

.season {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

/* FILTER BAR */

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.filter-bar select {
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #ddd;
}