:root {
    --bg-color: #08090a;
    --gold: #c69c6d;
    --gold-dim: #7a634a;
    --text-main: #d1d5db;
    --text-muted: #8b929a;
    --border-subtle: rgba(198, 156, 109, 0.15);
}

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

body {
    background-color: var(--bg-color);
    background-image:
        linear-gradient(to bottom, rgba(8, 9, 10, 0.85), rgba(8, 9, 10, 0.95)),
        url('cozy_forest_camp.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    font-weight: 400;
    font-size: 1.15rem;
    -webkit-font-smoothing: antialiased;
}

/* For testas.html layout */
body.testas-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* ==================
   SHARED COMPONENTS 
   ================== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border: 1px solid var(--gold-dim);
    color: var(--gold);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
}

.btn:hover {
    border-color: var(--gold);
    color: #fff;
}

.btn-primary {
    border-color: var(--gold);
    background: rgba(198, 156, 109, 0.2);
    box-shadow: 0 0 20px rgba(198, 156, 109, 0.6);
    font-weight: 600;
}

.btn-primary:hover {
    background: rgba(198, 156, 109, 0.35);
    box-shadow: 0 0 35px rgba(198, 156, 109, 0.9);
    color: #fff;
}

/* ==================
   INDEX.HTML STYLES 
   ================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 50px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(8, 9, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-brand {
    color: var(--gold);
    font-size: 1.2rem;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    margin-left: 40px;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

section {
    padding: 80px 60px;
    max-width: 1100px;
    margin: 0 auto 80px;
    background: rgba(8, 9, 10, 0.65);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(198, 156, 109, 0.25);
}

#hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 150px;
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
}

#hero h1 {
    font-size: 4.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
    max-width: 900px;
}

#hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 50px;
}

.cta-group {
    display: flex;
    gap: 20px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.feature {
    border-top: 1px solid var(--border-subtle);
    padding-top: 25px;
}

.feature h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.roster-list {
    margin-top: 40px;
}

.roster-item {
    display: flex;
    border-bottom: 1px solid var(--border-subtle);
    padding: 30px 0;
}

.roster-role {
    flex: 1;
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.4rem;
}

.roster-details {
    flex: 2;
}

.roster-details strong {
    display: block;
    font-weight: 400;
    color: var(--text-main);
    margin-bottom: 5px;
}

.roster-details p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.roster-details p:last-child {
    margin-bottom: 0;
}

.promo-block {
    text-align: center;
    border: 1px solid var(--border-subtle);
    padding: 80px 40px;
    margin: 60px 0;
}

.promo-block h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.promo-block p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

footer {
    text-align: center;
    padding: 80px 20px;
    background: rgba(8, 9, 10, 0.85);
    border-top: 1px solid var(--border-subtle);
}

footer h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

footer p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* FAQ Styles */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.faq-item {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 30px;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.faq-answer {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ==================
   TESTAS.HTML STYLES
   ================== */
header {
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(8, 9, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

.back-link {
    color: var(--text-muted);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--gold);
}

.guild-badge {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.quiz-container {
    width: 100%;
    max-width: 900px;
    background: rgba(8, 9, 10, 0.65);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 60px;
}

#start-screen {
    text-align: center;
}

#start-screen h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

#start-screen p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    text-align: left;
}

.info-box {
    border-top: 1px solid var(--border-subtle);
    padding-top: 20px;
}

.info-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--gold);
}

.info-box p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

#quiz-screen {
    display: none;
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: var(--gold-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.progress-bar {
    width: 100%;
    height: 1px;
    background: var(--border-subtle);
    margin-bottom: 40px;
    position: relative;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--gold);
    transition: width 0.3s ease;
}

.question-title {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 40px;
    line-height: 1.5;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.option-button {
    background: transparent;
    border: 1px solid var(--border-subtle);
    padding: 25px 30px;
    color: var(--text-muted);
    text-align: left;
    cursor: pointer;
    font-size: 1.15rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.option-button:hover {
    border-color: var(--gold);
    color: var(--text-main);
    background: rgba(198, 156, 109, 0.05);
}

.option-letter {
    font-family: 'Cinzel', serif;
    color: var(--gold-dim);
    margin-top: 2px;
}

.option-button:hover .option-letter {
    color: var(--gold);
}

.quiz-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-text {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.3s;
}

.btn-text:hover:not(:disabled) {
    color: var(--gold);
}

.btn-text:disabled {
    opacity: 0.3;
    cursor: default;
}

#result-screen {
    display: none;
    text-align: center;
}

.result-subtitle {
    font-family: 'Cinzel', serif;
    color: var(--gold-dim);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.result-hero {
    font-size: 3.5rem;
    margin-bottom: 5px;
}

.result-spec {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.result-desc {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 40px 0;
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: var(--text-main);
}

.traits-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.trait-item {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trait-item span {
    color: var(--gold);
}

.result-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.copy-feedback {
    color: var(--gold);
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.3s;
    height: 20px;
}

/* ==================
   MEDIA QUERIES 
   ================== */
@media (max-width: 768px) {
    nav, header {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }

    .nav-links a {
        margin: 0 15px;
    }

    #hero h1, #start-screen h1 {
        font-size: 2.5rem;
    }

    .roster-item {
        flex-direction: column;
        gap: 15px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .result-actions {
        flex-direction: column;
    }
}
