/* CSS Variables */
:root {
    /* Colors */
    --primary-purple: #6366f1;
    --primary-violet: #8b5cf6;
    --primary-pink: #ec4899;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    --accent-yellow: #fbbf24;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 99999; /* AGGRESSIVE Z-INDEX FIX */
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    min-height: 70px; /* FIXED: Cross-browser height consistency */
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 20px;
    color: var(--gray-900);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.logo-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 8px;
    list-style: none;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-purple);
    background: var(--gray-50);
}

.dropdown-icon {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.nav-item:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* ========================================= */
/* == SMART CONTENT TYPOGRAPHY (AUTO-FIX) == */
/* ========================================= */
/* This section automatically fixes spacing and formatting for 
   content pasted from TinyMCE or other editors */

.article-content, 
.section-content, 
.section-content-inner,
.club-review-body, 
.app-review-content {
    font-size: 1.125rem; /* 18px for better readability */
    line-height: 1.8;
    color: var(--gray-700);
}

/* Intelligent vertical rhythm */
.article-content > * + *, 
.section-content > * + *, 
.club-review-body > * + *, 
.app-review-content > * + * {
    margin-top: 1.5em;
}

/* Headings within content */
.article-content h2, 
.section-content h2, 
.club-review-body h2, 
.app-review-content h2 {
    margin-top: 2.5em;
    margin-bottom: 1em;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.3;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 15px;
}

/* Small underline for H2s inside content */
.article-content h2::after, 
.section-content h2::after, 
.club-review-body h2::after, 
.app-review-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-yellow);
    border-radius: 2px;
}

.article-content h3, .section-content h3, .club-review-body h3, .app-review-content h3 {
    margin-top: 2em;
    margin-bottom: 0.8em;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
}

/* List Formatting */
.article-content ul, .section-content ul, .club-review-body ul, .app-review-content ul,
.article-content ol, .section-content ol, .club-review-body ol, .app-review-content ol {
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

.article-content li, .section-content li, .club-review-body li, .app-review-content li {
    margin-bottom: 0.5em;
    padding-left: 0.5em;
}

/* Image Auto-Sizing */
.article-content img, .section-content img, .club-review-body img, .app-review-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin: 2.5em auto;
    display: block;
}

/* Link Styling */
.article-content a, .section-content a, .club-review-body a, .app-review-content a {
    color: var(--primary-purple);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color 0.2s;
}

.article-content a:hover, .section-content a:hover, .club-review-body a:hover, .app-review-content a:hover {
    color: var(--accent-yellow);
}

/* ========================================= */
/* == UNIFIED BUTTON STYLES (STANDARDIZED) == */
/* ========================================= */

/* Primary Gold Action Button (Use this for all downloads/plays) */
.btn-gold-action {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    font-weight: 800;
    padding: 16px 32px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.btn-gold-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.5);
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Secondary/Ghost Button */
.btn-outline-action {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-action:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    min-width: 220px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    z-index: 99999; /* AGGRESSIVE Z-INDEX FIX */
    padding-bottom: 0 !important; /* Remove bottom padding for View All link */
    overflow: hidden;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 14px;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--gray-50);
    color: var(--primary-purple);
    padding-left: 18px;
}

/* Dropdown View All Link */
.dropdown-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #f8fafc;
    color: #6366f1;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
    transition: all 0.2s;
    margin-top: 5px;
}

.dropdown-view-all:hover {
    background: #f1f5f9;
    color: #4f46e5;
}

