/* ========== General Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3b82f6;
    --secondary-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
    --gray-color: #9ca3af;
    --border-radius: 8px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1419 100%);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ========== Navbar ========== */
.navbar {
    background: rgba(15, 20, 25, 0.95);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.logo:hover {
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #a0a0a0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 6px;
    background: rgba(0, 255, 0, 0.05);
    display: inline-block;
}

.nav-link:hover {
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
    background: rgba(0, 255, 0, 0.15);
    border-color: rgba(0, 255, 0, 0.6);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

/* ========== Footer ========== */
.footer {
    background: rgba(15, 20, 25, 0.95);
    color: #a0a0a0;
    text-align: center;
    padding: 2rem;
    margin-top: auto;
    border-top: 1px solid rgba(0, 255, 0, 0.1);
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
}

.footer-links {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-links a {
    color: #66b3ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b6b;
    text-decoration: underline;
}

/* ========== Main Content ========== */
.container {
    flex: 1;
    padding: 2rem 20px;
}

/* ========== Hero Section ========== */
.hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #00ff00;
    text-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
}

.hero p {
    font-size: 1.1rem;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Categories Grid ========== */
.search-section {
    margin: 2rem auto 3rem;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: rgba(0, 255, 0, 0.03);
    border-radius: var(--border-radius);
    border: 2px solid rgba(0, 255, 0, 0.15);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.05);
}

.filter-controls {
    display: flex;
    gap: 0;
    align-items: stretch;
    background: rgba(20, 30, 60, 0.8);
    border: 2px solid rgba(0, 255, 0, 0.2);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    overflow: hidden;
}

.filter-controls:focus-within {
    border-color: rgba(0, 255, 0, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    background: rgba(20, 30, 60, 0.95);
}

.filter-controls .search-bar {
    flex: 1;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    border-right: 1px solid rgba(0, 255, 0, 0.15);
    padding: 1rem;
    font-size: 1rem;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.search-addon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(0, 255, 0, 0.1);
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.search-addon-label {
    color: #a0a0a0;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    width: 100%;
}

.search-bar {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    color: #e0e0e0;
    font-weight: 500;
}

.search-bar:focus {
    outline: none;
}

.search-bar::placeholder {
    color: #4b5563;
}

.category-filter {
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #e0e0e0;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.category-filter:hover {
    background: rgba(0, 255, 0, 0.05);
}

.category-filter:focus {
    outline: none;
}

.category-filter option {
    background: #1f2937;
    color: #e0e0e0;
}

.search-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: var(--border-radius);
    color: #00ff00;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-grow: 0;
}

.search-btn:hover {
    background: rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.6);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.search-btn:active {
    transform: scale(0.98);
}

.search-clear-btn {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--border-radius);
    color: #fca5a5;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
    flex-grow: 0;
}

.search-clear-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.no-results {
    text-align: center;
    color: #fca5a5;
    font-weight: 500;
    padding: 1rem;
    background: rgba(239, 68, 68, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.featured-section {
    text-align: center;
    margin: 2rem 0 3rem;
}

.featured-section h2 {
    font-size: 1.8rem;
    color: #00ff00;
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    font-weight: 600;
    margin-bottom: 2rem;
}

.search-section-expanded {
    margin: 3rem 0;
    padding: 2rem 0;
}

.search-section-expanded h3 {
    font-size: 1.5rem;
    color: #a0a0a0;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 500;
}

.random-quiz-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(0, 255, 0, 0.05);
    border-radius: var(--border-radius);
    border: 2px solid rgba(0, 255, 0, 0.2);
}

/* ========== Updates Section ========== */
.updates-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.05));
    border-radius: var(--border-radius);
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.updates-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #60a5fa;
    font-size: 1.8rem;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.update-card {
    background: rgba(20, 30, 60, 0.5);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.update-card:hover {
    background: rgba(20, 30, 60, 0.8);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.update-card h3 {
    color: #60a5fa;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.update-card p {
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.5;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.category-card {
    background: linear-gradient(135deg, rgba(20, 30, 60, 0.7), rgba(30, 40, 80, 0.7));
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 
        0 0 20px rgba(0, 255, 0, 0.1),
        var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 255, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 0 40px rgba(0, 255, 0, 0.2),
        var(--shadow-lg);
    border-color: rgba(0, 255, 0, 0.3);
}

.category-card h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.category-card p {
    color: #a0a0a0;
    margin-bottom: 1.5rem;
}

/* ========== Game Container ========== */
.game-container {
    background: linear-gradient(135deg, #0f1419, #1a202c);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 
        0 0 30px rgba(0, 255, 0, 0.2),
        var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    color: #e0e0e0;
    border: 1px solid rgba(0, 255, 0, 0.1);
}

.game-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(0, 255, 0, 0.2);
}

.game-header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #00ff00;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.game-header .btn {
    margin-bottom: 1.5rem;
}

.game-header-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.share-menu-container {
    position: relative;
    display: inline-block;
}

.share-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 20, 25, 0.98);
    border: 2px solid rgba(0, 255, 0, 0.5);
    border-radius: 8px;
    min-width: 200px;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0, 255, 0, 0.2);
    margin-top: 8px;
    overflow: hidden;
}

