/* ============================================
   IGAMING SPORT EXCHANGE - PROFESSIONAL STYLING
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Oswald:wght@500;600;700&display=swap');

:root {
    /* Red-Black Mottled Theme Colors */
    --primary-color: #090000;
    /* Deepest black/red */
    --secondary-color: #ef233c;
    /* Vibrant metallic red */
    --accent-color: #d90429;
    /* Rich dark red */
    --danger-color: #ff4d4d;
    --text-dark: #ffffff;
    /* Inverted for dark theme */
    --text-light: #9ca3af;
    /* Inverted for dark theme */
    --header-color: #fbbf24;
    /* Distinct gold color to separate from red bg */
    --bg-light: #140505;
    /* Dark textured red-black */
    --bg-white: #1a0808;
    /* Slightly lighter red-black for cards */
    --border-color: #3b0f0f;
    /* Subtle dark red border */

    /* Gradients */
    --gradient-mottled: radial-gradient(circle at center, #2b0505 0%, #110000 60%, #050000 100%);
    --gradient-primary: linear-gradient(135deg, #ef233c 0%, #8b0000 100%);

    /* Fonts */
    --font-family: 'Inter', 'Noto Sans Bengali', system-ui, -apple-system, sans-serif;
    --heading-font: 'Oswald', 'Noto Sans Bengali', system-ui, -apple-system, sans-serif;
    --bangla-font: 'Noto Sans Bengali', serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 0.5rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 1rem;
    --spacing-2xl: 1rem;
    --spacing-3xl: 1rem;

    /* Modern UI Variables */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.8);

    /* Transitions */
    --transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

/* ============================================
   GENERAL STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    position: relative;
    min-height: 100vh;
    max-width: 100vw;
}

/* Hardware accelerated noise filter to prevent scroll lag */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(200, 0, 0, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 0, 0, 0.03) 0%, transparent 20%),
        url('data:image/svg+xml,%3Csvg viewBox=\"0 0 200 200\" xmlns=\"http://www.w3.org/2000/svg\"%3E%3Cfilter id=\"noiseFilter\"%3E%3CfeTurbulence type=\"fractalNoise\" baseFrequency=\"0.8\" numOctaves=\"3\" stitchTiles=\"stitch\"/%3E%3C/filter%3E%3Crect width=\"100%25\" height=\"100%25\" filter=\"url(%23noiseFilter)\" opacity=\"0.05\"/%3E%3C/svg%3E');
    pointer-events: none;
    /* Let clicks pass through */
    z-index: -1;
    transform: translateZ(0);
    /* Force GPU layer */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    color: var(--header-color);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.bangla-text {
    font-family: var(--bangla-font);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Removed TOP BAR styles */

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    background-color: var(--primary-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Hardware accelerating blur */
    transform: translateZ(0);
    /* Hardware accelerating blur */
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 2000;
    margin: 0;
}

.navbar .container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem var(--spacing-lg);
    flex-wrap: nowrap;
}



.nav-brand {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.nav-right-actions {
    display: flex !important;
    align-items: center;
    gap: 25px;
}

.nav-socials {
    display: flex !important;
    align-items: center;
    gap: 15px;
}

.nav-socials a {
    color: #ffffff !important;
    font-size: 1.15rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0.85;
}

.nav-socials a:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-3px);
    opacity: 1;
}

.nav-whatsapp-btn {
    display: flex !important;
    align-items: center;
    gap: 8px;
    background-color: #25d366 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    white-space: nowrap;
}

.nav-whatsapp-btn i {
    font-size: 1.3rem;
}

.mobile-whatsapp-btn {
    display: none;
    /* Hide on desktop */
}

.nav-whatsapp-btn:hover {
    background-color: #128c7e !important;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #ffffff !important;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.brand-logo:hover {
    transform: scale(1.02);
}

.header-logo-image {
    max-height: 85px;
    /* Boosted for better circle detail */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
}

.header-logo-image:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(239, 35, 60, 0.3));
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--header-color);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(10px, -10px);
}

.nav-wrapper {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    margin-right: auto;
    /* Push socials to far right */
    margin-left: 20px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-lg);
    color: #ffffff;
    /* Explicitly white */
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}


/* Dropdown Menu */
.dropdown-container {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-light);
    /* Matching the dark mottled theme */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    /* updated shadow */
    overflow: hidden;
    z-index: 1000;
}

.dropdown-container:hover .dropdown-menu,
.dropdown-container.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: var(--spacing-md) var(--spacing-lg);
    color: var(--text-dark);
    /* High contrast */
    text-decoration: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* very faint line */
    transition: var(--transition);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--secondary-color);
    border: none;
}

