/* Reset & Core Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #ffffff; /* White background for main content area */
    color: #000000;
    padding-bottom: 70px;
    user-select: none;
}

/* Global Link Resets */
a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Header Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0d1117;
    padding: 8px 12px;
    border-bottom: 2px solid #ffcc00;
}

.logo-link {
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 1.8rem;
    color: #ffcc00;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-top {
    font-size: 1.1rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.brand-bottom {
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffcc00;
}

/* Header Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 6px;
}

.btn {
    text-decoration: none;
    padding: 8px 10px;
    font-weight: 800;
    font-size: 0.75rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-signup {
    background-color: #ffcc00;
    color: #000000;
}

.btn-login {
    background-color: #e60000;
    color: #ffffff;
}

/* News Marquee Bar */
.news-bar-link {
    width: 100%;
}

.news-bar {
    display: flex;
    background-color: #121926;
    padding: 5px 8px;
    font-size: 0.75rem;
    align-items: center;
    overflow: hidden;
}

.news-tag {
    background-color: #0088cc;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 6px;
    white-space: nowrap;
    font-size: 0.7rem;
    font-weight: bold;
}

.news-scroll {
    color: #ffffff;
    font-weight: 500;
}

/* Upgraded "SUPER SMOOTH" Banner */
.banner-link {
    width: 100%;
}

.super-smooth-banner {
    height: 165px;
    background: linear-gradient(135deg, #1d0070 0%, #0038a8 50%, #0066ff 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    position: relative;
    border-bottom: 3px solid #ffcc00;
    overflow: hidden;
}

.slider-arrow {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 0.7;
}

.banner-content {
    text-align: center;
    z-index: 2;
}

.upgraded-tag {
    background-color: #ffcc00;
    color: #000000;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 2px 10px;
    border-radius: 3px;
    display: inline-block;
    letter-spacing: 1px;
    transform: skew(-10deg);
}

/* Hero Banner Image Update */
.super-smooth-banner {
    height: 165px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('images/supersmooth.jpg') center/cover no-repeat !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    position: relative;
    border-bottom: 3px solid #ffcc00;
}
}

.smooth-subtext {
    background-color: #111a2e;
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 3px 8px;
    letter-spacing: 0.5px;
    border-radius: 2px;
}

/* Main Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    background-color: #ffffff;
}

.card-link {
    width: 100%;
}

.card-link.full-width {
    grid-column: span 2;
}

.card {
    background-color: #171d29;
    border-radius: 6px;
    height: 145px;
    position: relative;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Live Sports Banner Card (Bigger Height Update) */
.sports-card {
    height: 185px !important; /* Increased height as requested */
    background: linear-gradient(to right, rgba(0,0,0,0.2), rgba(0,0,0,0.6)), url('images/sports.jpg');
}

.teen-patti-card {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%), url('images/teenpatti.jpg');
}

.andhar-bahar-card {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%), url('images/andharbahar.jpg');
}

.roulette-card {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%), url('images/roulette.jpg');
}

.cricket-card {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%), url('images/cricket.jpg');
}

.horse-racing-card {
    background: linear-gradient(to right, rgba(0,0,0,0.2), rgba(0,0,0,0.6)), url('images/horseracing.jpg');
}

.soccer-card {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%), url('images/soccer.jpg');
}

.tennis-card {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%), url('images/tennis.jpg');
}

/* Card Title */
.card-title {
    position: absolute;
    bottom: 8px;
    left: 8px;
    font-size: 0.95rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 3px #000;
    z-index: 2;
}

/* Yellow Play Now Button */
.play-btn {
    background-color: #ffcc00;
    color: #000000;
    padding: 6px 14px;
    font-weight: 800;
    font-size: 0.75rem;
    border-top-left-radius: 6px;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
}

/* Close icon on Sports Card */
.close-icon {
    position: absolute;
    bottom: 10px;
    right: 90px;
    color: #a0aec0;
    font-size: 1rem;
    z-index: 2;
}

/* Live Score Box Overlay */
.live-score-overlay {
    position: absolute;
    right: 8px;
    top: 8px;
    background: rgba(10, 14, 22, 0.85);
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.live-header {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 4px;
}

.red-dot {
    color: #ff3333;
}

.score-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #d1d5db;
    margin-top: 2px;
}

.badge {
    background: #ffffff;
    color: #000000;
    padding: 0 4px;
    border-radius: 2px;
    font-weight: bold;
    font-size: 0.65rem;
}

/* Footer Section */
.site-footer {
    background-color: #192738;
    color: #ffffff;
    padding: 20px 15px 30px;
    margin-top: 15px;
    border-top: 1px solid #26364d;
}

.footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.legal-badge {
    border: 2px solid #82bc00;
    color: #82bc00;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    line-height: 1;
}

.legal-badge span {
    font-size: 0.75rem;
}

.legal-badge small {
    font-size: 0.5rem;
}

.support-btn {
    background-color: #0077b6;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.join-title {
    text-align: center;
    color: #b0c4de;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    text-align: center;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.feature-icon {
    font-size: 1.8rem;
    color: #ffcc00;
}

.feature-item p {
    font-size: 0.65rem;
    color: #9cb1c9;
    line-height: 1.2;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
}

.footer-links a {
    color: #d1d5db;
    font-size: 0.75rem;
}

/* Floating Chat Button */
.whatsapp-float {
    position: fixed;
    bottom: 70px;
    right: 12px;
    background-color: #0088cc;
    color: #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0d1117;
    display: flex;
    justify-content: space-around;
    padding: 6px 0;
    border-top: 1px solid #222938;
    z-index: 1000;
}

.nav-item {
    color: #8fa0b5;
    font-size: 0.65rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 20%;
}

.nav-item i {
    font-size: 1.1rem;
}

.nav-item.active {
    color: #ffcc00;
    background: radial-gradient(circle, rgba(255,204,0,0.2) 0%, transparent 70%);
}