:root {
    --primary: #00f2ea;
    --primary-2: #ff0050;
    --secondary: #7000ff;
    --bg-color: #050510;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-muted: #a0a0c0;
    --border-color: rgba(255, 255, 255, 0.1);
    --success: #00ff9d;
    --danger: #ff2a6d;
    --warning: #ffcc00;
    
    --glass: rgba(20, 20, 40, 0.6);
    --glass-border: rgba(255, 255, 255, 0.15);
    --blur: 16px;
    
    --shadow-soft: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --shadow-strong: 0 15px 50px -5px rgba(0, 0, 0, 0.5);
    --glow-primary: 0 0 20px rgba(0, 242, 234, 0.4);
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    cursor: default; /* Can be changed to custom cursor later */
}

/* Dynamic Animated Background */
.glass-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 15% 50%, rgba(112, 0, 255, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 242, 234, 0.15), transparent 25%),
        radial-gradient(circle at 50% 80%, rgba(255, 0, 80, 0.1), transparent 40%);
    filter: blur(40px);
    animation: bgPulse 10s ease-in-out infinite alternate;
}

.glass-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
}

@keyframes bgPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

#bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bubble {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
    animation: floatBubble 10s infinite ease-in-out;
}

@keyframes floatBubble {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    50% { transform: translateY(-20px) translateX(10px); opacity: 0.6; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 40px;
    width: 100%;
}

/* --- NEW Header Card (Liquid Glass) --- */
.header-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    padding-top: 30px;
}

.glass-header-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-strong), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    
    border-radius: 40px;
    padding: 30px 24px;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 100;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.glass-header-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 60px -10px rgba(112, 0, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

/* 1. Logo Section */
.gh-top {
    width: 100%;
    display: flex;
    justify-content: center;
}

.logo-container {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 100px; /* Increased Size */
    width: auto;
    /* Neon Flickering Effect */
    filter: drop-shadow(0 0 5px rgba(112, 0, 255, 0.8));
    animation: neonFlicker 4s infinite alternate;
}

@keyframes neonFlicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        opacity: 1;
        filter: drop-shadow(0 0 15px rgba(112, 0, 255, 1)) brightness(1.2);
    }
    20%, 24%, 55% {
        opacity: 0.4;
        filter: drop-shadow(0 0 2px rgba(112, 0, 255, 0.2)) brightness(0.5);
    }
}

.logo {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(0, 242, 234, 0.3);
}

/* 2. Date Section */
.gh-date {
    width: 100%;
    text-align: center;
}

.date-display {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* 3. Weather Section */
.gh-weather {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid var(--glass-border);
    transition: background 0.3s;
}

.gh-weather:hover {
    background: rgba(255, 255, 255, 0.07);
}

.gh-weather-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

/* Weather Temp Effects */
.gh-temp {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    transition: all 0.5s ease;
}

.temp-hot {
    color: #ffaa00;
    text-shadow: 0 0 15px #ff4400, 0 0 30px #ff0000;
    animation: heatHaze 3s infinite linear;
}

@keyframes heatHaze {
    0% { transform: scale(1); filter: blur(0px); }
    33% { transform: scale(1.02); filter: blur(0.5px); }
    66% { transform: scale(0.98); filter: blur(0px); }
    100% { transform: scale(1); filter: blur(0px); }
}

.temp-cold {
    color: #a0f0ff;
    text-shadow: 0 0 10px #00ffff, 0 0 25px #0099ff;
    position: relative;
    animation: freezeShake 5s infinite ease-in-out;
}

@keyframes freezeShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(1deg); }
    75% { transform: rotate(-1deg); }
}