.dropdown-view-all span {
    font-size: 1.1em;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(45deg, #fbbf24, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-top: 8px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: var(--gray-900);
    padding: 15px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 15px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Sections */
.featured-sites,
.bonuses,
.latest-articles {
    padding: var(--section-padding);
}

.featured-sites {
    background: #f8fafc !important;
}

.bonuses {
    background: white !important;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: 8px 18px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--gray-900) !important;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600) !important;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Site Cards */
.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.site-card {
    background: white !important;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.site-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.site-card:hover::before {
    transform: scaleX(1);
}

.site-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.site-rank {
    background: var(--primary-gradient);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.featured-badge {
    background: #fef3c7;
    color: #d97706;
    padding: 5px 12px;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Site Logo */
.site-logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.site-logo {
    width: 70px;
    height: 70px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gray-200);
    overflow: visible !important; /* Allow US badge to overlap */
    flex-shrink: 0;
    position: relative;
}

.site-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    border-radius: var(--radius-md);
}

/* === CRITICAL FIX: US FLAG BADGE STYLES === */
.us-flag-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: white;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.5), 0 0 0 1px rgba(220, 38, 38, 0.1);
    z-index: 10;
    line-height: 1;
    animation: pulse-subtle 3s ease-in-out infinite;
}

@keyframes pulse-subtle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.us-flag-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
/* === END US FLAG BADGE FIX === */

.logo-placeholder {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-400);
}

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

.site-info h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-800) !important;
    margin-bottom: 8px;
    line-height: 1.2;
}

.site-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.stars {
    color: var(--accent-yellow);
    font-size: 1rem;
}

.rating-value {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.95rem;
}

.site-description {
    color: var(--gray-600) !important;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.site-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.feature-icon {
    color: var(--accent-green);
    font-weight: 700;
}

.site-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-play {
    background: linear-gradient(135deg, var(--accent-green), #059669);
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-review {
    background: transparent;
    color: var(--primary-purple);
    padding: 12px 20px;
    border: 1.5px solid var(--primary-purple);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-review:hover {
    background: var(--primary-purple);
    color: white;
}

/* Bonus Cards */
.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.bonus-card {
    background: linear-gradient(135deg, #fef7ff, #f3e8ff);
    border: 1px solid #e879f9;
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    transition: all 0.3s ease;
}

.bonus-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(232, 121, 249, 0.3);
}

.exclusive-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary-pink);
    color: white;
    padding: 5px 14px;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.4);
}

.bonus-site {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.bonus-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-pink);
    margin-bottom: 10px;
    line-height: 1;
}

