@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Ensure consistent scrollbar space */
    scrollbar-gutter: stable;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Prevent scrollbar jump during loading */
    scrollbar-gutter: stable;
}

/* Global Variables */
:root {
    /* Brand Colors */
    --primary: #ff00c6;
    --secondary: #b300ff;
    --accent: #00ffff;
    --success: #00ff88;
    --warning: #ffaa00;
    --danger: #ff4757;
    
    /* Backgrounds */
    --bg-main: #000000;
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --bg-elevated: #1a1a1a;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-primary: #111111;
    --bg-secondary: #1a1a1a;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #a0a0a0;
    --text-disabled: #666666;
    
    /* Border Colors */
    --border-main: #333333;
    --border-light: #444444;
    --border-accent: rgba(255, 0, 198, 0.3);
    --border-color: #333333;
    
    /* Shadows */
    --shadow-sm: 0 0.25rem 1rem rgba(0, 0, 0, 0.3);
    --shadow-md: 0 0.5rem 2rem rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 2rem 6rem rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 2rem rgba(255, 0, 198, 0.4);
    --shadow-glow-accent: 0 0 2rem rgba(0, 255, 255, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ff00c6, #b300ff);
    --gradient-accent: linear-gradient(135deg, #00ffff, #ff00c6);
    --gradient-success: linear-gradient(135deg, #00ff88, #00ccaa);
    --gradient-card: linear-gradient(145deg, #111111, #1a1a1a);
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    
    /* Container */
    --container-max-width: 1200px;
    --container-padding: 0 1.5rem;
}

/* Enhanced Navigation */
#navbar {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(0.5rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
    height: 75px;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.auth-buttons .btn {
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.auth-buttons .btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.auth-buttons .btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 0, 198, 0.1);
}

.auth-buttons .btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.auth-buttons .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow), var(--shadow-md);
}

.user-menu {
    position: relative;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--bg-elevated);
    border: 2px solid var(--border-main);
    border-radius: var(--radius-md);
    padding: 0.6rem 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (min-width: 701px) {
.user-menu-toggle:hover {
    border-color: var(--primary);
    background: rgba(255, 0, 198, 0.1);
}

}



.user-menu-toggle i.fa-user-circle {
    font-size: 1.2rem;
    color: var(--primary);
}

.user-menu-toggle i.fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.user-menu.active .user-menu-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-elevated);
    border: 2px solid var(--border-main);
    border-radius: var(--radius-md);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.user-menu.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a,
.user-dropdown button {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.8rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
    background: rgba(255, 0, 198, 0.1);
    color: var(--primary);
}

.user-dropdown hr {
    border: none;
    height: 1px;
    background: var(--border-main);
    margin: 0.5rem 0;
}

.user-dropdown #logout-btn {
    color: var(--danger);
    border-top: 1px solid var(--border-main);
}

.user-dropdown #logout-btn:hover {
    background: rgba(255, 71, 87, 0.1);
    color: var(--danger);
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    margin-left: auto;
    margin-right: 1.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

/* Ensure mega dropdown doesn't affect navbar layout */
.nav-mega-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.dropdown-trigger:hover {
    color: var(--primary);
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(1rem);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 0.5rem 0;
    z-index: 1000;
    margin-top: 0.25rem;
    /* Ensure dropdown doesn't affect navbar layout */
    width: max-content;
    /* Smooth dropdown animations */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.95);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* Create invisible bridge between trigger and dropdown */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.25rem;
    background: transparent;
    z-index: 999;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-link {
    display: block;
    color: var(--text-secondary) !important;
    text-decoration: none;
    padding: 0.75rem 1.25rem !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 0 !important;
}

.dropdown-link:hover {
    background: rgba(255, 0, 198, 0.1);
    color: var(--primary) !important;
}

.nav-dropdown.active .dropdown-trigger {
    color: var(--primary);
}

.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Dropdown section styling */
.dropdown-section-title {
    display: block;
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 0.5rem 1.25rem !important;
    margin: 0.5rem 0 0.25rem 0 !important;
    border-bottom: none !important;
    background: rgba(255, 255, 255, 0.05) !important;
    cursor: default !important;
}

.dropdown-section-title:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-primary) !important;
}

.dropdown-divider {
    height: 1px !important;
    background: var(--border-main) !important;
    margin: 0.5rem 0 !important;
    border: none !important;
}

/* Removed old dropdown-all styles - now handled by mega-dropdown-link inheritance */

/* Nav links sizing - removed duplicate, using main rule above */

/* Dashboard icon styling */
.nav-dashboard-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    display: inline-block;
    filter: brightness(0) invert(1);
    transition: filter 0.2s ease;
}

/* Ensure dashboard nav link uses flexbox for proper alignment */
#dashboard-nav-item .nav-link {
    display: flex;
    align-items: center;
}

.nav-link:hover .nav-dashboard-icon,
.nav-link.active .nav-dashboard-icon {
    filter: brightness(0) invert(1) sepia(1) hue-rotate(300deg) saturate(5);
}

/* Premium Upgrade Button Styling - REMOVED */

/* Primary Trial Button - Standalone version for pages */
.trial-btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    line-height: 1;
}

.trial-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.trial-btn-primary:hover::before {
    left: 100%;
}

.trial-btn-primary:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    color: white;
}

.trial-btn-primary i {
    font-size: 1rem;
}

/* Mega Dropdown Styling */
.mega-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-12px) scale(0.92);
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.98), rgba(17, 17, 17, 0.98));
    backdrop-filter: blur(2rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    padding: 1.5rem;
    z-index: 1000;
    margin-top: 0.5rem;
    min-width: 280px;
    gap: 2.5rem;
    overflow: hidden;
    /* Ensure absolute positioning doesn't affect nav layout */
    width: max-content;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
}

/* Active state for mega dropdown */
.nav-mega-dropdown.active .mega-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

/* Wider mega dropdown for Tools (has custom layout) */
.nav-mega-dropdown-tools .mega-dropdown-menu {
    min-width: 600px;
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
}

/* Tools dropdown top row - side by side sections */
.mega-dropdown-top-row {
    display: flex;
    gap: 3rem;
}

/* Tools dropdown bottom row - full width */
.mega-dropdown-bottom-row {
    display: flex;
    width: 100%;
}

.mega-dropdown-section.full-width {
    width: 100%;
    text-align: center;
}

/* Special styling for profit tracker link */
.profit-tracker-link {
    justify-content: center;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1rem 2rem;
    background: rgba(255, 0, 198, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 0, 198, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}




.mega-dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 0, 198, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.mega-dropdown-section {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.mega-section-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    display: block;
    white-space: nowrap;
}

.mega-section-title i {
    display: none;
}

.mega-section-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mega-section-links li {
    margin-bottom: 0;
    justify-content: flex-start;
}

.mega-dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
    font-size: 0.95rem;
    position: relative;
    border: none;
    background: transparent;
    padding-left: 10px !important;
}

.mega-dropdown-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: -1;
}

.mega-dropdown-link i {
    color: rgba(255, 0, 198, 0.7);
    font-size: 1rem;
    width: 1.25rem;
    text-align: center;
    transition: all 0.2s ease;
}



.mega-dropdown-link:hover {
    color: #ffffff;
    transform: translateX(0.25rem);
}