.gh-icon {
    width: 80px;
    height: 80px;
    /* Removed old animation, handled by specific icons */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* New Weather Icons Styles */
.weather-custom-icon {
    width: 60px;
    height: 60px;
    position: relative;
}

/* Sun */
.icon-sun {
    background: #ffcc00;
    border-radius: 50%;
    box-shadow: 0 0 20px #ffcc00, 0 0 40px #ffaa00;
    animation: sunPulse 3s infinite alternate;
}
@keyframes sunPulse {
    0% { transform: scale(0.9); box-shadow: 0 0 20px #ffcc00; }
    100% { transform: scale(1.1); box-shadow: 0 0 50px #ffcc00, 0 0 10px #ffffff; }
}

/* Moon */
.icon-moon {
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 50%;
    box-shadow: -15px 5px 0 0 #ddddff; /* Crescent */
    filter: drop-shadow(0 0 10px rgba(200, 200, 255, 0.8));
    animation: moonGlow 4s infinite alternate;
}
@keyframes moonGlow {
    0% { filter: drop-shadow(0 0 5px rgba(200, 200, 255, 0.5)); }
    100% { filter: drop-shadow(0 0 20px rgba(200, 200, 255, 1)); }
}

/* Clouds */
.icon-cloud {
    width: 60px;
    height: 30px;
    background: #fff;
    border-radius: 20px;
    position: relative;
    opacity: 0.9;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.4));
    animation: cloudFloat 3s infinite ease-in-out alternate;
}
.icon-cloud::after, .icon-cloud::before {
    content: '';
    position: absolute;
    background: #fff;
    border-radius: 50%;
}
.icon-cloud::after { width: 25px; height: 25px; top: -15px; left: 10px; }
.icon-cloud::before { width: 20px; height: 20px; top: -10px; right: 10px; }

@keyframes cloudFloat {
    0% { transform: translateX(-5px); }
    100% { transform: translateX(5px); }
}

/* Rain */
.icon-rain {
    position: relative;
}
.rain-drop {
    width: 4px;
    height: 10px;
    background: #00ccff;
    position: absolute;
    bottom: -10px;
    border-radius: 2px;
    animation: rainFall 1s infinite linear;
    opacity: 0;
}
.rain-drop:nth-child(1) { left: 10px; animation-delay: 0s; }
.rain-drop:nth-child(2) { left: 30px; animation-delay: 0.3s; }
.rain-drop:nth-child(3) { left: 50px; animation-delay: 0.6s; }

@keyframes rainFall {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

/* Partly Cloudy (Sun/Moon behind) */
.partly-sun-cloud .icon-sun {
    width: 30px; height: 30px;
    position: absolute; top: -10px; right: -5px;
    z-index: -1;
}
.partly-moon-cloud .icon-moon {
    width: 25px; height: 25px;
    position: absolute; top: -15px; right: -5px;
    box-shadow: -8px 3px 0 0 #ddddff;
    z-index: -1;
}


.gh-info {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gh-city {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

.gh-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.gh-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 16px;
}

.gh-d-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.gh-d-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.gh-d-val {
    font-weight: 700;
    color: var(--primary);
    direction: ltr;
    text-shadow: 0 0 10px rgba(0, 242, 234, 0.3);
}

.gh-d-sep {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* 4. Menu Section */
.gh-menu {
    width: 100%;
    display: flex;
    justify-content: center;
}

.glass-menu {
    position: relative;
    width: 100%;
}

.menu-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-main);
    font-weight: 700;
}

.menu-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 242, 234, 0.1);
    transform: translateY(-2px);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 10px;
    background: rgba(20, 20, 35, 0.95);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 200;
    border: 1px solid var(--glass-border);
}

.glass-menu.active .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item {
    display: block;
    padding: 12px 16px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.2s;
    text-align: center;
    margin-bottom: 4px;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(0, 242, 234, 0.1);
    color: var(--primary);
}