.share-option {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 255, 0, 0.05);
    border: none;
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
    color: #00ff00;
    text-align: left;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
    font-family: inherit;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
}

.share-option:last-child {
    border-bottom: none;
}

.share-option:first-child {
    border-radius: 6px 6px 0 0;
}

.share-option:last-child {
    border-radius: 0 0 6px 6px;
}

.share-option:hover {
    background: rgba(0, 255, 0, 0.15);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3) inset;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
    transform: translateX(4px);
}

.game-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.lives-display, .items-found {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
}

.lives-label {
    color: #00ff00;
}

.lives-count {
    display: flex;
    gap: 0.25rem;
}

.life-heart {
    font-size: 1.5rem;
}

.found-count {
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
}

/* ========== Game Form ========== */
.game-form {
    margin-bottom: 2rem;
}

.form-title {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 255, 0, 0.2);
}

.form-title h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #00ff00;
}

.form-title p {
    color: #a0a0a0;
}

/* ========== Guess Form ========== */
.guess-form {
    margin-bottom: 2rem;
}

.guess-input-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.guess-input-section label {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
}

.guess-subtitle {
    text-align: center;
    color: #a0a0a0;
    font-size: 0.9rem;
    margin: 0.5rem 0 0 0;
}

.input-group {
    display: flex;
    gap: 0.5rem;
}

.input-group .input-field {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid rgba(0, 255, 0, 0.3);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(30, 40, 60, 0.8);
    color: #e0e0e0;
}

.input-group .input-field:focus {
    outline: none;
    border-color: #00ff00;
    background-color: rgba(30, 40, 60, 1);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.input-group .input-field::placeholder {
    color: #707070;
}

.input-group .btn {
    white-space: nowrap;
    padding: 0.75rem 1.5rem;
}

/* ========== Found Items Display ========== */
.found-items {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 255, 0, 0.05);
    border-radius: var(--border-radius);
    border: 2px solid rgba(0, 255, 0, 0.3);
}

.found-items h3 {
    margin-bottom: 1rem;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
}

