/* --- style.css --- */

/* 1. Design Tokens */
:root {
    --brand-navy: #0e1b4d; 
    --brand-blue: #1a2b6d;
    --action-orange: #f3703e;
    --action-orange-hover: #d35400;
    
    /* Accents */
    --accent-green: #00d66c;
    --accent-purple: #a2179eff;
    
    --text-main: #1a1a1a;
    --text-muted: #5e6d82;
    --bg-body: #f4f7fa;
    --white: #ffffff;
    
    --radius: 8px;
    --shadow: 0 4px 20px rgba(14, 27, 77, 0.08);
}

/* 2. Global Styles */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
}

h1, h2, h3, .nav-link, .menu-btn {
    font-family: 'Poppins', sans-serif;
}

/* 3. Navigation */
nav {
    background-color: rgba(255, 255, 255, 0.9); /* 90% opacity white */
    backdrop-filter: blur(10px);                /* The "Frosted Glass" effect */
    -webkit-backdrop-filter: blur(10px);        /* Safari support */
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);  /* Subtle separator */
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--brand-navy);
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative; /* Needed for the underline positioning */
}

/* This creates the invisible line */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: var(--brand-navy);
    transition: all 0.3s ease;
    transform: translateX(-50%); /* Centers the starting point */
}

/* This expands the line on hover */
.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--brand-navy);
}

.nav-btn {
    background-color: var(--brand-navy);
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    
    box-shadow: 0 4px 10px rgba(14, 27, 77, 0.2); /* Soft shadow */
    border: 1px solid transparent;
}

.nav-btn:hover {
    background-color: var(--brand-blue);
    transform: translateY(-2px); /* Moves up slightly */
    box-shadow: 0 6px 15px rgba(14, 27, 77, 0.3); /* Shadow grows */
}

/* --- Unified Dropdown Styles (Course & Language) --- */
.nav-select {
    appearance: none;       /* Removes default system arrow */
    -webkit-appearance: none;
    
    padding: 8px 32px 8px 16px; /* Extra right padding for the arrow */
    border-radius: 8px;     /* softer corners, less round than 20px */
    border: 1px solid #e0e6ed;
    background-color: #f8f9fa;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    
    /* Adds a custom SVG arrow icon */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230e1b4d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* Hover State */
.nav-select:hover {
    background-color: #fff;
    border-color: var(--brand-navy); /* Dark blue border on hover */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Focus State (when clicked) */
.nav-select:focus {
    border-color: var(--action-orange);
}

/* Specific fix for the Course Select to match the others */
#courseSelect {
    border: 1px solid #e0e6ed;
}
#courseSelect:hover {
    border-color: var(--brand-blue);
}

#courseSelect:focus {
    border-color: var(--action-orange);
}

/* Mobile Dropdown specific styling */
#mobileLangSelect, #mobileCourseSelect {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 8px; /* Slightly less round for mobile stack */
}

#languageSelect:hover {
    border-color: var(--brand-blue);
}

/* --- USER PROFILE DROPDOWN (Integrated from style.css) --- */
.user-profile-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.nav-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #e0e6ed;
    transition: all 0.3s ease;
}

.nav-avatar:hover {
    border-color: var(--action-orange);
    box-shadow: 0 4px 10px rgba(14, 27, 77, 0.2);
    transform: scale(1.05);
}

.profile-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    width: 220px;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 10px 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease-in-out;
    border-top: 4px solid var(--brand-navy); 
}

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

.dropdown-header {
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 700;
    color: var(--brand-navy);
    font-size: 1rem;
}

.user-email {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.profile-dropdown hr {
    border: none;
    border-top: 1px solid #f0f0f0;
    margin: 8px 0;
}

.profile-dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.profile-dropdown a:hover {
    background-color: #f8f9fa;
    color: var(--brand-navy);
}

.profile-dropdown .logout-link { color: #e74c3c; cursor: pointer; }
.profile-dropdown .logout-link:hover { color: #c0392b; background-color: #fff5f5; }

/* Desktop-only hidden elements */
.mobile-profile-container, .mobile-nav-group {
    display: none;
}


/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--brand-navy);
    font-size: 1rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.hamburger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--brand-navy);
    border-radius: 2px;
}

/* Mobile Dropdown with Animation */
.mobile-menu-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid #eee;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    padding: 20px;
    transition: all 0.3s ease-in-out;
    z-index: 99;
}

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

.mobile-menu-dropdown a {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: var(--brand-navy);
    font-weight: 600;
}

/* 4. Hero Section */
header {
    background-color: var(--brand-navy);
    color: var(--white);
    padding: 3rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
}

header::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

header p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-btn {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--action-orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 10px 20px rgba(243, 112, 62, 0.3);
}

.cta-btn:hover {
    background-color: var(--action-orange-hover);
    transform: translateY(-2px);
}

