/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --secondary-color: #10b981;
    --background-color: rgba(15, 23, 42, 0.9);
    --surface-color: rgba(255, 255, 255, 0.8);
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: rgba(255, 255, 255, 0.95);
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --success-color: #10b981;
    --backdrop-overlay: rgba(15, 23, 42, 0.7);

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 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);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-color);
    min-height: 100vh;
    position: relative;
}

/* Background Styles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../image_assets/beat_the_bot_backdrop.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    animation: 
        subtle-pulse 20s ease-in-out infinite,
        backgroundEnhance 2.5s ease-out;
    opacity: 0.9;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--backdrop-overlay);
    z-index: -1;
}

@keyframes subtle-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes backgroundEnhance {
    0% {
        filter: brightness(0.5) saturate(0.8);
        transform: scale(1.1);
    }
    100% {
        filter: brightness(1) saturate(1);
        transform: scale(1);
    }
}

/* Navigation */
.main-nav {
    background-color: rgb(232, 238, 255);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-md);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 4px); /* Default for mobile: 2px buffer on each side */
    max-width: none; /* Default: full width */
    opacity: 0;
    animation: fadeIn 0.5s ease 2.3s forwards;
    box-sizing: border-box;
}

/* Desktop specific navbar width */
@media (min-width: 992px) {
    .main-nav {
        width: calc(100% - 4px) !important; /* Full width with 2px margin on each side */
        max-width: calc(100% - 4px) !important; /* Don't exceed viewport */
    }
    
    /* When container is visible (not full width) */
    @media (min-width: 1200px) {
        .main-nav {
            width: calc(100% - var(--spacing-lg) * 2 + 40px) !important; /* Container width + 40px (20px each side) */
            max-width: 1640px !important; /* 1600px + 40px (20px each side) */
        }
    }
}

.nav-left {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: calc((200px / 10) + var(--spacing-lg)); /* Align with 1/10 of left ad space */
}

.nav-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px var(--spacing-lg) 0 0;
    gap: var(--spacing-md);
}

.nav-center {
    flex: 2;
    text-align: center;
}

.nav-center h1 {
    color: var(--primary-color);
    font-size: 2.65rem;
    font-weight: 700;
    margin: 0;
}

.menu-btn, .user-btn {
    background: none;
    border: none;
    font-size: 2.5rem; /* Doubled from 1.25rem */
    color: var(--text-primary);
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; /* Added fixed width */
    height: 60px; /* Added fixed height */
}

.menu-btn:hover, .user-btn:hover {
    background-color: var(--background-color);
    transform: scale(1.1);
}

/* Sidebar Menu */
.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--surface-color);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    transition: left 0.3s ease;
    padding: var(--spacing-lg);
}

