/* =====================================================
   4rabetlive.in - Pure CSS Styles
   Premium Casino & Sports Betting Website
   ===================================================== */

/* CSS Variables */
:root {
    --primary: #0052cc;
    --primary-dark: #0041a3;
    --primary-light: #2563eb;
    --secondary: #0f172a;
    --bg-body: #f8fafc;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --blue-50: #eff6ff;
    --blue-400: #60a5fa;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --yellow-500: #eab308;
    --purple-600: #9333ea;
    --white: #ffffff;
    --black: #000000;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--secondary);
    line-height: 1.6;
}

/* Selection */
::selection {
    background-color: var(--blue-600);
    color: var(--white);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--blue-600);
    color: var(--white);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
}

.btn-primary:hover {
    background-color: var(--blue-700);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--slate-900);
}

.btn-secondary:hover {
    background-color: var(--gray-100);
}

.btn-outline {
    background-color: transparent;
    color: var(--blue-600);
    border: 2px solid var(--blue-600);
}

.btn-outline:hover {
    background-color: var(--blue-50);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 900;
    border-radius: 0.75rem;
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
    position: fixed;
    width: 100%;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 6rem;
}

.header-logo img {
    height: 5rem;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: none;
    gap: 2rem;
    font-weight: 700;
    color: var(--slate-700);
}

.nav-menu a:hover {
    color: var(--blue-600);
}

.header-buttons {
    display: flex;
    gap: 1rem;
}

.btn-login {
    display: none;
}

@media (min-width: 768px) {
    .btn-login {
        display: block;
    }
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)), url('./assets/hero_banner.png');
    background-size: cover;
    background-position: center;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-content {
    max-width: 42rem;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 1.5rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

@media (min-width: 768px) {
    .hero-content {
        text-align: left;
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: var(--blue-600);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-title span {
    color: var(--blue-400);
}

.hero-text {
    font-size: 1.25rem;
    color: #e5e7eb;
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

/* =====================================================
   QUICK STATS
   ===================================================== */
.quick-stats {
    background-color: var(--blue-900);
    padding: 1.5rem 0;
    color: var(--white);
    border-bottom: 1px solid var(--blue-800);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 900;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* =====================================================
   SECTION STYLES
   ===================================================== */
.section {
    padding: 6rem 0;
}

.section-white {
    background-color: var(--white);
}

.section-slate {
    background-color: var(--slate-50);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--slate-900);
    text-transform: uppercase;
}

.section-title span {
    color: var(--blue-600);
}

.section-line {
    height: 0.25rem;
    flex: 1;
    background-color: var(--gray-100);
    border-radius: 9999px;
}

.section-center {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-center .section-title {
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-center .section-title {
        font-size: 3rem;
    }
}

.section-center p {
    font-size: 1.125rem;
    color: var(--slate-600);
}

/* =====================================================
   SPORTS SECTION
   ===================================================== */
.sports-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .sports-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.sports-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sports-content > p {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.8;
}

.sports-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sports-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--slate-50);
    border-radius: 0.75rem;
}

.sports-item i {
    font-size: 1.5rem;
    color: var(--blue-600);
    width: 2rem;
    text-align: center;
}

.sports-item h3 {
    font-weight: 700;
    color: var(--slate-900);
}

.sports-item p {
    font-size: 0.875rem;
    color: var(--slate-500);
}

.sports-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 700;
    color: var(--blue-600);
}

.sports-link:hover {
    color: var(--blue-800);
    text-decoration: underline;
}

.sports-image {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: rotate(1deg);
    transition: transform 0.5s ease;
}

.sports-image:hover {
    transform: rotate(0deg);
}

.sports-image img {
    width: 100%;
}

/* =====================================================
   CASINO CARDS
   ===================================================== */
.casino-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .casino-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.casino-card {
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.casino-card-image {
    height: 14rem;
    overflow: hidden;
}

.casino-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.casino-card:hover .casino-card-image img {
    transform: scale(1.1);
}

.casino-card-content {
    padding: 2rem;
}

.casino-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.casino-card-header i {
    font-size: 1.25rem;
}

.casino-card-header h3 {
    font-weight: 700;
    font-size: 1.25rem;
}

.casino-card p {
    color: var(--slate-600);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.casino-card .btn-card {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.5rem;
    font-weight: 700;
    color: var(--slate-700);
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.casino-card .btn-card:hover {
    background-color: var(--slate-50);
}

/* =====================================================
   APP SECTION
   ===================================================== */
.app-section {
    background: linear-gradient(to right, var(--blue-900), var(--slate-900));
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.app-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

@media (min-width: 768px) {
    .app-grid {
        flex-direction: row;
    }
}

.app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.875rem;
    font-weight: 700;
    width: fit-content;
}

.app-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
}

.app-title span {
    color: var(--blue-400);
}

.app-text {
    font-size: 1.125rem;
    color: #d1d5db;
}

.app-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-feature-number {
    width: 3rem;
    height: 3rem;
    background-color: var(--blue-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.app-feature h4 {
    font-weight: 700;
}

.app-feature p {
    font-size: 0.875rem;
    color: #9ca3af;
}

.app-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.app-image img {
    max-width: 24rem;
    width: 100%;
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.5));
    transition: transform 0.5s ease;
}

.app-image img:hover {
    transform: scale(1.05);
}

/* Background decorations */
.app-section::before,
.app-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    z-index: 0;
}

.app-section::before {
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background-color: rgba(37, 99, 235, 0.2);
    transform: translate(50%, -50%);
}

.app-section::after {
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(147, 51, 234, 0.2);
    transform: translate(-50%, 50%);
}

.app-section .container {
    position: relative;
    z-index: 1;
}

/* =====================================================
   SEO CONTENT SECTION
   ===================================================== */
.seo-section {
    border-bottom: 1px solid var(--gray-100);
}

.seo-content {
    max-width: 64rem;
    margin: 0 auto;
}

.seo-content h2 {
    font-size: 1.875rem;
    font-weight: 900;
    color: var(--slate-800);
    margin-bottom: 2rem;
}

.seo-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.seo-content p {
    font-size: 1.125rem;
    color: var(--slate-600);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

@media (min-width: 768px) {
    .payment-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.payment-item {
    padding: 1rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 700;
    background-color: var(--slate-50);
}

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq-section {
    background-color: var(--slate-50);
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--slate-900);
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .faq-title {
        font-size: 3rem;
    }
}

.faq-container {
    max-width: 56rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--white);
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--slate-200);
    overflow: hidden;
}

.faq-toggle {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-toggle:hover {
    background-color: var(--slate-50);
}

.faq-toggle span {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--slate-800);
}

.faq-toggle i {
    color: var(--slate-400);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle i {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--slate-600);
    display: none;
}

.faq-item.active .faq-content {
    display: block;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background-color: var(--gray-900);
    border-top: 1px solid var(--gray-800);
    padding: 5rem 0 2.5rem;
    color: #9ca3af;
}

.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-brand img {
    height: 5rem;
    margin-bottom: 1.5rem;
    width: auto;
    object-fit: contain;
}

.footer-brand p {
    font-size: 0.875rem;
}

.footer-heading {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: #60a5fa;
}

.footer-bottom {
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.5;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
}

/* =====================================================
   UTILITIES
   ===================================================== */
.text-blue-600 { color: var(--blue-600); }
.text-yellow-500 { color: var(--yellow-500); }
.text-green-500 { color: var(--green-500); }
.text-green-600 { color: var(--green-600); }

.hidden {
    display: none;
}