/* ============================================
   ANNOUNCEMENT BAR / TICKER
   ============================================ */

.announce-bar {
    background: #050000;
    color: #ffffff;
    height: 36px;
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid var(--border-color);
    z-index: 10;
    display: block;
    /* Removed flex to allow internal wrapper full width */
}

/* Gradient fades on left and right for a premium fade-in/out effect */
.announce-bar::before,
.announce-bar::after {
    content: '';
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.announce-bar::before {
    left: 0;
    background: linear-gradient(to right, #050000, transparent);
}

.announce-bar::after {
    right: 0;
    background: linear-gradient(to left, #050000, transparent);
}

.ticker-wrapper {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    width: max-content;
    height: 100%;
    animation: ticker 40s linear infinite;
    will-change: transform;
}

.ticker-item {
    display: flex;
    align-items: center;
    padding: 0 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #f3f4f6;
    font-family: var(--bangla-font);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    flex-shrink: 0;
    /* Prevents items from squishing together */
}

.ticker-item i {
    color: var(--header-color);
    margin-right: 8px;
    font-size: 1.2rem;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.announce-bar:hover .ticker-wrapper {
    animation-play-state: paused;
}

.hero {
    position: relative;
    background: radial-gradient(circle at center, #2b0505 0%, #110000 70%, #050000 100%);
    color: #ffffff;
    padding: 0;
    text-align: center;
    overflow: hidden;
    min-height: 45vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: var(--spacing-3xl);
    padding-bottom: var(--spacing-3xl);
    border-bottom: 1px solid var(--border-color);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

/* Info Bar is removed and integrated into Navbar */


.hero-title {
    margin-bottom: var(--spacing-xl);
    width: 95%;
    max-width: 1300px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-main-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.brand-img-large,
.brand-img-logo {
    height: clamp(120px, 15vw, 180px);
    /* Significantly larger centerpiece for the new circular design */
    width: auto;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
    transition: var(--transition);
}

.brand-img-large:hover,
.brand-img-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 25px rgba(239, 35, 60, 0.4));
}

.hero-powered-by {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 500;
    margin-top: var(--spacing-lg);
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.brand-img-small {
    height: clamp(35px, 4vw, 55px);
    width: auto;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e2e8f0;
    margin: 0 auto;
    max-width: 100%;
    width: 98%;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 400;
}

/* Standardized Subpage Header */
.page-header {
    background: radial-gradient(circle at center, #2b0505 0%, #110000 70%, #050000 100%);
    color: #ffffff;
    padding: 6rem 1.5rem;
    text-align: center;
    border-bottom: 2px solid var(--border-color);
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--header-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.2rem;
    color: #e2e8f0;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px 2px 0 0;
}

.hero-description strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Global Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-family);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px rgba(239, 35, 60, 0.1);
}

.form-control option {
    background: #140505;
    color: #ffffff;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(239, 35, 60, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239, 35, 60, 0.5);
    background: linear-gradient(135deg, #ff4c61 0%, #ef233c 100%);
}

.warning-text {
    color: #ef4444;
    font-weight: 700;
    padding: 2px 6px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 4px;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-glow-primary,
.btn-glow-secondary {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-glow-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 10px 20px -5px rgba(239, 35, 60, 0.5);
}

.btn-glow-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 30px -10px rgba(239, 35, 60, 0.8);
    color: #ffffff;
}

.btn-glow-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-glow-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

/* Sparkle effect on primary button */
.btn-glow-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-150%) rotate(30deg);
    }

    20% {
        transform: translateX(150%) rotate(30deg);
    }

    100% {
        transform: translateX(150%) rotate(30deg);
    }
}

@media (max-width: 768px) {
    .glass-effect {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-glow-primary,
    .btn-glow-secondary {
        width: 100%;
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: var(--spacing-md) var(--spacing-2xl);
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(239, 35, 60, 0.2), 0 2px 4px -1px rgba(239, 35, 60, 0.1);
}

.btn-primary:hover {
    background-color: #8b0000;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(239, 35, 60, 0.3), 0 4px 6px -2px rgba(239, 35, 60, 0.15);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
    border-color: var(--secondary-color);
}

.btn-play {
    background-color: var(--secondary-color);
    color: #ffffff;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 0.9rem;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 1px 2px 0 rgba(239, 35, 60, 0.1);
}

.btn-play:hover {
    background-color: var(--accent-color);
    box-shadow: 0 4px 6px -1px rgba(239, 35, 60, 0.3);
}

.btn-read {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 0.9rem;
    border-radius: var(--border-radius-sm);
}

.btn-read:hover {
    background-color: rgba(255, 255, 255, 0.05);
    /* transparent hover for dark theme */
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* ============================================
   PLATFORMS SECTION
   ============================================ */

.platforms-section {
    padding: var(--spacing-3xl) var(--spacing-lg);
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.platforms-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(239, 35, 60, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.5px;
    color: var(--header-color);
    position: relative;
    display: block;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: var(--spacing-3xl);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.platform-card {
    background: linear-gradient(145deg, rgba(20, 5, 5, 0.9), rgba(5, 0, 0, 0.95));
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
}

.platform-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, rgba(239, 35, 60, 0) 0%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background 0.5s ease;
    z-index: 10;
    pointer-events: none;
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(239, 35, 60, 0.15);
    border-color: transparent;
}

.platform-card:hover::before {
    background: linear-gradient(135deg, rgba(239, 35, 60, 0.8) 0%, rgba(239, 35, 60, 0.1) 100%);
}

.platform-header {
    background: linear-gradient(135deg, rgba(20, 5, 5, 0.5) 0%, rgba(5, 0, 0, 0.8) 100%);
    padding: var(--spacing-2xl) var(--spacing-lg);
    display: flex;
    justify-content: center;
    min-height: 120px;
    border-bottom: 1px solid var(--border-color);
}

.platform-banner-header {
    width: 100%;
    height: auto;
    overflow: hidden;
    display: block;
    background: linear-gradient(135deg, rgba(20, 5, 5, 0.5) 0%, rgba(5, 0, 0, 0.8) 100%);
    border-bottom: none;
    position: relative;
    z-index: 1;
}

.platform-banner-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 0, 0, 0.95) 0%, rgba(5, 0, 0, 0) 60%);
    pointer-events: none;
    z-index: 2;
}

.platform-banner-header img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.platform-card:hover .platform-banner-header img {
    transform: scale(1.08);
}

.platform-logo {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(239, 35, 60, 0.3);
}

.platform-logo i {
    font-size: 2.5rem;
    margin-right: var(--spacing-sm);
}

.platform-card h3 {
    padding: 0 var(--spacing-lg) var(--spacing-sm);
    font-size: 1.6rem;
    font-weight: 800;
    margin-top: -25px;
    z-index: 15;
    position: relative;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
    color: #ffffff;
    letter-spacing: 0.5px;
    text-align: center;
}

.platform-card p {
    padding: 0 var(--spacing-lg);
    color: #a1a1aa;
    font-size: 0.95rem;
    flex-grow: 1;
    line-height: 1.7;
    z-index: 15;
    position: relative;
    text-align: center;
}

.platform-buttons {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    margin-top: auto;
    justify-content: center;
}

.platform-buttons .btn {
    flex: 1;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 0.9rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    padding: var(--spacing-3xl) var(--spacing-lg);
    background-color: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.feature-item {
    text-align: center;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}

/* ============================================
   PROMO BANNERS
   ============================================ */

.whatsapp-promo-banner img {
    cursor: pointer;
}

.whatsapp-promo-banner img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.feature-item:hover {
    background-color: var(--bg-white);
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}



.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    font-size: 2rem;
    color: #ffffff;
}

.feature-item h3 {
    margin-bottom: var(--spacing-md);
    font-size: 1.4rem;
    /* Slightly larger for Oswald */
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    padding: var(--spacing-3xl) var(--spacing-lg);
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    margin-bottom: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-xl);
    background-color: var(--bg-white);
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    /* Slightly larger for Oswald */
    font-family: var(--heading-font);
    color: var(--header-color);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    text-align: left;
}

.faq-question:hover {
    background-color: var(--bg-light);
    color: var(--secondary-color);
}

.faq-question i {
    transition: var(--transition);
    font-size: 0.9rem;
}

.faq-item.active .faq-question {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #ffffff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: var(--spacing-lg);
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: #050000;
    color: #ffffff;
    padding: var(--spacing-3xl) 0 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 50% 100%, rgba(239, 35, 60, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
}

.footer-column h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-brand .footer-logo {
    max-height: 120px;
    /* Slightly more room for the circle */
    margin-bottom: var(--spacing-lg);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.footer-column p {
    color: #9ca3af;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xl);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--spacing-md);
}

.footer-column a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Contact List in Footer */
.footer-contact-info {
    list-style: none;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: var(--spacing-lg);
    color: #9ca3af;
    font-size: 0.95rem;
}

.footer-contact-info i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-contact-info span {
    line-height: 1.4;
}

.footer-contact-info a {
    display: inline;
    padding: 0;
    color: #ffffff;
    font-weight: 500;
}

.footer-contact-info a:hover {
    transform: none;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: #ffffff;
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(239, 35, 60, 0.3);
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0;
}

.footer-bottom {
    background: #000000;
    padding: var(--spacing-xl) 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 0;
}

.disclaimer {
    padding-right: 70px;
    /* Avoid overlap with scroll-top-btn */
}

@media (max-width: 600px) {
    .disclaimer {
        padding-right: 0;
    }
}

.age-badge {
    background: var(--danger-color);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    vertical-align: middle;
    margin-right: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }

    .navbar .container.navbar-mobile-grid {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        padding: 0;
        position: relative;
        gap: 2px;
        flex-wrap: nowrap;
    }

    .hamburger {
        display: flex;
        z-index: 1010;
        margin: 0;
        order: 2;
        padding: 4px;
    }

    .nav-brand {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        order: 0;
        flex-shrink: 1;
    }

    .header-logo-image {
        max-height: 55px !important;
        /* Increased from 32px to handle circular details */
        width: auto;
    }

    .mobile-whatsapp-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        background: #25d366;
        color: white;
        text-decoration: none;
        padding: 6px 12px;
        border-radius: 50px;
        font-size: 0.8rem;
        font-weight: 700;
        box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
        margin: 0;
        order: 1;
        white-space: nowrap;
        flex-shrink: 1;
    }

    .mobile-whatsapp-btn i {
        font-size: 1rem;
    }

    /* Mobile Dropdown */
    .nav-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: auto;
        background: var(--bg-light);
        /* Matching header */
        display: none;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding-top: 0;
        transform: none;
        z-index: 1000;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
        overflow-y: visible;
    }

    .nav-wrapper.active {
        display: flex;
        transform: none;
    }

    .nav-right-actions {
        padding: 1.5rem;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 1.5rem;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
        box-shadow: none;
        border: none;
        max-height: none;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        padding: 16px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        white-space: normal;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        border: none;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.03);
        transition: var(--transition);
        padding-left: 15px;
    }

    .dropdown-container.active .dropdown-menu {
        max-height: 350px;
    }

    /* Layout the inner WhatsApp/Socials inside the drawer */
    .nav-right-actions {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        padding: 24px;
        gap: 20px;
        width: 100%;
        margin-top: 10px;
    }

    .nav-whatsapp-btn {
        width: 100%;
        display: flex !important;
        justify-content: center;
        border-radius: 8px !important;
        padding: 12px 20px !important;
        background: #25d366 !important;
        color: white !important;
        box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
        margin: 0;
        min-width: auto;
        height: auto;
    }

    .nav-whatsapp-btn i {
        font-size: 1.2rem !important;
        margin-right: 8px;
    }

    .wa-btn-text {
        display: inline !important;
        font-size: 1rem;
    }

    .nav-socials {
        display: flex !important;
        width: 100%;
        justify-content: center;
        gap: 20px !important;
    }

    .nav-socials a {
        font-size: 1.2rem !important;
    }

    .nav-socials a[title="Twitter"],
    .nav-socials a[title="Instagram"] {
        display: flex !important;
    }

    .hero {
        min-height: auto;
        padding-bottom: var(--spacing-lg);
    }

    .hero-title {
        margin-top: var(--spacing-sm);
        margin-bottom: var(--spacing-sm);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-description {
        width: 95%;
        margin-bottom: var(--spacing-md);
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .feature-card {
        padding: var(--spacing-md);
    }

    .feature-card i {
        font-size: 2rem;
    }

    .feature-card h3 {
        font-size: 0.95rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .btn {
        width: 100%;
    }

    .platforms-section {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: var(--spacing-sm);
    }

    .section-subtitle {
        margin-bottom: var(--spacing-md);
    }

    .platforms-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .platform-header {
        min-height: 100px;
        padding: var(--spacing-lg);
    }

    .platform-logo {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .platform-logo i {
        font-size: 2rem;
    }

    .platform-card h3 {
        font-size: 1.1rem;
    }

    .platform-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .features-grid,
    .values-grid,
    .choose-grid,
    .solutions-grid-alt {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 1.5rem;
    }

    .navbar .container {
        padding: 0 15px;
    }

    .info-bar-section {
        display: none;
        /* Already removed but just in case */
    }
}

@media (max-width: 600px) {
    .footer {
        padding-top: var(--spacing-2xl);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "brand brand"
            "links platforms"
            "contact contact";
        gap: 2rem 1rem;
    }

    .footer-column {
        display: flex;
        flex-direction: column;
    }

    .footer-column:nth-child(1) {
        grid-area: brand;
        align-items: center;
        text-align: center;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-column:nth-child(1) p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-column:nth-child(2) {
        grid-area: links;
    }

    .footer-column:nth-child(3) {
        grid-area: platforms;
    }

    .footer-column:nth-child(4) {
        grid-area: contact;
        align-items: center;
        text-align: center;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-column h3 {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-lg);
    }

    .footer-column h3::after {
        left: 0;
    }

    .footer-column:nth-child(4) h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column a {
        padding: 8px 0;
        font-size: 1rem;
        display: inline-flex;
    }

    .footer-contact-info li {
        align-items: center;
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding-bottom: 5px;
    }

    .social-links {
        justify-content: center;
        margin-top: 1rem;
        gap: 15px;
    }

    .social-links a {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 13px;
    }

    .hero {
        padding-bottom: var(--spacing-sm);
    }

    .hero-title {
        margin-top: var(--spacing-sm);
        margin-bottom: var(--spacing-xs);
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-description {
        width: 100%;
        padding: 0 5px;
        font-size: 0.9rem;
        line-height: 1.6rem;
        margin-bottom: 0;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .contact-links-right a {
        font-size: 0.85rem;
        padding: var(--spacing-sm);
    }

    .platforms-section {
        padding: var(--spacing-sm);
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: var(--spacing-xs);
    }

    .section-subtitle {
        margin-bottom: var(--spacing-sm);
    }

    .platforms-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        grid-template-areas:
            "brand"
            "links"
            "platforms"
            "contact";
        text-align: center;
        gap: 2rem;
    }

    .footer-column {
        align-items: center;
    }

    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .header-logo-image {
        max-height: 60px;
    }
}

/* ============================================
   BANNER SPACER (Prevents overlap with footer)
   ============================================ */

.banner-spacer {
    width: 100%;
    height: 70px;
    background-color: #000000;
}

@media (max-width: 600px) {
    .banner-spacer {
        height: 70px;
    }
}

/* ============================================
   STICKY BOTTOM BANNER
   ============================================ */

@media (min-width: 601px) {
    .sticky-bottom-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: var(--spacing-sm) var(--spacing-lg);
        display: flex;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-lg);
        z-index: 990;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

.sticky-banner-text {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-cyan {
    background: var(--gradient-primary);
    color: #ffffff !important;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(239, 35, 60, 0.4);
    border: none;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 35, 60, 0.6);
    background: linear-gradient(135deg, #8b0000 0%, #ef233c 100%);
}

@media (max-width: 600px) {
    .sticky-bottom-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
        min-height: 50px;
        background-color: var(--primary-color);
        display: flex;
        /* Critical for flexbox children */
        flex-direction: row;
        padding: 10px 15px;
        /* Apple/Android Safe Area bottom overlap protection */
        padding-bottom: max(10px, env(safe-area-inset-bottom, 10px));
        gap: 10px;
        justify-content: space-between;
        align-items: center;
        z-index: 990;
        /* BELOW the drawer */
        flex-wrap: nowrap;
        /* Force hardware GPU acceleration so browser never drops it on scroll */
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        margin: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    }

    .sticky-banner-text {
        font-size: 0.8rem;
        font-weight: 600;
        line-height: 1.2;
        flex: 1 1 auto;
        text-align: left;
        color: #ffffff;
        white-space: normal;
        /* Allow text to wrap naturally if phone is very thin */
    }

    .sticky-bottom-banner .btn-cyan {
        width: auto;
        max-width: fit-content;
        padding: 8px 14px;
        font-size: 0.8rem;
        font-weight: 800;
        white-space: nowrap;
        /* Button text stays on one line */
        flex: 0 0 auto;
        margin: 0;
    }
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */

.scroll-top-btn {
    position: fixed;
    bottom: 85px;
    /* Stay above desktop sticky banner */
    right: 20px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ef233c 0%, #8b0000 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    /* Higher than sticky banner (1000) */
    transition: var(--transition);
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(239, 35, 60, 0.4);
}

@media (max-width: 600px) {
    .scroll-top-btn {
        bottom: 135px;
        /* Stay above mobile sticky banner */
        right: 15px;
        width: 40px;
        height: 40px;
    }
}

.scroll-top-btn:hover {
    background: linear-gradient(135deg, #8b0000 0%, #ef233c 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(239, 35, 60, 0.6);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.platform-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-item {
    animation: slideInFromLeft 0.6s ease-out;
}