:root {
    --primary-color: #ff5722; /* Vibrant orange / Saffron */
    --secondary-color: #ff9800;
    --text-main: #f5f5f5;
    --text-dim: #888888;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(25, 25, 25, 0.7);
    --glow: rgba(255, 87, 34, 0.5);
    
    --font-ui: 'Poppins', sans-serif;
    --font-hindi: 'Yatra One', serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-ui);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(255, 87, 34, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(255, 152, 0, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
}

/* App Container Layout */
.app-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Section */
.app-header {
    text-align: center;
    margin-bottom: 2.5rem;
    z-index: 10;
    position: relative;
}

h1 {
    font-family: var(--font-hindi);
    font-size: 3rem;
    font-weight: 400;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--glow);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* Start Button */
.btn-start {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-ui);
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px var(--glow);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-start:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px var(--glow);
}

.btn-start:active {
    transform: translateY(1px);
}

.btn-start.playing {
    background: linear-gradient(135deg, #e53935, #ef5350);
    box-shadow: 0 10px 25px -5px rgba(229, 57, 53, 0.5);
}

/* Lyrics Section */
.lyrics-container {
    flex-grow: 1;
    padding-bottom: 150px; /* Space for scrolling */
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stanza {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lyric-line {
    font-family: var(--font-hindi);
    font-size: 1.5rem;
    text-align: center;
    color: var(--text-dim);
    margin: 1.2rem 0;
    transition: all 0.5s ease;
    opacity: 0.6;
    transform: scale(0.95);
}

.doha-heading, .chaupai-heading, .end-heading {
    color: var(--secondary-color);
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.footer-space {
    margin-top: 2rem;
    text-align: center;
}

/* Active Line Animation Styles */
.lyric-line.active {
    color: #ffffff;
    opacity: 1;
    transform: scale(1.1);
    text-shadow: 0 0 15px var(--glow);
    font-weight: bold;
}

.lyric-line.passed {
    color: var(--text-dim);
    opacity: 0.4;
    transform: scale(0.95);
}

/* Bottom Fade Effect for scrolling aesthetics */
.fixed-gradient-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-dark) 20%, transparent);
    pointer-events: none;
    z-index: 5;
}

/* Responsive Design */
@media (max-width: 600px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .stanza {
        padding: 1.5rem 1rem;
    }
    
    .lyric-line {
        font-size: 1.2rem;
    }
    
    .lyric-line.active {
        transform: scale(1.05);
    }
}

/* Navbar Styles */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 87, 34, 0.2);
}

.nav-brand {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Footer Styles */
.app-footer {
    background: #050505;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 87, 34, 0.2);
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.app-footer p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.seo-text {
    font-size: 0.8rem !important;
    opacity: 0.6;
}

@media (max-width: 600px) {
    .top-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
}