/* --- Market Section --- */
.market-section {
    margin-top: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 6px;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.remittance-grid .card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gift-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.shop-card h3,
.gift-card h3 {
    margin-bottom: 6px;
    color: var(--text-main);
}

.brand-logo {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-bottom: 14px;
}

.brand-logo svg {
    width: 38px;
    height: 38px;
    color: inherit;
}

.brand-logo span {
    font-weight: 800;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
}

/* Brand Colors - Adjusted for Dark Mode */
.category-card[data-brand="google"] .brand-logo { background: linear-gradient(135deg, #4285F4, #34A853); }
.category-card[data-brand="apple"] .brand-logo { background: linear-gradient(145deg, #ffffff, #999999); color: #000; }
.category-card[data-brand="psn"] .brand-logo { background: linear-gradient(145deg, #00439c, #003791); }
.category-card[data-brand="xbox"] .brand-logo { background: linear-gradient(145deg, #107C10, #0e5e0e); }
.category-card[data-brand="steam"] .brand-logo { background: linear-gradient(145deg, #171a21, #2a475e); }
.category-card[data-brand="spotify"] .brand-logo { background: linear-gradient(145deg, #1DB954, #191414); }
.category-card[data-brand="netflix"] .brand-logo { background: linear-gradient(145deg, #E50914, #B20710); }
.category-card[data-brand="amazon"] .brand-logo { background: linear-gradient(145deg, #232f3e, #ff9900); }

.currency-card,
.category-card {
    position: relative;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(var(--blur));
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

/* Card Hover Effects */
.currency-card:hover,
.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.4);
    border-color: var(--primary);
}

.currency-card::after,
.category-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(45deg, transparent, rgba(0, 242, 234, 0.3), transparent);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
}

/* --- CTA Panels --- */
.cta-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.cta-card {
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    backdrop-filter: blur(var(--blur));
    transition: 0.3s;
}

.cta-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.cta-text h3 {
    margin-bottom: 4px;
    color: var(--text-main);
}

.cta-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-card {
    padding: 26px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: rgba(20, 20, 40, 0.8);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(var(--blur));
    max-width: 620px;
    margin: 0 auto;
}

.static-note {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: var(--text-muted);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.currency-pair {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-main);
}

.icon-svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
    stroke-width: 1.5;
    fill: none;
    filter: drop-shadow(0 0 5px var(--primary));
}

.price-value {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.toman-currency {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-muted);
}

.price-change {
    direction: ltr;
    font-weight: 800;
    margin-bottom: 20px;
    font-size: 1rem;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(0,0,0,0.2);
    display: inline-block;
}

.card-actions {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.category-card {
    text-align: center;
    padding: 24px 20px;
    cursor: pointer;
}

.category-card h3 {
    margin-top: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.live-badge {
    position: relative;
    padding-right: 14px;
    font-size: 0.8rem;
    color: var(--success);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.4);
}

.live-badge::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    transform: translateY(-50%);
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
    animation: pulse 2s infinite;
}

.btn {
    flex: 1;
    padding: 12px 14px;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(112, 0, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 242, 234, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-main);
    transform: translateY(-1px);
}

.simple-footer,
.bottom-branding {
    display: flex;
    justify-content: center;
    padding: 28px 0;
    margin-top: 40px;
}

.bottom-logo {
    opacity: 0.5;
    transition: opacity 0.3s ease;
    filter: grayscale(1) invert(1);
}

.bottom-logo:hover {
    opacity: 0.9;
    filter: none;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: 92%;
    max-width: 440px;
    background: rgba(20, 20, 40, 0.9);
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 0 50px rgba(0, 242, 234, 0.2);
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.open .modal {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h3 {
    color: #fff;
    font-size: 1.5rem;
}

.close-modal {
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-muted);
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--danger);
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    font-size: 1rem;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
    text-align: right;
}

.form-input:focus {
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(0, 242, 234, 0.1);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 157, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(0, 255, 157, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 157, 0); }
}

@media (max-width: 992px) {
    .container {
        padding: 22px 16px 36px;
    }

    .glass-header-card {
        max-width: 100%;
    }
}

/* --- DESKTOP LAYOUT --- */
@media (min-width: 992px) {
    .glass-header-card {
        max-width: 1000px;
        display: grid;
        grid-template-columns: 1fr 1.3fr;
        grid-template-areas: 
            "logo weather"
            "date weather"
            "menu weather";
        padding: 40px 50px;
        gap: 20px 40px;
        align-items: center;
    }

    .gh-top { 
        grid-area: logo; 
        justify-content: flex-start; 
    }
    
    .gh-date { 
        grid-area: date; 
        text-align: right; 
    }
    
    .date-display {
        align-items: flex-start;
    }

    .gh-menu { 
        grid-area: menu; 
    }
    
    .gh-weather {
        grid-area: weather;
        height: 100%;
        display: flex;
        flex-direction: row; /* RTL: Main(Right), Details(Left) */
        align-items: center;
        justify-content: space-between;
        padding: 30px;
        gap: 20px;
    }
    
    .gh-weather-main {
        flex: 1;
        padding: 0;
        border: none;
        justify-content: center;
        gap: 30px;
    }
    
    .gh-details {
        flex-direction: column;
        gap: 15px;
        padding-right: 20px;
        border-right: 1px solid rgba(255,255,255,0.1);
        min-width: 120px;
        padding-left: 0;
        background: transparent;
    }
    
    .gh-d-sep { 
        display: none; 
    }
}

/* --- Notification & Features Styles --- */

/* Notifications */
.notification-bar {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 20px;
    padding: 16px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.5s ease-out;
}

.notif-info { border-left: 4px solid var(--primary); }
.notif-warning { border-left: 4px solid var(--warning); }
.notif-success { border-left: 4px solid var(--success); }

.notif-icon {
    font-size: 1.5rem;
}

.notif-content {
    flex: 1;
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.5;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: var(--primary);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(0, 242, 234, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}