.mega-dropdown-link:hover::before {
    opacity: 1;
}

.mega-dropdown-link:hover i {
    color: rgba(255, 0, 198, 0.9);
}

/* Wrapper for "All" links in mega dropdowns */
.dropdown-all-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
}

/* "All" links inherit all styling from .mega-dropdown-link - no additional styles needed */

/* Create invisible bridge for mega dropdown */
.nav-mega-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.25rem;
    background: transparent;
    z-index: 999;
}





/* Mobile Navigation Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.mobile-menu-toggle:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

/* Main Content */
#main-content {
    flex: 1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative; /* Needed for page loading overlay positioning */
    min-height: 100vh;
}

/* Page content fade-in animation */
.page-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.page-content.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Fast fade-in for immediate content */
.page-content.fast-fade {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Smooth fade-in for initial page load */
#main-content {
    opacity: 0;
    animation: initial-fade-in 0.6s ease forwards;
    animation-delay: 0.2s;
    transition: opacity 0.3s ease;
}

/* Fade out class for page transitions */
#main-content.fade-out {
    opacity: 0;
    animation: none; /* Override the initial fade-in */
}



@keyframes initial-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#main-content h1 {
    color: white;
    margin-bottom: var(--space-lg);
    font-size: 3.2rem;
    font-weight: 800;
    text-align: center;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.02em;
    position: relative;
}


#main-content h1::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 1px;
    opacity: 0.6;
    animation: bottom-glow 5s ease-in-out infinite alternate;
}

@keyframes gradient-glow {
    0% {
        box-shadow: 0 0 1rem rgba(255, 0, 198, 0.4);
        transform: translateX(-50%) scale(1);
    }
    100% {
        box-shadow: 0 0 2rem rgba(255, 0, 198, 0.6);
        transform: translateX(-50%) scale(1.05);
    }
}

/* Page Header with Title and Breadcrumbs */
.page-header {
    margin-bottom: var(--space-2xl);
}

.page-title {
    color: white;
    font-weight: 700;
    margin: var(--space-md) 0 var(--space-md) 0;
    line-height: 1.2;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    padding-top: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    opacity: 0.9;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    padding: 0.4rem;
}



.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.breadcrumb-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
}

.breadcrumb-link:hover {
    color: var(--primary);
    background: rgba(255, 0, 198, 0.1);
}

.breadcrumb-dashboard-icon,
.breadcrumb-home-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    vertical-align: middle;
    filter: brightness(0) invert(1);
}

.breadcrumb-separator {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0 0.25rem;
}

.breadcrumb-current {
    color: var(--text-primary) !important;
    font-size: 0.9rem;
    font-weight: 600;
}

.breadcrumb-current:hover {
    color: var(--text-primary) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Enhanced Professional Footer */
#footer {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    border-top: 1px solid var(--border-main);
    padding: var(--space-3xl) 0 var(--space-lg);
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 0, 198, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

/* Brand Section - Wider */
.footer-brand {
    max-width: 350px;
}

.footer-logo {
    margin-bottom: var(--space-md);
}

.begambleaware-logo {
    height: 1.75rem; /* Same height as .logo font-size */
    width: auto;
    flex-shrink: 0;
}

/* Footer logo uses the same .logo class as header */

.footer-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    font-weight: 400;
}

/* Section Headers */
.footer-section h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2rem;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.25rem 0;
    position: relative;
    cursor: pointer;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(0.25rem);
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 0.5rem;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.social-link {
    width: 2.75rem;
    height: 2.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.social-link:hover {
    color: white;
    transform: translateY(-0.25rem);
    box-shadow: 0 8px 25px rgba(255, 0, 198, 0.3);
    border-color: var(--primary);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link i {
    position: relative;
    z-index: 1;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--border-main);
    padding-top: var(--space-lg);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-copyright p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
    font-weight: 500;
}

.footer-disclaimer {
    display: flex;
    align-items: center;
}

.responsible-gambling {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.warning-icon-footer {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    opacity: 0.8;
}

.responsible-gambling-content {
    margin-right: 1rem;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
}
.responsible-gambling-content a {
    align-items: center;
    display: flex;
}

/* Container Utility */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
    width: 100%;
}

/* Enhanced Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    line-height: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-secondary {
    background: var(--gradient-card);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(1rem);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.btn-outline:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(255, 0, 198, 0.05);
    transform: translateY(-1px);
}

/* 404 Page Specific Styles */
.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    padding: var(--space-2xl);
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-md);
    text-shadow: 0 0 4rem rgba(255, 0, 198, 0.3);
}

.error-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.error-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 500px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

/* Simple Content Pages (Privacy, Terms, etc.) */
.simple-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    line-height: 1.7;
}

.content-section {
    margin-bottom: var(--space-3xl);
}

.content-section:last-child {
    margin-bottom: var(--space-2xl);
}

.content-section h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2rem;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.content-section p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-size: 1rem;
    line-height: 1.7;
}