/* 5. Main Grid */
.container {
    max-width: 1100px;
    margin: -20px auto 80px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 10;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-top: 6px solid transparent;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
}

/* Card Accents */
.card.blue { border-top-color: #00E5FF; } /* Electric Cyan for visibility */
.card.green { border-top-color: var(--accent-green); }
.card.orange { border-top-color: var(--action-orange); }
.card.purple { border-top-color: var(--accent-purple); }

.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
}

.card h3 {
    margin: 0 0 10px;
    color: var(--brand-navy);
    font-size: 1.2rem;
    font-weight: 700;
}

.card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.text-link {
    color: var(--brand-navy);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
}

.text-link::after {
    content: '→';
    transition: margin-left 0.2s;
}

.text-link:hover::after { margin-left: 8px; }

/* 6. Footer */
footer {
    background-color: var(--brand-navy);
    color: #b0b8c8;
    padding: 30px 0 30px;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: #b0b8c8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 7. RTL & Internationalization Support */
html[dir="rtl"] body {
    font-family: 'Tahoma', 'Segoe UI', sans-serif;
    text-align: right;
}

html[dir="rtl"] .nav-links {
    flex-direction: row-reverse; 
}

html[dir="rtl"] .text-link::after {
    content: '←'; 
    margin-left: 0;
    margin-right: 5px;
}

html[dir="rtl"] .text-link:hover::after {
    margin-right: 8px;
}

html[dir="rtl"] .logo-link {
    margin-left: 20px; 
    margin-right: 0;
}

html[dir="rtl"] .card {
    align-items: flex-start; 
}

/* 8. Responsive Logic - REPLACEMENT */
@media (max-width: 768px) {
    /* Hide desktop nav links */
    .nav-links { display: none; }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle { display: flex; }
    
    /* FIX: Reduce Header Padding */
    header { 
        padding: 2rem 1rem 7rem; 
        min-height: auto;
    }
    
    /* FIX: Adjust Font Sizes for Mobile */
    header h1 { 
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    header p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    /* FIX: Container Position */
    .container { 
        margin-top: -50px; 
        padding: 0 15px;   
        gap: 15px;         
        grid-template-columns: 1fr; 
    }
    
    /* FIX: Card Sizing */
    .card {
        padding: 20px; 
    }
    
    /* Ensure no horizontal scroll */
    body, html {
        overflow-x: hidden;
        width: 100%;
    }

    /* --- MOBILE PROFILE INTEGRATION --- */
    /* Show Mobile Groups */
    .mobile-nav-group {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-left: auto;
        flex-shrink: 0;
    }
    
    /* Force Menu Button Visible */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        flex-shrink: 0;
    }

    /* Mobile Profile Section */
    .mobile-profile-container {
        display: block;
        position: relative; 
        flex-shrink: 0; 
    }

    .mobile-avatar-icon {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #e0e6ed;
        cursor: pointer;
        display: block;
    }

    /* Mobile Dropdown Positioning */
    .mobile-dropdown-pos {
        width: 200px;
        right: -10px;
        top: 45px;
        position: absolute;
        z-index: 1001;
    }
    
    /* Mobile User Details specific styles */
    .mobile-user-details { display: flex; flex-direction: column; }
    .mobile-username { font-weight: 700; color: var(--brand-navy); font-size: 1.1rem; }
    .mobile-email { font-size: 0.85rem; color: var(--text-muted); }
    .mobile-divider { border: none; border-top: 1px solid #eee; margin: 5px 0 15px 0; width: 100%; }
    
    .camera-icon {
        position: absolute;
        bottom: 0;
        right: 0;
        background: var(--white);
        border-radius: 50%;
        padding: 2px;
        font-size: 12px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
}

/* --- COMING SOON PAGE STYLES --- */
.coming-soon-wrapper {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f4f7fa 0%, #e3e9f0 100%);
    padding: 20px;
}

.coming-soon-card {
    background: var(--white);
    padding: 60px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 500px;
    width: 100%;
    border-top: 6px solid var(--action-orange);
}

.cs-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.coming-soon-card h1 {
    color: var(--brand-navy);
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.coming-soon-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.progress-container {
    width: 100%;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    margin-bottom: 40px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 40%;
    background-color: var(--action-orange);
    border-radius: 4px;
    animation: loading 2s infinite linear;
    transform-origin: 0% 50%;
}

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

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(300%); }
}

/* --- CHATBOT STYLES --- */

/* 1. Floating Button (Updated for Animation & No Border) */
#chat-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: transparent;
    border: none; 
    animation: pulse-animation 2s infinite ease-in-out;
    cursor: pointer;
    z-index: 1000;
    overflow: hidden;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pause animation on hover */
#chat-toggle-btn:hover {
    animation-play-state: paused;
    transform: scale(1.1);
}

.chat-btn-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 2. Chat Window Container */
.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 450px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.chat-window.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

/* 3. Header */
.chat-header {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
    color: var(--white);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.bot-avatar-small {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--white);
}

#close-chat {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

/* 4. Messages Area */
.chat-messages {
    flex: 1;
    padding: 15px;
    background-color: #f4f7fa;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message.bot {
    align-self: flex-start;
    background-color: var(--white);
    color: var(--text-main);
    border-bottom-left-radius: 2px;
    border: 1px solid #e0e0e0;
}

.message.user {
    align-self: flex-end;
    background-color: var(--action-orange);
    color: var(--white);
    border-bottom-right-radius: 2px;
}

/* 5. Input Area */
.chat-input-area {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    background: var(--white);
}

#user-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

#user-input:focus { border-color: var(--brand-blue); }

#send-btn {
    background: var(--brand-navy);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

#send-btn:hover { background: var(--brand-blue); }

/* Mobile Chat Adjustments */
@media (max-width: 480px) {
    .chat-window {
        width: 90%;
        right: 5%;
        bottom: 100px;
    }
}

/* --- PULSE ANIMATION KEYFRAMES --- */
@keyframes pulse-animation {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
    50% { transform: scale(1.1); box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
}

/* --- RTL CHAT SUPPORT --- */
html[dir="rtl"] .chat-window {
    text-align: right;
    font-family: 'Tahoma', 'Segoe UI', sans-serif;
}

html[dir="rtl"] .chat-header { flex-direction: row-reverse; }
html[dir="rtl"] #close-chat { margin-right: auto; margin-left: 0; }
html[dir="rtl"] .chat-title { flex-direction: row-reverse; }
html[dir="rtl"] .chat-input-area { flex-direction: row-reverse; }
html[dir="rtl"] #user-input { text-align: right; }
html[dir="rtl"] #send-btn { transform: rotate(180deg); }
html[dir="rtl"] .message.user { align-self: flex-start; border-bottom-right-radius: 10px; border-bottom-left-radius: 2px; }
html[dir="rtl"] .message.bot { align-self: flex-end; border-bottom-left-radius: 10px; border-bottom-right-radius: 2px; }

/* --- MODERN IMAGE BACKGROUND CARDS --- */
.card[class*="bg-"] {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card[class*="bg-"] h3,
.card[class*="bg-"] p,
.card[class*="bg-"] .text-link {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    z-index: 2;
}

.card[class*="bg-"] .text-link:hover {
    color: var(--action-orange);
}

.card[class*="bg-"] .icon-box {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Background Images */
.bg-speak { background-image: linear-gradient(rgba(14, 27, 77, 0.8), rgba(14, 27, 77, 0.6)), url('https://images.unsplash.com/photo-1590602847861-f357a9332bbc?q=80&w=800'); }
.bg-listen { background-image: linear-gradient(rgba(14, 27, 77, 0.8), rgba(14, 27, 77, 0.6)), url('https://images.unsplash.com/photo-1516280440614-6697288d5d38?q=80&w=800'); }
.bg-grammar { background-image: linear-gradient(rgba(14, 27, 77, 0.8), rgba(14, 27, 77, 0.6)), url('https://images.unsplash.com/photo-1456513080510-7bf3a84b82f8?q=80&w=800'); }
.bg-write { background-image: linear-gradient(rgba(14, 27, 77, 0.8), rgba(14, 27, 77, 0.6)), url('https://images.unsplash.com/photo-1455390582262-044cdead277a?q=80&w=800'); }
.bg-verbs { background-image: linear-gradient(rgba(14, 27, 77, 0.8), rgba(14, 27, 77, 0.6)), url('https://images.unsplash.com/photo-1491841550275-ad7854e35ca6?q=80&w=800'); }
.bg-quiz { background-image: linear-gradient(rgba(14, 27, 77, 0.8), rgba(14, 27, 77, 0.6)), url('https://images.unsplash.com/photo-1606326608606-aa0b62935f2b?q=80&w=800'); }
.bg-read { background-image: linear-gradient(rgba(14, 27, 77, 0.8), rgba(14, 27, 77, 0.6)), url('https://images.unsplash.com/photo-1506880018603-83d5b814b5a6?q=80&w=800'); }
.bg-personas { background-image: linear-gradient(rgba(14, 27, 77, 0.8), rgba(14, 27, 77, 0.6)), url('https://images.unsplash.com/photo-1617791160505-6f00504e3519?q=80&w=800'); }
.bg-games { background-image: linear-gradient(rgba(14, 27, 77, 0.8), rgba(14, 27, 77, 0.6)), url('https://images.unsplash.com/photo-1556438050-bf3943752e86?q=80&w=800'); }

.card[class*="bg-"]:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}