.bonus-description {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.bonus-code {
    background: var(--gray-900);
    color: white;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.bonus-code:hover {
    background: var(--gray-700);
    transform: scale(1.02);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section a {
    color: var(--gray-400);
    display: block;
    margin-bottom: 10px;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* AVAILABILITY BADGES */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem; /* Increased size slightly */
    font-weight: 700;
    text-transform: capitalize; /* Changed to capitalize for better look */
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    white-space: nowrap; /* Prevent wrapping the badge text */
}

.availability-badge.allowed {
    background: linear-gradient(135deg, #dcfce7, #86efac);
    color: #166534;
}

/* REFINED BLOCKED BADGE: Now uses red-on-black for slick, high-contrast look */
.availability-badge.blocked {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        align-items: stretch;
        z-index: 99999; 
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        justify-content: space-between;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        margin-top: 10px;
        display: none;
    }
    
    .nav-item:hover .dropdown-menu {
        display: block;
    }
    
    .sites-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .site-actions {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .bonuses-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-text {
        display: none;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none; }

/* Loading States & Skeleton Screens */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    height: 300px;
    margin-bottom: 20px;
}

.skeleton-text {
    height: 20px;
    margin-bottom: 10px;
    width: 80%;
}

.skeleton-title {
    height: 30px;
    margin-bottom: 15px;
    width: 60%;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease;
}

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

.notification-success {
    border-left: 4px solid var(--accent-green);
}

.notification-error {
    border-left: 4px solid var(--accent-red);
}

.notification button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--gray-400);
    padding: 0;
    margin-left: 10px;
}

.notification button:hover {
    color: var(--gray-900);
}

/* Tools Page Specific Styles */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.tool-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s;
    text-decoration: none;
    color: inherit;
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.tool-card h3 {
    color: var(--gray-900);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.tool-description {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Article Cards */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.article-header {
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    padding: 40px 25px;
    text-align: center;
}

.article-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.article-category {
    display: inline-block;
    background: #e0e7ff;
    color: #6366f1;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.article-content {
    padding: 25px;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.3;
}

.article-excerpt {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 15px;
}

.article-cta {
    color: var(--primary-purple);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Alert Styles */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-success {
    background: #f0fdf4;
    border-color: var(--accent-green);
    color: #166534;
}

.alert-error {
    background: #fef2f2;
    border-color: var(--accent-red);
    color: #991b1b;
}

.alert-warning {
    background: #fffbeb;
    border-color: var(--accent-yellow);
    color: #92400e;
}

.alert-info {
    background: #eff6ff;
    border-color: var(--primary-purple);
    color: #1e40af;
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .mobile-menu-toggle,
    .btn-primary,
    .btn-secondary {
        display: none;
    }
}

/* === NEW STYLES FOR SITE CARD ENHANCEMENTS === */

.site-info-divider {
    border-top: 1px solid var(--gray-100);
    margin: 16px 0;
}

.site-info-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.payment-icon-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 20px; /* Reserve space even if empty */
}

.payment-icon {
    height: 20px;
    width: auto;
}

.payment-icon svg {
    display: block;
    height: 100%;
    width: auto;
    border-radius: 3px;
}

.site-games-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.site-game-tag {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
}

/* ========================================= */
/* == PREMIUM PROS & CONS STYLES (REVIEW PAGE) == */
/* ========================================= */

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.pros-box, .cons-box {
    padding: 30px;
    border-radius: 16px;
}

.pros-box {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #bbf7d0;
}

.cons-box {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 1px solid #fecaca;
}

.pros-box h3, .cons-box h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pros-box h3 { 
    color: #166534; 
}
.cons-box h3 { 
    color: #991b1b; 
}

/* Pros Icon (Check) */
.pros-box h3::before {
    content: '✓';
    font-size: 1.1rem;
    font-weight: 900;
    background: #10b981;
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

/* Cons Icon (Cross) */
.cons-box h3::before {
    content: '✗';
    font-size: 1.1rem;
    font-weight: 900;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

/* Styling for the lists themselves */
.section-content ul.pros-list,
.section-content ul.cons-list {
    list-style: none !important; /* Override any defaults */
    padding: 0 !important;
    margin: 0 !important;
}

.section-content ul.pros-list li,
.section-content ul.cons-list li {
    font-size: 1rem;
    line-height: 1.7;
    padding-left: 0;
    margin-bottom: 12px;
    position: relative;
    color: var(--gray-700); /* Darker text for readability */
}

.section-content ul.pros-list li:last-child,
.section-content ul.cons-list li:last-child {
    margin-bottom: 0;
}

/* Mobile responsive for pros/cons */
@media (max-width: 768px) {
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================= */
/* == PREMIUM POKER APPS PAGE STYLES      == */
/* ========================================= */

/* --- STYLES FOR APPS LANDING PAGE (index.php) --- */
.apps-hero {
    background: linear-gradient(135deg, var(--primary-violet) 0%, var(--primary-pink) 100%);
    padding: 100px 20px 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.apps-hero::before {
    content: '📱';
    position: absolute;
    font-size: 20rem;
    opacity: 0.1;
    right: -50px;
    top: 50%;
    transform: translateY(-50%) rotate(20deg);
    z-index: 0;
}

.apps-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
    position: relative;
}

.apps-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.apps-page-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 80px 20px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.app-card-main {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.app-card-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.app-card-logo-wrapper {
    padding: 30px 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
}

.app-card-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 20px;
}

.app-card-content {
    padding: 25px 30px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.app-card-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 15px;
    text-align: center;
}

.app-card-excerpt {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1; /* Makes description fill space */
}

.app-card-btn {
    display: block;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-violet) 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
    text-align: center;
    margin-top: auto; /* Pushes button to the bottom */
}

.app-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.4);
}

.no-apps-message {
    text-align: center;
    padding: 60px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.no-apps-message h2 {
    font-size: 1.5rem;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.no-apps-message p {
    color: var(--gray-400);
}

@media (max-width: 768px) {
    .apps-hero h1 {
        font-size: 2.5rem;
    }
    .apps-grid {
        grid-template-columns: 1fr;
    }
}

/* --- STYLES FOR APP HUB PAGE (app.php) --- */
.app-hub-page {
    background: var(--gray-50);
}

/* Hero */
.app-hero {
    background: var(--gray-900);
    color: white;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 40px auto 0;
    border-radius: 24px 24px 0 0;
}
.app-hero-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 30px;
    background: white;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.app-hero-info h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}
.app-hero-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-yellow), #f59e0b);
    color: var(--gray-900);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.4);
    margin-top: 20px;
}
.app-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(251, 191, 36, 0.5);
}

/* Container */
.app-hub-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px 80px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 0 0 24px 24px;
}

