/* FunWithGames.org - Main Stylesheet */
/* Modern, responsive design for social gaming platform */

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;

    /* Secondary Colors */
    --secondary-color: #7c3aed;
    --secondary-dark: #6d28d9;
    --secondary-light: #8b5cf6;

    /* Accent Colors */
    --accent-color: #f59e0b;
    --accent-dark: #d97706;
    --accent-light: #fbbf24;

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Status Colors */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #3b82f6;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;

    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-4);
    color: var(--gray-900);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    margin-bottom: var(--spacing-4);
    color: var(--gray-600);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ===== LAYOUT UTILITIES ===== */
.funwithgames-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

.funwithgames-text-center {
    text-align: center;
}

.funwithgames-mb-8 {
    margin-bottom: var(--spacing-8);
}

.funwithgames-mt-8 {
    margin-top: var(--spacing-8);
}

/* ===== GRID SYSTEM ===== */
.funwithgames-grid {
    display: grid;
    gap: var(--spacing-6);
}

.funwithgames-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.funwithgames-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-6);
}

.funwithgames-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-6);
}

.funwithgames-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-6);
}

.funwithgames-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-6);
}

.funwithgames-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-6);
}

.funwithgames-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-6);
    justify-items: center;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .funwithgames-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
    }
}

/* ===== NAVIGATION ===== */
.funwithgames-navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

.funwithgames-navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-4) 0;
}

.funwithgames-navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
}

.funwithgames-navbar-brand:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.funwithgames-navbar-logo {
    height: 40px;
    width: auto;
}

.funwithgames-navbar-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-8);
    align-items: center;
    margin-bottom: 0;
}

.funwithgames-navbar-link {
    color: var(--gray-600);
    font-weight: 500;
    padding: var(--spacing-2) var(--spacing-3);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.funwithgames-navbar-link:hover,
.funwithgames-navbar-link.active {
    color: var(--primary-color);
    background-color: var(--gray-50);
    text-decoration: none;
}

.funwithgames-navbar-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white) !important;
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all var(--transition-fast);
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.funwithgames-navbar-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.funwithgames-navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-2);
}

.funwithgames-navbar-toggle-bar {
    width: 25px;
    height: 3px;
    background: var(--gray-600);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

/* ===== HERO SECTION ===== */
.funwithgames-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: var(--spacing-20) 0;
    position: relative;
    overflow: hidden;
}

.funwithgames-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.funwithgames-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.funwithgames-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-6);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.funwithgames-hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    margin-bottom: var(--spacing-6);
    line-height: 1.1;
    color: var(--white);
}

.funwithgames-hero-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-8);
    opacity: 0.9;
    line-height: 1.6;
    color: var(--gray-400);
}

.funwithgames-hero-cta {
    display: flex;
    gap: var(--spacing-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.funwithgames-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-4) var(--spacing-6);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-base);
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.funwithgames-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 var(--transition-normal);
}

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

.funwithgames-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.funwithgames-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
    text-decoration: none;
}

.funwithgames-btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.funwithgames-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
}

/* ===== SECTIONS ===== */
.funwithgames-section {
    padding: var(--spacing-16) 0;
}

.funwithgames-features {
    background: var(--gray-50);
}

.funwithgames-game-categories {
    background: var(--white);
}

.funwithgames-games {
    background: var(--gray-50);
}

.funwithgames-community-highlights {
    background: var(--white);
}

.funwithgames-testimonials {
    background: var(--gray-50);
}

.funwithgames-latest-news {
    background: var(--white);
}

.funwithgames-games-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: var(--spacing-16) 0;
    text-align: center;
}

.funwithgames-popular-games {
    background: var(--gray-50);
}

.funwithgames-all-games {
    background: var(--white);
}

.funwithgames-game-stats {
    background: var(--gray-50);
}

.funwithgames-community-features {
    background: var(--white);
}

.funwithgames-disclaimer-section {
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
}

/* ===== FAQ SECTION ===== */
.funwithgames-faq {
    background: var(--gray-50);
}

.funwithgames-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-6);
}