.items-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.found-item {
    color: #00ff00;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ========== Found Items Display (Results) ========== */
.found-items-display,
.missed-items-display {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.found-items-display {
    background: rgba(0, 255, 0, 0.05);
    border: 2px solid rgba(0, 255, 0, 0.3);
}

.missed-items-display {
    background: rgba(255, 100, 100, 0.05);
    border: 2px solid rgba(255, 100, 100, 0.3);
}

.found-items-display h3,
.missed-items-display h3 {
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.found-items-display h3 {
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
}

.missed-items-display h3 {
    color: #ff6464;
    text-shadow: 0 0 10px rgba(255, 100, 100, 0.4);
}

.items-list-display {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.found-item-display {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 255, 0, 0.4);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

.found-item-card {
    background: rgba(0, 255, 0, 0.08);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-width: 180px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.1);
}

.found-item-card .found-item-display {
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.missed-item-display {
    background: rgba(255, 100, 100, 0.2);
    color: #ff6464;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 100, 100, 0.4);
    box-shadow: 0 0 10px rgba(255, 100, 100, 0.2);
}

.missed-item-card {
    background: rgba(255, 100, 100, 0.08);
    border: 1px solid rgba(255, 100, 100, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-width: 180px;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 100, 100, 0.1);
}

.missed-item-card .missed-item-display {
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

/* ========== Bonus Section (Results) ========== */
.bonus-section {
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 215, 0, 0.04) 100%);
    border: 2px solid rgba(255, 215, 0, 0.4);
    text-align: center;
}

.bonus-section h2 {
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.2);
}

.bonus-item-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.08) 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    display: inline-block;
    color: #ffd700;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3), inset 0 0 20px rgba(255, 215, 0, 0.05);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
    letter-spacing: 1px;
}

.item-statistic {
    font-size: 0.7rem;
    color: #a0a0a0;
    font-weight: 500;
    line-height: 1.2;
}

/* ========== Game Actions ========== */
.game-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(0, 255, 0, 0.2);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label {
    min-width: 30px;
    font-weight: 600;
    color: #00ff00;
}

.input-field {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid rgba(0, 255, 0, 0.3);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(30, 40, 60, 0.8);
    color: #e0e0e0;
}

.input-field:focus {
    outline: none;
    border-color: #00ff00;
    background-color: rgba(30, 40, 60, 1);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.input-field::placeholder {
    color: #707070;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== Results Container ========== */
.results-container {
    background: linear-gradient(135deg, #0f1419, #1a202c);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 
        0 0 30px rgba(0, 255, 0, 0.2),
        var(--shadow);
    color: #e0e0e0;
    border: 1px solid rgba(0, 255, 0, 0.1);
}

.results-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(0, 255, 0, 0.2);
}

.results-header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #00ff00;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.score-banner {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 1rem;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.3), rgba(0, 200, 200, 0.2));
    color: #00ff00;
    border: 2px solid rgba(0, 255, 0, 0.5);
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.score-banner.perfect {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.4), rgba(0, 255, 100, 0.3));
    border-color: #00ff00;
}

.score-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.score-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: rgba(0, 255, 0, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 255, 0, 0.2);
}

.score-label {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.score-value {
    font-size: 2rem;
    font-weight: bold;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
}

/* ========== Comparison ========== */
.comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.comparison-column h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-color);
}

/* ========== Guess List ========== */
.guess-list, .correct-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.guess-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    background: var(--light-color);
    border-left: 4px solid var(--gray-color);
}

.guess-item.correct {
    background: #d1fae5;
    border-left-color: var(--secondary-color);
}

.guess-item.partial {
    background: #fef3c7;
    border-left-color: var(--warning-color);
}

.guess-item.incorrect {
    background: #fee2e2;
    border-left-color: var(--danger-color);
}

.position {
    min-width: 30px;
    font-weight: 600;
    color: var(--primary-color);
}

.guess-text {
    flex: 1;
    font-weight: 500;
}

.correct-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    background: #d1fae5;
    border-left: 4px solid var(--secondary-color);
}

.item-text {
    flex: 1;
    font-weight: 500;
}

.no-guesses {
    text-align: center;
    color: var(--gray-color);
    padding: 2rem;
}

/* ========== Badges ========== */
.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-correct {
    background: var(--secondary-color);
    color: white;
}

.badge-partial {
    background: var(--warning-color);
    color: white;
}