/* Main Content (Review) */
.app-review-content {
    padding: 40px 20px;
}
.app-review-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gray-800);
    margin: 40px 0 20px;
    border-bottom: 2px solid var(--gray-100);
    padding-bottom: 10px;
}
.app-review-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 20px;
    max-width: 800px; 
    margin-left: auto;
    margin-right: auto;
}
.app-review-content ul, .app-review-content ol {
    margin: 20px auto 20px 50px; 
    max-width: 850px; 
    padding-left: 0;
}
.app-review-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 10px;
}
.app-review-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Sidebar (Clubs) */
.app-clubs-sidebar {
    padding: 40px 20px;
    background: var(--gray-50);
    border-left: 1px solid var(--gray-100);
    border-radius: 0 0 20px 0;
}
.app-clubs-sidebar h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 25px;
    text-align: center;
}
.club-card {
    display: block;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    margin-bottom: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
.club-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.club-card-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}
.club-card-content {
    padding: 20px;
}
.club-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 10px;
}
.club-card-details {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 15px;
}
.club-card-details span {
    display: block;
    margin-bottom: 5px;
}
.club-card-btn {
    display: block;
    text-align: center;
    background: var(--gray-100);
    color: #4f46e5;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}
.club-card:hover .club-card-btn {
    background: var(--primary-purple);
    color: white;
}

/* --- STYLES FOR CLUB REVIEW PAGE (club.php) --- */
.club-review-page {
    background: var(--gray-50);
}

/* Hero */
.club-hero {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: white;
    padding: 60px 40px;
}
.club-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}
.club-hero-image {
    width: 100%;
    height: auto;
    max-width: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.club-hero-info h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}
.club-info-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}
.info-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 1rem;
}
.info-badge strong {
    color: var(--gray-300);
    margin-right: 8px;
    font-weight: 600;
}
.info-badge code {
    background: rgba(0,0,0,0.3);
    padding: 3px 6px;
    border-radius: 6px;
    font-family: monospace;
    font-weight: 700;
}
.club-hero-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-yellow), #f59e0b);
    color: var(--gray-900);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.4);
    margin-top: 10px;
}
.club-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(251, 191, 36, 0.5);
}

/* Container */
.club-review-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px 80px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

