/* Modern CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Miami Aesthetic Color Palette */
    --clr-ocean: #00f0ff;
    --clr-ocean-deep: #0077b6;
    --clr-neon-pink: #ff007f;
    --clr-neon-purple: #7000ff;
    --clr-sunset-orange: #ff5e00;
    --clr-sunset-yellow: #ffb700;
    --clr-dark: #0a0a14;
    --clr-dark-card: #141423;
    --clr-light: #f8f9fa;
    --clr-text: #e0e0e0;
    --clr-text-muted: #9ba1a6;
    
    --font-main: 'Rubik', sans-serif;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    direction: rtl; /* Hebrew RTL Support */
}

body {
    font-family: var(--font-main);
    background-color: var(--clr-dark);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--clr-light);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--clr-ocean);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--clr-neon-pink);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease, padding 0.3s ease;
    padding: 1.2rem 0;
}

.main-header.scrolled {
    background: rgba(5, 5, 10, 0.92);
    padding: 0.8rem 0;
    border-bottom-color: rgba(255, 0, 127, 0.25);
    box-shadow: 0 4px 20px rgba(255, 0, 127, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--clr-light);
    letter-spacing: 2px;
    text-shadow: 
        0 0 4px rgba(255, 0, 127, 0.6);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-mic-img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 3px var(--clr-neon-pink));
    animation: led-pulse-pink 2s infinite alternate;
    transition: var(--transition);
}

.nav-logo:hover {
    color: var(--clr-ocean);
    text-shadow: 
        0 0 4px rgba(0, 240, 255, 0.8);
}

.nav-logo:hover .logo-mic-img {
    filter: drop-shadow(0 0 3px var(--clr-ocean));
    animation: led-pulse-cyan 2s infinite alternate;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--clr-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1001;
}

.nav-toggle:hover {
    color: var(--clr-ocean);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--clr-text);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 0.2rem 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-ocean);
    transition: var(--transition);
    box-shadow: 0 0 8px var(--clr-ocean);
}

.nav-link:hover {
    color: var(--clr-ocean);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--clr-neon-pink);
}

.nav-link.active::after {
    width: 100%;
    background: var(--clr-neon-pink);
    box-shadow: 0 0 8px var(--clr-neon-pink);
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.text-cyan {
    color: var(--clr-ocean) !important;
}

/* Glowing Button */
.btn-glow {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(45deg, var(--clr-neon-pink), var(--clr-sunset-orange));
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px var(--clr-neon-pink), 0 0 30px var(--clr-sunset-orange);
    transition: var(--transition);
    text-decoration: none;
}

.btn-glow:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--clr-neon-pink), 0 0 50px var(--clr-sunset-orange);
    color: #fff;
}

.btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    color: var(--clr-ocean);
    background: transparent;
    border: 2px solid var(--clr-ocean);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--clr-ocean);
    color: var(--clr-dark);
    box-shadow: 0 0 15px var(--clr-ocean);
}

/* Section 1: Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/hero-bg.png') no-repeat center center/cover;
    overflow: hidden;
}

/* Dark overlay for readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 20, 0.5), rgba(10, 10, 20, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-logo {
    font-size: 6.4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 
        0 0 5px #ffffff,
        0 0 12px rgba(255, 0, 127, 0.55),
        0 0 25px rgba(0, 240, 255, 0.35);
    letter-spacing: 5px;
    text-transform: uppercase;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--clr-light);
}

.hero-greeting {
    font-size: 1.2rem;
    color: var(--clr-ocean);
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

/* Sections General */
.section {
    padding: 6rem 0;
    scroll-margin-top: 80px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: var(--clr-neon-pink);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--clr-neon-pink);
}

.neon-title {
    color: var(--clr-neon-pink);
    text-shadow: 0 0 10px var(--clr-neon-pink), 0 0 20px rgba(255, 0, 127, 0.5);
}
.neon-title::after {
    background: #fff;
    box-shadow: 0 0 10px #fff;
}

/* Cards Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
    gap: 2rem;
    justify-content: center;
}

/* Episode Cards */
.episode-card {
    background: var(--clr-dark-card);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.episode-card:hover {
    transform: translateY(-10px);
    border-color: var(--clr-ocean);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.2);
}

.episode-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    border-bottom: 3px solid var(--clr-neon-pink);
}

