/* Global Reset and Variables */
:root {
    --bg-color: #081120;
    --primary-blue: #0066FF;
    --accent-blue-1: #38BDF8;
    --accent-blue-2: #7DD3FC;
    --text-main: #FFFFFF;
    --text-secondary: #94A3B8;
    --glass-bg: rgba(8, 17, 32, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

/* Glassmorphism Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--text-main);
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Search Bar */
.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 2rem;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.search-bar {
    width: 100%;
    padding: 12px 24px 12px 48px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    outline: none;
}

.search-bar::placeholder {
    color: #64748B;
}

.search-bar:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-blue-1);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
    transform: scale(1.03);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748B;
    transition: color 0.4s ease;
    pointer-events: none;
}

.search-bar:focus + .search-icon {
    color: var(--accent-blue-1);
    transform: translateY(-50%) scale(1.1);
}

/* Floating Search Dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.1);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1500;
}

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

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: rgba(56, 189, 248, 0.1);
}

.search-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-info {
    display: flex;
    flex-direction: column;
}

.search-title {
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.search-price {
    font-size: 0.85rem;
    color: var(--accent-blue-1);
}

.search-no-results {
    color: var(--text-secondary);
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

/* Auth Buttons */
.nav-actions {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

button {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-login {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.google-icon {
    width: 20px;
    height: 20px;
}

.btn-signup {
    background: var(--primary-blue);
    color: var(--text-main);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-signup::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: all 0.5s ease;
}

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

.btn-signup:hover {
    background: #0052cc;
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.5);
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 1.6rem;
    color: var(--text-main);
    cursor: pointer;
    transition: color 0.3s ease;
}

.hamburger:hover {
    color: var(--accent-blue-1);
}

.mobile-menu {
    display: none;
}

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 800px;
    overflow: hidden;
    background: #081120;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    filter: brightness(0.8);
}

.slide.active .slide-bg {
    animation: zoomBg 6s linear forwards;
}

@keyframes zoomBg {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(8, 17, 32, 0.95) 0%, rgba(8, 17, 32, 0.5) 40%, rgba(8, 17, 32, 0.1) 100%),
                linear-gradient(to top, rgba(8, 17, 32, 1) 0%, rgba(8, 17, 32, 0) 25%);
}

.slide-content {
    position: absolute;
    bottom: 22%;
    left: 5%;
    max-width: 650px;
    padding: 2rem;
    z-index: 3;
}

.slide-title {
    font-size: 3.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
    opacity: 0;
    transform: translateY(30px);
    line-height: 1.2;
}

.slide.active .slide-title {
    animation: slideUpFade 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    flex-wrap: wrap;
}