/* Main Content (Review) */
.club-review-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}
.club-review-body {
    padding: 40px;
}
.club-review-body h2, .club-review-body h3, .club-review-body h4 {
    font-weight: 800;
    color: var(--gray-800);
    margin: 40px 0 20px;
}
.club-review-body h2 { font-size: 1.8rem; border-bottom: 2px solid var(--gray-100); padding-bottom: 10px; }
.club-review-body h3 { font-size: 1.5rem; }
.club-review-body h4 { font-size: 1.25rem; }
.club-review-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 20px;
    max-width: 800px; 
    margin-left: auto;
    margin-right: auto;
}
.club-review-body ul, .club-review-body ol {
    margin: 20px auto 20px 50px; 
    max-width: 850px; 
    padding-left: 0;
}
.club-review-body li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 10px;
}
.club-review-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Sidebar (App Info) */
.club-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}
.app-info-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 25px;
    text-align: center;
}
.app-info-card h3 {
    font-size: 1.2rem;
    color: var(--gray-800);
    margin-bottom: 20px;
}
.app-info-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 20px;
    background: var(--gray-50);
    padding: 15px;
    margin: 0 auto 20px;
}
.app-info-btn {
    display: block;
    background: var(--gray-100);
    color: #4f46e5;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.app-info-btn:hover {
    background: var(--primary-purple);
    color: white;
}
.back-to-app {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
}
.back-to-app a {
    color: var(--primary-purple);
    font-weight: 600;
    text-decoration: none;
}
.back-to-app a:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 968px) {
    .apps-hero h1 {
        font-size: 2.5rem;
    }
    
    .app-card {
        grid-template-columns: 1fr;
    }
    
    .app-icon-wrapper {
        padding: 30px;
        border-right: none;
        border-bottom: 1px solid var(--gray-100);
    }
    
    .app-icon {
        width: 120px;
        height: 120px;
    }
    
    .app-content {
        padding: 30px;
    }
    
    .club-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .club-hero-image {
        margin: 0 auto 30px;
        max-width: 250px;
    }
    .club-info-badges {
        justify-content: center;
    }
    .club-review-container {
        grid-template-columns: 1fr;
    }
    .club-sidebar {
        position: static;
        order: -1; /* Move sidebar to top on mobile */
        margin-bottom: 30px;
    }
    .club-review-body {
        padding: 25px;
    }
}

/* === NEW STYLES FOR REVIEW PAGE VISUALS (VISUAL UPGRADE) === */

/* REVIEW PAGE SETUP */
.review-page {
    background: var(--gray-50);
    padding: 40px 20px 80px;
}
.review-content {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* REVIEW HERO - PREMIUM LOOK */
.review-hero {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}
.review-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0zM40 40h40v40H40z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}
.site-logo-large {
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    transition: transform 0.3s;
    background: var(--white);
    border: 3px solid var(--accent-yellow); /* Gold Ring Accent */
}
.review-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); 
}

/* OVERALL RATING SUMMARY - CLEAN, BRANDED LOOK */
.review-rating-summary {
    background: var(--white); 
    border: 1px solid var(--primary-purple);
    border-radius: 20px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2); 
    color: var(--gray-900);
    backdrop-filter: none;
}
.review-rating-summary h3 {
    font-size: 1.25rem;
    color: var(--primary-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.review-rating-summary .overall-score-number {
    font-size: 5rem; 
    font-weight: 900;
    color: var(--gray-900);
}
.review-rating-summary .rating-stars {
    color: var(--accent-yellow); 
    font-size: 2.5rem;
    letter-spacing: 6px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* SCORE BREAKDOWN / HEATMAP VISUALS */
.review-score-box {
    background: var(--gray-50); 
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05); 
    border: 1px solid var(--gray-200);
    margin: 40px auto;
}
.score-grid {
    /* Use a standard grid layout for items */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}
.score-item {
    /* Set items as vertical blocks */
    display: block; 
    
    padding: 18px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}
.score-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-purple);
}

.score-label {
    margin-bottom: 0; /* Tighten up spacing */
}

.rating-value-number {
    /* Fix overlap issue by ensuring score number is a distinct block */
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gray-800);
    margin: 5px 0 10px; /* Spacing below score, above bar */
    line-height: 1.2;
}

.rating-bar-container {
    /* Ensure the bar container is properly sized */
    background-color: var(--gray-200);
    height: 8px; 
    margin-top: 10px;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
}

.rating-bar {
    height: 100%;
    border-radius: 5px;
    transition: width 0.5s ease;
}