.episode-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.episode-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.episode-desc {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.episode-date {
    font-size: 0.85rem;
    color: var(--clr-sunset-yellow);
    margin-bottom: 1rem;
}

/* Compact Social Section */
.social-compact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.social-compact-text {
    margin-bottom: 3rem;
}

.neon-title-compact {
    font-size: 2.5rem;
    color: var(--clr-neon-pink);
    text-shadow: 0 0 10px var(--clr-neon-pink), 0 0 20px rgba(255, 0, 127, 0.5);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.social-subtitle {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
}

.social-icons-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-icon-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon-btn:hover {
    transform: translateY(-5px);
    color: #fff;
}

.social-icon-btn.social-spotify { background: #1db954; }
.social-icon-btn.social-spotify:hover { box-shadow: 0 5px 15px rgba(29, 185, 84, 0.5); }

.social-icon-btn.social-youtube { background: #ff0000; }
.social-icon-btn.social-youtube:hover { box-shadow: 0 5px 15px rgba(255, 0, 0, 0.5); }

.social-icon-btn.social-instagram { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.social-icon-btn.social-instagram:hover { box-shadow: 0 5px 15px rgba(220, 39, 67, 0.5); }

.social-icon-btn.social-facebook { background: #1877f2; }
.social-icon-btn.social-facebook:hover { box-shadow: 0 5px 15px rgba(24, 119, 242, 0.5); }

.social-icon-btn.social-whatsapp { background: #25d366; }
.social-icon-btn.social-whatsapp:hover { box-shadow: 0 5px 15px rgba(37, 211, 102, 0.5); }

.social-icon-btn.social-tiktok { background: #000; border: 1px solid rgba(255,255,255,0.2); }
.social-icon-btn.social-tiktok:hover { 
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3); 
    border-color: #fff; 
    text-shadow: 2px 2px 0px #ff0050, -2px -2px 0px #00f2fe;
}

/* Sponsors Section */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.sponsor-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--clr-ocean-deep);
    transition: var(--transition);
}

.sponsor-card.elegant-placeholder {
    background: transparent;
    border: 2px dashed rgba(0, 240, 255, 0.3);
    color: rgba(0, 240, 255, 0.5);
    font-size: 2.5rem;
}

.sponsor-card.elegant-placeholder:hover {
    border-color: var(--clr-ocean);
    color: var(--clr-ocean);
    background: rgba(0, 240, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

/* About Section */
.about-content {
    background: var(--clr-dark-card);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}

.about-content::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--clr-ocean), var(--clr-neon-pink));
    z-index: -1;
    border-radius: 22px;
    opacity: 0.5;
}

.hosts {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 1.2rem;
    color: var(--clr-ocean);
}

.tagline {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 2rem;
    color: var(--clr-sunset-yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Footer */
footer {
    background: #05050a;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Episodes Page Specifics */
.page-header {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(to bottom, #05050a, var(--clr-dark));
}

.search-bar {
    max-width: 600px;
    margin: 0 auto 3rem;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 2px solid var(--clr-ocean-deep);
    background: rgba(255,255,255,0.05);
    color: var(--clr-light);
    font-size: 1.1rem;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--clr-ocean);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Widescreen */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Admin Styles */
.admin-container {
    max-width: 600px;
    margin: 5rem auto;
    background: var(--clr-dark-card);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-top: 4px solid var(--clr-neon-pink);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--clr-ocean);
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.2);
    color: var(--clr-light);
    border-radius: 5px;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--clr-neon-pink);
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}
.alert-success { background: rgba(29, 185, 84, 0.2); border: 1px solid #1DB954; color: #1DB954; }
.alert-error { background: rgba(225, 48, 108, 0.2); border: 1px solid #E1306C; color: #E1306C; }

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(8, 8, 16, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-right: 1px solid rgba(0, 240, 255, 0.15);
        box-shadow: 10px 0 35px rgba(0, 0, 0, 0.8);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: 1.3rem;
    }

    .hero-logo { font-size: 3.2rem; letter-spacing: 2px; }
    .hero-subtitle { font-size: 1.2rem; }
    .section { padding: 4rem 0; }
    .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-logo { font-size: 2.5rem; letter-spacing: 1px; }
    .grid { grid-template-columns: 1fr; }
    .sponsors-grid { grid-template-columns: 1fr; }
    .neon-title-compact, .section-title { font-size: 1.8rem; }
    .social-icon-btn { width: 45px; height: 45px; font-size: 1.2rem; }
}

/* LED Mic Animations */
@keyframes led-pulse-pink {
    0% {
        opacity: 0.85;
        filter: drop-shadow(0 0 1px var(--clr-neon-pink)) drop-shadow(0 0 2px var(--clr-neon-pink));
    }
    100% {
        opacity: 1;
        filter: drop-shadow(0 0 4px var(--clr-neon-pink)) drop-shadow(0 0 8px rgba(255, 0, 127, 0.6));
    }
}

@keyframes led-pulse-cyan {
    0% {
        opacity: 0.85;
        filter: drop-shadow(0 0 1px var(--clr-ocean)) drop-shadow(0 0 2px var(--clr-ocean));
    }
    100% {
        opacity: 1;
        filter: drop-shadow(0 0 4px var(--clr-ocean)) drop-shadow(0 0 8px rgba(0, 240, 255, 0.6));
    }
}
