/* ==========================================
   1. GLOBAL COLOR VARIABLES (একটি জায়গায় পরিবর্তন করুন)
   ========================================== */
:root {
    --primary-color: #f59e0b;
    --primary-dark: #d97706;
    --primary-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --primary-glow-shadow: rgba(245, 158, 11, 0.4);
    --primary-glow-hover: rgba(245, 158, 11, 0.6);

    --bg-dark: #030712;
    --card-bg-glass: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.2);

    --glow-pink: #ec4899;
    --glow-blue: #3b82f6;

    --text-white: #ffffff;
    --text-dark: #000000;
}

/* ==========================================
   2. BASE & RESET STYLES (সংশোধিত)
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background-color: var(--bg-dark);
    position: relative;
    overflow-x: hidden;
    color: var(--text-white);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Dynamic Glow Lights in Background */
.glow-effect {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
}

.glow-pink-top {
    top: 0;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow-pink) 0%, rgba(236, 72, 153, 0) 70%);
}

.glow-blue-top {
    top: 0;
    right: -100px;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, var(--glow-blue) 0%, rgba(59, 130, 246, 0) 70%);
}

.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 2;
}

/* ==========================================
   3. HERO SECTION & CONTAINERS
   ========================================== */
.hero-section {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 0 30px 0;
    margin-top: 0;
}

.hero-container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.desktop-hero-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.desktop-hero-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.mobile-slider-container {
    display: none;
    position: relative;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-glass);
    color: var(--text-white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(8px);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 22px;
    border-radius: 12px;
    background: var(--glow-pink);
}

/* ==========================================
   4. BUTTONS & CTA
   ========================================== */
.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
    flex-wrap: wrap;
    padding: 10px 15px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-dark);
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 20px var(--primary-glow-shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--primary-glow-hover);
}

.btn-secondary {
    background: var(--card-bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-white);
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: center;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ==========================================
   Two Images Side-by-Side Section with Countdown
   ========================================== */
.two-images-section {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.images-container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.image-box {
    flex: 1;
    width: 100%;
    position: relative;
}

.feature-img {
    width: 100%;
    height: auto;
    max-height: 75vh;
    display: block;
    object-fit: cover;
    border-radius: 16px;
    border: none;
    box-shadow: none;
}

.countdown-box {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 8px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    width: 88%;
    max-width: 330px;
    z-index: 5;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 32px;
}

.countdown-item span {
    font-weight: 700;
    color: #ffffff;
}

.countdown-item .days,
.countdown-item .hours,
.countdown-item .minutes,
.countdown-item .seconds {
    font-size: 1.05rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.countdown-item .label {
    font-size: 0.65rem;
    color: #cbd5e1;
    margin-top: 1px;
    font-weight: 500;
}

.colon {
    font-size: 1rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

/* ==========================================
   How It Works Section Styles
   ========================================== */
.how-it-works-section {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
}

.how-it-works-card {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto; /* সংশোধিত */
    background: rgba(8, 14, 29, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 30px 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 25px;
}

.section-title span {
    color: #f59e0b;
}

.flow-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex: 1;
    gap: 12px;
    flex-wrap: nowrap;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 140px;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, #3b82f6 0%, #1e40af 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    margin-bottom: 12px;
    flex-shrink: 0;
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    white-space: nowrap;
}

.step-title span {
    color: #94a3b8;
    font-weight: 600;
}

.step-desc {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1rem;
    margin-top: 20px;
    flex-shrink: 0;
}

.badge-block {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: 'Georgia', serif;
    font-style: italic;
    color: #ffffff;
    line-height: 1.1;
    position: relative;
}

.badge-text span {
    font-size: 1.2rem;
    opacity: 0.9;
}

.badge-text strong {
    font-size: 1.8rem;
    font-weight: 900;
    font-style: normal;
    color: #ffffff;
}

.badge-text .star-icon {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-top: 4px;
}

/* ==========================================
   Upcoming Competitions Section Styles
   ========================================== */
.upcoming-competitions-section {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
}

.competitions-card {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto; /* সংশোধিত */
    background: rgba(8, 14, 29, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 30px 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.section-header {
    margin-bottom: 25px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 4px;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card {
    display: flex;
    flex-direction: row;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

.event-banner {
    position: relative;
    width: 300px;
    min-width: 300px;
    height: 190px;
    overflow: hidden;
    flex-shrink: 0;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.event-card:hover .banner-img {
    transform: scale(1.05);
}

.date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 10px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.1;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.pink-badge {
    background: rgba(236, 72, 153, 0.85);
    border: 1px solid rgba(244, 114, 182, 0.5);
}

.blue-badge {
    background: rgba(37, 99, 235, 0.85);
    border: 1px solid rgba(96, 165, 250, 0.5);
}

.date-badge .day {
    font-size: 1.1rem;
}

.date-badge .month {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.date-badge .year {
    font-size: 0.6rem;
    opacity: 0.9;
}

.event-details {
    padding: 20px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
    width: 100%;
}

.event-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
}

.status-badge.upcoming {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(236, 72, 153, 0.4);
    white-space: nowrap;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.info-icon {
    width: 16px;
    color: #3b82f6;
}

.info-icon.pink-icon {
    color: #ec4899;
}

.info-item.deadline {
    font-weight: 600;
    color: #f1f5f9;
}

.event-action {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.btn-view-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #38bdf8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 8px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    transition: all 0.3s ease;
}

.btn-view-details:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.5);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
    transform: translateX(3px);
}

.btn-view-details .arrow-icon {
    transition: transform 0.3s ease;
}

.btn-view-details:hover .arrow-icon {
    transform: translateX(4px);
}

/* ==========================================
   About Us Section Styles
   ========================================== */
.about-us-section {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
}

.about-us-card {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto; /* সংশোধিত */
    background: rgba(8, 14, 29, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 40px 45px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.about-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.about-left-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-left-col .section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
}

.about-left-col .section-title span {
    color: #f59e0b;
}

.about-desc {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 520px;
}

.about-action {
    margin-top: 10px;
}

.about-right-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    padding-left: 45px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    font-size: 1.1rem;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.feature-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.feature-text p {
    font-size: 0.85rem;
    color: #94a3b8;
}







/* মোবাইল ভার্সনে অতিরিক্ত ডান দিকের ফাঁকা জায়গা ও হরিজন্টাল স্ক্রল রোধ করার জন্য */
@media (max-width: 768px) {
    html, body {
        width: 100%;
        overflow-x: hidden !important;
        position: relative;
    }

    /* ব্যাকগ্রাউন্ড গ্লো ইফেক্ট মোবাইলে উইডথ যেন না বাড়ায় */
    .glow-effect {
        max-width: 100vw;
        overflow: hidden;
    }

    .glow-pink-top, .glow-blue-top {
        width: 300px;
        height: 300px;
        filter: blur(80px);
    }
}