.funwithgames-faq-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-6);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.funwithgames-faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.funwithgames-faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.funwithgames-faq-item:hover::before {
    opacity: 1;
}

.funwithgames-faq-item h3 {
    color: var(--gray-900);
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-4);
    line-height: 1.3;
    position: relative;
    padding-left: var(--spacing-8);
}

.funwithgames-faq-item h3::before {
    content: '?';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    font-weight: 700;
}

.funwithgames-faq-item p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
    padding-left: var(--spacing-6);
}


/* ===== CONTACT PAGE STYLES ===== */
.funwithgames-contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: var(--spacing-16) 0;
    text-align: center;
}

.funwithgames-contact-hero-content h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-4);
    color: var(--white);
}

.funwithgames-contact-hero-subtitle {
    font-size: var(--font-size-xl);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray-400);
}

.funwithgames-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-12);
    align-items: start;
}

.funwithgames-contact-form-section h2 {
    color: var(--gray-900);
    margin-bottom: var(--spacing-4);
}

.funwithgames-contact-form-section p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-6);
}

.funwithgames-form {
    background: var(--white);
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.funwithgames-form-group {
    margin-bottom: var(--spacing-6);
}

.funwithgames-form-label {
    display: block;
    color: var(--gray-700);
    font-weight: 600;
    margin-bottom: var(--spacing-2);
    font-size: var(--font-size-sm);
}

.funwithgames-form-control {
    width: 100%;
    padding: var(--spacing-3) var(--spacing-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
    background: var(--white);
    color: var(--gray-900);
}

.funwithgames-form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.funwithgames-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-family);
}

.funwithgames-contact-info {
    background: var(--gray-50);
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
}

.funwithgames-contact-info h3 {
    color: var(--gray-900);
    margin-bottom: var(--spacing-6);
    font-size: var(--font-size-xl);
}

.funwithgames-contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-6);
    padding: var(--spacing-4);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-fast);
}

.funwithgames-contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.funwithgames-contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--font-size-lg);
    flex-shrink: 0;
}

.funwithgames-contact-details h4 {
    color: var(--gray-900);
    margin-bottom: var(--spacing-1);
    font-size: var(--font-size-base);
}

.funwithgames-contact-details p {
    color: var(--gray-600);
    margin: 0;
    font-size: var(--font-size-sm);
}

.funwithgames-contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.funwithgames-contact-details a:hover {
    text-decoration: underline;
}

/* ===== LEGAL PAGES STYLES ===== */
.funwithgames-legal-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: var(--spacing-16) 0;
    text-align: center;
}

.funwithgames-legal-hero-content h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-4);
    color: var(--white);
}

.funwithgames-legal-hero-subtitle {
    font-size: var(--font-size-xl);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto var(--spacing-4);
    color: var(--gray-200);
}

.funwithgames-legal-date {
    color: var(--gray-300);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin: 0;
}

.funwithgames-legal-content {
    background: var(--white);
    padding: var(--spacing-16) 0;
}

.funwithgames-legal-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.funwithgames-legal-text h2 {
    color: var(--gray-900);
    font-size: var(--font-size-2xl);
    margin-top: var(--spacing-12);
    margin-bottom: var(--spacing-6);
    padding-bottom: var(--spacing-3);
    border-bottom: 2px solid var(--primary-color);
}

.funwithgames-legal-text h2:first-child {
    margin-top: 0;
}

.funwithgames-legal-text h3 {
    color: var(--gray-800);
    font-size: var(--font-size-xl);
    margin-top: var(--spacing-8);
    margin-bottom: var(--spacing-4);
}

.funwithgames-legal-text p {
    color: var(--gray-700);
    margin-bottom: var(--spacing-6);
    font-size: var(--font-size-base);
}

.funwithgames-legal-text ul {
    margin-bottom: var(--spacing-6);
    padding-left: var(--spacing-6);
}

.funwithgames-legal-text li {
    color: var(--gray-700);
    margin-bottom: var(--spacing-2);
    line-height: 1.6;
}

.funwithgames-legal-text strong {
    color: var(--gray-900);
    font-weight: 700;
}