.content-section ul {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.content-section li {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    line-height: 1.6;
    font-size: 1rem;
}

.content-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.content-section a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.content-section a:hover {
    text-decoration: underline;
    color: var(--primary);
}

/* Cookie Consent Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98), rgba(26, 26, 26, 0.98));
    backdrop-filter: blur(1rem);
    border-top: 1px solid var(--border-main);
    padding: var(--space-lg);
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h3 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.cookie-consent-text p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: var(--primary);
    text-decoration: none;
}

.cookie-consent-text a:hover {
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.cookie-consent-actions .btn {
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
}

/* Responsive Design - Mobile First */
@media (max-width: 700px) {
    :root {
        --container-padding: 0 1rem;
        --space-xs: 0.375rem;
        --space-sm: 0.75rem;
        --space-md: 1rem;
        --space-lg: 1.5rem;
        --space-xl: 2rem;
        --space-2xl: 2.5rem;
        --space-3xl: 3rem;
    }

    body {
        overflow-x: hidden;
    }

    #navbar {
        background: rgba(0, 0, 0, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(1rem);
    }

    .nav-container {
        padding: 0 1rem;
        height: 60px;
        position: relative;
        display: flex;
        align-items: center;
    }

    .logo {
        font-size: 1.4rem;
        flex-shrink: 0;
        margin-right: auto; /* Push everything else to the right */
    }

    /* Mobile auth section - positioned before mobile toggle */
    .nav-auth {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex-shrink: 0;
        margin-right: 0.75rem; /* Gap before mobile menu toggle */
    }

    /* Mobile menu toggle - at the far right */
    .mobile-menu-toggle {
        flex-shrink: 0;
    }

    /* Mobile auth buttons - show both login and signup - bigger for mobile */
    .auth-buttons {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .user-dropdown {
        z-index: 1002;
    }

    .auth-buttons .btn-secondary {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        border-radius: 0.5rem;
        white-space: nowrap;
    }

    .auth-buttons .btn-primary {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        border-radius: 0.5rem;
        white-space: nowrap;
    }

    /* Mobile user menu - compact version */
    .user-menu-toggle {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        border-radius: 0.5rem;
        white-space: nowrap;
    }

    .user-menu-toggle i.fa-user-circle {
        font-size: 1rem;
    }

    .user-menu-toggle i.fa-chevron-down {
        font-size: 0.7rem;
    }

    /* Mobile user dropdown - aligned with user menu toggle */
    .user-dropdown {
        right: 0; /* Align right edge with button's right edge */
        min-width: 160px;
        border-radius: 0.75rem;
    }

    .user-dropdown a,
    .user-dropdown button {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    /* Full Width Mobile Navigation Menu */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #000000;
        flex-direction: column;
        padding: 0;
        margin: 0;
        z-index: 1001;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        border-bottom: none;
    }

    .nav-links.active {
        max-height: 100vh;
        margin-top: 1px;
        gap: 0;
        border-bottom: 4px solid rgba(255, 255, 255, 0.1);
    }
    
    /* Full width mobile nav links - no borders between items */
    .nav-links > li {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* Mobile Navigation Component Styles - Unified styling for all items */
    .mobile-nav-link,
    .mobile-nav-trigger {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 1.2rem 1.5rem !important;
        color: #ffffff !important;
        text-decoration: none !important;
        font-size: 1rem !important;
        font-weight: 500 !important; /* Same bold weight for all items */
        transition: background-color 0.2s ease !important;
        width: 100% !important;
        margin: 0 !important;
        cursor: pointer !important;
        border: none !important;
        background: none !important;
        border-radius: 0 !important;
    }

    .mobile-nav-link:hover,
    .mobile-nav-trigger:hover {
        background: rgba(255, 0, 198, 0.1);
    }

    /* Only difference: triggers have space-between for arrow positioning */
    .mobile-nav-trigger {
        justify-content: space-between;
    }

    .mobile-dropdown-arrow {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.7);
        transition: transform 0.2s ease;
        margin-left: auto;
    }

    .mobile-nav-submenu {
        background: none;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mobile-nav-submenu.active {
        max-height: 500px; /* Large enough to accommodate all submenu items */
    }

    .mobile-nav-sublink {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0.75rem 1.85rem !important; /* More padding and more indented */
        color: #ffffff;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 400; /* Not bold */
        transition: background-color 0.2s ease;
        width: 100%;
        margin: 0;
    }

    .mobile-nav-sublink:hover {
        background: rgba(255, 0, 198, 0.1);
    }

    /* Make "All" items bold */
    .mobile-nav-all {
        font-weight: 900 !important;
    }

    /* Old desktop navigation styles hidden on mobile - no longer needed with mobile component */
    
    /* Old desktop dropdown styles no longer needed - using mobile component */

    /* Mobile menu toggle button */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0.5rem;
        color: var(--text-primary);
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }



    .mobile-menu-toggle i {
        transition: transform 0.3s ease;
    }

    .nav-links.active + .mobile-menu-toggle i {
        transform: rotate(90deg);
    }

    #main-content {
        padding: 0;
    }

    #main-content h1 {
        font-size: 34px;
    }
    
    /* Mobile Page Header */
    .page-header {
        margin-bottom: var(--space-lg);
        padding-bottom: var(--space-md);
    }
    
    .page-title {
        font-size: 28px;
        margin-bottom: var(--space-sm);
    }
    
    .page-subtitle {
        font-size: 1rem;
        margin-bottom: var(--space-md);
        padding: 0 var(--space-sm);
        padding-top: var(--space-lg);
        line-height: 1.4;
    }
    
    .breadcrumb-link,
    .breadcrumb-current {
        font-size: 0.85rem;
        padding: 0.2rem 0.4rem;
    }

    /* Mobile Footer */
    #footer {
        padding: var(--space-2xl) 0 var(--space-lg);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: left;
        margin-bottom: var(--space-xl);
    }

    /* Brand Section First on Mobile */
    .footer-brand {
        order: -1;
        max-width: none;
        text-align: center;
        padding-bottom: var(--space-lg);
        border-bottom: 1px solid var(--border-main);
        margin-bottom: var(--space-md);
    }

    /* Footer logo inherits mobile size from .logo class */
    .begambleaware-logo {
        height: 1.4rem; /* Match mobile .logo size */
    }

    .footer-description {
        font-size: 0.9rem;
        margin-bottom: var(--space-md);
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
        margin-top: var(--space-md);
        gap: var(--space-lg);
    }

    /* Other Sections */
    .footer-section {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: var(--space-lg);
        margin-bottom: var(--space-lg);
    }

    .footer-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .responsible-gambling-content {
        margin-right: 0;
    }

    .footer-section h3 {
        font-size: 0.85rem;
        margin-bottom: var(--space-md);
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
        width: 1.5rem;
        height: 2px;
    }

    .footer-links {
        gap: var(--space-sm);
        text-align: center;
    }

    .footer-links a {
        font-size: 0.9rem;
        padding: 0.375rem 0;
    }

    .footer-links a::before {
        display: none; /* Hide the hover line on mobile */
    }

    .footer-links a:hover {
        transform: none; /* Remove transform on mobile */
    }

    .social-link {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
        border-radius: 0.625rem;
    }

    /* Mobile Footer Bottom */
    .footer-bottom {
        padding-top: var(--space-lg);
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }

    .footer-copyright p,
    .responsible-gambling {
        font-size: 0.8rem;
    }

    .responsible-gambling {
        justify-content: center;
        flex-direction: column;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
    }

    .error-code {
        font-size: 6rem;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .error-actions .btn {
        width: 100%;
        max-width: 250px;
    }

    /* Simple Content Mobile */
    .simple-content {
        padding: 0 var(--space-md);
    }

    .content-section {
        margin-bottom: var(--space-2xl);
    }

    .content-section:last-child {
        margin-bottom: var(--space-xl);
    }

    .content-section h2 {
        font-size: 1.3rem;
        margin-bottom: var(--space-md);
    }

    .content-section p,
    .content-section li {
        font-size: 0.95rem;
    }

    .content-section ul {
        padding-left: var(--space-md);
    }

    .cookie-consent-content {
        flex-direction: column;
    text-align: center;
}

    .cookie-consent-actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-consent-actions .btn {
        flex: 1;
        min-width: 120px;
    }
}

/* Smaller nav links for screens less than 1200px */
@media (max-width: 1199px) {
    .nav-links a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .nav-links {
        gap: 0.75rem;
    }
}

