:root {
    --background: #F6F3EE;
    --surface: #FFFFFF;
    --text: #2B2B2B;
    --text-light: #6B6B6B;
    --border: #DDD8D0;
    --accent: #6F7C74;
    --radius: 18px;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

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

body {
    background:var(--background);
    color:var(--text);
    font-family:"Inter", sans-serif;
    line-height: 1.7;
}

header {
    background:var(--surface);
    border-bottom: 1px solid var(--border);
}

nav {
    max-width:1100px;
    margin: auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    color:var(--text);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition:var(--transition);
}

.logo:hover {
    opacity: 0.7s;
}

nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
}

nav a {
    text-decoration: none;
    color:var(--text-light);
    transition:var(--transition);
    font-size: 0.95rem;
}

nav ul a:hover {
    color:var(--text);
}

.hero {
    text-align: center;
    padding: 120px 20px 60px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.quote-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
    font-size: 1.4rem;
}

.quote-card {
    background-color: #F6F3EE;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 700px;
    width: 100%;
    padding: 50px;
    border-radius: 24px;
    text-align: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.6s ease;
    transition: 
        border-color 0.4s ease, 
        box-shadow 0.4s ease,
        opacity 0.25s ease,
        transform 0.25s ease;
}

.quote-card.opening {
    opacity: 0;
    transform: scale(0.96);
}

.quote-card blockquote {
    font-family: "Cormorant Garamond", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 25px;
}

.buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.buttons button {
    background-color: rgb(203, 139, 55);
    color: black;
    border: none;
    padding: 12px 25px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

footer {
    margin-top: 60px;
    padding: 30px 20px;
    text-align: center;
    color: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #F6F3EE;
    color: black;
    padding: 15px 25px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.common {
    border: 2px solid #C9C9C9;
}
.uncommon {
    border: 2px solid #56C271;
}

.rare {
    border: 2px solid #4B8BFF;
    box-shadow: 0 0 15px rgba(75, 139, 255, 0.25);
}

.epic {
    border: 2px solid #9D5CFF;
    box-shadow: 0 0 20px rgba(157, 92, 255, 0.35);
}

.legendary {
    border: 2px solid #F2B84B;
    box-shadow: 0 0 25px rgba(242, 184, 75, 0.45);
}

.mythic {
    border: 2px solid #8B5CF6;
    box-shadow: 0 0 35px rgba(139, 92, 246, 0.35);
}

.collection {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.collection h1 {
    text-align: center;
    margin-bottom: 0.5rem;
}

#collectionProgress {
    text-align: center;
    color: #6B6B6B;
    margin-bottom: 2.5rem;
}

#collectionList {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.collection-card {
    background: #FCFAF6;
    border: 1px solid #E5DED3;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.collection-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.collection-rarity {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    color: #8C7853;
}

.collection-card blockquote {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.45rem;
    line-height: 1.45;
    margin: 0 0 1.5rem;
}

.collection-author {
    font-size: 0.9rem;
    color: #666;
}

.toast strong {
    font-size: 1rem;
    font-weight: 600;
}

.achievements {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.achievements h1 {
    text-align: center;
    margin-bottom: 0.5rem;
}

#achievementProgress {
    text-align: center;
    color: #6B6B6B;
    margin-bottom: 2.5rem;
}

#achievementList {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.achievement-card {
    background: #FCFAF6;
    border: 1px solid #E5DED3;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: 
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.achievement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.achievement-card h2 {
    font-family: "Cormorant Garamond", serif;
    margin-bottom: 0.8rem;
    font-size: 1.6rem;
}

.achievement-card p {
    color: #666;
}

.achievement-card.unlocked {
    border-left: 5px solid #8C7853;
}

.achievement-card.locked {
    opacity: 0.45;
    filter: grayscale(1);
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 70px 20px 40px;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .quote-card {
        padding: 30px 20px;
    }

    .quote-card blockquote {
        font-size: 1.3rem;
    }

    .collection,
    .achievements {
        padding: 0 1rem;
    }
}