.funwithgames-legal-text a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.funwithgames-legal-text a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Cookie Table Styles */
.funwithgames-cookie-table {
    margin: var(--spacing-8) 0;
    overflow-x: auto;
}

.funwithgames-cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.funwithgames-cookie-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: var(--spacing-4);
    text-align: left;
    font-weight: 700;
    font-size: var(--font-size-sm);
}

.funwithgames-cookie-table td {
    padding: var(--spacing-4);
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

.funwithgames-cookie-table tr:last-child td {
    border-bottom: none;
}

.funwithgames-cookie-table tr:hover {
    background: var(--gray-50);
}

/* Contact Information in Legal Pages */
.funwithgames-legal-contact {
    background: var(--gray-50);
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    margin: var(--spacing-8) 0;
    border-left: 4px solid var(--primary-color);
}

.funwithgames-legal-contact h3 {
    color: var(--gray-900);
    margin-bottom: var(--spacing-4);
    font-size: var(--font-size-lg);
}

.funwithgames-legal-contact p {
    color: var(--gray-700);
    margin-bottom: var(--spacing-2);
}

.funwithgames-legal-contact a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Highlighted Text */
.funwithgames-legal-highlight {
    background: var(--accent-color);
    color: var(--white);
    padding: var(--spacing-2) var(--spacing-3);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--font-size-sm);
    display: inline-block;
    margin: var(--spacing-2) 0;
}

/* Legal Navigation */
.funwithgames-legal-nav {
    background: var(--gray-100);
    padding: var(--spacing-6);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-8);
    border: 1px solid var(--gray-200);
}

.funwithgames-legal-nav h3 {
    color: var(--gray-900);
    margin-bottom: var(--spacing-4);
    font-size: var(--font-size-lg);
}

.funwithgames-legal-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.funwithgames-legal-nav li {
    margin-bottom: var(--spacing-2);
}

.funwithgames-legal-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-2) 0;
    display: block;
    border-bottom: 1px solid transparent;
    transition: all var(--transition-fast);
}

.funwithgames-legal-nav a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-color);
    padding-left: var(--spacing-2);
}

/* ===== CONTACT INFO SECTION ===== */
.funwithgames-contact-info-section {
    background: var(--gray-50);
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
}

.funwithgames-contact-info-section h2 {
    color: var(--gray-900);
    margin-bottom: var(--spacing-4);
    font-size: var(--font-size-2xl);
}

.funwithgames-contact-info-section > p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-8);
    font-size: var(--font-size-lg);
}

.funwithgames-contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-6);
    margin-bottom: var(--spacing-8);
}

.funwithgames-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-4);
    padding: var(--spacing-4);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-fast);
}

.funwithgames-contact-info-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.funwithgames-contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--font-size-lg);
    flex-shrink: 0;
}

.funwithgames-contact-info-content h3 {
    color: var(--gray-900);
    margin-bottom: var(--spacing-2);
    font-size: var(--font-size-base);
    font-weight: 700;
}

.funwithgames-contact-info-content p {
    color: var(--gray-600);
    margin: 0;
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

.funwithgames-contact-social {
    text-align: center;
    padding-top: var(--spacing-6);
    border-top: 1px solid var(--gray-200);
}

.funwithgames-contact-social h3 {
    color: var(--gray-900);
    margin-bottom: var(--spacing-4);
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.funwithgames-social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-4);
    flex-wrap: wrap;
}

.funwithgames-social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: var(--font-size-lg);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.funwithgames-social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--white);
    text-decoration: none;
}

