html {
    scroll-behavior: smooth;
}

/* Importing Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Variable Declarations */
:root {
    --primary-color: #1A0B2E;
    --secondary-color: #00FF88;

    --background-color: #230E3D;
    --card-color: rgba(53, 17, 101, 0.4);
}

/* Root Styles */
body {
    font-family: "Inter", sans-serif;
    color: white;
}

/* Custom Background Colors */
.bg-primary {
    background-color: var(--primary-color);
}

.bg-background {
    background-color: var(--background-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.bg-card {
    background-color: var(--card-color);
}

/* Typography Styles */
.primary-text {
    color: var(--primary-color);
}
.secondary-text {
    color: var(--secondary-color);
}

/* Reusable Utility Styles */
.about-paragraph {
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.card-paragraph {
    font-size: 1rem;
    line-height: 24px;
    color: white;
    opacity: 0.6;
    font-weight: 400;
}

.card-header {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: auto;
}

.section-header {
    font-size: 3rem;
    font-weight: 700;
}

/* Button Styles */
.primary-btn {
    background: linear-gradient(
        47.64deg,
        #F7E93F 0%,
        #FB09B4 50%,
        #9100F8 100%
    )
}

.secondary-btn {
    border: 1px solid var(--secondary-color);
}

/* Section Specific Styles */

/* Header Styles */
header {
    border-bottom: 1px solid #412567;
}

#hamburger-icon {
        width: 24px;
        height: 24px;
}

/* Banner Styles */
.new {
    box-shadow: 0px 3px 27px 0px rgba(0, 255, 136, 0.5);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 22px;
    color: #1A0B2E;
    z-index: 10;
}

.microphone-container {
        width: 200px;
        height: 200px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

.microphone {
    z-index: 12;
}

/* Features Styles */
#premium{
    grid-area: premium;
}
#mobile {
    grid-area: mobile;
}
#global {
    grid-area: global;
}
#interview {
    grid-area: interview;
}
#rich {
    grid-area: rich;
}

.grid-container {
    display: grid;
    gap: 30px;
    grid-template-areas:
        "premium mobile mobile"
        "premium global global"
        "interview interview rich"
}

/* Episodes Styles */
iframe {
    border-radius: 24px 24px 0 0;
}

/* Host Styles */
.icon-wrapper {
    border-radius: 50%;
    border: 1px solid #533C72;
}

/* =========================================================
   INTERACTION CONTROL — DECORATIVE ELEMENTS
   ---------------------------------------------------------
   ========================================================= */

.microphone-container,
.new {
  pointer-events: none;
}

/* =========================================================
   ANIMATIONS & INTERACTIONS — TechWave
   =========================================================
   This file contains all hover, transition, and keyframe
   animations used across the website.
   Animations are grouped by section for clarity.
   ========================================================= */

/* =========================================================
   BANNER / HERO SECTION — PULSE ANIMATION
   ---------------------------------------------------------
   Pulsating circular glow behind the hero image to draw
   user attention to the podcast centerpiece.
   ========================================================= */

.icon {
  position: relative;
  width: 350px;
  height: 350px;
}

.icon img {
  position: relative;
  z-index: 2;
}

.icon::after {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background-color:#533C72;
  z-index: 1;
  opacity: 0;
  animation: pulse 1.2s ease-out infinite;
} 

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* =========================================================
   BANNER TITLE — GRADIENT TEXT ANIMATION
   ---------------------------------------------------------
   Animated gradient sweep on hover for brand emphasis
   without sacrificing readability.
   ========================================================= */

.wave{
    animation: gradient-move 3s ease-in alternate infinite;
    background: linear-gradient(
    to bottom,
    #F7E93F 0%,
    #FB09B4 50%,
    #9100F8 100%
  );
  background-size: 200% 200%;
  background-clip: text;
  color: transparent;
}