.badge-incorrect {
    background: var(--danger-color);
    color: white;
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    border: 2px solid rgba(0, 255, 0, 0.5);
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

.btn-primary:hover {
    background: rgba(0, 255, 0, 0.3);
    border-color: #00ff00;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(100, 100, 200, 0.2);
    color: #6464ff;
    border: 2px solid rgba(100, 100, 200, 0.5);
    text-shadow: 0 0 10px rgba(100, 100, 200, 0.4);
    box-shadow: 0 0 15px rgba(100, 100, 200, 0.2);
}

.btn-secondary:hover {
    background: rgba(100, 100, 200, 0.3);
    border-color: #6464ff;
    box-shadow: 0 0 30px rgba(100, 100, 200, 0.5);
    transform: translateY(-2px);
}

.btn-success {
    background: rgba(0, 200, 200, 0.05);
    color: #a0a0a0;
    border: 1px solid rgba(0, 200, 200, 0.3);
    text-shadow: none;
    box-shadow: none;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: rgba(0, 200, 200, 0.15);
    color: #00e6e6;
    border-color: rgba(0, 200, 200, 0.6);
    box-shadow: 0 0 15px rgba(0, 200, 200, 0.2);
    text-shadow: 0 0 10px rgba(0, 200, 200, 0.4);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ========== Results Actions ========== */
.results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(0, 255, 0, 0.2);
}

/* ========== Pyramid Section ========== */
.pyramid-section {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pyramid-section h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.pyramid-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    width: 100%;
    background: #0a0e27;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 
        0 0 40px rgba(0, 255, 0, 0.3),
        inset 0 0 40px rgba(0, 255, 0, 0.1);
}

.pyramid {
    position: relative;
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 0;
    filter: drop-shadow(0 0 20px rgba(0, 255, 0, 0.5));
}

.pyramid-level {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: auto;
    animation: pyramidRise 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes pyramidRise {
    from {
        opacity: 0;
        transform: scaleX(0.8);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

.pyramid-level.level-1 { 
    animation-delay: 0.05s; 
    width: 60%;
    margin: 0 auto;
}
.pyramid-level.level-2 { 
    animation-delay: 0.1s;
    width: 65%;
    margin: 0 auto;
}
.pyramid-level.level-3 { 
    animation-delay: 0.15s;
    width: 70%;
    margin: 0 auto;
}
.pyramid-level.level-4 { 
    animation-delay: 0.2s;
    width: 75%;
    margin: 0 auto;
}
.pyramid-level.level-5 { 
    animation-delay: 0.25s;
    width: 80%;
    margin: 0 auto;
}
.pyramid-level.level-6 { 
    animation-delay: 0.3s;
    width: 85%;
    margin: 0 auto;
}
.pyramid-level.level-7 { 
    animation-delay: 0.35s;
    width: 90%;
    margin: 0 auto;
}
.pyramid-level.level-8 { 
    animation-delay: 0.4s;
    width: 95%;
    margin: 0 auto;
}
.pyramid-level.level-9 { 
    animation-delay: 0.45s;
    width: 100%;
}

.pyramid-level.level-bonus {
    animation-delay: 0.5s;
    width: 100%;
    margin-top: 1.5rem;
    border-top: 2px dashed rgba(0, 255, 0, 0.4);
    padding-top: 1rem;
}

.pyramid-content {
    width: 100%;
    height: 100%;
    padding: 1rem;
    min-height: 50px;
    border: 3px solid rgba(0, 255, 0, 0.6);
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1), rgba(0, 128, 255, 0.05));
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    box-shadow: 
        0 0 15px rgba(0, 255, 0, 0.4),
        inset 0 0 15px rgba(0, 255, 0, 0.1);
}

.pyramid-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.8), transparent);
    opacity: 0.8;
}

.pyramid-content.revealed {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.2), rgba(0, 150, 150, 0.15));
    border-color: #00ff00;
    box-shadow: 
        0 0 30px rgba(0, 255, 0, 0.8),
        inset 0 0 20px rgba(0, 255, 0, 0.3),
        0 0 50px rgba(0, 255, 0, 0.5);
    color: #00ff00;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
}

.pyramid-content.hidden {
    background: linear-gradient(135deg, rgba(30, 40, 80, 0.7), rgba(20, 30, 60, 0.7));
    border-color: rgba(100, 150, 200, 0.5);
    box-shadow: 
        0 0 20px rgba(0, 128, 255, 0.4),
        inset 0 0 10px rgba(0, 128, 255, 0.1);
}