/* Medium screens - tablet size adjustments */
@media (max-width: 979px) and (min-width: 701px) {
    /* Smaller logo */
    .logo {
        font-size: 1.5rem;
    }
    
    /* Smaller nav container height */
    .nav-container {
        height: 65px;
        padding: 0 1.25rem;
    }
    
    /* Smaller nav links */
    .nav-links a {
        font-size: 0.85rem;
        padding: 0.375rem 0.75rem;
    }
    
    .nav-links {
        gap: 0.625rem;
        margin-right: 1rem;
    }
    
    /* Smaller auth buttons */
    .auth-buttons .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Smaller user menu */
    .user-menu-toggle {
        padding: 0.5rem 0.875rem;
        font-size: 0.85rem;
    }
    
    .user-menu-toggle i.fa-user-circle {
        font-size: 1.1rem;
    }
    
    .user-menu-toggle i.fa-chevron-down {
        font-size: 0.75rem;
    }
    
    /* Adjust dropdown arrow size */
    .dropdown-arrow {
        font-size: 0.75rem;
    }
    
    /* Smaller mega dropdown menu */
    .mega-dropdown-menu {
        padding: 1.25rem;
        gap: 2rem;
        min-width: 260px;
    }
    
    /* Smaller tools dropdown */
    .nav-mega-dropdown-tools .mega-dropdown-menu {
        min-width: 520px;
        padding: 1.75rem;
        gap: 1.25rem;
    }
    
    .mega-dropdown-top-row {
        gap: 2.5rem;
    }
    
    /* Smaller mega dropdown links */
    .mega-dropdown-link {
        padding: 0.625rem 0.875rem;
        font-size: 0.9rem;
        gap: 0.75rem;
    }
    
    .mega-dropdown-link i {
        font-size: 0.9rem;
        width: 1.125rem;
    }
    
    /* Smaller section titles */
    .mega-section-title {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    /* Smaller profit tracker link */
    .profit-tracker-link {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
    
    /* Adjust border radius for medium screens */
    .auth-buttons .btn,
    .user-menu-toggle {
        border-radius: 0.75rem;
    }
    
    .mega-dropdown-menu {
        border-radius: 1.375rem;
    }
    
    .mega-dropdown-link,
    .profit-tracker-link {
        border-radius: 0.5rem;
    }
    
    .user-dropdown {
        border-radius: 0.75rem;
    }
}

/* Small screens - final breakpoint before mobile */
@media (max-width: 879px) and (min-width: 701px) {
    /* Significantly smaller logo */
    .logo {
        font-size: 1.25rem;
    }
    
    /* Compact nav container */
    .nav-container {
        height: 55px;
        padding: 0 1rem;
    }
    
    /* Much smaller nav links */
    .nav-links a {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .nav-links {
        gap: 0.5rem;
        margin-right: 0.75rem;
    }
    
    /* Compact auth buttons */
    .auth-buttons .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Compact user menu */
    .user-menu-toggle {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .user-menu-toggle i.fa-user-circle {
        font-size: 1rem;
    }
    
    .user-menu-toggle i.fa-chevron-down {
        font-size: 0.7rem;
    }
    
    /* Smaller dropdown arrows */
    .dropdown-arrow {
        font-size: 0.7rem;
    }
    
    /* Compact mega dropdown menu */
    .mega-dropdown-menu {
        padding: 1rem;
        gap: 1.5rem;
        min-width: 240px;
    }
    
    /* Compact tools dropdown */
    .nav-mega-dropdown-tools .mega-dropdown-menu {
        min-width: 460px;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .mega-dropdown-top-row {
        gap: 2rem;
    }
    
    /* Compact mega dropdown links */
    .mega-dropdown-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        gap: 0.625rem;
    }
    
    .mega-dropdown-link i {
        font-size: 0.85rem;
        width: 1rem;
    }
    
    /* Compact section titles */
    .mega-section-title {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    /* Compact profit tracker link */
    .profit-tracker-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Adjust user dropdown for smaller screens */
    .user-dropdown {
        min-width: 180px;
        border-radius: 0.625rem;
    }
    
    .user-dropdown a,
    .user-dropdown button {
        padding: 0.7rem 0.875rem;
        font-size: 0.85rem;
    }
    
    /* Smaller border radius for compact elements */
    .auth-buttons .btn,
    .user-menu-toggle {
        border-radius: 0.625rem;
    }
    
    .mega-dropdown-menu {
        border-radius: 1.25rem;
    }
    
    .mega-dropdown-link,
    .profit-tracker-link {
        border-radius: 0.4rem;
    }
}

/* Extra small screens - final breakpoint before mobile */
@media (max-width: 779px) and (min-width: 701px) {
    /* Very small logo */
    .logo {
        font-size: 1.125rem;
    }
    
    /* Very compact nav container */
    .nav-container {
        height: 50px;
        padding: 0 0.875rem;
    }
    
    /* Minimal nav links */
    .nav-links a {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    .nav-links {
        gap: 0.375rem;
        margin-right: 0.625rem;
    }
    
    /* Minimal auth buttons */
    .auth-buttons .btn {
        padding: 0.35rem 0.7rem;
        font-size: 0.75rem;
        border-radius: 0.5rem;
    }
    
    /* Minimal user menu */
    .user-menu-toggle {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
        border-radius: 0.5rem;
    }
    
    .user-menu-toggle i.fa-user-circle {
        font-size: 0.9rem;
    }
    
    .user-menu-toggle i.fa-chevron-down {
        font-size: 0.65rem;
    }
    
    /* Minimal dropdown arrows */
    .dropdown-arrow {
        font-size: 0.65rem;
    }
    
    /* Very compact mega dropdown menu */
    .mega-dropdown-menu {
        padding: 0.875rem;
        gap: 1.25rem;
        min-width: 220px;
        border-radius: 1rem;
    }
    
    /* Very compact tools dropdown */
    .nav-mega-dropdown-tools .mega-dropdown-menu {
        min-width: 420px;
        padding: 1.25rem;
        gap: 0.875rem;
    }
    
    .mega-dropdown-top-row {
        gap: 1.75rem;
    }
    
    /* Minimal mega dropdown links */
    .mega-dropdown-link {
        padding: 0.4rem 0.625rem;
        font-size: 0.8rem;
        gap: 0.5rem;
        border-radius: 0.375rem;
    }
    
    .mega-dropdown-link i {
        font-size: 0.8rem;
        width: 0.9rem;
    }
    
    /* Minimal section titles */
    .mega-section-title {
        font-size: 0.9rem;
        margin-bottom: 0.875rem;
    }
    
    /* Minimal profit tracker link */
    .profit-tracker-link {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
        border-radius: 0.5rem;
    }
    
    /* Very compact user dropdown */
    .user-dropdown {
        min-width: 160px;
        border-radius: 0.5rem;
    }
    
    .user-dropdown a,
    .user-dropdown button {
        padding: 0.6rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Medium screens - Tablet Footer */
@media (min-width: 701px) and (max-width: 1024px) {
    .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: var(--space-lg);
        justify-content: space-evenly;
        place-items: start center;
    }

    #footer {
        padding-top: var(--space-xl);
    }

    .footer-brand {
        grid-column: 1 / -1; /* Span full width */
        text-align: center;
        max-width: none;
        padding-bottom: var(--space-lg);
        border-bottom: 1px solid var(--border-main);
        margin-bottom: var(--space-lg);
        justify-self: center;
    }

    /* Footer logo inherits tablet size from .logo class */
    .begambleaware-logo {
        height: 1.75rem; /* Match tablet .logo size */
    }

    .footer-description {
        max-width: 400px;
        margin: 0 auto var(--space-lg);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-section h3 {
        text-align: center;
        font-size: 0.9rem;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        text-align: center;
    }

    .footer-bottom-content {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: var(--space-sm);
    }

    .cookie-types {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .page-subtitle {
        font-size: 1.0625rem;
        padding: 0 var(--space-md);
        padding-top: var(--space-lg);
    }
}





/* Authentication Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.auth-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    max-width: 480px;
    width: 100%;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(1rem);
    box-shadow: var(--shadow-xl);
}

.auth-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.auth-logo i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 400;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-container i {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    z-index: 1;
    transition: color 0.3s ease;
}

.input-container input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: var(--bg-elevated);
    border: 2px solid var(--border-main);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
}

.input-container input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 0, 198, 0.1);
    background: var(--bg-card);
}

.input-container input:focus + .password-toggle {
    color: var(--primary);
}

.input-container input:focus ~ i,
.input-container input:focus + i {
    color: var(--primary);
}

.input-container input.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.input-container input::placeholder {
    color: var(--text-disabled);
    font-weight: 400;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    z-index: 1;
}

.password-toggle:hover {
    color: var(--primary);
    background: rgba(255, 0, 198, 0.1);
}

.password-strength {
    margin-top: var(--space-xs);
}

.strength-bar {
    height: 4px;
    background: var(--border-main);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: var(--space-xs);
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-fill.very-weak { background: var(--danger); }
.strength-fill.weak { background: #ff8c42; }
.strength-fill.fair { background: var(--warning); }
.strength-fill.good { background: #4caf50; }
.strength-fill.strong { background: var(--success); }

.strength-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: var(--bg-elevated);
    border: 2px solid var(--border-main);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: var(--gradient-primary);
    border-color: var(--primary);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 0.7rem;
}

.checkbox-container a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-btn {
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    text-decoration: none;
    outline: none;
}

.auth-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.auth-btn.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.auth-btn.primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.auth-btn.secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 2px solid var(--border-main);
}

.auth-btn.secondary:hover:not(:disabled) {
    border-color: var(--primary);
    background: rgba(255, 0, 198, 0.1);
    color: var(--primary);
    transform: translateY(-1px);
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: var(--space-md) 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-main);
}

.auth-divider span {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-footer {
    text-align: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-main);
}

.auth-footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.error-message,
.success-message {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    text-align: center;
    animation: slideInFromTop 0.3s ease-out;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    border: 2px solid;
}

.error-message {
    background: rgba(255, 71, 87, 0.15);
    border-color: var(--danger);
    color: var(--danger);
}

.success-message {
    background: rgba(0, 255, 136, 0.15);
    border-color: var(--success);
    color: var(--success);
}

.hidden {
    display: none !important;
}

/* Auth Background Animation */
.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.floating-shape.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-shape.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: -7s;
}

.floating-shape.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: -14s;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: pulse 8s infinite ease-in-out;
}

.gradient-orb.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary), transparent);
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.gradient-orb.orb-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--accent), transparent);
    bottom: -125px;
    left: -125px;
    animation-delay: -4s;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(20px) rotate(240deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive for auth pages */
@media (max-width: 700px) {
    .auth-container {
        padding: var(--space-md);
    }

    .auth-card {
        padding: var(--space-xl);
    margin: 0;
    }

    .auth-header h1 {
    font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }

    .floating-shape {
        display: none;
    }

    .gradient-orb {
        opacity: 0.2;
    }
}

/* Note: Initial full-page loading screen removed - navbar stays always visible */

/* Page Loading Overlay - Black screen covering main content during page transitions */
.page-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.15s ease;
    /* Ensure it covers the full viewport height */
    min-height: 100vh;
}

.page-loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 0, 198, 0.2);
    border-left: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

.loading-brand {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Page loading overlay for content areas */
.page-loading {
    position: relative;
}

.page-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    backdrop-filter: blur(4px);
}

.page-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 0, 198, 0.2);
    border-left: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 101;
}

