/* Base Styles - Alice in Wonderland Theme */
:root {
    --primary-color: #ff1f8f;  /* Vibrant Pink */
    --secondary-color: #41e2ba; /* Turquoise */
    --dark-color: #38065c;     /* Deep Purple */
    --light-color: #f2f7ff;    /* Soft Blue-White */
    --accent-color-1: #ffcc00; /* Bright Yellow */
    --accent-color-2: #9649cb; /* Lavender Purple */
    --accent-color-3: #00c2ff; /* Bright Blue */
    --gray-color: #6a7a8e;
    --box-shadow: 0 10px 15px -3px rgba(150, 73, 203, 0.2);
    --font-whimsical: 'Alice', 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-whimsical), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: var(--light-color) url('assets/wonderland-pattern.png') repeat;
    background-size: 200px;
    background-attachment: fixed;
    background-blend-mode: overlay;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

h1, h2, h3 {
    font-family: var(--font-whimsical);
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

h2 {
    position: relative;
    display: inline-block;
}

h2:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color-1), var(--secondary-color), var(--accent-color-2), var(--accent-color-3));
    border-radius: 5px;
}

p {
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
}

/* Wonderland decorative elements */
.container:before {
    content: "";
    position: absolute;
    top: 20px;
    left: 5px;
    width: 30px;
    height: 30px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff1f8f"><path d="M12 1L9 9H2L7 14.5L5 22L12 17.5L19 22L17 14.5L22 9H15L12 1Z"/></svg>');
    background-size: contain;
    opacity: 0.2;
    z-index: -1;
}

.container:after {
    content: "";
    position: absolute;
    bottom: 20px;
    right: 5px;
    width: 25px;
    height: 25px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2341e2ba"><path d="M12 1L9 9H2L7 14.5L5 22L12 17.5L19 22L17 14.5L22 9H15L12 1Z"/></svg>');
    background-size: contain;
    opacity: 0.2;
    z-index: -1;
}

/* Button Styles */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.btn: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:hover:before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 7px 15px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.3);
}

.btn.primary {
    background: var(--primary-color);
    background-image: linear-gradient(45deg, var(--primary-color), #ff5fb4);
}

.btn.secondary {
    background: var(--secondary-color);
    background-image: linear-gradient(45deg, var(--secondary-color), #7bffd9);
}

.btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 10px;
}

/* Header */
header {
    background: var(--dark-color);
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--box-shadow);
    background-image: linear-gradient(135deg, var(--dark-color), #5a1e8a);
    border-bottom: 3px solid var(--accent-color-1);
}

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

.logo h1 {
    font-size: 1.7rem;
    margin-bottom: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--accent-color-1), var(--accent-color-3), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color-1);
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

nav ul li a.active {
    background: rgba(255,255,255,0.15);
    color: var(--accent-color-1);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--accent-color-1);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(56, 6, 92, 0.8), rgba(150, 73, 203, 0.7)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="3" fill="%23ffffff" opacity="0.2"/></svg>');
    background-size: 100px;
    pointer-events: none;
}

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

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    animation: colorChange 8s infinite alternate;
}

@keyframes colorChange {
    0% { color: #fff; }
    33% { color: var(--accent-color-1); }
    66% { color: var(--accent-color-3); }
    100% { color: #fff; }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Latest Episode */
.latest-episode {
    padding: 5rem 0;
    background-color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.latest-episode:before {
    content: "";
    position: absolute;
    top: -20px;
    width: 100%;
    height: 40px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M1200 120L0 16.48V0H1200V120Z" fill="%23f2f7ff"/></svg>');
    background-size: 100% 100%;
}

.episode-card.featured {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(150, 73, 203, 0.15);
    padding: 2.5rem;
    margin-top: 2rem;
    border: 2px solid var(--accent-color-2);
    position: relative;
    overflow: hidden;
}

.episode-card.featured:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: var(--accent-color-1);
    border-radius: 0 0 0 150px;
    opacity: 0.07;
}

.episode-number {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 31, 143, 0.1);
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(255, 31, 143, 0.2);
}

.episode-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.7rem;
    color: var(--accent-color-2);
}

.date {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: #f0f0f0;
    border-radius: 15px;
}

.player {
    margin: 1.8rem 0;
}

.player audio {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.episode-links {
    display: flex;
    gap: 0.8rem;
}

/* All Episodes */
.episodes {
    background: #f8f2ff;
    padding: 5rem 0;
    position: relative;
}

.episodes:before {
    content: "";
    position: absolute;
    top: -20px;
    width: 100%;
    height: 40px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M1200 120L0 16.48V0H1200V120Z" fill="%23ffffff"/></svg>');
    background-size: 100% 100%;
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.episode-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    padding: 1.8rem;
    transition: all 0.4s ease;
    border-bottom: 5px solid transparent;
    position: relative;
    overflow: hidden;
}

.episode-card:nth-child(1) {
    border-bottom-color: var(--primary-color);
}

.episode-card:nth-child(2) {
    border-bottom-color: var(--secondary-color);
}

.episode-card:nth-child(3) {
    border-bottom-color: var(--accent-color-1);
}

.episode-card:nth-child(4) {
    border-bottom-color: var(--accent-color-2);
}

.episode-card:before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: var(--accent-color-2);
    border-radius: 50%;
    opacity: 0.05;
    transition: all 0.4s ease;
}

.episode-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.episode-card:hover:before {
    transform: scale(1.2);
}

.see-more {
    margin-top: 3.5rem;
    text-align: center;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: rgba(255, 255, 255, 0.9);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3.5rem;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    border: 5px solid #fff;
    transform: rotate(2deg);
    transition: all 0.3s ease;
}

.about-image img:hover {
    transform: rotate(-1deg) scale(1.03);
}

.host-info {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f8f2ff;
    border-radius: 15px;
    border-left: 5px solid var(--accent-color-2);
}

.host-photo {
    width: 220px;
    border: 2px solid #ccc; /* Optional: adds a border */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* Optional: subtle shadow */
    margin-bottom: 10px;
    display: block;
    /* No border-radius for square */
}

/* Subscribe Section */
.subscribe {
    background: #f0f9ff;
    padding: 5rem 0;
    text-align: center;
    position: relative;
}

.subscribe:before {
    content: "";
    position: absolute;
    top: -20px;
    width: 100%;
    height: 40px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M1200 120L0 16.48V0H1200V120Z" fill="%23ffffff"/></svg>');
    background-size: 100% 100%;
}

.platforms {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--dark-color);
    transition: all 0.4s ease;
    padding: 1.5rem;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: 120px;
}

