@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

:root {
    --body-bg: linear-gradient(164.65deg, #212D5A 3.6%, #0E0E29 51.5%);
    --card-gradient: linear-gradient(149.14deg, #4E639A 8.02%, #2A428C 50.84%);
    --events-bg: rgba(255, 255, 255, 0.1);
    --white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --secondary-950: #A92629;
    --primary-red: #FF3B30;
    --primary-800: #515989;
    --primary-950: #25306C;
    --primary-200: #D3D6E2;
    --primary-100: #E9EAF0;
    --primary-50: #F4F5F8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Nunito Sans", sans-serif;
    background: var(--body-bg);
    background-attachment: fixed;
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 0;
}

.header .logo-img {
    width: 150px;
}

/* Categories Styles */
.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.4px;
    margin-bottom: 18px;
}

.section-title img {
    width: 24px;
    height: 24px;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.category-card {
    background: var(--card-gradient);
    border-radius: 18px;
    padding: 12px 13.25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--white);
    transition: transform 0.2s;
}

.category-card:active {
    transform: scale(0.95);
}

.category-icon-wrapper {
    background: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.category-icon-wrapper img {
    width: 35px;
    height: 35px;
}

.category-name-wrapper {
    background: var(--primary-100);
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.category-name {
    color: var(--secondary-950);
    font-size: 14px;
    line-height: 14px;
    font-weight: 500;
}

/* Banner/Carousel Styles */
.hero-banner {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-image: url(../images/upcoming-bg.jpeg);
    background-size: cover;
    border: 1px solid #A8ACC4;
    padding: 16px;
    margin-bottom: 18px;
}

.carousel-item::before {
    position: absolute;
    content: " ";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    border-radius: 12px;
}

.banner-slide-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 188px;
    object-fit: fill;
    display: block;
    border-radius: 12px;
    overflow: hidden;
}

.event-badge {
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    padding: 3px 8px;
    border-bottom-right-radius: 12px;
    z-index: 2;
}

.event-badge.red {
    background: var(--primary-red);
    font-weight: 500;
    font-size: 12px;
}

.event-badge.primary {
    background: var(--primary-800);
    font-size: 11px;
    font-weight: 400;
}

.banner-info-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 13px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    font-size: 11px;
    color: var(--white);
}

/* Bootstrap Carousel Customization */
.carousel-indicators {
    margin-bottom: 0;
    bottom: 0px;
    position: relative;
    margin-top: 12px;
}

.carousel-indicators [data-bs-target] {
    width: 6.5px;
    height: 6.5px;
    border-radius: 50%;
    background-color: var(--primary-200);
    border: none;
    margin: 0 4px;
    opacity: 1;
}

.carousel-indicators .active {
    background-color: var(--secondary-950);
}

/* Events Styles */
.events-section {
    background: var(--events-bg);
    border-radius: 17px;
    padding: 16px;
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.event-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 1/1;
    border: 1px solid var(--primary-50);
}

.event-card::before {
    position: absolute;
    content: " ";
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 250%);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    border-radius: 18px;
}


.event-card2 {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 1/1;
    border: 1px solid var(--primary-50);
}




.event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 12px;
    color: var(--white);
    z-index: 3;
    font-weight: 600;
    font-size: 13px;
}

.btn-back {
    background: var(--white);
    color: var(--primary-950);
    border: none;
    border-radius: 14px;
    padding: 14px;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    margin-top: 18px;
    text-decoration: none;
    display: block;
    text-align: center;
}