.funwithgames-social-link:nth-child(1):hover {
    background: linear-gradient(135deg, #1877f2, #166fe5);
}

.funwithgames-social-link:nth-child(2):hover {
    background: linear-gradient(135deg, #1da1f2, #1a91da);
}

.funwithgames-social-link:nth-child(3):hover {
    background: linear-gradient(135deg, #e4405f, #d63384);
}

.funwithgames-social-link:nth-child(4):hover {
    background: linear-gradient(135deg, #ff0000, #e60000);
}

/* ===== CARDS ===== */
.funwithgames-feature-card,
.funwithgames-category-card,
.funwithgames-game-card,
.funwithgames-highlight-card,
.funwithgames-testimonial-card,
.funwithgames-news-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-6);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.funwithgames-feature-card:hover,
.funwithgames-category-card:hover,
.funwithgames-game-card:hover,
.funwithgames-highlight-card:hover,
.funwithgames-testimonial-card:hover,
.funwithgames-news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.funwithgames-game-card.featured {
    border: 2px solid var(--accent-color);
    position: relative;
}

.funwithgames-game-badge {
    position: absolute;
    top: var(--spacing-4);
    right: var(--spacing-4);
    background: var(--accent-color);
    color: var(--white);
    padding: var(--spacing-1) var(--spacing-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    z-index: 1;
}

.funwithgames-games-hero-content h1 {
    color: var(--white);
}

.funwithgames-games-hero-subtitle {
    color: var(--gray-400);
}

/* ===== FEATURE CARDS ===== */
.funwithgames-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-4);
    color: var(--white);
    font-size: var(--font-size-2xl);
}

.funwithgames-feature-card h3 {
    color: var(--gray-900);
    margin-bottom: var(--spacing-3);
}

.funwithgames-feature-card p {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* ===== CATEGORY CARDS ===== */
.funwithgames-category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-4);
    color: var(--white);
    font-size: var(--font-size-xl);
}

.funwithgames-category-title {
    color: var(--gray-900);
    margin-bottom: var(--spacing-3);
}

.funwithgames-category-desc {
    color: var(--gray-600);
    margin-bottom: var(--spacing-4);
}

.funwithgames-category-games {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-2);
}

.funwithgames-game-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: var(--spacing-1) var(--spacing-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* ===== GAME CARDS ===== */
.funwithgames-game-image {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-4);
    position: relative;
}

.funwithgames-game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.funwithgames-game-card:hover .funwithgames-game-image img {
    transform: scale(1.05);
}

.funwithgames-game-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.funwithgames-game-title {
    color: var(--gray-900);
    margin-bottom: var(--spacing-2);
    font-size: var(--font-size-lg);
}

.funwithgames-game-desc {
    color: var(--gray-600);
    margin-bottom: var(--spacing-4);
    flex: 1;
}

.funwithgames-game-stats {
    display: flex;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-4);
    font-size: var(--font-size-sm);
    color: var(--gray-500);
}

.funwithgames-game-stats span {
    display: flex;
    align-items: center;
    gap: var(--spacing-1);
}

.funwithgames-game-play {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: var(--spacing-3) var(--spacing-4);
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    width: 100%;
}

.funwithgames-game-play:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== HIGHLIGHT CARDS ===== */
.funwithgames-highlight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-4);
    color: var(--white);
    font-size: var(--font-size-xl);
}

.funwithgames-highlight-card h3 {
    color: var(--gray-900);
    margin-bottom: var(--spacing-3);
}

.funwithgames-highlight-card p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-4);
}

.funwithgames-highlight-stats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-1);
}

.funwithgames-highlight-stats span {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    font-weight: 500;
}

/* ===== TESTIMONIAL CARDS ===== */
.funwithgames-testimonial-content {
    background: var(--gray-50);
    padding: var(--spacing-6);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-4);
    font-style: italic;
    color: var(--gray-700);
    position: relative;
}

.funwithgames-testimonial-content::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: var(--spacing-4);
    font-size: var(--font-size-4xl);
    color: var(--primary-color);
    font-weight: 700;
}

.funwithgames-testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
}

.funwithgames-author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--font-size-lg);
}

.funwithgames-author-info h4 {
    color: var(--gray-900);
    margin-bottom: var(--spacing-1);
    font-size: var(--font-size-base);
}

.funwithgames-author-info span {
    color: var(--gray-500);
    font-size: var(--font-size-sm);
}

/* ===== NEWS CARDS ===== */
.funwithgames-news-card {
    display: flex;
    gap: var(--spacing-4);
    align-items: flex-start;
}