.pyramid-content.bonus-found {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.15));
    border-color: #ffd700;
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.8),
        inset 0 0 20px rgba(255, 215, 0, 0.3),
        0 0 50px rgba(255, 215, 0, 0.5);
    color: #ffd700;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.pyramid-position {
    font-size: 1rem;
    opacity: 1;
    min-width: 30px;
    font-weight: 600;
}

.pyramid-answer {
    font-size: 1rem;
    flex: 1;
    text-align: center;
}

.pyramid-answer-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.pyramid-statistic {
    font-size: 0.75rem;
    color: #b0ff00;
    opacity: 0.85;
    text-shadow: 0 0 10px rgba(176, 255, 0, 0.5);
    font-weight: 600;
    max-width: 95%;
    text-align: center;
}

.pyramid-locked {
    font-size: 1.5rem;
    opacity: 0.8;
    text-align: center;
}

.pyramid-info {
    text-align: center;
    color: var(--gray-color);
    font-size: 1rem;
    margin-top: 1rem;
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .game-grid {
        grid-template-columns: 1fr;
    }

    .comparison {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 1rem;
    }

    .game-container,
    .results-container {
        padding: 1rem;
    }

    .form-actions,
    .results-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .pyramid-container {
        padding: 0 1rem;
    }

    .pyramid {
        max-width: 100%;
    }

    .pyramid-content {
        font-size: 0.9rem;
        padding: 0.75rem;
        min-height: 45px;
    }

    .pyramid-answer {
        font-size: 0.85rem;
    }

    .input-group {
        flex-direction: column;
    }

    .input-group .input-field {
        width: 100%;
    }

    .input-group .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .results-header h1 {
        font-size: 1.5rem;
    }

    .comparison-column h2 {
        font-size: 1.2rem;
    }

    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .input-field {
        width: 100%;
    }
}

/* ========== Authentication Pages ========== */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem;
}

.auth-card {
    background: linear-gradient(135deg, rgba(20, 30, 60, 0.9), rgba(30, 40, 80, 0.9));
    border: 2px solid rgba(0, 255, 0, 0.2);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    max-width: 400px;
    width: 100%;
    box-shadow: 
        0 0 30px rgba(0, 255, 0, 0.1),
        var(--shadow-lg);
}

.auth-card h1 {
    font-size: 2rem;
    color: #00ff00;
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    margin-bottom: 2rem;
    text-align: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #00ff00;
    font-size: 0.95rem;
}

.form-group input {
    padding: 0.75rem;
    background: rgba(10, 20, 40, 0.8);
    border: 2px solid rgba(0, 255, 0, 0.2);
    border-radius: var(--border-radius);
    color: #e0e0e0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(0, 255, 0, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

.password-requirements {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-top: 0.5rem;
}

.requirements-title {
    font-size: 0.85rem;
    color: #00ff00;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list li {
    font-size: 0.8rem;
    color: #a0a0a0;
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.requirements-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #6b7280;
}

.btn-block {
    width: 100%;
    padding: 0.75rem;
    margin-top: 1rem;
}

.divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 255, 0, 0.1);
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(66, 133, 244, 0.15);
    border: 2px solid rgba(66, 133, 244, 0.4);
    color: #4285f4;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

.btn-google:hover {
    background: rgba(66, 133, 244, 0.25);
    border-color: rgba(66, 133, 244, 0.6);
    box-shadow: 0 0 15px rgba(66, 133, 244, 0.2);
}

.btn-google svg {
    display: none;
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #a0a0a0;
}

.auth-link a {
    color: #00ff00;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-link a:hover {
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* ========== Profile Page ========== */
.profile-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(0, 255, 0, 0.2);
}

.profile-header h1 {
    font-size: 2.5rem;
    color: #00ff00;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    margin-bottom: 0.5rem;
}

.profile-email {
    color: #a0a0a0;
    font-size: 1.1rem;
}

