:root {
    --primary: #6c5ce7;
    --bg: #0f0f1a;
    --card-bg: #1a1a2e;
}

body {
    margin: 0;
    background: var(--bg);
    color: #fff;
    font-family: sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(108, 92, 231, 1);
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: #dfe6e9;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: 0.3s;
}

#mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100vh;
    background: var(--bg);
    z-index: 2000;
    padding: 80px 40px;
    flex-direction: column;
    gap: 20px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

#mobile-menu a {
    font-size: 1.2rem;
    color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1500;
}

/* Breadcrumbs Styling */
.breadcrumb-container {
    margin-top: 20px;
    margin-bottom: 40px;
}

.breadcrumb-container ol {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #b2bec3;
    font-size: 0.95rem;
}

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

.breadcrumb-container a:hover {
    text-decoration: underline;
}

.breadcrumb-container li.active {
    color: #fff;
    font-weight: bold;
}

@media (max-width: 1100px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
}

.moon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    box-shadow: 6px 6px 0 0 var(--primary);
    margin-bottom: 8px;
}

footer {
    margin-top: auto;
    padding: 40px;
    text-align: center;
    color: #636e72;
    border-top: 1px solid #1a1a2e;
}

/* Common button styles */
.btn {
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

/* Global Link Styles */
a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

article a {
    color: #a29bfe;
    border-bottom: 1px solid rgba(162, 155, 254, 0.3);
    padding-bottom: 2px;
}

article a:visited {
    color: #81ecec;
}

article a:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
    text-shadow: 0 0 10px rgba(162, 155, 254, 0.8);
}

article a:active {
    transform: scale(0.98);
}

/* Article Page Styles */
.article-hero {
    position: relative;
    padding: 100px 5%;
    background: linear-gradient(135deg, rgba(15, 15, 26, 0.9) 0%, rgba(108, 92, 231, 0.3) 100%);
    text-align: center;
    border-bottom: 1px solid rgba(108, 92, 231, 0.1);
    overflow: hidden;
}

.article-hero img.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
}

.article-hero h1,
.article-hero p {
    position: relative;
    z-index: 1;
}

.article-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.article-content {
    max-width: 900px;
    margin: -50px auto 100px;
    background: var(--card-bg);
    padding: 60px 80px;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(108, 92, 231, 0.15);
    line-height: 2;
}

.article-content p {
    font-size: 1.15rem;
    color: #b2bec3;
    margin-bottom: 35px;
}

.article-content h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-top: 60px;
    margin-bottom: 30px;
}

.article-content h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.quote-box {
    background: rgba(108, 92, 231, 0.08);
    padding: 40px;
    border-left: 5px solid var(--primary);
    font-style: italic;
    margin: 50px 0;
    border-radius: 0 20px 20px 0;
    font-size: 1.25rem;
    color: #dfe6e9;
}

.list-item {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}

/* Language Toggle Customization */
.lang-toggle {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.lang-btn {
    padding: 12px 25px;
    border-radius: 25px;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    transition: 0.3s;
    font-weight: 600;
}

.lang-btn.active {
    background: var(--primary);
    color: white;
}

/* FAQ Styles */
.faq-section {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid rgba(108, 92, 231, 0.2);
}

.faq-item {
    margin-bottom: 40px;
}

.faq-question {
    font-weight: bold;
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.faq-answer {
    color: #b2bec3;
    font-size: 1.1rem;
}

/* Cross Links Section */
.cross-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 50px;
    padding: 30px;
    background: rgba(108, 92, 231, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(108, 92, 231, 0.1);
}

.cross-links h3 {
    grid-column: 1 / -1;
    margin-top: 0;
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.4rem;
}

.cross-links a {
    color: #a29bfe;
    background: rgba(162, 155, 254, 0.05);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: none;
    text-align: center;
}

.cross-links a:visited {
    color: #81ecec !important;
}

.cross-links a:hover {
    background: rgba(162, 155, 254, 0.15);
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Homepage Hero Styles */
.hero {
    position: relative;
    height: 500px;
    background: url('/images/hero.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 26, 0.8) 0%, rgba(108, 92, 231, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #a29bfe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: #dfe6e9;
    margin-bottom: 30px;
}

/* Grid Styles */
.info-section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.info-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(108, 92, 231, 0.2);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.info-card h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.info-card p {
    line-height: 1.8;
    color: #b2bec3;
    margin-bottom: 20px;
}

.info-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.info-card a:hover {
    color: #fff;
    transform: translateX(5px);
}

.info-card a svg {
    width: 18px;
    height: 18px;
}

.search-section {
    padding: 60px 0;
    background: rgba(108, 92, 231, 0.05);
}

.lullaby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.lullaby-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #1a1a2e;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

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

.lullaby-info {
    padding: 20px;
}

.lullaby-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #fff;
}

.lullaby-lyrics {
    height: 100px;
    overflow-y: auto;
    font-size: 0.9rem;
    color: #636e72;
}

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

/* Footer Styles */
footer img {
    max-height: 300px;
    width: auto;
    opacity: 1;
    margin-bottom: 30px;
}

footer p {
    color: #636e72;
    margin-bottom: 20px;
}

footer .social-links,
footer .legal-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

footer .social-links a,
footer .legal-links a {
    color: #636e72;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

footer .social-links a:hover,
footer .legal-links a:hover {
    color: #fff;
}

footer .social-links svg {
    width: 18px;
    height: 18px;
}