:root {
    --bg-color: #0b1121;
    --text-color: #e2e8f0;
    --accent: #3b82f6; /* Blue for Israel */
    --accent-glow: rgba(59, 130, 246, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Assistant', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
    margin: 2rem;
    border-radius: 30px;
    padding: 2rem;
    animation: fadeInDown 1s ease-out forwards;
}

.hero-content h1 {
    font-family: 'Heebo', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    background: linear-gradient(to right, #60a5fa, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px var(--accent-glow);
}

.hero-content p {
    font-size: 1.5rem;
    color: #94a3b8;
}

.hero-content .badge {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

/* Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
    border-radius: 0;
    border-left: none;
    border-right: none;
}

.marquee {
    display: inline-block;
    animation: scroll-left 35s linear infinite;
    font-size: 1.3rem;
    font-weight: 500;
}

.marquee span {
    margin: 0 3rem;
    color: #bfdbfe;
    text-shadow: 0 0 10px rgba(191, 219, 254, 0.4);
}

@keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Masonry Grid */
.container {
    max-width: 1600px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.masonry-grid {
    column-count: 4;
    column-gap: 1.5rem;
}

@media (max-width: 1200px) { .masonry-grid { column-count: 3; } }
@media (max-width: 900px) { .masonry-grid { column-count: 2; } }
@media (max-width: 600px) { .masonry-grid { column-count: 1; } }

.media-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    background: #1e293b;
}

.media-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px var(--accent-glow);
    z-index: 2;
}

.media-item img, .media-item video {
    width: 100%;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

.video-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    backdrop-filter: blur(4px);
    pointer-events: none;
    transition: opacity 0.3s;
}

.media-item:hover .video-indicator {
    opacity: 0; /* hide play button on preview hover */
}

.media-item video:hover {
    /* Optional: preview video on hover? For performance, better keep it paused until click */
}

/* Quote Cards */
.quote-card {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.8rem;
    font-family: 'Heebo', sans-serif;
    color: #fff;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(30, 64, 175, 0.4));
    border: 1px solid rgba(96, 165, 250, 0.3);
    min-height: 250px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.quote-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 6rem;
    color: rgba(255,255,255,0.1);
    font-family: serif;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content-wrapper {
    max-width: 90vw;
    max-height: 90vh;
    animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-content-wrapper img, .lightbox-content-wrapper video {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 4rem;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1001;
}

.lightbox-close:hover {
    color: #60a5fa;
}

/* Animations */
@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes fadeInDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Simple CSS Fireworks (Just a decorative background touch) */
.fireworks-container {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.firework {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px #3b82f6;
    animation: shoot 4s infinite ease-out;
    opacity: 0;
}

.firework:nth-child(1) { left: 20%; animation-delay: 0s; }
.firework:nth-child(2) { left: 50%; animation-delay: 1.5s; box-shadow: 0 0 10px 2px #fff; }
.firework:nth-child(3) { left: 80%; animation-delay: 2.8s; }

@keyframes shoot {
    0% { transform: translateY(100vh); opacity: 1; }
    50% { transform: translateY(20vh); opacity: 1; }
    51% { opacity: 0; transform: translateY(20vh) scale(3); }
    100% { opacity: 0; }
}

.fade-in-item {
    opacity: 0;
    animation: fadeInDown 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