.profile-joined {
    color: #6b7280;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(20, 30, 60, 0.7), rgba(30, 40, 80, 0.7));
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(0, 255, 0, 0.4);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.15);
}

.stat-card h3 {
    font-size: 2rem;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #a0a0a0;
    font-size: 0.95rem;
}

.profile-bio {
    background: rgba(0, 255, 0, 0.03);
    border: 2px solid rgba(0, 255, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 3rem;
}

.profile-bio h2 {
    color: #00ff00;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.profile-bio p {
    color: #d0d0d0;
    line-height: 1.6;
}

.profile-favorites {
    background: rgba(0, 255, 0, 0.03);
    border: 2px solid rgba(0, 255, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 3rem;
}

.profile-favorites h2 {
    color: #00ff00;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.favorite-card {
    background: rgba(30, 40, 70, 0.6);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
}

.favorite-card h3 {
    color: #00ff99;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.favorite-card .btn {
    display: inline-block;
    margin: 0.5rem;
    font-size: 0.85rem;
}

.no-favorites {
    color: #a0a0a0;
    text-align: center;
    padding: 2rem;
    font-style: italic;
}

.profile-scores {
    margin-bottom: 3rem;
}

.profile-scores h2 {
    color: #00ff00;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.scores-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(20, 30, 60, 0.5);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.scores-table thead {
    background: rgba(0, 255, 0, 0.05);
    border-bottom: 2px solid rgba(0, 255, 0, 0.2);
}

.scores-table th {
    color: #00ff00;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.2);
}

.scores-table td {
    color: #d0d0d0;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
}

.scores-table tbody tr:hover {
    background: rgba(0, 255, 0, 0.05);
}

.no-scores {
    color: #a0a0a0;
    text-align: center;
    padding: 2rem;
}

.bonus-badge {
    display: inline-block;
    margin-left: 0.75rem;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 20px;
    color: #ffd700;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.2);
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.3);
}

.bonus-badge-small {
    display: block;
    margin-top: 0.35rem;
    padding: 0.25rem 0.5rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.08) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    color: #ffd700;
    font-size: 0.65rem;
    font-weight: 600;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.15);
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.2);
}

.profile-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-danger {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.3);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

/* ========== Home Footer Links ========== */
.home-footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    padding: 2rem;
    border-top: 1px solid rgba(0, 255, 0, 0.1);
    flex-wrap: wrap;
}

.footer-link {
    color: #a0a0a0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 6px;
    background: rgba(0, 255, 0, 0.05);
    display: inline-block;
    font-size: 1rem;
}

.footer-link:hover {
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
    background: rgba(0, 255, 0, 0.15);
    border-color: rgba(0, 255, 0, 0.6);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

@media (max-width: 768px) {
    .home-footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .footer-link {
        width: 100%;
        text-align: center;
    }
}

/* ========== Report Modal ========== */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: linear-gradient(135deg, rgba(20, 30, 60, 0.95), rgba(30, 40, 80, 0.95));
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(239, 68, 68, 0.2);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid rgba(239, 68, 68, 0.2);
}

.modal-header h2 {
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #a0a0a0;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #ff6b6b;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 2px solid rgba(239, 68, 68, 0.2);
    justify-content: flex-end;
}

.modal-footer .btn {
    margin: 0;
}

.form-group {
    padding: 1.5rem;
}

.form-group label {
    display: block;
    color: #e0e0e0;
    margin-bottom: 0.75rem;
    font-weight: 500;
    font-size: 1rem;
}

.report-textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(20, 30, 60, 0.8);
    border: 2px solid rgba(239, 68, 68, 0.2);
    border-radius: 6px;
    color: #e0e0e0;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    transition: all 0.3s ease;
}

.report-textarea:focus {
    outline: none;
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
    background: rgba(20, 30, 60, 0.95);
}

.report-textarea::placeholder {
    color: #666666;
}

