:root {
    --primary: #1e3a8a;
    --primary-dark: #172554;
    --primary-light: #3b82f6;
    --secondary: #fbbf24;
    --secondary-dark: #d97706;
    --accent: #f472b6;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --game-green: #00a86b;
    --game-blue: #0066cc;
    
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-light: #9ca3af;
    --text-white: #ffffff;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f3f4f6;
    --bg-dark: #111827;
    --bg-game: #001a33;
    
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #0d1317;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: linear-gradient(180deg, #111a22 0%, #0d1317 100%);
    color: var(--text-white);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(107, 143, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

header h1 {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(180deg, #6b8fff 0%, #4267f5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.auth-buttons {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(32, 52, 127, 0.2) 0%, rgba(13, 19, 23, 0) 100%);
    border: 1px solid rgba(107, 143, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 4rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(107, 143, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #f8fbff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero .lead {
    font-size: 1.25rem;
    color: #cad5e7;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.how-to-play {
    margin-bottom: 4rem;
}

.how-to-play h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #f8fbff;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

.step-card {
    background: linear-gradient(180deg, #1a2228 0%, #111a22 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(107, 143, 255, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(66, 103, 245, 0.2);
    border-color: rgba(107, 143, 255, 0.3);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #466dff 0%, #3058ed 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 10px rgba(48, 88, 237, 0.4);
}

.step-card h3 {
    color: #f8fbff;
    margin-bottom: 1rem;
}

.step-card p {
    color: #cad5e7;
    font-size: 0.95rem;
}

.prizes {
    text-align: center;
    background: linear-gradient(135deg, rgba(32, 52, 127, 0.2) 0%, rgba(13, 19, 23, 0) 100%);
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(107, 143, 255, 0.1);
    margin-bottom: 4rem;
}

.prizes h2 {
    font-size: 2.5rem;
    color: #f8fbff;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.prize-card {
    background: linear-gradient(180deg, #1a2228 0%, #111a22 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(107, 143, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.prize-card h3 {
    color: #6b8fff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(107, 143, 255, 0.2);
    padding-bottom: 0.5rem;
}

.prize-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prize-card li {
    color: #cad5e7;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.prize-card:last-child {
    background: linear-gradient(180deg, #d97706 0%, #b45309 100%);
    border-color: #fde047;
    grid-column: 1 / -1;
    text-align: center;
}

.prize-card:last-child h3 {
    color: #fff8de;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.prize-card:last-child li {
    color: #fff8de;
    font-size: 1.5rem;
    font-weight: 900;
    justify-content: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md);
}

main {
    min-height: calc(100vh - 160px);
    padding: var(--spacing-xl) 0;
}

footer {
    background: linear-gradient(to right, var(--bg-dark), var(--primary-dark));
    color: var(--text-white);
    padding: var(--spacing-xl) 0;
    margin-top: auto;
    border-top: 4px solid var(--secondary);
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    justify-items: center;
    text-align: center;
}

.footer-content {
    padding: var(--spacing-lg);
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-content h3 {
    color: var(--secondary);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.footer-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--secondary);
}

.footer-content p {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-light);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.2s;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
}

.footer-links a:hover {
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--text-primary);
}

.btn-secondary:hover:not(:disabled) {
    background-color: var(--secondary-dark);
}

.btn-danger {
    background-color: var(--danger);
    color: var(--text-white);
}

.btn-danger:hover:not(:disabled) {
    background-color: #dc2626;
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1.125rem;
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.875rem;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--text-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.game-container {
    background-color: var(--bg-game);
    background-image: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    color: var(--text-white);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    min-height: 800px;
}

.game-logo {
    display: block;
    max-width: 350px;
    height: auto;
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.question-container {
    background: var(--game-green);
    padding: var(--spacing-lg);
    margin: 6rem 0 var(--spacing-xl);
    text-align: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 98% 100%, 0 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.question-container::before {
    content: '';
    position: absolute;
    top: -15px;
    right: 0;
    width: 50%;
    height: 15px;
    background: var(--game-green);
    opacity: 0.5;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%);
}

.question-text {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 2rem;
    margin: 0;
}

.answers-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    overflow: visible;
}

.answer {
    background: transparent;
    color: var(--text-white);
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-align: left;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    text-transform: uppercase;
    position: relative;
    overflow: visible;
    min-height: 70px;
    margin-left: 85px;
}

.answer-label {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 70px;
    padding: 1.2rem 3.5rem 1.2rem 4rem;
    background: linear-gradient(90deg, #0066cc, #004999);
    clip-path: polygon(-45% 0, 100% 0, 95% 100%, 0 100%);
    border: 2px solid #004999;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(0, 0, 0, 0.3);
}

.answer::before {
    content: '';
    position: absolute;
    left: -85px;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #000000, #1a1a1a);
    color: #0066cc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 3.5rem;
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
    border: 3px solid #0066cc;
    box-shadow: 
        inset 0 0 20px rgba(0, 102, 204, 0.5),
        0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 2;
    pointer-events: none;
}

.answer-number {
    position: absolute;
    left: -85px;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 3.25rem;
    color: #0b1f4b;
    z-index: 999;
    text-shadow: none;
    font-family: Arial, sans-serif;
    -webkit-text-fill-color: #0b1f4b;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

.answer::after {
    content: '';
    position: absolute;
    left: -15px;
    top: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, #0066cc, #004999);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    box-shadow: inset -5px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.answer:hover:not(:disabled) .answer-label {
    background: linear-gradient(90deg, #2f78ff, #1d58e6);
}

.answer:hover:not(:disabled) {
    transform: translateX(8px);
}

.answer:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.answer.selected .answer-label {
    background: linear-gradient(90deg, #c88e16, #a87210);
    border-color: #ffd700;
}

.answer.correct .answer-label {
    background: linear-gradient(90deg, #008000, #006600);
    border-color: #00ff00;
}

.answer.correct::before {
    border-color: #00ff00;
    color: #00ff00;
}

.answer.wrong .answer-label {
    background: linear-gradient(90deg, #cc0000, #990000);
    border-color: #ff0000;
}

.answer.reveal-correct {
    background: linear-gradient(90deg, #f7c53a, #d79014);
    border-color: #ffdf7a;
    color: #ffffff;
}

.answer.reveal-correct::before {
    background: linear-gradient(135deg, #b66a08 0%, #f7c53a 100%);
    border-color: #ffe58a;
}

.answer.reveal-correct::after {
    background: linear-gradient(90deg, #b66a08, #f7c53a);
}

.answer.reveal-correct .answer-number {
    color: #fff8de;
    -webkit-text-fill-color: #fff8de;
}

.answer.wrong {
    background: linear-gradient(90deg, #cc0000, #990000);
    border-color: #800000;
}

.answer.wrong::before {
    background: linear-gradient(135deg, #7f0000 0%, #cc0000 100%);
    border-color: #ff9e9e;
}

.answer.wrong::after {
    background: linear-gradient(90deg, #7f0000, #cc0000);
}

.answer.wrong .answer-number {
    color: #ffeaea;
    -webkit-text-fill-color: #ffeaea;
}

.help-container {
    display: flex;
    gap: 2rem;
    margin: 4rem auto 3rem;
    max-width: 800px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-lg);
}

.help-button {
    flex: 1;
    padding: 1rem;
    background-color: var(--secondary);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
    text-transform: uppercase;
}

.help-button:hover:not(:disabled) {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
}

.help-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.prize-info {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.prize-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.prize-info p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 90%;
}

.modal-header {
    margin-bottom: var(--spacing-lg);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.modal-body {
    margin-bottom: var(--spacing-lg);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-md);
}

.table-container {
    overflow-x: auto;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(180deg, #1a2228 0%, #111a22 100%);
    border-radius: 12px;
    border: 1px solid rgba(107, 143, 255, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid rgba(107, 143, 255, 0.1);
}

th {
    background-color: rgba(32, 52, 127, 0.2);
    font-weight: bold;
}

tr:hover {
    background-color: rgba(32, 52, 127, 0.1);
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

@media (max-width: 768px) {
    .container {
        padding: var(--spacing-sm);
    }
    
    header .container {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    header {
        padding: 1rem;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
    }
    
    .auth-buttons .button {
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
    
    nav {
        flex-direction: column;
        align-items: center;
    }
    
    .help-container {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        padding: var(--spacing-lg);
    }
    
    /* Home specific improvements */
    .home-container {
        padding: 1rem;
    }
    
    .hero {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: center;
        width: 100%;
    }
    
    .hero-actions .button,
    .button-large {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        min-width: auto;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .prizes-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .ranking-table-container {
        margin: 0 -1rem;
        padding: 0 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .ranking-table {
        min-width: 600px;
        font-size: 0.85rem;
        width: 100%;
    }
    
    .ranking-table th,
    .ranking-table td {
        padding: 0.6rem 0.4rem;
        white-space: nowrap;
    }
}

.spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 3px solid var(--bg-secondary);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    background: linear-gradient(180deg, #466dff 0%, #3058ed 100%);
    color: var(--text-white);
    border: 1px solid rgba(168, 188, 255, 0.3);
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(48, 88, 237, 0.3);
}

.button:hover {
    background: linear-gradient(180deg, #6b8fff 0%, #4267f5 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(48, 88, 237, 0.5);
    border-color: rgba(168, 188, 255, 0.5);
}

.button-secondary {
    background: linear-gradient(180deg, #2a3441 0%, #1a2228 100%);
    color: #cad5e7;
    border: 1px solid rgba(107, 143, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.button-secondary:hover {
    background: linear-gradient(180deg, #354252 0%, #212c33 100%);
    color: #f8fbff;
    border-color: rgba(107, 143, 255, 0.4);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.button-danger {
    background: linear-gradient(180deg, #e53935 0%, #c62828 100%);
    border-color: #ff8a80;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

.button-danger:hover {
    background: linear-gradient(180deg, #ef5350 0%, #d32f2f 100%);
    border-color: #ffcdd2;
    box-shadow: 0 6px 15px rgba(229, 57, 53, 0.5);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.action-buttons .button {
    min-width: 150px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--game-blue), var(--game-green));
    color: var(--text-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-xl);
}

.hero-actions .button {
    padding: 1rem 2rem;
    font-size: 1.25rem;
    min-width: 200px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Auth Forms */
.auth-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.auth-container h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--primary);
    font-size: 1.75rem;
}

.auth-form .form-group {
    margin-bottom: var(--spacing-lg);
}

.auth-form label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
    font-weight: 500;
}

.auth-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--text-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.2s;
}

.auth-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    outline: none;
}

.auth-form .form-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.auth-form .form-actions .button {
    width: 100%;
}

/* Logo */
.game-logo {
    display: block;
    margin: 0 auto var(--spacing-xl);
    max-width: 400px;
    height: auto;
}

/* Ranking */
.ranking-preview {
    margin-bottom: 4rem;
}

.ranking-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #f8fbff;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.ranking-table-container {
    background: linear-gradient(180deg, #1a2228 0%, #111a22 100%);
    border-radius: 12px;
    border: 1px solid rgba(107, 143, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
}

.ranking-table th {
    background-color: rgba(32, 52, 127, 0.2);
    color: #6b8fff;
    padding: 1.5rem;
    text-align: left;
    font-weight: bold;
    border-bottom: 1px solid rgba(107, 143, 255, 0.2);
}

.ranking-table td {
    padding: 1.5rem;
    color: #cad5e7;
    border-bottom: 1px solid rgba(107, 143, 255, 0.05);
}

.ranking-table tr:last-child td {
    border-bottom: none;
}

.ranking-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ranking-table {
    min-width: 600px;
}

.ranking-table tr:hover td {
    background-color: rgba(107, 143, 255, 0.05);
}

.ranking-table .position {
    font-weight: 900;
    color: #f8fbff;
}

.ranking-table .prize {
    color: #4ade80;
    font-weight: bold;
}

.table-container th {
    background-color: rgba(32, 52, 127, 0.2);
    color: #6b8fff;
    padding: 1.5rem;
    text-align: left;
    font-weight: bold;
    border-bottom: 1px solid rgba(107, 143, 255, 0.2);
}

.table-container td {
    padding: 1.5rem;
    color: #cad5e7;
    border-bottom: 1px solid rgba(107, 143, 255, 0.05);
}

.table-container tr:last-child td {
    border-bottom: none;
}

.table-container td:first-child {
    font-weight: bold;
    color: #f8fbff;
}

.table-container tr:hover td {
    background-color: rgba(107, 143, 255, 0.05);
}

.prize-values {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.prize-value {
    text-align: center;
    position: relative;
}

.prize-value-amount {
    background: #000;
    color: white;
    padding: 0.5rem 2rem;
    font-size: 1.5rem;
    font-weight: bold;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
    border: 2px solid var(--game-green);
    margin-bottom: 0.5rem;
}

.prize-value-label {
    color: white;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: bold;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.answer.correct {
    background-color: var(--game-green);
    animation: blink 1s infinite;
}

.answer.wrong {
    background-color: var(--danger);
    animation: blink 1s infinite;
}

/* Modal de Ajudas */
.help-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.help-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-game);
    padding: 2rem;
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--game-green);
}

.help-modal-title {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
}

.help-modal-body {
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.audience-votes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vote-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vote-label {
    min-width: 150px;
    font-weight: bold;
}

.vote-progress {
    flex: 1;
    height: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.vote-progress-bar {
    height: 100%;
    background: var(--game-blue);
    transition: width 1s ease-out;
}

.vote-percentage {
    min-width: 60px;
    text-align: right;
    font-weight: bold;
}

.university-opinions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.university-opinion {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--game-blue);
}

.help-modal-footer {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.help-modal-close {
    background: var(--game-green);
    color: var(--text-white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

.help-modal-close:hover {
    background: var(--success);
    transform: translateY(-2px);
}

/* How to Play */
.how-to-play {
    background: linear-gradient(135deg, var(--game-blue), var(--game-green));
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    color: var(--text-white);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
}

.how-to-play h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.how-to-play h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--secondary);
}

.how-to-play-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    padding: 0 var(--spacing-xl);
}

.how-to-play-step {
    background: rgba(0, 0, 0, 0.3);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 2px solid var(--secondary);
    transition: transform 0.2s;
    text-align: center;
    position: relative;
}

.how-to-play-step h3 {
    color: var(--secondary);
    margin-bottom: var(--spacing-lg);
    font-size: 1.75rem;
    text-transform: uppercase;
}

.how-to-play-step p {
    color: var(--text-white);
    line-height: 1.6;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .how-to-play-steps {
        grid-template-columns: repeat(1, 1fr);
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Footer ajustes */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
}

.footer-content p.copyright {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

/* Steps Grid na Home */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin: var(--spacing-xl) auto;
    max-width: 1200px;
    justify-content: center;
    align-items: start;
    text-align: center;
}

.step-card {
    background: rgba(0, 0, 0, 0.3);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 2px solid var(--secondary);
    transition: transform 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Prizes Grid */
.prizes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin: var(--spacing-xl) auto;
    max-width: 1200px;
    justify-content: center;
    align-items: start;
    text-align: center;
}

.prize-card {
    background: rgba(0, 0, 0, 0.3);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 2px solid var(--secondary);
    height: 100%;
}

/* Footer Ajustes */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

/* Ajuste responsivo */
@media (max-width: 992px) {
    .steps-grid,
    .prizes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .steps-grid,
    .prizes-grid {
        grid-template-columns: 1fr;
    }
    
    /* Home improvements for smaller screens */
    .hero {
        padding: 1.5rem 0.8rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .hero .lead {
        font-size: 0.95rem;
    }
    
    .hero-actions .button,
    .button-large {
        max-width: 250px;
        padding: 0.9rem 1.2rem;
        font-size: 1rem;
    }
    
    .ranking-table {
        min-width: 450px;
        font-size: 0.85rem;
    }
    
    .ranking-table th,
    .ranking-table td {
        padding: 0.6rem 0.4rem;
    }
    
    header h1 {
        font-size: 1.6rem;
    }
}

body.game-page {
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.16), transparent 28%),
        radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.12), transparent 32%),
        linear-gradient(180deg, #081014 0%, #05090d 100%);
    color: var(--text-white);
}

body.game-page main {
    min-height: calc(100vh - 120px);
    padding: 1.25rem 0 2.5rem;
}

body.game-page header {
    background: rgba(4, 12, 18, 0.92);
    border-bottom: 1px solid rgba(44, 255, 143, 0.12);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

body.game-page header .container {
    max-width: 1240px;
}

body.game-page .game-container {
    position: relative;
    overflow: visible;
    min-height: 900px;
    padding: 2.25rem 2.75rem 2.5rem;
    background: linear-gradient(180deg, rgba(7, 26, 24, 0.97) 0%, rgba(4, 13, 17, 0.99) 100%);
    border: 2px solid rgba(44, 255, 143, 0.18);
    border-radius: 10px;
    box-shadow:
        0 0 0 2px rgba(0, 0, 0, 0.55),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03),
        0 24px 60px rgba(0, 0, 0, 0.55);
}

body.game-page .game-container::before {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(44, 255, 143, 0.08);
    border-radius: 8px;
    pointer-events: none;
}

body.game-page .game-logo {
    position: absolute;
    top: 16px;
    left: 18px;
    z-index: 2;
    width: 300px;
    max-width: 38%;
    margin: 0;
    transform: none;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.55));
}

body.game-page .prize-info {
    display: none;
}

body.game-page .question-container {
    max-width: 1000px;
    margin: 7.5rem auto 2.25rem;
    padding: 1.45rem 2rem 1.35rem;
    background: linear-gradient(180deg, #31d27f 0%, #18b96a 100%);
    border: 3px solid rgba(77, 255, 168, 0.8);
    clip-path: polygon(0 0, 96.5% 0, 100% 100%, 0 100%);
    box-shadow:
        0 0 0 3px rgba(0, 0, 0, 0.34),
        0 10px 24px rgba(0, 0, 0, 0.42);
}

body.game-page .question-container::before {
    display: none;
}

body.game-page .question-text {
    padding: 0.75rem 1rem;
    font-size: 2rem;
    line-height: 1.22;
    letter-spacing: 0.5px;
}

body.game-page .answers-container {
    max-width: 1040px;
    gap: 1rem;
    padding: 0 2rem 0 0;
    overflow: visible;
}

body.game-page .answer {
    min-height: 68px;
    margin-left: 90px;
    padding: 0;
    font-size: 1.42rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    border: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

body.game-page .answer-label {
    padding: 0.85rem 2.8rem 0.85rem 4rem;
    min-height: 68px;
    background: linear-gradient(180deg, #6b8fff 0%, #6288ff 8%, #4f74ff 45%, #4267f5 100%);
    border: 1px solid rgba(168, 188, 255, 0.22);
    border-bottom: 1px solid rgba(32, 52, 127, 0.26);
    box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.06);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
    width: 100%;
}

body.game-page .answer-number {
    left: -39px;
    width: auto;
    height: auto;
    font-size: 2.2rem;
    z-index: 999;
    color: #3d68ff;
    -webkit-text-fill-color: #3d68ff;
    -webkit-text-stroke: 0;
    text-shadow: 0 1px 2px rgba(16, 23, 37, 0.78);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
    text-align: center;
}

body.game-page .answer::before {
    left: -75px;
    width: 25px;
    height: 68px;
    background: linear-gradient(180deg, #466dff 0%, #3058ed 100%);
    clip-path: polygon(45% 100%, 45% 0, 100% 100%);
    border: none;
    box-shadow: none;
}

body.game-page .answer::after {
    display: none;
}

body.game-page .answer:nth-child(1)::before,
body.game-page .answer:nth-child(4)::before,
body.game-page .answer:nth-child(2)::before,
body.game-page .answer:nth-child(3)::before {
    background: linear-gradient(180deg, #466dff 0%, #3058ed 100%);
    border: none;
}

body.game-page .answer:nth-child(1) .answer-number,
body.game-page .answer:nth-child(2) .answer-number,
body.game-page .answer:nth-child(3) .answer-number,
body.game-page .answer:nth-child(4) .answer-number {
    color: #3d68ff;
    -webkit-text-fill-color: #3d68ff;
    -webkit-text-stroke: 0;
}

body.game-page .answer:hover:not(:disabled) .answer-label {
    background: linear-gradient(90deg, #35a9ff 0%, #4f74ff 100%);
}

body.game-page .answer.selected .answer-label {
    background: linear-gradient(90deg, #c88e16, #a87210);
    border-color: #ffd700;
}

body.game-page .answer:hover:not(:disabled),
body.game-page .answer.selected {
    transform: translateX(8px);
}

body.game-page .answer.correct .answer-label {
    background: linear-gradient(90deg, #11b864 0%, #0d9d56 100%);
    border-color: #27c36f;
}

body.game-page .answer.correct::before {
    background: linear-gradient(135deg, #0f7f42 0%, #11c862 100%);
    border-color: #76ffb0;
}

body.game-page .answer.correct::after {
    background: linear-gradient(90deg, #0f7f42, #11c862);
}

body.game-page .answer.correct .answer-number {
    color: #eafff4;
    -webkit-text-fill-color: #eafff4;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

body.game-page .answer.reveal-correct .answer-label {
    background: linear-gradient(90deg, #f7c53a 0%, #d79014 100%);
    border-color: #ffdf7a;
}

body.game-page .answer.reveal-correct::before {
    background: linear-gradient(135deg, #b66a08 0%, #f7c53a 100%);
    border-color: #ffe58a;
}

body.game-page .answer.reveal-correct::after {
    background: linear-gradient(90deg, #b66a08, #f7c53a);
}

body.game-page .answer.reveal-correct .answer-number {
    color: #fff8de;
    -webkit-text-fill-color: #fff8de;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

body.game-page .answer.wrong .answer-label {
    background: linear-gradient(90deg, #bd1717 0%, #980d0d 100%);
    border-color: #f87171;
}

body.game-page .answer.wrong::before {
    background: linear-gradient(135deg, #7f0000 0%, #cc0000 100%);
    border-color: #ff9e9e;
}

body.game-page .answer.wrong::after {
    background: linear-gradient(90deg, #7f0000, #cc0000);
}

body.game-page .answer.wrong .answer-number {
    color: #ffeaea;
    -webkit-text-fill-color: #ffeaea;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

body.game-page .prize-values {
    max-width: 780px;
    margin: 2rem auto 0;
    gap: 1.5rem;
    justify-content: center;
    align-items: flex-start;
}

body.game-page .prize-value {
    min-width: 150px;
}

body.game-page .prize-value-amount {
    display: flex;
    min-width: 150px;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.25rem;
    background: #050505;
    border: 2px solid #2cff8f;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%);
    box-shadow:
        inset 0 0 12px rgba(0, 0, 0, 0.85),
        0 0 12px rgba(44, 255, 143, 0.28);
    color: #ffffff;
    text-shadow: none;
}

body.game-page .prize-value-label {
    margin-top: 0.55rem;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

body.game-page .help-container {
    max-width: 860px;
    margin: 3rem auto 2rem;
    padding: 1.1rem 1.25rem;
    background: rgba(0, 0, 0, 0.28);
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

body.game-page .action-buttons {
    margin-top: 1.5rem;
}

body.game-page .help-button,
body.game-page .button {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 992px) {
    body.game-page .game-logo {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        display: block;
        max-width: 280px;
        width: 55%;
        margin: 0 auto 2.5rem auto;
    }

    body.game-page .question-container {
        max-width: 90%;
        padding: 1.5rem 1.2rem;
        margin-top: 0;
    }

    body.game-page .prize-values {
        gap: 1rem;
    }

    body.game-page .action-buttons {
        gap: 0.8rem;
    }

    body.game-page .question-text {
        font-size: 1.4rem;
    }

    body.game-page .answers-container {
        max-width: 90%;
    }

    body.game-page .answer {
        margin-left: 74px;
        font-size: 1.1rem;
    }

    body.game-page .answer::before {
        left: -74px;
        width: 60px;
        height: 60px;
        font-size: 2.45rem;
    }

    body.game-page .answer::after {
        width: 26px;
    }
}

@media (max-width: 768px) {
    body.game-page .game-container {
        min-height: auto;
        padding: 1.5rem 1rem 2rem;
        display: flex;
        flex-direction: column;
    }

    body.game-page .game-logo       { order: 1; }
    body.game-page .prize-info      { order: 2; }
    body.game-page .question-container { order: 3; }
    body.game-page .answers-container  { order: 4; }
    body.game-page .action-buttons     { order: 5; }
    body.game-page .help-container     { order: 6; }
    body.game-page .prize-values       { order: 7; }

    body.game-page .game-logo {
        max-width: 260px;
        width: 60%;
        margin-bottom: 2rem;
    }

    body.game-page .question-container {
        max-width: 95%;
        padding: 1.2rem 1rem;
        margin-top: 0;
    }

    body.game-page .prize-values {
        flex-wrap: wrap;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    body.game-page .prize-value {
        min-width: 120px;
    }

    body.game-page .prize-value-amount {
        padding: 0.5rem 1rem;
        font-size: 1.2rem;
    }

    body.game-page .action-buttons {
        flex-wrap: wrap;
        gap: 0.8rem;
        margin-top: 1.2rem;
        margin-bottom: 0;
        justify-content: center;
    }

    body.game-page .action-buttons .button {
        min-width: 140px;
        flex: 1;
        padding: 0.9rem 1rem;
        font-size: 1rem;
    }

    body.game-page .question-text {
        font-size: 1.3rem;
    }

    body.game-page .answers-container {
        max-width: 95%;
        padding: 0;
    }

    body.game-page .answer {
        margin-left: 74px;
        font-size: 1.1rem;
        padding: 1rem 1rem 1rem 3rem;
    }

    body.game-page .answer::before {
        left: -74px;
        width: 60px;
        height: 60px;
        font-size: 2.45rem;
    }

    body.game-page .answer::after {
        width: 26px;
    }

    body.game-page .answer-number {
        left: -39px;
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    body.game-page .game-container {
        padding: 1.2rem 0.5rem 1.5rem;
    }

    body.game-page .game-logo {
        max-width: 220px;
        width: 65%;
        margin-bottom: 1.5rem;
    }

    body.game-page .question-container {
        max-width: 98%;
        padding: 1rem 0.8rem;
    }

    body.game-page .prize-values {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1.5rem;
        align-items: center;
    }

    body.game-page .prize-value {
        width: 100%;
        max-width: 280px;
    }

    body.game-page .prize-value-amount {
        width: 100%;
        padding: 0.6rem 1.2rem;
        font-size: 1.3rem;
    }

    body.game-page .prize-value-label {
        font-size: 0.9rem;
    }

    body.game-page .action-buttons {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    body.game-page .action-buttons .button {
        width: 100%;
        min-width: auto;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    body.game-page .question-text {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    body.game-page .answers-container {
        max-width: 98%;
        padding: 0;
    }

    body.game-page .answer {
        margin-left: 60px;
        padding: 0.8rem 0.8rem 0.8rem 2.5rem;
        font-size: 1rem;
    }

    body.game-page .answer::before {
        left: -60px;
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    body.game-page .answer::after {
        width: 22px;
    }

    body.game-page .answer-number {
        left: -32px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    body.game-page .game-logo {
        max-width: 200px;
        width: 70%;
        margin-bottom: 1.2rem;
    }

    body.game-page .question-container {
        padding: 0.8rem 0.6rem;
    }

    body.game-page .prize-values {
        margin-top: 1.2rem;
    }

    body.game-page .prize-value-amount {
        font-size: 1.2rem;
    }

    body.game-page .action-buttons .button {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }

    body.game-page .question-text {
        font-size: 1.1rem;
    }

    body.game-page .answer {
        margin-left: 50px;
        padding: 0.7rem 0.7rem 0.7rem 2rem;
        font-size: 0.95rem;
    }

    body.game-page .answer::before {
        left: -50px;
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }

    body.game-page .answer::after {
        width: 20px;
    }

    body.game-page .answer-number {
        left: -28px;
        font-size: 1.6rem;
    }
}

@media (max-width: 360px) {
    body.game-page .game-container {
        padding: 1rem 0.3rem 1rem;
    }

    body.game-page .game-logo {
        max-width: 180px;
        width: 75%;
        margin-bottom: 1rem;
    }

    body.game-page .question-text {
        font-size: 1rem;
    }

    body.game-page .prize-values {
        margin-top: 1rem;
    }

    body.game-page .prize-value {
        max-width: 240px;
    }

    body.game-page .prize-value-amount {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }

    body.game-page .prize-value-label {
        font-size: 0.85rem;
    }

    body.game-page .action-buttons .button {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }

    body.game-page .answer {
        margin-left: 45px;
        padding: 0.6rem 0.6rem 0.6rem 1.8rem;
        font-size: 0.9rem;
    }

    body.game-page .answer::before {
        left: -45px;
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }

    body.game-page .answer::after {
        width: 18px;
    }

    body.game-page .answer-number {
        left: -25px;
        font-size: 1.4rem;
    }
}

/* ===================================
   ESTILOS DO PAINEL ADMINISTRATIVO
   =================================== */

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.admin-container h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.admin-container h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Cards de Estatísticas */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(79, 116, 255, 0.2) 0%, rgba(61, 104, 255, 0.15) 100%);
    border: 2px solid rgba(79, 116, 255, 0.4);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(79, 116, 255, 0.4);
}

.stat-card h3 {
    color: #a8bcff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-number {
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    margin: 0;
}

/* Container de Gráficos */
.chart-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.chart-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    border: 2px solid rgba(79, 116, 255, 0.3);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.chart-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.chart-card canvas {
    max-height: 300px;
}

/* Tabela de Jogos Recentes */
.recent-games {
    margin-bottom: 3rem;
}

.recent-games h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.admin-table {
    width: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    border: 2px solid rgba(79, 116, 255, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.admin-table thead {
    background: linear-gradient(135deg, rgba(79, 116, 255, 0.3) 0%, rgba(61, 104, 255, 0.2) 100%);
}

.admin-table th {
    padding: 1.2rem 1rem;
    text-align: left;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(79, 116, 255, 0.4);
}

.admin-table td {
    padding: 1rem;
    color: #e0e0e0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(79, 116, 255, 0.15);
}

.admin-table tbody tr {
    transition: background-color 0.2s ease;
}

.admin-table tbody tr:hover {
    background: rgba(79, 116, 255, 0.1);
}

/* Badges de Status */
.status-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.finished {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #fff;
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

.status-badge.in-progress {
    background: linear-gradient(135deg, #FFC107 0%, #ffb300 100%);
    color: #000;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

/* Badges de Role (Tipo de Usuário) */
.role-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-badge.admin {
    background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
    color: #fff;
    box-shadow: 0 2px 4px rgba(156, 39, 176, 0.3);
}

.role-badge.user {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: #fff;
    box-shadow: 0 2px 4px rgba(33, 150, 243, 0.3);
}

/* Ações Administrativas */
.admin-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.admin-actions .button {
    min-width: 200px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Header do Admin */
header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    padding: 1.5rem 2rem;
    border-bottom: 2px solid rgba(79, 116, 255, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: #fff;
    font-size: 2rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-info span {
    color: #a8bcff;
    font-size: 1rem;
    font-weight: 500;
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    padding: 1.5rem 2rem;
    border-top: 2px solid rgba(79, 116, 255, 0.4);
    text-align: center;
    margin-top: 3rem;
}

footer p {
    color: #a8bcff;
    margin: 0;
    font-size: 0.95rem;
}

/* Botões Pequenos e Variantes */
.button-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    min-width: auto;
}

.button-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-color: #dc3545;
}

.button-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

/* Filtros e Ações de Perguntas/Usuários */
.questions-actions,
.users-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.filters {
    display: flex;
    gap: 1rem;
    flex: 1;
    max-width: 600px;
}

.select,
.input {
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(79, 116, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.select {
    min-width: 150px;
}

.input {
    flex: 1;
}

.select:focus,
.input:focus {
    border-color: rgba(79, 116, 255, 0.6);
    background: rgba(0, 0, 0, 0.4);
}

.select option {
    background: #1a1f2e;
    color: #fff;
}

/* Modais */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, rgba(30, 35, 50, 0.95) 0%, rgba(20, 25, 40, 0.95) 100%);
    border: 2px solid rgba(79, 116, 255, 0.4);
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-content h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-content p {
    color: #e0e0e0;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Formulários Admin */
.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #a8bcff;
    font-weight: 600;
    font-size: 1rem;
}

.form-group input[type="text"],
.form-group textarea,
.form-group select {
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(79, 116, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: Arial, Helvetica, sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(79, 116, 255, 0.6);
    background: rgba(0, 0, 0, 0.4);
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #e0e0e0;
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-label input[type="radio"] {
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.answers-container h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

/* Lista de Respostas no Modal */
.answers-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.answers-list li {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(79, 116, 255, 0.3);
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 1rem;
}

.answers-list li.correct {
    border-color: rgba(76, 175, 80, 0.6);
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    font-weight: 600;
}

/* Mensagens de Sucesso e Erro */
.success-message,
.error-message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.success-message {
    background: rgba(76, 175, 80, 0.2);
    border: 2px solid rgba(76, 175, 80, 0.5);
    color: #4CAF50;
}

.error-message {
    background: rgba(220, 53, 69, 0.2);
    border: 2px solid rgba(220, 53, 69, 0.5);
    color: #dc3545;
}

/* Responsividade do Admin */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .chart-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .admin-container {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .chart-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .chart-card {
        padding: 1.5rem;
    }
    
    .admin-table {
        font-size: 0.95rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 1rem 0.8rem;
    }
    
    .questions-actions,
    .users-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .filters {
        max-width: 100%;
        flex-direction: column;
    }
    
    .filters .select,
    .filters .input {
        width: 100%;
    }
    
    header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }
    
    .user-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .admin-container {
        padding: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .chart-card {
        padding: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .admin-table {
        font-size: 0.9rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.8rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .admin-table th:nth-child(5),
    .admin-table td:nth-child(5),
    .admin-table th:nth-child(6),
    .admin-table td:nth-child(6) {
        display: none;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .form-actions,
    .modal-actions {
        flex-direction: column;
    }
    
    .button {
        width: 100%;
        justify-content: center;
    }
    
    .button-small {
        width: auto;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .admin-container {
        padding: 0.5rem;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    .admin-container h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .stat-card h3 {
        font-size: 1.5rem;
    }
    
    .chart-card h3 {
        font-size: 1.1rem;
    }
    
    .admin-table {
        font-size: 0.8rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.6rem 0.3rem;
        font-size: 0.75rem;
    }
    
    .admin-table th:nth-child(4),
    .admin-table td:nth-child(4),
    .admin-table th:nth-child(5),
    .admin-table td:nth-child(5),
    .admin-table th:nth-child(6),
    .admin-table td:nth-child(6) {
        display: none;
    }
    
    .role-badge,
    .status-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .button {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .modal-content {
        padding: 1rem;
        margin: 0.5rem;
    }
    
    .modal-content h3 {
        font-size: 1.3rem;
    }
}
 