.funwithgames-news-date {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: var(--spacing-3);
    border-radius: var(--radius-lg);
    text-align: center;
    min-width: 80px;
    flex-shrink: 0;
}

.funwithgames-news-day {
    display: block;
    font-size: var(--font-size-xl);
    font-weight: 700;
    line-height: 1;
}

.funwithgames-news-month {
    display: block;
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.funwithgames-news-content h3 {
    color: var(--gray-900);
    margin-bottom: var(--spacing-2);
    font-size: var(--font-size-lg);
}

.funwithgames-news-content p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-3);
}

.funwithgames-news-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

/* ===== STAT CARDS ===== */
.funwithgames-stat-card {
    text-align: center;
    padding: var(--spacing-8) var(--spacing-6);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 300px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.funwithgames-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.funwithgames-stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-4);
    color: var(--white);
    font-size: var(--font-size-2xl);
}

.funwithgames-stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--gray-900);
    display: block;
    margin-bottom: var(--spacing-2);
}

.funwithgames-stat-label {
    color: var(--gray-600);
    font-weight: 500;
}

.funwithgames-games-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-8);
    margin-bottom: var(--spacing-8);
    flex-wrap: wrap;
}

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

.funwithgames-stat-item .funwithgames-stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--white);
    display: block;
    margin-bottom: var(--spacing-1);
}

.funwithgames-stat-item .funwithgames-stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
    font-weight: 500;
}


/* ===== FOOTER ===== */
.funwithgames-footer {
    background: var(--gray-900);
    color: var(--white);
    padding: var(--spacing-16) 0 var(--spacing-8);
}

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

.funwithgames-footer-section h3 {
    color: var(--white);
    margin-bottom: var(--spacing-4);
    font-size: var(--font-size-lg);
}

.funwithgames-footer-section p {
    color: var(--gray-300);
    margin-bottom: var(--spacing-2);
}

.funwithgames-footer-section a {
    color: var(--gray-300);
    transition: color var(--transition-fast);
}

.funwithgames-footer-section a:hover {
    color: var(--white);
    text-decoration: none;
}

.funwithgames-disclaimer {
    background: var(--gray-800);
    padding: var(--spacing-6);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-6);
    border-left: 4px solid var(--accent-color);
}

.funwithgames-disclaimer p {
    color: var(--gray-300);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-2);
}

.funwithgames-disclaimer a {
    color: var(--accent-color);
}

.funwithgames-footer-bottom {
    text-align: center;
    padding-top: var(--spacing-6);
    border-top: 1px solid var(--gray-700);
}

.funwithgames-footer-bottom p {
    color: var(--gray-400);
    margin: 0;
    font-size: var(--font-size-sm);
}

/* ===== COOKIE POPUP ===== */
.funwithgames-cookie-popup {
    position: fixed;
    bottom: var(--spacing-4);
    left: var(--spacing-4);
    right: var(--spacing-4);
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-6);
    box-shadow: var(--shadow-xl);
    z-index: 1500;
    border: 1px solid var(--gray-200);
    max-width: 500px;
    margin: 0 auto;
    display: none;
}

.funwithgames-cookie-popup.show {
    display: block;
}

.funwithgames-cookie-content {
    text-align: center;
}

.funwithgames-cookie-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-3);
}

.funwithgames-cookie-text {
    color: var(--gray-600);
    margin-bottom: var(--spacing-4);
    line-height: 1.6;
}

.funwithgames-cookie-buttons {
    display: flex;
    gap: var(--spacing-3);
    justify-content: center;
    flex-wrap: wrap;
}

