/* Style for 77bd.me */
:root {
    --primary: #9D4EDD;
    --secondary: #10002B;
    --accent: #E0AAFF;
    --bg: #090014;
    --card: #1e0038;
    --text: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

header {
    background: var(--secondary);
    border-bottom: 2px solid var(--primary);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container img {
    height: 40px;
}

.nav-btns {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    border: none;
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--primary);
}

.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(180deg, var(--secondary) 0%, var(--bg) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.hero .bengali-tag {
    display: inline-block;
    background: var(--primary);
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--primary);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.game-card {
    background: var(--card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.game-card img {
    width: 100%;
    height: auto;
    display: block;
}

.game-info {
    padding: 15px;
}

.game-info h3 {
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-info .bn {
    font-size: 0.85rem;
    color: var(--accent);
    background: rgba(255,255,255,0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.game-info p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 8px;
}

.providers-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 0 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.providers-flex img {
    height: 50px;
}

.promos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 5%;
    max-width: 1100px;
    margin: 0 auto;
}

.promo-card {
    background: linear-gradient(135deg, var(--card) 0%, var(--secondary) 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.promo-card h3 {
    color: var(--accent);
    margin-bottom: 10px;
}

footer {
    background: #050508;
    text-align: center;
    padding: 40px 20px 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.payments {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.pay-badge {
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.85rem;
    color: #fff;
}

.bkash { background: #E2136E; }
.nagad { background: #F7921E; }
.rocket { background: #8C3494; }
.usdt { background: #26A17B; }

@media (max-width: 600px) {
    .hero h1 { font-size: 1.8rem; }
    header { padding: 10px 15px; }
}


/* Banner Slider Styling */
.banner-slider {
    position: relative;
    max-width: 1200px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    max-height: 420px;
    background: #000;
}

.slide {
    display: none;
    height: 100%;
    width: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #0d1117;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
    color: #ffffff;
    padding: 25px 30px;
}

.slide-caption h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.slide-caption p {
    font-size: 1.1rem;
    color: var(--accent);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.prev-btn, .next-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 14px 18px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    user-select: none;
}

.next-btn { right: 15px; }
.prev-btn { left: 15px; }

.prev-btn:hover, .next-btn:hover {
    background: var(--primary);
    color: #000;
}

.slider-dots {
    text-align: center;
    padding: 10px;
    background: var(--secondary);
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.4s ease;
}

.dot.active, .dot:hover {
    background-color: var(--primary);
}

@media (max-width: 768px) {
    .slider-container { height: 220px; }
    .slide-caption h2 { font-size: 1.2rem; }
    .slide-caption p { font-size: 0.85rem; }
}



/* Hub & Spoke Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
    transition: 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--secondary);
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.7);
    border: 1px solid var(--primary);
    border-radius: 8px;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu a {
    color: var(--text);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: var(--card);
    color: var(--primary);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

@media (max-width: 768px) {
    .nav-menu { flex-direction: column; gap: 10px; }
}

