* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    color: #1f2937;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: white;
    border-bottom: 2px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1rem;
    flex-wrap: wrap;
}

.my-riddles-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 0.7rem;
    background: linear-gradient(to right, #dbeafe, #ede9fe);
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.my-riddles-header-btn:hover {
    filter: brightness(0.98);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.14);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    background: linear-gradient(to bottom right, #a855f7, #ec4899);
    border-radius: 0.75rem;
    padding: 0.625rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.brand-subtitle {
    font-size: 0.875rem;
    color: #4b5563;
}

.nav-desktop {
    display: none;
    gap: 0.25rem;
}

.nav-desktop a {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}
a{text-decoration: none;}
.nav-desktop a:hover {
    background: linear-gradient(to right, #f3e8ff, #fce7f3);
    color: #7c3aed;
}

.progress-badge {
    display: none;
    background: linear-gradient(to right, #fef3c7, #fed7aa);
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #fcd34d;
    align-items: center;
    gap: 0.5rem;
    color: #d97706;
}

.progress-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.score {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
}

.percentage {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ea580c;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    color: #374151;
    transition: background 0.2s;
}

.mobile-menu-btn:hover {
    background: #f3f4f6;
}

.mobile-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    background: linear-gradient(to right, #fef3c7, #fed7aa);
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #fcd34d;
    color: #d97706;
}

.riddles-mobile-progress {
    position: sticky;
    top: var(--mobile-progress-top, 80px);
    z-index: 950;
    margin-top: 0;
    margin-bottom: 1rem;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    margin-top: 1rem;
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile a {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s;
}

.nav-mobile a:hover {
    background: linear-gradient(to right, #f3e8ff, #fce7f3);
    color: #7c3aed;
}

@media (min-width: 768px) {

    .progress-badge {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .nav-mobile {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .my-riddles-header-btn {
        order: -1;
        width: 100%;
        justify-content: center;
    }

    .brand-subtitle {
        display: none;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, #9333ea, #ec4899, #f97316);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.decoration {
    position: absolute;
    font-size: 4rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.decoration-1 {
    top: 2.5rem;
    left: 2.5rem;
}

.decoration-2 {
    top: 5rem;
    right: 5rem;
    animation-delay: 0.5s;
}

.decoration-3 {
    bottom: 2.5rem;
    left: 25%;
    font-size: 3rem;
    animation-delay: 1s;
}

.decoration-4 {
    bottom: 5rem;
    right: 33%;
    font-size: 3rem;
    animation-delay: 1.5s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-container {
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 9999px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.stat-card {
    background: white;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-card svg {
    color: #9333ea;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.stat-label {
    font-size: 0.875rem;
    color: #4b5563;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }

    .hero-description {
        font-size: 1.5rem;
    }
}

/* Home Answer Search */
.answer-search-home {
    position: relative;
    margin-top: -1.5rem;
    z-index: 20;
}

.answer-search-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbeafe;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
    display: grid;
    gap: 1rem;
}

.answer-search-eyebrow {
    margin: 0 0 0.25rem;
    color: #2563eb;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.answer-search-copy h2 {
    margin: 0 0 0.4rem;
    color: #0f172a;
    font-size: 1.4rem;
}

.answer-search-copy p {
    margin: 0;
    color: #475569;
    line-height: 1.5;
}

.answer-search-form {
    position: relative;
}

.answer-search-label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
}

.answer-search-input-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.answer-search-input {
    width: 100%;
    border: 2px solid #bfdbfe;
    border-radius: 0.75rem;
    padding: 0.85rem 0.95rem;
    font-size: 1rem;
    color: #0f172a;
    background: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.answer-search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.answer-search-submit {
    border: none;
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(to right, #2563eb, #0284c7);
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.answer-search-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.28);
}

.answer-search-help {
    margin: 0.6rem 0 0;
    color: #64748b;
    font-size: 0.85rem;
}

.answer-search-suggestions {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0.35rem;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 0.75rem;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
    max-height: 280px;
    overflow-y: auto;
    position: absolute;
    left: 0;
    right: 0;
}

.answer-search-suggestion-item {
    margin: 0;
}

.answer-search-suggestion-btn {
    width: 100%;
    border: none;
    background: transparent;
    border-radius: 0.55rem;
    padding: 0.65rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    text-align: left;
    cursor: pointer;
    color: #0f172a;
}

.answer-search-suggestion-btn:hover,
.answer-search-suggestion-btn.is-active {
    background: #eff6ff;
}

.answer-search-suggestion-label {
    font-weight: 600;
}

.answer-search-suggestion-count {
    min-width: 2rem;
    text-align: right;
    font-size: 0.8rem;
    font-weight: 700;
    color: #2563eb;
}

@media (min-width: 768px) {
    .answer-search-card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
        align-items: center;
        padding: 1.35rem 1.5rem;
    }

    .answer-search-input-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .answer-search-submit {
        min-width: 140px;
    }
}

/* Main Content */
.main-content {
    padding: 3rem 0;
}

/* Category Stats */
.category-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.stat-box {
    border-radius: 1rem;
    padding: 1rem;
    border: 2px solid;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stat-green {
    background: linear-gradient(to bottom right, #f0fdf4, #d1fae5);
    border-color: #86efac;
}

.stat-blue {
    background: linear-gradient(to bottom right, #eff6ff, #dbeafe);
    border-color: #93c5fd;
}

.stat-purple {
    background: linear-gradient(to bottom right, #faf5ff, #fce7f3);
    border-color: #e9d5ff;
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.stat-icon {
    background: #10b981;
    border-radius: 9999px;
    padding: 0.5rem;
    font-size: 1.5rem;
}

.stat-blue .stat-icon {
    background: #3b82f6;
}

.stat-purple .stat-icon {
    background: #a855f7;
}

.stat-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.stat-green h3 {
    color: #065f46;
}

.stat-blue h3 {
    color: #1e40af;
}

.stat-purple h3 {
    color: #6b21a8;
}

.stat-count {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    margin-left: auto;
}

.stat-green .stat-count {
    color: #059669;
}

.stat-blue .stat-count {
    color: #2563eb;
}

.stat-purple .stat-count {
    color: #9333ea;
}

.stat-description {
    font-size: 0.875rem;
}

.stat-green .stat-description {
    color: #047857;
}

.stat-blue .stat-description {
    color: #1d4ed8;
}

.stat-purple .stat-description {
    color: #7e22ce;
}

@media (min-width: 768px) {
    .category-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Quiz Section */
.quiz-section {
    margin-bottom: 4rem;
}

.section-header {
    border-radius: 1.5rem;
    padding: 1rem;
    border: 2px solid;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.section-header-quiz {
    background: linear-gradient(to right, #fff7ed, #fef2f2);
    border-color: #fdba74;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-icon {
    font-size: 2rem;
}

.section-header h2, .section-header h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #9a3412;
    margin-bottom: 0.25rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #374151;
}

.quiz-score-box {
    background: white;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #fdba74;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.quiz-score-label {
    font-size: 0.875rem;
    color: #4b5563;
    font-weight: 500;
}

.quiz-score-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ea580c;
}

.quiz-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.quiz-card {
    background: linear-gradient(to bottom right, #faf5ff, #fce7f3);
    border: 2px solid #e9d5ff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.quiz-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.quiz-card-emoji {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 0.75rem;
    display: block;
}

.quiz-card-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quiz-option {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid #d1d5db;
    background: white;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    text-align: left;
}

.quiz-option:hover:not(.answered) {
    border-color: #a855f7;
    background: #faf5ff;
}

.quiz-option.correct {
    background: #10b981;
    border-color: #059669;
    color: white;
}

.quiz-option.incorrect {
    background: #ef4444;
    border-color: #dc2626;
    color: white;
}

.quiz-option.disabled {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #9ca3af;
    opacity: 0.5;
    cursor: default;
}

.quiz-feedback {
    margin-top: 1rem;
    text-align: center;
    font-weight: 700;
    animation: fadeIn 0.3s ease-out;
}

.quiz-feedback.correct {
    color: #059669;
}

.quiz-feedback.incorrect {
    color: #dc2626;
}

@media (min-width: 768px) {
    .quiz-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .quiz-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Info Blocks */
.info-blocks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.info-block {
    border-radius: 1rem;
    padding: 2rem;
    border: 2px solid;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.info-block:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.info-yellow {
    background: linear-gradient(to bottom right, #fef3c7, #fed7aa);
    border-color: #fcd34d;
}

.info-green {
    background: linear-gradient(to bottom right, #f0fdf4, #d1fae5);
    border-color: #86efac;
}

.info-content {
    text-align: center;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.info-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.info-content p {
    color: #374151;
    line-height: 1.6;
}

.info-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.check-icon {
    background: #fef3c7;
    border-radius: 9999px;
    padding: 0.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
    font-weight: 700;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.info-green .check-icon {
    background: #d1fae5;
    color: #059669;
}

.info-yellow .check-icon {
    background: #fef3c7;
    color: #d97706;
}

.feature p {
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.5;
}

.info-button {
    display: block;
    width: 100%;
    background: linear-gradient(to right, #eab308, #f97316);
    color: white;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-button:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    background: linear-gradient(to right, #ca8a04, #ea580c);
}

.info-green .info-button {
    background: linear-gradient(to right, #10b981, #059669);
}

.info-green .info-button:hover {
    background: linear-gradient(to right, #059669, #047857);
}

@media (min-width: 768px) {
    .info-blocks {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Riddle Section */
.riddle-section {
    margin-bottom: 4rem;
}

.section-green {
    background: linear-gradient(to right, #f0fdf4, #d1fae5);
    border-color: #86efac;
}

.section-blue {
    background: linear-gradient(to right, #eff6ff, #dbeafe);
    border-color: #93c5fd;
}

.section-purple {
    background: linear-gradient(to right, #faf5ff, #fce7f3);
    border-color: #e9d5ff;
}

.section-green h2 {
    color: #065f46;
}

.section-blue h2 {
    color: #1e40af;
}

.section-purple h2 {
    color: #6b21a8;
}

.section-description {
    font-size: 1.125rem;
    color: #374151;
    margin-bottom: 1.5rem;
}

.riddle-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.riddle-empty {
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 0.75rem;
    padding: 1rem;
    color: #4b5563;
    font-weight: 600;
}

.riddle-card {
    background: white;
    border: 2px solid;
    border-radius: 0.75rem;
    padding: 1rem;
    transition: all 0.3s;
}

.riddle-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.riddle-card.green {
    border-color: #86efac;
}

.riddle-card.green:hover {
    border-color: #4ade80;
}

.riddle-card.blue {
    border-color: #93c5fd;
}

.riddle-card.blue:hover {
    border-color: #60a5fa;
}

.riddle-card.purple {
    border-color: #e9d5ff;
}

.riddle-card.purple:hover {
    border-color: #d8b4fe;
}

.riddle-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.riddle-emoji {
    font-size: 2rem;
}

.check-badge {
    color: #10b981;
    font-size: 1.25rem;
}

.riddle-question {
    font-size: 1rem;
    color: #1f2937;
    margin-bottom: 0.75rem;
    min-height: 60px;
    line-height: 1.4;
}

.riddle-answer {
    border: 2px solid;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    text-align: center;
    animation: fadeIn 0.3s ease-out;
}

.riddle-answer.green {
    background: #f0fdf4;
    border-color: #86efac;
}

.riddle-answer.blue {
    background: #eff6ff;
    border-color: #93c5fd;
}

.riddle-answer.purple {
    background: #faf5ff;
    border-color: #e9d5ff;
}

.riddle-answer p {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1f2937;
}

.riddle-button {
    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.riddle-button:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.riddle-button.green {
    background: linear-gradient(to right, #10b981, #059669);
}

.riddle-button.green:hover {
    background: linear-gradient(to right, #059669, #047857);
}

.riddle-button.blue {
    background: linear-gradient(to right, #3b82f6, #0ea5e9);
}

.riddle-button.blue:hover {
    background: linear-gradient(to right, #2563eb, #0284c7);
}

.riddle-button.purple {
    background: linear-gradient(to right, #a855f7, #ec4899);
}

.riddle-button.purple:hover {
    background: linear-gradient(to right, #9333ea, #db2777);
}

.all-riddles-main {
    padding-top: 2rem;
}

.riddle-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.riddle-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.riddle-tag-category {
    background: #f3f4f6;
    color: #374151;
}

.riddle-tag-level-green {
    background: #d1fae5;
    color: #065f46;
}

.riddle-tag-level-blue {
    background: #dbeafe;
    color: #1e40af;
}

.riddle-tag-level-purple {
    background: #f3e8ff;
    color: #6b21a8;
}

.load-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.load-more-btn {
    border: none;
    border-radius: 0.75rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(59, 130, 246, 0.35);
    transition: all 0.25s ease;
}

.load-more-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
}

.load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.all-riddles-empty,
.all-riddles-done {
    margin-top: 1.5rem;
    text-align: center;
    font-weight: 600;
    color: #4b5563;
}

.category-grid-public {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.category-public-card {
    background: white;
    border: 2px solid #dbeafe;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 4px 10px rgba(17, 24, 39, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-public-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.category-public-emoji {
    font-size: 1.75rem;
}

.category-public-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #1f2937;
}
.category-public-header h3 a{color: inherit}
.category-public-description {
    margin: 0;
    color: #374151;
    line-height: 1.5;
}

.category-public-count {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 600;
}

.category-public-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 160px;
    padding: 0.625rem 1rem;
    border-radius: 0.625rem;
    text-decoration: none;
    border: none;
    background: linear-gradient(to right, #2563eb, #7c3aed);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-public-btn:hover {
    filter: brightness(0.95);
}

.subcategory-compact-section {
    margin-top: 2rem;
    background: #ffffff;
    border: 2px solid #e0e7ff;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(17, 24, 39, 0.04);
}

.subcategory-compact-header {
    margin-bottom: 1rem;
}

.subcategory-compact-header h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #1f2937;
}

.subcategory-compact-header p {
    margin: 0.35rem 0 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.subcategory-groups {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

.subcategory-group-card {
    border: 1px solid #dbeafe;
    border-radius: 0.85rem;
    padding: 0.85rem;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.subcategory-group-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.65rem;
}

.subcategory-group-emoji {
    font-size: 1.15rem;
    line-height: 1;
}

.subcategory-group-count {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.8rem;
    height: 1.5rem;
    padding: 0 0.45rem;
    border-radius: 999px;
    background: #e0e7ff;
    color: #3730a3;
    font-size: 0.8rem;
}

.subcategory-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.subcategory-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: #1f2937;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 0.4rem 0.7rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.subcategory-chip:hover {
    background: #dbeafe;
    border-color: #93c5fd;
    transform: translateY(-1px);
}

.subcategory-chip-emoji {
    line-height: 1;
}

.subcategory-chip-name {
    font-weight: 600;
}

.subcategory-chip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: #ffffff;
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 700;
}

.category-riddles-actions {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.category-back-btn {
    min-width: 180px;
}

@media (min-width: 768px) {
    .category-grid-public {
        grid-template-columns: repeat(2, 1fr);
    }

    .subcategory-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .riddle-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .category-grid-public {
        grid-template-columns: repeat(3, 1fr);
    }

    .subcategory-groups {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .riddle-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Completion Message */
.completion-message {
    margin-top: 4rem;
    text-align: center;
}

.completion-content {
    display: inline-block;
    background: linear-gradient(to right, #fef3c7, #fed7aa);
    border: 4px solid #fcd34d;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.completion-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.completion-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ea580c;
    margin-bottom: 0.75rem;
}

.completion-text {
    font-size: 1.25rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.completion-subtext {
    font-size: 1.125rem;
    color: #4b5563;
}

/* Footer */
.footer {
    background: linear-gradient(to right, #9333ea, #ec4899);
    color: white;
    padding: 3rem 0;
    margin-top: 5rem;
}

.footer-container {
    text-align: center;
}

.footer-links-extra {
    margin: 0.85rem 0 0.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.footer-links-extra a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-links-extra a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.footer-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-title h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add Riddle Page Styles */

.add-riddle-main {
    min-height: calc(100vh - 120px);
    padding: 3rem 0;
    background: linear-gradient(135deg, #34d399 0%, #3b82f6 50%, #a855f7 100%);
}

.logo-green {
    background: linear-gradient(to bottom right, #10b981, #059669);
}

/* Hero Card */
.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
}

.hero-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}


/* Form Container */
.form-container {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.riddle-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Form Groups */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.5rem;
}

.required {
    color: #ef4444;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #d1d5db;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #10b981;
    background: #f0fdf4;
}

.form-input.error,
.form-textarea.error {
    border-color: #fca5a5;
    background: #fef2f2;
}

.form-textarea {
    resize: none;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.error-message {
    display: none;
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    align-items: center;
    gap: 0.5rem;
}

.error-message.show {
    display: flex;
}

.error-message::before {
    content: "⚠";
}

.char-count {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Emoji Selector */
.emoji-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.emoji-display {
    font-size: 4rem;
    background: linear-gradient(135deg, #faf5ff, #fce7f3);
    border: 2px solid #e9d5ff;
    border-radius: 1rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.emoji-display:hover {
    transform: scale(1.1);
}

.emoji-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.emoji-label {
    font-weight: 600;
    color: #374151;
}

.emoji-toggle {
    background: none;
    border: none;
    color: #a855f7;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    padding: 0;
    font-size: 0.875rem;
}

.emoji-toggle:hover {
    color: #9333ea;
}

.emoji-picker {
    margin-top: 1rem;
    background: linear-gradient(135deg, #faf5ff, #fce7f3);
    border: 2px solid #e9d5ff;
    border-radius: 1rem;
    padding: 1rem;
    max-height: 16rem;
    overflow-y: auto;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.5rem;
}

.emoji-option {
    font-size: 2rem;
    padding: 0.5rem;
    border: none;
    background: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.emoji-option:hover {
    background: #e9d5ff;
}

.emoji-option.selected {
    background: #d8b4fe;
    transform: scale(1.1);
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.category-btn {
    padding: 1rem;
    border: 2px solid #d1d5db;
    border-radius: 0.75rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.category-btn:hover {
    border-color: #9ca3af;
}

.category-btn.active.green {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #059669;
    color: white;
}

.category-btn.active.blue {
    background: linear-gradient(135deg, #3b82f6, #0ea5e9);
    border-color: #2563eb;
    color: white;
}

.category-btn.active.purple {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border-color: #9333ea;
    color: white;
}

.category-emoji {
    font-size: 2rem;
}

.category-label {
    font-weight: 700;
}

/* Preview Section */
.preview-section {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 2px solid #93c5fd;
    border-radius: 1rem;
    padding: 1.5rem;
}

.preview-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preview-title svg {
    color: #3b82f6;
}

.preview-card {
    background: white;
    border: 2px solid #93c5fd;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.preview-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.preview-emoji {
    font-size: 2.5rem;
}

.preview-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.preview-badge.green {
    background: #d1fae5;
    color: #065f46;
}

.preview-badge.blue {
    background: #dbeafe;
    color: #1e40af;
}

.preview-badge.purple {
    background: #f3e8ff;
    color: #6b21a8;
}

.preview-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.preview-answer {
    background: #d1fae5;
    border: 2px solid #86efac;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.preview-answer p {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin: 0;
}

.preview-author {
    font-size: 0.75rem;
    color: #6b7280;
    text-align: right;
    margin: 0;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.4);
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

/* Success Container */
.success-container {
    text-align: center;
    padding: 3rem 0;
}

.success-icon {
    width: 6rem;
    height: 6rem;
    background: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: bounce 2s infinite;
}

.success-icon svg {
    color: #059669;
}

.success-container h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.success-text {
    font-size: 1.125rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.success-subtext {
    color: #6b7280;
    margin-bottom: 2rem;
}

.success-tip {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    border: 2px solid #fcd34d;
    border-radius: 0.75rem;
    padding: 1.5rem;
    max-width: 28rem;
    margin: 0 auto;
}

.tip-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.5rem;
}

.tip-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    color: white;
}

.info-card-emoji {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.info-card h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Responsive */
@media (min-width: 640px) {
    .emoji-grid {
        grid-template-columns: repeat(10, 1fr);
    }
}

@media (min-width: 768px) {
    .form-container {
        padding: 3rem;
    }

    .info-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-card h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .category-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        padding: 1.5rem;
    }

    .hero-emoji {
        font-size: 3rem;
    }

    .hero-card h2 {
        font-size: 1.5rem;
    }

    .form-container {
        padding: 1.5rem;
    }
}


/* Quiz Specific Styles */

.quiz-main {
    min-height: calc(100vh - 120px);
    padding: 2rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.back-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #374151;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid #e5e7eb;
}

.back-button:hover {
    background: #f3f4f6;
    border-color: #9333ea;
    color: #9333ea;
}

/* Start Screen */
.start-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.start-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.start-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.start-card h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.start-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.quiz-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border-radius: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.info-icon {
    font-size: 2rem;
}

.info-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.info-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.difficulty-selection {
    margin-bottom: 2rem;
}

.difficulty-selection h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.difficulty-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.difficulty-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    color: #6b7280;
}

.difficulty-btn:hover {
    border-color: #9333ea;
    background: #faf5ff;
}

.difficulty-btn.active {
    border-color: #9333ea;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    color: white;
}

.difficulty-emoji {
    font-size: 1.5rem;
}

.timer-toggle {
    margin-bottom: 2rem;
}

.toggle-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
}

.toggle-label input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 50px;
    height: 26px;
    background: #d1d5db;
    border-radius: 100px;
    transition: background 0.3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    top: 3px;
    left: 3px;
    transition: transform 0.3s;
}

.toggle-label input[type="checkbox"]:checked + .toggle-slider {
    background: #9333ea;
}

.toggle-label input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.toggle-text {
    font-weight: 600;
    color: #374151;
}

.start-quiz-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3);
}

.start-quiz-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.4);
}

/* Quiz Screen */
.quiz-screen {
    max-width: 800px;
    margin: 0 auto;
}

.score-bar {
    background: white;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.score-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.score-label {
    font-weight: 600;
    color: #6b7280;
    font-size: 0.875rem;
}

.score-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.timer-item {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid #fcd34d;
}

.timer-icon {
    font-size: 1.25rem;
}

.timer-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ea580c;
}

.timer-item.warning {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.progress-container {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    height: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #3b82f6 50%, #a855f7 100%);
    border-radius: 100px;
    transition: width 0.5s ease;
    width: 0%;
}

.question-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.question-emoji {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.question-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.answers-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.answer-option {
    padding: 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.answer-option .answer-letter {
    background: #f3f4f6;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-weight: 700;
    color: #6b7280;
    min-width: 40px;
    text-align: center;
}

.answer-option:hover:not(.disabled):not(.correct):not(.incorrect) {
    border-color: #a855f7;
    background: #faf5ff;
    transform: translateX(5px);
}

.answer-option.selected {
    border-color: #a855f7;
    background: #faf5ff;
}

.answer-option.correct {
    border-color: #10b981;
    background: #d1fae5;
    cursor: default;
}

.answer-option.correct .answer-letter {
    background: #10b981;
    color: white;
}

.answer-option.incorrect {
    border-color: #ef4444;
    background: #fee2e2;
    cursor: default;
}

.answer-option.incorrect .answer-letter {
    background: #ef4444;
    color: white;
}

.answer-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.answer-icon {
    margin-left: auto;
    font-size: 1.5rem;
}

.question-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.nav-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    background: white;
    color: #374151;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.nav-btn:hover:not(:disabled) {
    border-color: #a855f7;
    background: #faf5ff;
    color: #a855f7;
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-btn-next {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    color: white;
    border: none;
}

.nav-btn-next:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.3);
}

.question-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.indicator {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    border: 2px solid #e5e7eb;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator:hover {
    border-color: #a855f7;
    background: #faf5ff;
}

.indicator.active {
    border-color: #a855f7;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    color: white;
}

.indicator.answered {
    border-color: #10b981;
    background: #d1fae5;
    color: #065f46;
}

.indicator.incorrect {
    border-color: #ef4444;
    background: #fee2e2;
    color: #991b1b;
}

/* Results Screen */
.results-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.results-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin: 0 auto;
}

.results-trophy {
    font-size: 6rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.results-card h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.results-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.results-score {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.final-score {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.final-score-label {
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
}

.final-score-value {
    font-size: 4rem;
    font-weight: 700;
    color: #ea580c;
}

.final-score-max {
    font-size: 1.5rem;
    font-weight: 600;
    color: #9ca3af;
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-icon.correct {
    background: #d1fae5;
    color: #065f46;
}

.stat-icon.incorrect {
    background: #fee2e2;
    color: #991b1b;
}

.stat-icon.skipped {
    background: #f3f4f6;
    color: #6b7280;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.results-performance {
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.results-performance.excellent {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.results-performance.good {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
}

.results-performance.average {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.results-performance.poor {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.results-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.results-btn {
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    text-decoration: none;
    font-size: 1rem;
}

.results-btn-retry {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    color: white;
}

.results-btn-retry:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3);
}

.results-btn-home {
    background: white;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.results-btn-home:hover {
    border-color: #a855f7;
    background: #faf5ff;
    color: #a855f7;
}

.share-section {
    border-top: 2px solid #e5e7eb;
    padding-top: 2rem;
}

.share-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.share-btn {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    background: white;
    color: #374151;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.share-facebook:hover {
    border-color: #1877f2;
    background: #e7f3ff;
    color: #1877f2;
}

.share-twitter:hover {
    border-color: #1da1f2;
    background: #e8f5fd;
    color: #1da1f2;
}

.share-copy:hover {
    border-color: #10b981;
    background: #d1fae5;
    color: #065f46;
}

/* Responsive Design */
@media (max-width: 768px) {
    .start-card,
    .results-card {
        padding: 2rem 1.5rem;
    }

    .start-card h1,
    .results-card h1 {
        font-size: 2rem;
    }

    .quiz-info {
        grid-template-columns: 1fr;
    }

    .difficulty-buttons {
        grid-template-columns: 1fr;
    }

    .question-card {
        padding: 1.5rem;
    }

    .question-text {
        font-size: 1.25rem;
    }

    .answer-option {
        font-size: 1rem;
    }

    .results-stats {
        grid-template-columns: 1fr;
    }

    .results-actions {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        grid-template-columns: 1fr;
    }

    .score-bar {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .start-icon,
    .results-trophy {
        font-size: 4rem;
    }

    .final-score-value {
        font-size: 3rem;
    }

    .question-indicators {
        padding: 1rem;
    }

    .indicator {
        width: 35px;
        height: 35px;
        font-size: 0.75rem;
    }
}