.funwithgames-cookie-accept {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.funwithgames-cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.funwithgames-cookie-policy {
    color: var(--gray-600);
    text-decoration: underline;
    padding: var(--spacing-3) var(--spacing-4);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.funwithgames-cookie-policy:hover {
    color: var(--primary-color);
    background: var(--gray-50);
    text-decoration: none;
}

/* ===== MESSAGE STYLES ===== */
.funwithgames-message {
    padding: var(--spacing-4);
    border-radius: var(--radius-lg);
    margin-top: var(--spacing-4);
    font-weight: 500;
    animation: fadeInUp 0.3s ease-out;
}

.funwithgames-message.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.funwithgames-message.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.funwithgames-btn-loading {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
}

.funwithgames-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .funwithgames-navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-4);
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--gray-200);
        z-index: 1000;
        gap: var(--spacing-2);
    }

    .funwithgames-navbar-menu.show {
        display: flex;
    }

    .funwithgames-navbar-link {
        padding: var(--spacing-3) var(--spacing-4);
        border-radius: var(--radius-md);
        text-align: center;
        width: 100%;
        display: block;
    }

    .funwithgames-navbar-cta {
        margin-top: var(--spacing-2);
        text-align: center;
        width: 100%;
        display: block;
    }

    .funwithgames-navbar-toggle {
        display: flex;
    }

    .funwithgames-navbar-toggle.active .funwithgames-navbar-toggle-bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .funwithgames-navbar-toggle.active .funwithgames-navbar-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .funwithgames-navbar-toggle.active .funwithgames-navbar-toggle-bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .funwithgames-hero-title {
        font-size: var(--font-size-3xl);
    }

    .funwithgames-hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .funwithgames-hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .funwithgames-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .funwithgames-games-grid {
        grid-template-columns: 1fr;
    }

    .funwithgames-categories-grid,
    .funwithgames-highlights-grid,
    .funwithgames-testimonials-grid,
    .funwithgames-news-grid {
        grid-template-columns: 1fr;
    }

    .funwithgames-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-4);
    }

    .funwithgames-games-stats {
        flex-direction: column;
        gap: var(--spacing-4);
    }

    .funwithgames-news-card {
        flex-direction: column;
        text-align: center;
    }


    .funwithgames-cookie-popup {
        left: var(--spacing-2);
        right: var(--spacing-2);
        bottom: var(--spacing-2);
    }


    .funwithgames-contact-grid {
        grid-template-columns: 1fr;
    }

    .funwithgames-form {
        padding: var(--spacing-6);
    }

    .funwithgames-faq-grid {
        grid-template-columns: 1fr;
    }

    .funwithgames-contact-info-grid {
        grid-template-columns: 1fr;
    }

    .funwithgames-social-links {
        gap: var(--spacing-3);
    }

    .funwithgames-legal-hero-content h1 {
        font-size: var(--font-size-3xl);
    }

    .funwithgames-legal-hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .funwithgames-legal-text {
        padding: 0 var(--spacing-4);
    }

    .funwithgames-legal-text h2 {
        font-size: var(--font-size-xl);
    }

    .funwithgames-cookie-table {
        font-size: var(--font-size-sm);
    }

    .funwithgames-cookie-table th,
    .funwithgames-cookie-table td {
        padding: var(--spacing-3);
    }
}

@media (max-width: 480px) {
    .funwithgames-container {
        padding: 0 var(--spacing-3);
    }

    .funwithgames-hero {
        padding: var(--spacing-12) 0;
    }

    .funwithgames-section {
        padding: var(--spacing-12) 0;
    }

    .funwithgames-stats-grid {
        grid-template-columns: 1fr;
    }

    .funwithgames-footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.funwithgames-hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.funwithgames-feature-card,
.funwithgames-category-card,
.funwithgames-game-card,
.funwithgames-highlight-card,
.funwithgames-testimonial-card,
.funwithgames-news-card,
.funwithgames-stat-card {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.funwithgames-btn:focus,
.funwithgames-navbar-link:focus,
.funwithgames-game-play:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --secondary-color: #800080;
        --accent-color: #ff8000;
        --gray-600: #000000;
        --gray-700: #000000;
        --gray-800: #000000;
        --gray-900: #000000;
    }
}

/* Print styles */
@media print {
    .funwithgames-navbar,
    .funwithgames-footer,
    .funwithgames-cookie-popup {
        display: none !important;
    }

    .funwithgames-hero {
        background: none !important;
        color: var(--gray-900) !important;
    }

    .funwithgames-btn {
        border: 1px solid var(--gray-400) !important;
        background: none !important;
        color: var(--gray-900) !important;
    }
}