.platform:hover {
    transform: translateY(-8px);
    color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.platform i {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    transition: all 0.4s ease;
}

.platform:hover i {
    transform: scale(1.2);
}

.newsletter {
    max-width: 600px;
    margin: 3.5rem auto 0;
    padding: 2.5rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 2px dashed var(--accent-color-1);
}

.newsletter-form {
    display: flex;
    gap: 0.8rem;
    margin-top: 2rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--accent-color-3);
    box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.2);
    outline: none;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: rgba(255, 255, 255, 0.9);
}

.contact-form {
    max-width: 600px;
    margin: 2.5rem auto 0;
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 5px solid var(--primary-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color-2);
    box-shadow: 0 0 0 3px rgba(150, 73, 203, 0.2);
    outline: none;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: #fff;
    padding: 5rem 0 2rem;
    background-image: linear-gradient(135deg, var(--dark-color), #5a1e8a);
    position: relative;
}

footer:before {
    content: "";
    position: absolute;
    top: -20px;
    width: 100%;
    height: 40px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M1200 120L0 16.48V0H1200V120Z" fill="%23f0f9ff"/></svg>');
    background-size: 100% 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-logo h2 {
    font-size: 1.8rem;
    background: linear-gradient(90deg, var(--accent-color-1), var(--accent-color-3), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo h2:after {
    display: none;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.link-group h3 {
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    color: var(--accent-color-1);
}

.link-group h3:after {
    display: none;
}

.link-group ul li {
    margin-bottom: 0.8rem;
}

.link-group a {
    color: #cbd5e1;
    transition: all 0.3s ease;
    display: inline-block;
}

.link-group a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-links a {
    color: #fff;
    font-size: 1.7rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color-1);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    color: #94a3b8;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Success Message */
.success-message {
    background: #f0fff4;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--secondary-color);
    margin-top: 2rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        text-align: center;
    }
    
    .about-image img {
        max-width: 400px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--dark-color);
        padding: 1.5rem;
        box-shadow: var(--box-shadow);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        background-image: linear-gradient(135deg, var(--dark-color), #5a1e8a);
    }
    
    nav.show {
        transform: translateY(0);
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 1rem 0;
        margin-left: 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .episode-card.featured {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .episode-number {
        margin: 0 auto;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .platforms {
        gap: 1rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Alice in Wonderland specific elements */
.wonderland {
    font-family: 'Alice', cursive;
    color: var(--accent-color-1);
    position: relative;
    display: inline-block;
}

.wonderland:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color-1);
}

.highlight {
    color: var(--accent-color-1);
    position: relative;
    z-index: 1;
}

.highlight:after {
    content: "";
    position: absolute;
    width: 110%;
    height: 40%;
    background-color: rgba(255, 31, 143, 0.2);
    bottom: 0;
    left: -5%;
    z-index: -1;
    border-radius: 20px;
}

.teacup-decoration {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 80px;
    height: 80px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff" opacity="0.2"><path d="M2,21V19H20V21H2M20,8V5H18V8H20M20,3A2,2 0 0,1 22,5V8A2,2 0 0,1 20,10H18V13A4,4 0 0,1 14,17H8A4,4 0 0,1 4,13V3H20M16,5H6V13A2,2 0 0,0 8,15H14A2,2 0 0,0 16,13V5Z"/></svg>');
    background-repeat: no-repeat;
    opacity: 0.3;
    transform: rotate(-15deg);
}

.clock-decoration {
    position: absolute;
    bottom: 15%;
    left: 10%;
    width: 100px;
    height: 100px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff" opacity="0.2"><path d="M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z"/></svg>');
    background-repeat: no-repeat;
    opacity: 0.3;
    transform: rotate(10deg);
}

.dropcap {
    float: left;
    font-size: 4rem;
    line-height: 0.65;
    margin: 0.1em 0.12em 0.05em 0;
    color: var(--primary-color);
    font-family: 'Alice', serif;
    font-weight: bold;
}

/* Animations for Wonderland elements */
@keyframes float {
    0% { transform: translateY(0px) rotate(-15deg); }
    50% { transform: translateY(-10px) rotate(-10deg); }
    100% { transform: translateY(0px) rotate(-15deg); }
}

@keyframes ticking {
    0% { transform: rotate(10deg); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(10deg); }
    75% { transform: rotate(5deg); }
    100% { transform: rotate(10deg); }
}

.teacup-decoration {
    animation: float 6s ease-in-out infinite;
}

.clock-decoration {
    animation: ticking 8s ease-in-out infinite;
}

/* Add these to the existing hero section */
.hero h1 .highlight {
    display: inline-block;
    font-weight: 900;
    letter-spacing: 1px;
} 