/* Clean Modern Settings Design */
.modern-settings {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

/* Hide settings content until hash processing is complete */
.modern-settings.initializing {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modern-settings.ready {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.settings-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
}

/* Navigation Pills */
.settings-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    padding: 0.75rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-pill {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.nav-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-pill:hover::before {
    opacity: 1;
}

.nav-pill:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-pill.active {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 198, 0.4), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-pill.active::before {
    opacity: 0;
}

.nav-pill i {
    font-size: 1.125rem;
    transition: transform 0.3s ease;
}

.nav-pill.active i {
    transform: scale(1.1);
}

/* Main Content */
.settings-main {
    position: relative;
}

.tab-content {
    display: none;
    animation: slideIn 0.3s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

/* Account Tab */
.account-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.account-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-item:last-child {
    border-bottom: none;
}

.item-label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.item-value {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pill.verified {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.status-pill.unverified {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.25);
}

/* Subscription Tab */
.subscription-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.sub-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.sub-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.sub-plan {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.sub-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 1.1rem;
    max-width: 480px;
}

.sub-badge {
    margin-bottom: 0.5rem;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1rem;
    gap: 0.75rem;
    min-width: 140px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.badge-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Enhanced Cancel Subscription Button */
.subscription-card .btn-outline {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
}

.subscription-card .btn-outline:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #ef4444;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.2);
}

.subscription-card .btn-outline:active {
    transform: translateY(0);
}

/* Modern Modal Body */
.modern-modal-body {
    padding: 0 0 1.5rem;
}

/* Cancel Warning Styles */
.cancel-warning {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 0.75rem;
    margin: 0 1.5rem 0.5rem;
}

.warning-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 1.1rem;
}

.warning-content h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.warning-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Modern Subtle Button */
.modern-btn-subtle {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

.modern-btn-subtle:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modern-btn-subtle:active {
    transform: translateY(0);
}

.badge-pill.free-trial {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.badge-pill.premium {
    background: linear-gradient(135deg, var(--primary), #c026d3);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 0, 198, 0.25);
}

.badge-pill.pro {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.badge-pill.trial-expired {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.badge-pill.no-membership {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-pill.canceled {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.trial-banner {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #22c55e;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.sub-actions {
    text-align: center;
}

.sub-actions .btn {
    min-width: 200px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    margin-top: 2rem;
    border-radius: 1.5rem;
}

/* Security Tab */
.security-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.5rem;
}

.security-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.security-left {
    flex: 1;
}

.security-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.security-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    color: var(--primary);
}

/* Notifications Tab */
.notification-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

/* Hide sections until data is loaded */
.account-grid.loading,
.subscription-card.loading,
.security-item.loading,
.notification-item.loading {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.account-grid.loaded,
.subscription-card.loaded,
.security-item.loaded,
.notification-item.loaded {
    opacity: 1;
    visibility: visible;
}

.notification-item:last-child {
    margin-bottom: 0;
}

.notification-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.notification-info {
    flex: 1;
}

.notification-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.notification-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* Sleek Toggle */
.sleek-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    cursor: pointer;
}

.sleek-toggle input {
    display: none;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 13px;
    transition: all 0.3s ease;
}

.toggle-slider:before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background: linear-gradient(145deg, #ffffff, #f3f4f6);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.sleek-toggle input:checked + .toggle-slider {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 0, 198, 0.3);
}

.sleek-toggle input:checked + .toggle-slider:before {
    transform: translateX(24px);
    background: #ffffff;
}

/* Warning Message */
.warning-message {
    text-align: center;
    padding: 1.5rem;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.warning-message i {
    font-size: 2rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.warning-message h4 {
    color: #dc3545;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.warning-message p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.warning-message ul {
    text-align: left;
    color: var(--text-secondary);
    margin: 0;
    padding-left: 1.5rem;
}

.warning-message li {
    margin-bottom: 0.5rem;
}

/* Modern Modal Styles */
.modern-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.3s ease;
}

.modern-modal.hidden {
    display: none;
}

@keyframes modalFadeIn {
    from { 
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to { 
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

.modern-modal-content {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 1px solid #333333;
    border-radius: 20px;
    max-width: 520px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { 
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modern-modal-header {
    text-align: center;
    padding: 2rem 2rem 1.5rem;
    position: relative;
}

.modern-modal-header h2 {
    font-size: 1.75rem;
    color: #ffffff;
    margin: 0;
    font-weight: 700;
}

/* When header has no paragraph, adjust h2 margin */
#cancel-subscription-modal .modern-modal-header h2 {
    margin: 0;
}

.modern-modal-header p {
    color: #e0e0e0;
    margin: 0 0 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.modern-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.modern-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.modern-modal-form {
    padding: 0 2rem 2rem;
}

.modern-input-group {
    margin-bottom: 1.5rem;
}

.modern-input-group label {
    display: block;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.password-input-wrapper {
    position: relative;
}

.modern-input-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #333333;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #1a1a1a;
    color: #ffffff;
    box-sizing: border-box;
}

.modern-input-group input:focus {
    outline: none;
}

.modern-input-group input::placeholder {
    color: #888888;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #888888;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #ffffff;
}

.password-requirements {
    margin-top: 0.5rem;
}

.password-requirements small {
    color: #888888;
    font-size: 0.85rem;
}

.modern-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-bottom: 1.5rem;
}

.modern-btn {
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    min-width: 120px;
    justify-content: center;
}

.modern-btn-primary {
    background: linear-gradient(135deg, #ff00c6, #b300ff);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 198, 0.3);
}

.modern-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(255, 0, 198, 0.3);
}

.modern-btn-primary:active {
    transform: translateY(0);
}

.modern-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* Webkit autofill styling for modern inputs */
.modern-input-group input:-webkit-autofill,
.modern-input-group input:-webkit-autofill:hover,
.modern-input-group input:-webkit-autofill:focus,
.modern-input-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #1a1a1a inset !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 2px solid #333333 !important;
    background-color: #1a1a1a !important;
}

/* Modal Styles for Settings (Legacy) */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-main);
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.close-modal:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-main);
}

.modal-actions .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* Modal spacing fix for change password popup */
.security-item.modal-open {
    padding-bottom: 500px;
    transition: padding-bottom 0.3s ease;
}

/* Mobile modal spacing fix */
@media (max-width: 768px) {
    .security-item.modal-open {
        padding-bottom: 400px;
        transition: padding-bottom 0.3s ease;
    }
    
    .modern-modal {
        align-items: flex-start;
        padding-top: 0;
    }
    
    .modern-modal-content {
        max-height: calc(100vh + 100px);
        overflow-y: visible;
        margin-top: 0;
    }
    
    .cancel-warning {
        padding: 1.25rem;
        gap: 0.875rem;
        margin: 0 1rem 0.5rem;
    }
    
    .warning-icon-footer {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .warning-content h4 {
        font-size: 0.95rem;
    }
    
    .warning-content p {
        font-size: 0.9rem;
    }
}

/* Modern Settings Mobile Responsive */
@media (max-width: 768px) {
    .modern-settings {
        padding: 1.5rem 1rem 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .settings-nav {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .nav-pill {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
        justify-content: flex-start;
        text-align: left;
        width: 100%;
    }
    
    .nav-pill span {
        display: inline;
        font-weight: 600;
    }
    
    .nav-pill i {
        font-size: 1.1rem;
        width: 1.5rem;
        text-align: center;
    }
    
    .content-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    /* Account Mobile */
    .account-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem 0;
    }
    
    .item-label {
        font-size: 0.85rem;
    }
    
    .item-value {
        font-size: 0.95rem;
    }
    
    /* Subscription Mobile */
    .subscription-card {
        padding: 2rem 1.5rem;
    }
    
    .sub-header {
        gap: 1.25rem;
    }
    
    .sub-plan {
        font-size: 1.5rem;
    }
    
    .sub-description {
        font-size: 1rem;
    }
    
    .badge-pill {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        min-width: 120px;
    }
    
    .trial-banner {
        padding: 0.875rem 1rem;
        margin-bottom: 1.5rem;
        font-size: 0.9rem;
    }

    
    .sub-actions .btn {
        width: 100%;
        max-width: 280px;
        margin-top: 1.5rem;
    }
    
    /* Security Mobile */
    .security-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .action-btn {
        align-self: center;
        width: auto;
    }
    
    /* Notifications Mobile */
    .notification-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .sleek-toggle {
        align-self: center;
    }
    
    /* Modern Modal Mobile */
    .modern-modal-content {
        width: 95%;
        margin: 1rem;
        border-radius: 16px;
    }

    .modern-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .modern-modal-header h2 {
        font-size: 1.5rem;
    }

    .modern-modal-form {
        padding: 0 1.5rem 1.5rem;
    }

    .modern-modal-actions {
        flex-direction: column;
        gap: 0.75rem;
        padding-bottom: 1.25rem;
        align-items: center;
    }

    .modern-btn {
        width: 90%;
        padding: 1rem 1.5rem;
    }

    /* Legacy Modal Mobile */
    .modal-content {
        width: 95%;
        margin: 1rem;
        border-radius: 1rem;
    }

    .modal-header,
    .modal-body,
    .modal-actions {
        padding: 1rem 1.5rem;
    }

    .modal-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .modal-actions .btn {
        width: 100%;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .modern-settings {
        padding: 1.25rem;
        padding-top: 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .settings-nav {
        margin-bottom: 2rem;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .nav-pill {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .nav-pill i {
        width: 1.25rem;
    }
    
    .subscription-card,
    .security-item,
    .notification-item {
        padding: 1.25rem;
    }
    
    .content-title {
        font-size: 1.2rem;
    }
}

/* Betting Alerts Page Styles */
.betting-alerts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0rem 1rem;
    margin-bottom: 8rem;
}

/* App State Management */
.app-state {
    width: 100%;
}

.app-state.hidden {
    display: none;
}

.alerts-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 1rem;
    position: relative;
    background: linear-gradient(135deg, 
        rgba(255, 0, 198, 0.05) 0%, 
        rgba(179, 0, 255, 0.03) 50%, 
        rgba(0, 0, 0, 0.8) 100%
    );
    border-radius: 1.5rem;
    overflow: hidden;
}

.alerts-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 0, 198, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.alerts-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

.alerts-title .fab {
    color: #5865F2;
    font-size: 2rem;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: #5865F2;
}

.alerts-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Premium Upgrade Section - Simple Clean Design */
.premium-upgrade-section {
    text-align: center;
    padding: 1rem;
    margin: 1rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.upgrade-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.upgrade-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.upgrade-info > i {
    font-size: 3rem;
    color: var(--primary);
}

.upgrade-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.upgrade-text > p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.upgrade-benefits {
    display: none;
}

.upgrade-cta {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
    margin: 0;
}

.upgrade-actions {
    margin-top: 1rem;
}

.trial-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    position: relative;
    overflow: hidden;
    line-height: 1;
}

.trial-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.trial-btn:hover::before {
    left: 100%;
}

.trial-btn:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.trial-btn i {
    font-size: 1rem;
}

.trial-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.alert-message {
    background: var(--bg-card);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: all 0.2s ease;
}

.alert-message:hover {
    border-color: var(--border-light);
}

.premium-required {
    border-color: rgba(255, 0, 198, 0.2);
}

.setup-required {
    border-color: rgba(255, 193, 7, 0.2);
}

.setup-required .alert-content i {
    color: #ffc107;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert-content i {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 198, 0.1);
    border-radius: var(--radius-md);
}

.alert-text {
    flex: 1;
    min-width: 0;
}

.alert-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.alert-text p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Button Styling within Alert */
.alert-content .btn {
    margin-left: 1rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.alert-content .btn:hover {
    transform: translateY(-1px);
}

.alert-content .btn i {
    margin-right: 0.5rem;
    font-size: 1rem;
    background: none;
    box-shadow: none;
    padding: 0;
    width: auto;
    height: auto;
    color: inherit;
}

/* Discord Integration Styles */
.discord-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-main);
    margin-bottom: 2rem;
}

.integration-step {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-main);
    overflow: hidden;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.integration-step:hover {
    border-color: var(--border-light);
}

.integration-step:last-child {
    margin-bottom: 0;
}

.step-header {
    background: rgba(255, 0, 198, 0.05);
    border-bottom: 1px solid var(--border-main);
    padding: 1rem;
    text-align: center;
}

.step-header h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 600;
}

.step-content {
    padding: 1rem;
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.step-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.step-actions .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.85rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 0, 198, 0.05);
}

.invite-info {
    margin-bottom: 1rem;
}

.join-instructions {
    margin-bottom: 1rem;
}

.join-instructions h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.join-instructions ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.join-instructions li {
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.join-instructions li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.invite-link-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    margin-bottom: 1rem;
}

.invite-link-container input {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.8rem;
    font-family: monospace;
}

.invite-link-container input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 0, 198, 0.2);
}

.invite-link-container .btn {
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-size: 0.8rem;
}

.important-notice {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.important-notice i {
    color: #ffc107;
    margin-top: 0.1rem;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.important-notice div {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

.verification-status {
    text-align: center;
    padding: 1.5rem;
}

.verification-status i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    animation: pulse 2s infinite;
}

/* Status messages removed for cleaner UI */

/* Alerts Configuration Styles */
.alerts-config {
    max-width: none;
    background: none;
    border: none;
    padding: 0;
    margin-top: 4rem;
}

.config-header {
    text-align: left;
    margin-bottom: 4rem;
    padding: 0;
    border: none;
}

.config-header h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    justify-content: center;
}

.config-header i {
    color: var(--primary);
    font-size: 1.5rem;
}

.config-header p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
}

.discord-status-card {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.08), rgba(88, 101, 242, 0.04));
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 4.5rem;
    position: relative;
    overflow: hidden;
}

.discord-status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5865F2, #7289DA);
}

.status-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.status-info i {
    font-size: 2rem;
    color: #5865F2;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.status-content {
    flex: 1;
}

.status-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.connected {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
}

.status-badge.disconnected {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.status-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.status-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.status-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 0.75rem;
}

.status-item-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.status-item-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    font-family: monospace;
}

.status-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.status-actions-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-help-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.status-actions button {
    font-size: 0.85rem;
    padding: 0.625rem 1.25rem;
    white-space: nowrap;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.2s ease;
}

.status-actions .btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
}


.status-connected { color: #28a745; }
.status-disconnected { color: #ffc107; }
.status-removed { color: #dc3545; }
.status-not-connected { color: var(--text-secondary); }

/* Filters Container */
.filters-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.oddsmatcher-section {
    margin-bottom: 2.5rem;
}

.oddsmatcher-header {
    margin-bottom: 1rem;
    padding: 0;
    background: none;
    border: none;
}

.oddsmatcher-header h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.oddsmatcher-header i {
    color: var(--primary);
    font-size: 1rem;
}

.oddsmatcher-header p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.filters-grid {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    gap: 1.5rem;
}

.filter-info {
    flex: 1;
    min-width: 0;
}

.filter-name {
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.alert-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.alert-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.alert-toggle .toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.alert-toggle .toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background: linear-gradient(145deg, #ffffff, #e0e0e0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.alert-toggle input:checked + .toggle-slider {
    background: var(--gradient-primary);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 0, 198, 0.3);
}

.alert-toggle input:checked + .toggle-slider:before {
    transform: translateX(20px);
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.alert-toggle:hover .toggle-slider {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), 0 0 8px rgba(255, 255, 255, 0.1);
}

.alert-toggle input:checked:hover + .toggle-slider {
    box-shadow: 0 0 15px rgba(255, 0, 198, 0.4);
}

/* Filter status removed - toggle provides visual feedback */

/* No Filters Message */
.no-filters-message {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-secondary);
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-main);
    margin: 1rem 0;
}

.no-filters-message i {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    opacity: 0.6;
}

.no-filters-message h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.no-filters-message p {
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.no-filters-actions {
    display: none;
    justify-content: center;
    gap: 0.75rem;
}

.no-filters-actions .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
}

/* Modal Extensions for Betting Alerts */
.discord-info .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.discord-info .info-row:last-child {
    border-bottom: none;
}

.discord-info label {
    font-weight: 500;
    color: var(--text-secondary);
}

.discord-info span {
    color: var(--text-primary);
    font-family: monospace;
    font-size: 0.9rem;
}

.discord-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Loading Container Styles */
.loading-container {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    border: 1px solid var(--border-main);
}

.loading-container .spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid rgba(255, 0, 198, 0.1);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

.loading-container p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
}



/* Betting Alerts Responsive Design */
@media (max-width: 768px) {
    .betting-alerts-container {
        padding: 0rem 1.5rem;
    }
    
    .alerts-header {
        margin-bottom: 2rem;
        padding: 1.5rem 1rem;
        border-radius: 1rem;
    }
    
    .alerts-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .alerts-title .fab {
        font-size: 1.75rem;
    }
    
    .alerts-subtitle {
        font-size: 1rem;
    }
    
    /* Discord Status Card Mobile */
    .discord-status-card {
        padding: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .status-info {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }
    
    .status-info i {
        font-size: 1.75rem;
        margin-top: 0;
    }
    
    .status-title {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .status-description {
        text-align: center;
        font-size: 0.85rem;
    }
    
    .status-details {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }
    
    .status-item {
        text-align: center;
        padding: 0.625rem;
    }
    
    .status-actions {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .status-help-text {
        order: 2;
        font-size: 0.75rem;
    }
    
    .status-actions button {
        order: 1;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    /* Premium Upgrade Mobile */
    .premium-upgrade-section {
        padding: 0.5rem 1rem;
        margin: 0.5rem 0;
    }
    
    .upgrade-info > i {
        font-size: 2.5rem;
    }
    
    .upgrade-text h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .upgrade-text > p {
        font-size: 0.95rem;
    }
    
    .upgrade-cta {
        font-size: 1rem;
    }
    
    .trial-btn {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .alert-message {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .alert-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .alert-content .btn {
        margin-left: 0;
        margin-top: 0.75rem;
        width: 100%;
    }
    
    .alert-content i {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }
    
    .alert-text h3 {
        font-size: 1.1rem;
    }
    
    .alert-text p {
        font-size: 0.85rem;
    }
    
    .discord-section {
        padding: 1rem;
    }
    
    .integration-step {
        margin-bottom: 0.75rem;
    }
    
    .step-header {
        padding: 0.75rem;
    }
    
    .step-header h3 {
        font-size: 1rem;
    }
    
    .step-content {
        padding: 0.75rem;
    }
    
    .invite-link-container {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .step-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .step-actions .btn {
        min-width: auto;
        width: 100%;
    }
    
    .discord-status-card {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        padding: 0.75rem;
    }
    
    .filters-grid {
        gap: 0.75rem;
    }
    
    .filter-card {
        padding: 1rem 1.25rem;
        border-radius: var(--radius-md);
    }
    
    .filter-card:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .filter-header {
        gap: 1rem;
    }
    
    .filter-name {
        font-size: 0.95rem;
        font-weight: 600;
    }
    
    .alert-toggle {
        width: 40px;
        height: 22px;
    }
    
    .alert-toggle .toggle-slider:before {
        height: 16px;
        width: 16px;
    }
    
    .alert-toggle input:checked + .toggle-slider:before {
        transform: translateX(18px);
    }
    
    .oddsmatcher-header {
        padding: 0;
    }

    .oddsmatcher-section {
        margin-bottom: 1rem;
    }
    
    .no-filters-message {
        padding: 1.5rem 1rem;
    }
    
    .no-filters-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .loading-container {
        padding: 2rem 1rem;
    }
}

/* Smooth animations */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* Help & Contact Page - Clean Design */
.help-contact-section {
    margin-bottom: calc(var(--space-3xl) * 1.45);
    padding-top: var(--space-lg);
}

.help-form-section {
    margin-bottom: calc(var(--space-3xl) * 1.45);
}

.help-faq-section {
    margin-bottom: calc(var(--space-3xl) * 1.45);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    text-align: center;
    position: relative;
    padding-bottom: var(--space-sm);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--space-2xl);
    line-height: 1.5;
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-method:last-child {
    border-bottom: none;
}

.method-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.discord-icon {
    background: rgba(88, 101, 242, 0.15);
}

.discord-icon i {
    color: #5865F2;
    font-size: 1.5rem;
}

.email-icon {
    background: rgba(255, 0, 198, 0.15);
}

.email-icon i {
    color: var(--primary);
    font-size: 1.3rem;
}

.pro-icon {
    background: rgba(255, 215, 0, 0.15);
}

.pro-icon i {
    color: #FFD700;
    font-size: 1.3rem;
}

.method-content {
    flex: 1;
}

.method-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.method-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
    font-size: 0.95rem;
}

.response-time {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.response-time i {
    color: var(--primary);
    font-size: 0.8rem;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.contact-link:hover {
    text-decoration: underline;
    color: var(--primary);
}

.contact-link i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.contact-link:hover i {
    transform: translateX(2px);
}

/* Contact Form */
.help-contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.form-field label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 0, 198, 0.1);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.form-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: var(--space-md);
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 198, 0.3);
}

.form-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* FAQ Items */
.faq-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.faq-question i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    margin-left: 2.5rem;
    font-size: 0.95rem;
}

/* Notification System */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    max-width: 400px;
    animation: slideInRight 0.3s ease;
}

.notification-success {
    border-color: var(--success);
    background: rgba(0, 255, 136, 0.1);
}

.notification-error {
    border-color: var(--danger);
    background: rgba(255, 71, 87, 0.1);
}

.notification i {
    font-size: 1.2rem;
}

.notification-success i {
    color: var(--success);
}

.notification-error i {
    color: var(--danger);
}

.notification span {
    color: var(--text-primary);
    flex: 1;
}

/* Autofill override */
#contact-email:-webkit-autofill, #contact-name:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--bg-main) inset !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    box-shadow: 0 0 0 1000px var(--bg-main) inset !important;
}

#contact-email:-webkit-autofill:focus, #contact-name:-webkit-autofill:focus {
-webkit-text-fill-color: var(--text-primary) !important;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.notification-close:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Help & Contact Mobile Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: var(--space-xl);
    }
    
    /* Contact Methods Mobile */
    .contact-methods {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .contact-method {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: var(--space-md);
        padding: var(--space-xl) 0;
    }
    
    .method-icon {
        align-self: center;
        width: 60px;
        height: 60px;
    }
    
    .method-content {
        text-align: center;
    }
    
    .response-time {
        justify-content: center;
    }
    
    /* Contact Form Mobile */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-field {
        margin-bottom: var(--space-md);
    }
    
    /* FAQ Mobile */
    .faq-items {
        gap: var(--space-lg);
    }
    
    .faq-item {
        padding: var(--space-md) 0;
    }
    
    .faq-question {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
        text-align: left;
    }
    
    .faq-item p {
        margin-left: 0;
        margin-top: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .modern-help-page {
        padding: 1rem 0.75rem 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .help-hero {
        padding: 2rem 0;
        margin-bottom: 3rem;
    }
    
    .contact-options {
        margin-bottom: 3rem;
    }
    
    .contact-form-section {
        margin-bottom: 3rem;
    }
}

/* Legacy mobile styles */
@media (max-width: 700px) {
    .help-contact-container {
        padding: 0 1rem;
    }

    .help-contact-section {
        padding-top: 0;
    }

    /* Hero Section Mobile */
    .help-hero {
        padding: var(--space-2xl) var(--space-lg);
        margin-bottom: var(--space-2xl);
    }

    .help-hero-content h1 {
        font-size: 2.5rem;
    }

    .help-hero-content p {
        font-size: 1.1rem;
    }

    /* Quick Contact Mobile */
    .quick-contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .quick-contact-item {
        padding: var(--space-lg);
    }

    .quick-contact-icon {
        width: 70px;
        height: 70px;
    }

    .quick-contact-icon i {
        font-size: 1.8rem;
    }

    /* Section Headers Mobile */
    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1.1rem;
    }

    /* Help Features Mobile */
    .help-features-section {
        padding: var(--space-2xl) 0;
    }

    .help-features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .help-feature {
        flex-direction: column;
        text-align: center;
        padding: var(--space-lg);
    }

    .help-feature-icon {
        margin: 0 auto var(--space-md);
    }

    /* Contact Form Mobile */
    .contact-form-section {
        padding: var(--space-2xl) 0;
    }

    .contact-form-wrapper {
        padding: 0 var(--space-lg);
    }

    .contact-form {
        padding: var(--space-lg);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    /* Response Info Mobile */
    .response-info {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    /* FAQ Mobile */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .faq-item {
        padding: var(--space-lg);
    }

    .faq-question {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }

    /* Notification Mobile */
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .help-hero-content h1 {
        font-size: 2rem;
    }

    .help-hero-content p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .quick-contact-item,
    .help-feature,
    .contact-form,
    .faq-item {
        padding: var(--space-md);
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 0.875rem;
    }

    .quick-contact-icon {
        width: 60px;
        height: 60px;
    }

    .quick-contact-icon i {
        font-size: 1.5rem;
    }

    .help-feature-icon {
        width: 50px;
        height: 50px;
    }

    .help-feature-icon i {
        font-size: 1.3rem;
    }
}

/* Very small screens - hide login button to save space */
@media (max-width: 400px) {
    .auth-buttons .btn-secondary {
        display: none;
    }
    
    .auth-buttons {
        gap: 0;
    }
}