.slide.active .slide-meta {
    animation: slideUpFade 0.8s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.meta-badge {
    background: #10B981;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.meta-platform {
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.meta-author {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.slide-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.slide.active .slide-desc {
    animation: slideUpFade 0.8s 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-buttons {
    display: flex;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
}

.slide.active .slide-buttons {
    animation: slideUpFade 0.8s 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.btn-slider-primary {
    background: var(--accent-blue-1);
    color: #000;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.btn-slider-primary:hover {
    background: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn-slider-secondary {
    background: transparent;
    color: #fff;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-slider-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* Slider Controls */
.hero-slider-controls {
    position: absolute;
    bottom: 120px;
    left: 5%;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.slider-progress-bar {
    width: 250px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-blue-1);
    transition: width 0.1s linear;
}

.slider-arrows {
    display: flex;
    gap: 10px;
}

.slider-arrows button {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-arrows button:hover {
    background: rgba(255,255,255,0.2);
}

/* Floating Bottom CTAs */
.hero-social-ctas {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
    width: 90%;
    max-width: 1400px;
    justify-content: center;
}

.social-cta {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.social-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.2);
}

.social-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.8;
    z-index: 1;
    transition: opacity 0.3s ease;
}

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

/* Matching requested platforms: Whatsapp, Insta, FB, Email */
.cta-whatsapp::before { background: linear-gradient(135deg, #25D366, #128C7E); }
.cta-instagram::before { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); }
.cta-discord::before { background: linear-gradient(135deg, #5865F2, #4752C4); }
.cta-email::before { background: linear-gradient(135deg, #A855F7, #7E22CE); }

.cta-icon, .cta-text, .cta-arrow {
    position: relative;
    z-index: 2;
}

.cta-icon {
    font-size: 1.8rem;
    margin-right: 15px;
}

.cta-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cta-subtitle {
    font-size: 0.75rem;
    opacity: 0.8;
}

.cta-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.cta-arrow {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.social-cta:hover .cta-arrow {
    opacity: 1;
    transform: translateX(3px);
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Games Library Section */
.games-library {
    padding: 6rem 2.5rem;
    position: relative;
    z-index: 2;
}

.library-container {
    max-width: 1440px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--text-main);
}

.filter-bar {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    overflow-x: auto;
}

.filter-btn {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    white-space: nowrap;
}

.filter-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
    color: var(--accent-blue-1);
    background: rgba(56, 189, 248, 0.1);
    border-bottom: 2px solid var(--accent-blue-1);
    border-radius: 12px 12px 4px 4px;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

/* Game Grid */
.game-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Footer Adjustments */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-title { font-size: 2rem; }
}

/* =========================================
   Task 12: Wishlist Button & Profile Styles
   ========================================= */

/* Wishlist Button */
.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 10;
}

.wishlist-btn:hover {
    background: rgba(0, 102, 255, 0.2);
    border-color: var(--accent-blue-1);
    color: var(--accent-blue-1);
    box-shadow: 0 0 10px var(--accent-blue-1);
    transform: scale(1.1);
}

.wishlist-btn.active {
    background: var(--accent-blue-1);
    border-color: var(--accent-blue-1);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.6);
}

/* Profile / My Vault Layout */
.profile-section {
    padding: 120px 5% 5rem;
    min-height: calc(100vh - 300px);
    max-width: 1400px;
    margin: 0 auto;
}

.profile-header-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.profile-user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent-blue-1);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
    object-fit: cover;
}

.profile-name {
    font-size: 2rem;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    margin-bottom: 0.2rem;
}

.profile-email {
    color: var(--text-secondary);
    font-size: 1rem;
}

.btn-signout {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-signout:hover {
    background: rgba(239, 68, 68, 0.2);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
    transform: translateY(-2px);
}

/* Tabs */
.profile-tabs {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2.5rem;
    position: relative;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    padding: 10px 0;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #fff;
}

.tab-btn.active {
    color: var(--accent-blue-1);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-blue-1);
    border-radius: 3px 3px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 102, 255, 0.5);
    animation: slideInTab 0.3s ease forwards;
}

@keyframes slideInTab {
    from { width: 0; left: 50%; }
    to { width: 100%; left: 0; }
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

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

/* Order History List */
.order-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.order-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.order-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.order-cover {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.order-details h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

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

.btn-support-wa {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-support-wa:hover {
    background: #22c55e;
    color: #fff;
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.4);
}

@media (max-width: 768px) {
    .profile-header-card {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .profile-user-info {
        flex-direction: column;
    }
    .order-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .btn-support-wa {
        width: 100%;
        justify-content: center;
    }
}

/* Antigravity Game Card */
.library-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.library-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.4);
    border-color: rgba(56, 189, 248, 0.3);
    z-index: 10;
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.library-card:hover .card-image {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(8, 17, 32, 1) 0%, rgba(8, 17, 32, 0) 100%);
    pointer-events: none;
}

.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    margin-top: -60px; /* Pull content up into the gradient */
}

.card-title {
    font-size: 1.25rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.card-year {
    color: var(--text-secondary);
}

.card-rating {
    color: var(--accent-blue-1);
    font-weight: 600;
    background: rgba(56, 189, 248, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.btn-buy {
    background: transparent;
    color: var(--accent-blue-1);
    border: 1px solid var(--accent-blue-1);
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    margin-top: auto;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.library-card:hover .btn-buy {
    opacity: 1;
    transform: translateY(0);
    background: var(--primary-blue);
    color: var(--text-main);
    border-color: var(--primary-blue);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.4);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 17, 32, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(56, 189, 248, 0.1);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

/* Game Details Modal */
.game-details-modal {
    width: 90%;
    max-width: 900px;
}

.game-modal-split {
    display: flex;
    flex-wrap: wrap;
}

.game-modal-left {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.2);
}

.modal-game-image {
    width: 100%;
    max-width: 280px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 102, 255, 0.3), 0 0 20px rgba(56, 189, 248, 0.2);
    border: 1px solid var(--glass-border);
}

.game-modal-right {
    flex: 1.5;
    min-width: 300px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
}

.modal-title {
    font-size: 2.2rem;
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.modal-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-year {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.modal-rating {
    color: var(--accent-blue-1);
    font-weight: 600;
    background: rgba(56, 189, 248, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 1.1rem;
}

.modal-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.modal-stars {
    color: var(--text-main);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    background: rgba(255,255,255,0.05);
    padding: 1rem;
    border-radius: 12px;
}

.btn-buy-razorpay {
    background: var(--primary-blue);
    color: var(--text-main);
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-buy-razorpay:hover {
    background: #0052cc;
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.8);
    transform: translateY(-2px);
}

/* Auth Modal */
.auth-modal {
    width: 90%;
    max-width: 450px;
    padding: 3rem 2rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    height: 40px;
    margin-bottom: 1rem;
    border-radius: 8px;
    object-fit: contain;
}

.auth-title {
    font-size: 1.8rem;
    font-family: 'Poppins', sans-serif;
}

.btn-google-auth {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: var(--text-main);
    color: #000;
    padding: 14px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.btn-google-auth img {
    width: 24px;
    height: 24px;
}

.btn-google-auth:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

.btn-signup:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

/* Global Button Styles */
.btn-primary {
    background: var(--primary-blue);
    color: var(--text-main);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
    color: var(--text-main);
}

.btn-primary.outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    box-shadow: none;
}

.btn-primary.outline:hover {
    background: rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
}

/* Specific Premium Browse All Button */
.btn-browse-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 45px;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #0066FF 0%, #38BDF8 100%);
    border: none;
    border-radius: 50px;
    box-shadow: 0 10px 25px -5px rgba(0, 102, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
}

.btn-browse-all::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #38BDF8 0%, #0066FF 100%);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-browse-all:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px -5px rgba(0, 102, 255, 0.7);
    color: #ffffff;
}

.btn-browse-all:hover::before {
    opacity: 1;
}

.btn-browse-all i {
    transition: transform 0.3s ease;
}

.btn-browse-all:hover i {
    transform: translateX(6px);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--glass-border);
}

.auth-divider span {
    padding: 0 10px;
    font-size: 0.9rem;
}

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

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.03);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.input-group input:focus {
    border-color: var(--accent-blue-1);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.btn-email-auth {
    width: 100%;
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    padding: 14px;
    border-radius: 12px;
    font-size: 1.05rem;
}

.btn-email-auth:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--accent-blue-1);
    color: var(--accent-blue-1);
}

.auth-toggle {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.auth-toggle a {
    color: var(--accent-blue-1);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-toggle a:hover {
    color: var(--text-main);
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

/* Payment Modal */
.payment-modal {
    width: 90%;
    max-width: 400px;
    background: #ffffff;
    color: #333;
    border-radius: 12px;
}
.payment-header {
    background: #02042b;
    color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 12px 12px 0 0;
}
.payment-header h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
}
.payment-body {
    padding: 30px 20px;
    text-align: center;
}
.payment-amount {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
}
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.payment-btn {
    width: 100%;
    padding: 14px;
    background: #3399cc;
    color: white;
    border-radius: 8px;
    font-size: 1.05rem;
}
.payment-btn.outline {
    background: transparent;
    color: #666;
    border: 1px solid #ccc;
}
.payment-btn:hover {
    opacity: 0.9;
    transform: none;
    box-shadow: none;
}
.payment-footer {
    margin-top: 25px;
    font-size: 0.85rem;
    color: #888;
}

/* Success Modal */
.success-modal {
    width: 90%;
    max-width: 500px;
    padding: 3rem 2.5rem;
    text-align: center;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 40px rgba(16, 185, 129, 0.15);
}

.success-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 2;
    animation: scalePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #10B981;
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.6;
    animation: pulseGlow 2s infinite alternate;
}

.success-title {
    font-size: 2.2rem;
    font-family: 'Poppins', sans-serif;
    color: #10B981;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.success-subtitle {
    font-size: 1.3rem;
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
    font-weight: 500;
}

.highlight-text {
    color: var(--accent-blue-1);
}

.success-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.order-details {
    background: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 2.5rem;
    color: var(--text-main);
    font-family: monospace;
    font-size: 1.1rem;
    border: 1px dashed var(--glass-border);
}

.btn-whatsapp {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 16px 24px;
    border-radius: 30px;
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

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

.btn-whatsapp:hover::after {
    left: 100%;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 1.5rem;
}

@keyframes scalePop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.3); opacity: 0.8; }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title { font-size: 3.8rem; }
    .hero-container { gap: 2rem; }
    .card-1 { width: 260px; height: 380px; margin-top: -190px; margin-left: -130px; }
    .card-2 { width: 200px; height: 300px; }
    .card-3 { width: 200px; height: 300px; }
    .nav-center { padding: 0 1rem; }
}

@media (max-width: 992px) {
    .hero-title { font-size: 3.2rem; }
    .hero-subtitle { font-size: 1.15rem; }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
    }
    .hero-subtitle { margin: 0 auto 2.5rem; }
    .hero-buttons { justify-content: center; }
    .hero-visuals {
        height: 500px;
        margin-top: 3rem;
    }
    
    /* Tablet: 3 columns (already handled by auto-fill, but we can reduce gap) */
    .game-grid {
        gap: 1.5rem;
    }
    .games-library {
        padding: 5rem 2rem;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .hero {
        padding: 100px 1.5rem 3rem;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 14px 20px;
    }
    
    .card-1 { width: 220px; height: 320px; margin-top: -160px; margin-left: -110px; }
    .card-2 { width: 170px; height: 250px; left: 0%; top: 20%; }
    .card-3 { width: 170px; height: 250px; right: -5%; }

    /* Mobile CTAs Adjustments */
    .hero-social-ctas {
        flex-wrap: wrap;
        bottom: 10px;
        gap: 10px;
    }
    
    .social-cta {
        flex: 1 1 calc(50% - 10px);
        padding: 8px 10px;
    }
    
    .cta-text {
        font-size: 0.75rem;
    }
    
    .cta-title {
        font-size: 0.85rem;
    }
    
    .hero-slider-controls {
        bottom: 140px; /* Safely above CTAs and below Details */
        flex-direction: row; /* Keep horizontal */
        align-items: center;
        width: 90%;
        left: 5%; /* Keep centered */
        justify-content: space-between;
    }
    
    .slider-progress-bar {
        flex: 1; /* Take remaining space */
        width: 100%; /* Override fixed width from desktop */
        max-width: 150px; /* Ensure enough space for arrows */
    }

    /* Hero Slide Mobile Overrides */
    .hero-slider-section {
        min-height: 100vh;
    }
    
    .slide-bg {
        object-position: center top;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .slide-overlay {
        background: linear-gradient(to bottom, rgba(8, 17, 32, 0) 0%, rgba(8, 17, 32, 0.8) 50%, #081120 100%);
    }

    .slide-content {
        bottom: 210px; /* Safely above arrows */
        left: 5%;
        width: 90%;
        padding: 0;
    }

    .slide-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }

    .slide-desc {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Mobile Menu Styles (Side Drawer) */
    .mobile-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        max-width: 80%;
        height: 100vh;
        background: rgba(8, 17, 32, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-left: 1px solid var(--glass-border);
        padding: 6rem 1.5rem 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 990;
        visibility: hidden;
    }

    .mobile-menu.active {
        transform: translateX(0);
        visibility: visible;
        box-shadow: -20px 0 40px rgba(0,0,0,0.5);
    }

    /* Hamburger to X Animation */
    .hamburger {
        z-index: 1000;
        position: relative;
    }
    
    .hamburger i {
        transition: transform 0.3s ease;
    }
    
    .hamburger.active i::before {
        content: "\f00d"; /* fa-xmark */
    }
    .hamburger.active i {
        transform: rotate(90deg);
        color: var(--accent-blue-1);
    }

    .mobile-search {
        max-width: 100%;
    }

    .mobile-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .mobile-actions .btn-login,
    .mobile-actions .btn-signup {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }

    /* Mobile Games Library */
    .games-library {
        padding: 4rem 1.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .game-grid {
        /* Mobile: 2 columns */
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .card-content {
        padding: 1rem;
        margin-top: -40px;
    }
    .card-title {
        font-size: 1.05rem;
    }
    .card-meta {
        font-size: 0.8rem;
    }
    .btn-buy {
        padding: 8px;
        font-size: 0.85rem;
        /* On mobile, button can be visible by default since hover is tricky */
        opacity: 1;
        transform: translateY(0);
        background: rgba(0, 102, 255, 0.1);
    }
    
    /* Modal Responsiveness */
    .game-modal-left {
        padding: 1.5rem;
    }
    .game-modal-right {
        padding: 1.5rem;
    }
    .modal-game-image {
        max-width: 200px;
    }
    .modal-title {
        font-size: 1.8rem;
    }
    .auth-modal {
        padding: 2rem 1.5rem;
    }
}

/* =========================================
   Task 17: Preloader & Toast Notifications
   ========================================= */

/* Preloader */
#global-preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #081120;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease;
}

.preloader-content {
    text-align: center;
    animation: pulseGlow 1.5s infinite ease-in-out;
}

.preloader-content i {
    font-size: 4rem;
    color: var(--accent-blue-1);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--accent-blue-1);
}

.preloader-content h2 {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 2px;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

/* Toast Container */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none; /* Let clicks pass through if empty */
}

/* Toast Card */
.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}

.toast.show {
    transform: translateX(0);
}

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

/* Dynamic Toast States */
.toast-info {
    border-left: 4px solid var(--accent-blue-1);
}
.toast-info i {
    color: var(--accent-blue-1);
    text-shadow: 0 0 10px var(--accent-blue-1);
}

.toast-success {
    border-left: 4px solid #10B981;
}
.toast-success i {
    color: #10B981;
    text-shadow: 0 0 10px #10B981;
}

.toast-error {
    border-left: 4px solid #EF4444;
}
.toast-error i {
    color: #EF4444;
    text-shadow: 0 0 10px #EF4444;
}

/* Mobile Adjustments for Toasts */
@media (max-width: 600px) {
    #toast-container {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }
    .toast {
        width: 100%;
        justify-content: flex-start;
    }
}

/* =========================================
   Task 18: Intersection Observer & Animations
   ========================================= */

.hidden-float {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.show-float {
    opacity: 1;
    transform: translateY(0);
}

/* Internal Links smooth transition override if needed */
body {
    transition: opacity 0.3s ease;
/* =========================================
   Global Footer
   ========================================= */

.global-footer {
    background-color: #050b14;
    padding: 60px 5% 20px 5%;
    border-top: 1px solid rgba(0, 102, 255, 0.2);
    box-shadow: 0 -5px 20px rgba(0, 102, 255, 0.1);
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-col h4 {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-blue-1);
    border-radius: 2px;
}

.links-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.links-col a:hover {
    color: var(--accent-blue-1);
    transform: translateX(4px);
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.4);
}

.newsletter-input-group {
    display: flex;
    margin-top: 15px;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    color: #fff;
    border-radius: 8px 0 0 8px;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    border-color: var(--accent-blue-1);
}

.btn-subscribe {
    background: linear-gradient(135deg, var(--accent-blue-1) 0%, var(--accent-blue-2) 100%);
    border: none;
    color: #fff;
    padding: 0 20px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-subscribe:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-blue-1);
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* =========================================
   Contact Page Styles
   ========================================= */
.contact-section {
    padding: 150px 5% 100px;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.contact-container {
    max-width: 800px;
    width: 100%;
    padding: 3rem;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-title {
    font-size: 2.5rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #38BDF8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group.float-label {
    position: relative;
    display: flex;
    flex-direction: column;
}

.contact-input,
.contact-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.2rem 1.2rem 0.8rem;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, background 0.3s ease;
    outline: none;
}

.contact-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group.float-label label {
    position: absolute;
    top: 1.1rem;
    left: 1.2rem;
    color: var(--text-secondary);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-input:focus,
.contact-textarea:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--accent-blue-1);
}

.contact-input:focus ~ label,
.contact-input:not(:placeholder-shown) ~ label,
.contact-textarea:focus ~ label,
.contact-textarea:not(:placeholder-shown) ~ label {
    top: 0.3rem;
    font-size: 0.75rem;
    color: var(--accent-blue-1);
}

.input-focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-blue-1);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.contact-input:focus ~ .input-focus-border,
.contact-textarea:focus ~ .input-focus-border {
    width: 100%;
}

.btn-submit-contact {
    background: linear-gradient(135deg, #0066FF 0%, #38BDF8 100%);
    color: #fff;
    border: none;
    padding: 1.2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
    margin-top: 1rem;
}

.btn-submit-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.5);
}

/* =========================================
   Legal Page Styles
   ========================================= */
.legal-section {
    padding: 150px 5% 100px;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.legal-container {
    max-width: 900px;
    width: 100%;
    padding: 3rem 4rem;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.legal-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.legal-last-updated {
    color: var(--accent-blue-1);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    font-family: 'Inter', sans-serif;
}

.legal-content h2 {
    color: #fff;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.legal-content p, .legal-content li {
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content a {
    color: var(--accent-blue-1);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: #fff;
}