.rating-low {
    background: linear-gradient(90deg, var(--accent-red), #dc2626); 
}
.rating-mid {
    background: linear-gradient(90deg, var(--accent-yellow), #f59e0b); 
}
.rating-high {
    background: linear-gradient(90deg, var(--accent-green), #059669); 
}

/* Review Sections */
.review-section {
    padding: 40px;
    border-bottom: 1px solid var(--gray-200);
}
.review-section:nth-child(even) {
    background: var(--white); 
}
.review-section:nth-child(odd) {
    background: var(--gray-50);
}
.review-section:hover {
    background: var(--gray-100);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--gray-300);
}
.section-content {
    font-size: 1.05rem;
    color: var(--gray-700);
}

/* Final Verdict Section */
.final-verdict {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.final-verdict h2 {
    color: var(--accent-yellow); 
    text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}

/* === UTILITY STYLES (FROM ORIGINAL FILE) === */
.club-review-body h2 { font-size: 1.8rem; border-bottom: 2px solid var(--gray-100); padding-bottom: 10px; }
.club-review-body h3 { font-size: 1.5rem; }
.club-review-body h4 { font-size: 1.25rem; }
.club-review-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 20px;
    max-width: 800px; 
    margin-left: auto;
    margin-right: auto;
}
.club-review-body ul, .club-review-body ol {
    margin: 20px auto 20px 50px; 
    max-width: 850px; 
    padding-left: 0;
}
.club-review-body li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 10px;
}
.club-review-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Mobile */
@media (max-width: 968px) {
    .apps-hero h1 {
        font-size: 2.5rem;
    }
    
    .app-card {
        grid-template-columns: 1fr;
    }
    
    .app-icon-wrapper {
        padding: 30px;
        border-right: none;
        border-bottom: 1px solid var(--gray-100);
    }
    
    .app-icon {
        width: 120px;
        height: 120px;
    }
    
    .app-content {
        padding: 30px;
    }
    
    .club-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .club-hero-image {
        margin: 0 auto 30px;
        max-width: 250px;
    }
    .club-info-badges {
        justify-content: center;
    }
    .club-review-container {
        grid-template-columns: 1fr;
    }
    .club-sidebar {
        position: static;
        order: -1; /* Move sidebar to top on mobile */
        margin-bottom: 30px;
    }
    .club-review-body {
        padding: 25px;
    }
}
/* === HEADER DROPDOWN FIXES - FROM header.php === */
.dropdown-menu {
    min-width: 250px !important;
    max-width: 400px !important;
    right: 0 !important;
    left: auto !important;
    transform-origin: top right;
}

.dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
}

.dropdown-icon-wrapper {
    flex-shrink: 0;
}

.dropdown-item-logo {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: contain;
    flex-shrink: 0;
    background: #f1f5f9;
    padding: 2px;
}

.dropdown-item-logo-placeholder {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background-color: #e5e7eb;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emoji-placeholder {
    font-size: 16px;
    line-height: 1;
}

.empty-placeholder {
    background-color: transparent;
}

.dropdown-item-label {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 1.2;
}

.dropdown-item-external {
    font-size: 10px;
    opacity: 0.6;
    margin-left: auto;
}

/* Fix for right-side dropdowns */
.nav-item:nth-last-child(1) .dropdown-menu, 
.nav-item:nth-last-child(2) .dropdown-menu {
    right: 0 !important;
    left: auto !important;
    transform-origin: top right;
}

/* Fix for left-side dropdowns */
.nav-item:nth-child(1) .dropdown-menu, 
.nav-item:nth-child(2) .dropdown-menu {
    left: 0 !important;
    right: auto !important;
    transform-origin: top left;
}

/* 
 * FIX: Remove white dots on mobile Chrome dropdown menus
 * 
 * Issue: Chrome mobile shows default white dots/indicator on <select> elements
 * Solution: Remove default appearance and add custom SVG arrow
 * 
 * How to use:
 * 1. Add this CSS to your main.css file at the end
 * 2. OR add a <link> in your header: <link rel="stylesheet" href="assets/css/mobile-dropdown-fix.css">
 */

/* Remove default mobile dropdown appearance */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    /* Add custom down arrow instead */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23334155' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px; /* Space for arrow */
}

/* Force removal on all select variants */
select.filter-select,
select.form-control,
select[class*="select"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* For dark backgrounds (hero section filters), use white arrow */
.modern-hero select,
.filter-container select,
.hero-content-wrapper select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
}

/* Admin panel selects - darker arrow */
.admin-container select,
.card select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236366f1' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
}

/* Make sure padding is preserved */
select {
    padding-right: 40px !important;
}

/* On focus, maintain the custom arrow */
select:focus {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}