 /* CSS Reset */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Root Variables */
:root {
    --color-bg: #213523;
    --color-primary: #2d5d33;
    --color-light-green: #8fb11e;
    --color-dark-green: #1b2e1d;
    --color-yellow: #ffdd00;
    --color-lime: #a9cc3a;
    --color-white: #ffffff;
    --color-yellow-light: #ffe645;
    --color-border-green: #8aab3d;
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    position: relative;
    width: 100%;
    max-width: 575px;
    min-height: 100vh;
    margin: 0 auto;
    background-color: var(--color-bg);
    overflow: hidden;
}

/* Header Section */
.header {
    position: relative;
    width: 100%;
    height: 309px;
    background: url('../images/login-screen-bg.png') no-repeat center center;
    background-size: cover;
    border-bottom: 5px solid var(--color-light-green);
    border-radius: 0 0 24px 34px;
    overflow: hidden;
}

/* Background Texture */
.bg-texture {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 375px;
    height: 720px;
    overflow: hidden;
    pointer-events: none;
}

.bg-noise {
    position: absolute;
    left: -40.39px;
    top: 8.13px;
    width: 570.692px;
    height: 912.034px;
    transform: rotate(321.497deg) skewX(332.224deg);
    opacity: 0.3;
}

.bg-highlight {
    position: absolute;
    left: -312.24px;
    top: -38.14px;
    width: 854px;
    height: 777.223px;
    transform: rotate(17.88deg);
    mix-blend-mode: overlay;
    opacity: 0.4;
}

.bg-shape {
    position: absolute;
    bottom: 117px;
    left: 50%;
    transform: translateX(-50%);
    width: 763px;
    height: 763px;
    mix-blend-mode: soft-light;
    opacity: 0.2;
}

/* Navigation Bar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 83px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    width: 36px;
    height: auto;
}

.menu-icon {
    width: 24px;
    height: 20.174px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.bar {
    width: 24px;
    height: 3px;
    min-height: 2px;
    background: white;
    margin: 3px 0;
    border-radius: 2px;
    display: block;
}

/* Logo Unit */
.logo-unit {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 87px;
    width: 322.714px;
    height: 176px;
}

/* .bg-vector {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
} */
.main-graphic {
    position: relative;
    width: 100%;
    height: 100%;
}

.umpire-graphic {
    position: absolute;
    bottom: 37.97%;
    left: 41.11%;
    right: 17.54%;
    top: 0;
    width: 133.44px;
    height: 185.655px;
}

.umpire-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Badge Container */
.badge-container {
    position: absolute;
    left: 22.22%;
    top: 23.54%;
    right: 22.34%;
    bottom: 10.23%;
}

.badge-umpire {
    position: absolute;
    left: 0;
    top: 54.14%;
    transform: rotate(4.343deg);
    background-color: var(--color-lime);
    border-radius: 259.913px;
    padding: 2.32px 27.843px;
    box-shadow: 2.32px 4.64px 0px 0px var(--color-dark-green);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 49.901px;
    white-space: nowrap;
}

.badge-4th {
    position: absolute;
    left: 22.34%;
    top: 23.54%;
    transform: rotate(353.708deg);
    background-color: var(--color-yellow);
    border-radius: 259.913px;
    padding: 2.32px 27.843px;
    box-shadow: 2.32px 4.64px 0px 0px var(--color-dark-green);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 49.901px;
    white-space: nowrap;
}

.badge-text {
    font-family: 'Gill Sans Ultra Bold Condensed', 'Arial Black', sans-serif;
    font-size: 36.51px;
    color: var(--color-white);
    letter-spacing: -1.0953px;
    font-weight: 900;
    text-transform: uppercase;
}

/* Cricket Ball */
.cricket-ball {
    position: absolute;
    right: 0;
    top: 12.06px;
    width: 40.152px;
    height: 40.152px;
    transform: rotate(6deg);
    border: 2.013px solid var(--color-dark-green);
    border-radius: 50%;
    overflow: hidden;
}

.cricket-ball img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Trademark */
.trademark {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 11px;
    color: var(--color-white);
    font-weight: 400;
    letter-spacing: -0.33px;
}