.side-menu.active {
    left: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.menu-header h3 {
    color: var(--text-primary);
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.side-menu ul {
    list-style: none;
}

.side-menu ul li {
    margin-bottom: var(--spacing-md);
}

.side-menu ul li a {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: var(--text-primary);
    text-decoration: none;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    transition: background-color 0.3s ease;
}

.side-menu ul li a:hover {
    background-color: var(--background-color);
}

/* Main Container */
.container {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: var(--spacing-lg);
    max-width: 1400px;
    margin: 100px auto 0;
    padding: var(--spacing-lg);
    opacity: 0;
    animation: fadeIn 1s ease 2.5s forwards;
}

/* Ad Spaces */
.ad-space {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    height: calc(100vh - 100px);
    position: sticky;
    top: 80px;
}

.ad-placeholder {
    height: 100%;
    border: 2px dashed var(--text-secondary);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    color: var(--text-secondary);
    background-color: rgba(248, 250, 255, 0.7);
    padding: var(--spacing-md);
}

.ad-placeholder img {
    max-width: 80%;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.ad-placeholder:hover img {
    opacity: 1;
}

.ad-placeholder p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: var(--spacing-sm);
}

/* Game Content */
.game-content {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.game-header {
    display: flex;
    justify-content: space-around;
    margin-bottom: var(--spacing-lg);
}

.stats-card {
    background-color: rgba(15, 23, 42, 0.8);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: var(--text-light);
}

.stats-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.stats-card p {
    color: var(--text-light);
}

/* Image Container */
.image-container {
    margin-bottom: var(--spacing-lg);
}

.image-wrapper {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-wrapper:hover img {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Word Pool */
.word-pool {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    justify-content: center;
    animation: fadeInUp 0.5s ease forwards;
}

.word {
    background-color: var(--surface-color);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.word:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background-color: var(--primary-color);
    color: white;
}

.word.guessed {
    cursor: not-allowed;
    opacity: 0.7;
}

.word.correct {
    background-color: var(--success-color);
    color: white;
}

.word.incorrect {
    background-color: #ff6b6b;
    color: white;
}

/* Guessed Words */
.guessed-words {
    background-color: rgba(15, 23, 42, 0.8);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
}

.guessed-words h3 {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.guessed-words h3 i {
    color: var(--primary-color);
}

.guessed-words ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.guessed-words li {
    background-color: rgba(16, 185, 129, 0.8);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
}

/* Daily Progress */
.daily-progress {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background-color: rgba(15, 23, 42, 0.8);
    border-radius: var(--radius-md);
    color: var(--text-light);
}

.daily-progress i {
    color: var(--warning-color);
}

/* Auth Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    max-width: 400px;
    width: 90%;
    animation: slideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.auth-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* Auth Buttons */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-social {
    width: 100%;
    background-color: var(--surface-color);
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
}

.btn-google:hover { background-color: #ea4335; color: white; }
.btn-apple:hover { background-color: #000000; color: white; }
.btn-facebook:hover { background-color: #1877f2; color: white; }

.btn-primary {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Form Styles */
.form-group {
    margin-bottom: var(--spacing-md);
}

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

.form-group input {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--text-secondary);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-secondary);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--text-secondary);
}

.divider span {
    padding: 0 var(--spacing-md);
}

/* User Dropdown */
.user-dropdown {
    position: fixed;
    top: 70px;
    right: var(--spacing-lg);
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    min-width: 300px;
    z-index: 999;
}

.user-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--background-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    text-align: center;
}

.stat-item {
    padding: var(--spacing-md);
    background-color: rgba(15, 23, 42, 0.8);
    border-radius: var(--radius-md);
    color: var(--text-light);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

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

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

/* Scroll-based animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-container {
    animation: fadeInUp 0.6s ease-out;
}

.stats-card, .image-wrapper, .word-pool, .guessed-words {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.stats-card { animation-delay: 0.2s; }
.image-wrapper { animation-delay: 0.4s; }
.word-pool { animation-delay: 0.6s; }
.guessed-words { animation-delay: 0.8s; }

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        grid-template-columns: 150px 1fr 150px;
    }
}

@media (max-width: 992px) {
    .container {
        grid-template-columns: 1fr;
    }

    .ad-space {
        display: none;
    }

    .nav-left {
        padding-left: var(--spacing-lg);
    }
    
    .nav-right {
        padding-right: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .nav-center h1 {
        font-size: 1.2rem;
    }

    .stats-card {
        flex-direction: column;
        text-align: center;
    }

    .word-pool {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .user-dropdown {
        right: var(--spacing-md);
        left: var(--spacing-md);
        width: auto;
    }

    .menu-btn, .user-btn {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }

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

    .auth-attention {
        display: none;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Footer */
.footer {
    width: 100%;
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xl);
    opacity: 0;
    animation: fadeIn 0.5s ease 2.5s forwards;
}

.footer-content {
    max-width: 1400px;
    width: calc(100% - var(--spacing-lg) * 2);
    margin: 0 auto;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
}

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

.social-links h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
}

.social-icon {
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon i {
    color: var(--text-primary);
}

.social-icon:hover {
    transform: translateY(-3px);
}

.social-icon:hover i {
    color: white;
}

.social-icon:nth-child(1):hover {
    background-color: #E4405F; /* Instagram */
}

.social-icon:nth-child(2):hover {
    background-color: #1877F2; /* Facebook */
}

.social-icon:nth-child(3) i {
    color: var(--text-primary);
}

.social-icon:nth-child(3):hover {
    background-color: #000000; /* X (Twitter) black */
}

.social-icon:nth-child(3):hover i {
    color: white;
}

.social-icon:nth-child(4):hover {
    background-color: #0A66C2; /* LinkedIn */
}

.copyright {
    color: var(--text-primary);
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
}

/* Update responsive design for footer */
@media (max-width: 768px) {
    .footer {
        padding: var(--spacing-lg) 0;
    }

    .social-icons {
        gap: var(--spacing-md);
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 0.5s ease 2s forwards;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    opacity: 0;
    animation: slideUpFade 0.5s ease forwards;
    width: min(90vw, 600px);
}

.loading-text {
    color: var(--text-light);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.loading-bar-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.loading-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    animation: loadingProgress 2s ease-in-out forwards;
}

/* Main content animations */
.main-content-wrapper {
    opacity: 0;
    animation: fadeIn 0.5s ease 2s forwards;
}

.container {
    opacity: 0;
    animation: fadeIn 0.5s ease 2s forwards;
}

.main-nav {
    opacity: 0;
    animation: fadeIn 0.5s ease 2.3s forwards;
}

.footer {
    opacity: 0;
    animation: fadeIn 0.5s ease 2.5s forwards;
}

/* Loading Animations */
@keyframes fadeOut {
    from { opacity: 1; visibility: visible; }
    to { opacity: 0; visibility: hidden; }
}

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

@keyframes loadingProgress {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes pulse {
    0% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.8; transform: scale(1); }
}

/* Wrap main content */
.container {
    opacity: 0;
    animation: fadeIn 1s ease 2.5s forwards;
}

.main-nav {
    opacity: 0;
    animation: fadeIn 1s ease 2.8s forwards;
}

.footer {
    opacity: 0;
    animation: fadeIn 1s ease 3s forwards;
}

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

.auth-attention {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    animation: bounceIn 0.5s ease 3s forwards;
}

.auth-attention::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--primary-color);
}

.nav-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    border: none;
}

.login-btn {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-weight: 500;
}

.login-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

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

.signup-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translate(-50%, 10px);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -5px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.auth-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.5;
}

.email-login {
    background-color: rgba(255, 255, 255, 0.7);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.user-nav-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
}

.user-email {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.logout-btn {
    background: none;
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.85rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background-color: var(--danger-color);
    color: white;
    transform: translateY(-1px);
}

.logout-btn:active {
    transform: translateY(0);
}

/* Hide elements */
.hidden {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-right {
        padding-right: var(--spacing-sm);
    }

    .user-nav-info {
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .user-email {
        display: none; /* Hide user email on mobile devices */
    }

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

    .auth-attention {
        display: none;
    }
}

.auth-note {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
    font-style: italic;
}

/* Game Messages */
.game-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 300px;
}

.message {
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease-out;
    transition: opacity 0.5s ease-out;
}

.message.success {
    background-color: #4CAF50;
    color: white;
}

.message.error {
    background-color: #F44336;
    color: white;
}

.message.info {
    background-color: #2196F3;
    color: white;
}

.message.fade-out {
    opacity: 0;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Support/Donation Card Styles */
.support-card {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    border: 2px solid #ff4757;
    animation: glow 2s ease-in-out infinite alternate;
}

.support-card i {
    color: #fff;
    font-size: 1.2em;
}

.support-link {
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.support-link:hover {
    color: #ffe066 !important;
    text-shadow: 0 0 5px rgba(255, 224, 102, 0.5);
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(255, 71, 87, 0.3);
    }
    to {
        box-shadow: 0 0 20px rgba(255, 71, 87, 0.6);
    }
} 