@keyframes gradient-move {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

/* =========================================================
   CTA BUTTONS — SPOTIFY & SUBSCRIBE
   ---------------------------------------------------------
   Elevation and glow effects to enhance call-to-action
   visibility and affordance.
   ========================================================= */

.spotify-btn {
  box-shadow: 0 8px 30px rgba(251, 9, 180, 0.35);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.spotify-btn:hover {
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(251, 9, 180, 0.55);
  transform: translateY(-2px);
}

.subscribe-btn2 {
  box-shadow: none;
  transition: box-shadow 0.3s ease;
}

.subscribe-btn2:hover {
    cursor: pointer;
    box-shadow:
        0 0 24px rgba(0, 255, 136, 0.45),
        inset 0 0 12px rgba(0, 255, 136, 0.25);
    transform: translateY(-2px);
}

/* =========================================================
   SECTION HEADERS — UNDERLINE REVEAL
   ---------------------------------------------------------
   Animated underline on hover to emphasize section titles
   and improve content scannability.
   ========================================================= */

.section-header{
  position: relative;
}

.section-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}

.section-header:hover::after {
  width: 100%;
}

/* =========================================================
   EPISODES SECTION — CARD HOVER EFFECT
   ---------------------------------------------------------
   Slight scale-up on hover to indicate interactivity
   while maintaining layout stability.
   ========================================================= */
.episodes-card:hover{
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* =========================================================
   HOST SECTION — PROFILE IMAGE HOVER
   ---------------------------------------------------------
   Enlarges host image slightly on hover to add warmth
   and visual engagement.
   ========================================================= */
.wrapper:hover {
    transform: scale(1.19);
    transition: transform 0.3s ease;
}

/* Responsive Styles */

/* For Small Device up to 576px width*/
@media screen and (max-width: 576px) {
    /* Common Styles */
    #header,
    .intro,
    #about, 
    #features,
    #episodes,
    #host,
    #footer
    {
        max-width: 100%;
    }

    #about, 
    #features {
        padding: 40px 20px;
    }

    .section-header {
        font-size: 2rem;
    }

    .bg-card {
        padding: 24px;
    }

    .episodes-card {
        padding: 0px;
    }

    /* Header Styles */
    #header {
        padding: 16px 20px;
        align-items: center;
    }

    .logo-mobile {
        width: 137px;
        height: 20px;
    }

    .nav-text,
    .subscribe-btn {
        display: none;
    }

    .hamburger-mobile {
        display: flex;
        align-self: center;
        color: white;
    }

    #hamburger {
        display: block;
    }  

    .mobile-nav-text {
        background-color: rgba(0, 0, 0, 0.402);
        padding: 20px;
        border-bottom: 1px solid;
        border-left: 1px solid;
        border-image: linear-gradient(
        #F7E93F 0%,
        #FB09B4 50%,
        #9100F8 100%) 1;
        
        transform: translateY(-140%);
        transition: 0.4s ease-out;
        z-index: 1000;
    }

    #hamburger-icon:hover{
        cursor: pointer;
    }
    
    #hamburger-icon:hover + .mobile-nav-text{
        transform: translateY(0);
    }
    .mobile-nav-text:hover {
        transform: translateY(0);
    }

    /* Banner Styles */
    #banner {
        background-image: url(../assets/Header.png);
        background-repeat: no-repeat;
        background-size: 100% 100%;
        padding: 40px 20px;
    }

    .banner-title {
        font-size: 40px;
    }

    .icon {
        width: 200px;
        height: 200px;
    }
    .img-container {
        margin-bottom: 24px;
    }

    .microphone-container {
        width: 80px;
        height: 80px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .microphone {
        width: 47px;
        height: 70px;
    }
    .new {
        font-size: 1rem;
        line-height: 19px;
    }

    /* About Styles */
    .about-paragraph {
        font-weight: 400;
    }
    
    #about .secondary-text {
    font-size: 2.5rem;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        padding-top: 40px;
        gap: 40px;
    }

    .about-text {
        margin-bottom: 40px;
    }
    /* Features Styles */
    .grid-container {
        grid-template-areas:
            "premium"
            "mobile"
            "global"
            "interview"
            "rich";
        gap: 16px;
    }

    .featured {
        font-size: 22px;
    }

    /* Episodes Styles */
    #episodes {
        padding: 40px 20px 60px 20px;
    } 

    .episodes-title {
        margin-bottom: 1.5rem; /* mb-6 */
    }

    .episodes-container {
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .video {
        font-size: 20px;
    }

    /* Host Styles */
    #host {
        padding-bottom: 40px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .host-title {
        margin-bottom: 1.5rem; /* mb-6 */
    }

    .host-name {
        font-size: 1.5rem;
    }

    .host-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .host-socials {
        justify-content: center;
    }

    /* Footer Styles */
    #footer {
        padding: 40px 20px;
        gap: 24px;
    }

    footer {
        background-image: url(../assets/Footer.png);
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }

    .footer-logo {
        width: 219px;
        height: 32px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    .footer-mobile {
        gap: 16px;
    }
}

/* For Medium Device from 576px to 992px width*/
@media screen and (min-width: 576px) and (max-width: 992px) {

    #banner {
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }

    footer {
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }
    #header {
        max-width: 100%;
        justify-content: space-around;
    }
    .about-stats-grid{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .episodes-container {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    /* Features Styles */
    .grid-container {
        grid-template-areas:
            "premium mobile"
            "premium global"
            "interview rich";
        gap: 20px;
    }
}

/* For Large Device from 992px and above width*/
@media screen and (min-width: 992px) {
    #banner {
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }
    footer {
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }
}