/* Confetti */
.confetti {
    position: absolute;
    width: 424.415px;
    height: 207.115px;
    opacity: 0.5;
    mix-blend-mode: luminosity;
    pointer-events: none;
}

.confetti-left {
    left: -30px;
    top: -12.21px;
    transform: rotate(270deg);
}

.confetti-right {
    right: -30.11px;
    top: -12.21px;
    transform: rotate(90deg);
}

/* Background Vector */
.bg-vector {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    height: 150vh;
    width: 150vw;
    max-width: none;
    mix-blend-mode: soft-light;
    opacity: 0.3;
    pointer-events: none;
}

/* Main Content */
.content-wrapper {
    position: relative;
    padding: 20px 22px 120px;
}

.title {
    font-family: 'Wix Madefor Display', 'Arial Black', sans-serif;
    font-weight: 800;
    font-size: 28px;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: -0.84px;
    margin-bottom: 42px;
    margin-top: 60px;
}

.title-accent {
    color: var(--color-yellow-light);
}

.subtitle {
    font-family: 'General Sans', -apple-system, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 16px;
}

/* Coupon Code Box */
.coupon-code {
    background-color: var(--color-dark-green);
    border: 2px dashed var(--color-border-green);
    border-radius: 200px;
    padding: 10px 28px 12px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.coupon-code-text {
    font-family: 'Wix Madefor Display', 'Arial Black', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: var(--color-white);
    letter-spacing: -0.48px;
    text-align: center;
    word-break: break-all;
}

/* Trademark Text */
.trademark-text {
    font-family: 'Cabin', 'Arial', sans-serif;
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
    color: var(--color-white);
    margin-top: 8px;
    opacity: 0.8;
}

/* Rewards Graphic */
.rewards-graphic {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 375px;
    height: 220px;
    overflow: hidden;
}

.rewards-inner {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;

    &:after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 375px;
        height: 375px;
        border-radius: 50% 50%;
        border: 2px dashed #fff;
        opacity: 0.2;

    }

    &:before {
        content: '';
        position: absolute;
        left: 62px;
        top: 62px;
        width: 250px;
        height: 250px;
        border-radius: 50% 50%;
        border: 2px dashed #fff;
        opacity: 0.2;
    }
}

/* Inner Circle */
.inner-circle {
    position: absolute;
    left: 50%;
    top: 122px;
    transform: translateX(-50%);
    width: 221px;
    height: 221px;
    opacity: 0.2;
}

/* Outer Circle */
.outer-circle {
    position: absolute;
    left: 50%;
    top: 57px;
    transform: translateX(-50%);
    width: 351px;
    height: 351px;
    opacity: 0.2;
}

/* Reward Items */
.reward-item {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bat {
    left: 230px;
    top: 20px;
    width: 90px;
    height: 90px;
    transform: rotate(67.501deg);
    background: url('../images/bat-white.png') no-repeat center center;
    background-size: contain;

}

.shirt {
    left: 114px;
    top: 14px;
    width: 75px;
    height: 75px;

    background: url('../images/shirt.png') no-repeat center center;
    background-size: contain;
}

.headphone {
    left: 81px;
    top: 101px;
    width: 73px;
    height: 73px;
    background: url('../images/head-phone.png') no-repeat center center;
    background-size: contain;
}

/* Tickets and Cashback */
.match-ticket {
    position: absolute;
    left: 226px;
    top: 154px;
}

.ticket-badge {
    transform: rotate(338.884deg);
    width: 70.175px;
    height: 40.1px;
}

.cashback-badge {
    position: absolute;
    left: -6px;
    top: 170px;
    transform: rotate(340.052deg);
    width: 70.175px;
    height: 40.1px;
    background-color: #fff47f;
    border: 1px solid var(--color-dark-green);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Wix Madefor Display', sans-serif;
    font-weight: 800;
    font-size: 8px;
    color: var(--color-dark-green);
    text-transform: uppercase;
    letter-spacing: -0.24px;
}

/* Responsive Design */
@media (max-width: 375px) {
    .container {
        max-width: 100%;
    }

    .coupon-code-text {
        font-size: 14px;
    }
}


/* Loading State */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--color-white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Print Styles */
@media print {
    .container {
        max-width: 100%;
        box-shadow: none;
    }

    .bg-vector,
    .confetti {
        display: none;
    }
}