
:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --background-color: #f2f2f2;
    --text-color: #333;
    --container-background: #fff;
    --colorful-gradient: linear-gradient(45deg, #f3ec78, #af4261, #f3ec78, #af4261);
}

[data-theme="dark"] {
    --background-color: #121212;
    --text-color: #ecf0f1;
    --container-background: #2c3e50;
    --primary-color: #2980b9;
}

body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: var(--background-color);
    background-image: url('https://www.transparenttextures.com/patterns/subtle-noise.png');
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    text-align: center;
    background-color: var(--container-background);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 600px;
    position: relative;
    transition: background-color 0.3s ease;
}

/* Navbar */

.navbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    width: 100%;

    max-width: 800px;

    margin-bottom: 20px;

    padding: 10px 0;

    border-bottom: 1px solid rgba(0,0,0,0.05);

}



.logo {

    font-weight: 800;

    font-size: 1.2em;

    color: var(--primary-color);

}



.nav-links {

    display: flex;

    gap: 15px;

}



.nav-links a {

    text-decoration: none;

    color: var(--text-color);

    font-size: 0.9em;

    font-weight: 500;

    transition: color 0.2s;

}



.nav-links a:hover {

    color: var(--primary-color);

}



.main-header {

    text-align: center;

    margin-bottom: 30px;

}



/* Controls (moved to navbar) */

#lang-selector, #theme-toggle {

    position: static; /* Reset absolute positioning */

    margin-left: 10px;

}



#lang-selector {

    padding: 5px;

}



#theme-toggle {

    font-size: 1.2em;

}





/* SEO & Blog Content Styles */

.seo-content {

    margin: 20px 0;

    text-align: left;

    color: var(--text-color);

    line-height: 1.6;

    font-size: 0.95em;

    background: rgba(0,0,0,0.02);

    padding: 20px;

    border-radius: 10px;

}



.seo-content h3 {

    margin-top: 0;

    font-size: 1.2em;

    color: var(--primary-color);

}



.blog-style {

    background: var(--container-background);

    box-shadow: 0 4px 15px rgba(0,0,0,0.05);

}



.blog-post {

    margin-bottom: 25px;

    border-bottom: 1px solid rgba(0,0,0,0.05);

    padding-bottom: 15px;

}



.blog-post:last-child {

    border-bottom: none;

    margin-bottom: 0;

    padding-bottom: 0;

}



.blog-post h3 {

    margin-top: 0;

    margin-bottom: 10px;

    font-size: 1.1em;

    color: var(--text-color);

}



.blog-post p {

    margin: 0;

    font-size: 0.95em;

    color: #666;

    line-height: 1.5;

}



[data-theme="dark"] .blog-post p {

    color: #aaa;

}





/* Intro Style */
.intro-card {
    margin-bottom: 20px;
    font-size: 1.2em;
    color: var(--text-color);
}

/* Quiz Style */
.progress-bar {
    width: 100%;
    height: 10px;
    background-color: rgba(0,0,0,0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--colorful-gradient);
    transition: width 0.3s ease;
}

.question-text {
    font-size: 1.5em;
    color: var(--text-color);
    margin-bottom: 30px;
    word-break: keep-all;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.option-btn {
    background-color: var(--container-background);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 15px 20px;
    border-radius: 15px;
    font-size: 1.1em;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.option-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    border-color: transparent;
}

/* Loading Style */
.loading-spinner {
    font-size: 4em;
    animation: spin 2s infinite linear;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Result Card (Existing + Tweaks) */
.vibe-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 20px;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-theme="dark"] .vibe-card {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.vibe-emoji {
    font-size: 5em;
    margin-bottom: 10px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.vibe-title {
    font-size: 1.8em;
    font-weight: 800;
    background: var(--colorful-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 10px 0;
}

.vibe-tags {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.vibe-desc {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-color);
    word-break: keep-all;
}

.action-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    font-weight: bold;
    margin-top: 20px;
}

.action-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.action-btn.secondary {
    background-color: #95a5a6;
    box-shadow: none;
}

.action-btn.secondary:hover {
    background-color: #7f8c8d;
}

.ad-banner {
    width: 100%;
    margin: 20px 0;
    min-height: 100px;
    background-color: rgba(0,0,0,0.03);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
}

.description {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 1.1em;
    line-height: 1.5;
}

.content-section {
    margin: 40px 0;
    text-align: left;
    width: 100%;
    padding: 20px;
    background-color: rgba(0,0,0,0.03);
    border-radius: 15px;
    box-sizing: border-box;
}

.content-section h2 {
    color: var(--text-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-top: 0;
}

.content-section ul {
    list-style-type: none;
    padding: 0;
}

.content-section li {
    margin: 10px 0;
    color: var(--text-color);
    font-size: 1em;
}

#disqus_thread {
    margin-top: 40px;
    width: 100%;
}

.contact-form {
    margin-top: 40px;
    padding-top: 20px;
}

.contact-form hr {
    border: 0;
    height: 1px;
    background: #ddd;
    margin-bottom: 30px;
}

.contact-form h3 {
    margin-bottom: 20px;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: var(--container-background);
    color: var(--text-color);
    box-sizing: border-box;
    font-size: 1em;
}

.contact-form textarea {
    height: 100px;
    resize: none;
}

#submit-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

#submit-btn:hover {
    filter: brightness(0.9);
}

footer {
    margin-top: 60px;
    padding-bottom: 20px;
}

footer hr {
    border: 0;
    height: 1px;
    background: #ddd;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9em;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

footer p {
    font-size: 0.8em;
    color: #888;
}

/* Responsive Design */
@media (max-width: 600px) {
    h1 {
        font-size: 1.8em;
    }

    .container {
        padding: 25px 15px;
    }

    #start-btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .content-section {
        padding: 15px;
    }
}