/* ========== Admin Report Styling ========== */
.report-row {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.report-row:hover {
    background: rgba(239, 68, 68, 0.08) !important;
}

.report-row.report-pending {
    border-left: 4px solid rgba(255, 193, 7, 0.5);
}

.report-row.report-reviewed {
    border-left: 4px solid rgba(33, 150, 243, 0.5);
}

.report-row.report-resolved {
    border-left: 4px solid rgba(76, 175, 80, 0.5);
}

.report-text {
    color: #b0b0b0;
    font-size: 0.9rem;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffd54f;
    border: 1px solid rgba(255, 193, 7, 0.4);
}

.status-badge.status-reviewed {
    background: rgba(33, 150, 243, 0.2);
    color: #64b5f6;
    border: 1px solid rgba(33, 150, 243, 0.4);
}

.status-badge.status-resolved {
    background: rgba(76, 175, 80, 0.2);
    color: #81c784;
    border: 1px solid rgba(76, 175, 80, 0.4);
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-width: none;
    }

    .modal-header,
    .modal-footer,
    .form-group {
        padding: 1rem;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }

    .modal-footer {
        flex-direction: column;
    }

    .modal-footer .btn {
        width: 100%;
    }

    .report-text {
        max-width: 150px;
    }
}


/* ========== Admin Center ========== */
.admin-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.admin-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(239, 68, 68, 0.3);
}

.admin-header h1 {
    font-size: 2.5rem;
    color: #ff6b6b;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
    margin-bottom: 0.5rem;
}

.admin-subtitle {
    color: #a0a0a0;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-large {
    background: linear-gradient(135deg, rgba(20, 30, 60, 0.7), rgba(30, 40, 80, 0.7));
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-large:hover {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.stat-large h3 {
    font-size: 2.5rem;
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
    margin-bottom: 0.5rem;
}

.stat-large p {
    color: #a0a0a0;
    font-size: 0.95rem;
}

.stat-carousel {
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-item {
    display: none;
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
}

.stat-item.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #ff6b6b;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.admin-section {
    background: rgba(0, 255, 0, 0.03);
    border: 2px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 3rem;
}

.admin-section h2 {
    color: #ff6b6b;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
    font-size: 1.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(20, 30, 60, 0.5);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.admin-table thead {
    background: rgba(239, 68, 68, 0.05);
    border-bottom: 2px solid rgba(239, 68, 68, 0.2);
}

.admin-table th {
    color: #ff6b6b;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(239, 68, 68, 0.2);
}

.admin-table td {
    color: #d0d0d0;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(239, 68, 68, 0.1);
}

.admin-table tbody tr:hover {
    background: rgba(239, 68, 68, 0.05);
}

.admin-note {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(100, 150, 200, 0.1);
    border-left: 3px solid rgba(100, 150, 200, 0.5);
    color: #a0b0c0;
    font-size: 0.9rem;
    border-radius: 4px;
}

.auth-badge {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.auth-google {
    background: rgba(66, 133, 244, 0.2);
    border: 1px solid rgba(66, 133, 244, 0.4);
    color: #4285f4;
    box-shadow: 0 0 8px rgba(66, 133, 244, 0.1);
}

.auth-password {
    background: rgba(0, 255, 0, 0.15);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.1);
}

.no-data {
    color: #a0a0a0;
    text-align: center;
    padding: 2rem;
    font-style: italic;
}

.admin-back {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(239, 68, 68, 0.2);
}

.admin-back .btn {
    display: inline-block;
}

.admin-search-box {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.15);
    border-radius: var(--border-radius);
}

.quiz-search-form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.quiz-search-input {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem 1rem;
    background: rgba(20, 30, 60, 0.8);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: var(--border-radius);
    color: #e0e0e0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.quiz-search-input:focus {
    outline: none;
    border-color: rgba(0, 255, 0, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
    background: rgba(20, 30, 60, 0.95);
}

.quiz-search-input::placeholder {
    color: #4b5563;
}

.btn-xs {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .admin-container {
        padding: 1rem;
    }

    .admin-header h1 {
        font-size: 1.8rem;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-table {
        font-size: 0.85rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.5rem;
    }
}

