/* Movie Night Poll - Glassmorphism Design System */

/* Google Font loaded via <link> in HTML for better performance */

/* CSS Variables */
:root {
    --bg-gradient-1: #0f0c29;
    --bg-gradient-2: #302b63;
    --bg-gradient-3: #24243e;
    --accent-primary: #ff6b6b;
    --accent-secondary: #7c3aed;
    --accent-tertiary: #06b6d4;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-bg-hover: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.65);
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 50%, var(--bg-gradient-3) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-animation::before,
.bg-animation::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.bg-animation::before {
    width: 600px;
    height: 600px;
    background: var(--accent-secondary);
    top: -200px;
    left: -200px;
}

.bg-animation::after {
    width: 500px;
    height: 500px;
    background: var(--accent-primary);
    bottom: -150px;
    right: -150px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, 50px) scale(1.1); }
    50% { transform: translate(0, 100px) scale(1); }
    75% { transform: translate(-50px, 50px) scale(0.9); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.container-sm {
    max-width: 600px;
}

.container-md {
    max-width: 800px;
}

/* Glass Card */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
}

.glass-sm {
    border-radius: 16px;
}

.glass-hover {
    transition: all 0.3s ease;
}

.glass-hover:hover {
    background: var(--glass-bg-hover);
    transform: translateY(-2px);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 107, 107, 0.5);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: var(--glass-bg-hover);
}

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

.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--glass-bg);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 8px;
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

.form-input[aria-invalid="true"] {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.form-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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

/* Header */
.header {
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
}

.logo span {
    color: var(--accent-primary);
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border-radius: 50px;
    border: 1px solid var(--glass-border);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Cards */
.card {
    padding: 1.5rem;
}

.card-lg {
    padding: 2rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Movie Card */
.movie-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.movie-info {
    flex: 1;
    min-width: 0;
}

.movie-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
    word-break: break-word;
}

.movie-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.movie-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.vote-count {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    background: var(--glass-bg);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 60px;
    justify-content: center;
}

.vote-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vote-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.vote-btn.voted {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

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

.delete-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: var(--error);
}

/* Winner Card */
.movie-card.winner {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(124, 58, 237, 0.2));
    border: 2px solid var(--accent-primary);
    position: relative;
    overflow: hidden;
}

.winner-badge {
    position: absolute;
    top: -1px;
    right: 1rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    padding: 0.25rem 0.75rem;
    border-radius: 0 0 8px 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Poll Card */
.poll-card {
    cursor: pointer;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.poll-card:hover {
    transform: translateY(-4px);
}

.poll-status {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.poll-status.active {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.poll-status.ended {
    background: rgba(239, 68, 68, 0.2);
    color: var(--error);
}

.poll-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.poll-stat {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* Countdown */
.countdown {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    padding: 0.75rem 1rem;
    background: var(--glass-bg);
    border-radius: 12px;
    min-width: 70px;
}

.countdown-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.countdown-ended {
    padding: 1rem 2rem;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    text-align: center;
    color: var(--error);
    font-weight: 500;
}

/* Grid */
.grid {
    display: grid;
    gap: 1rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: linear-gradient(135deg, var(--bg-gradient-2), var(--bg-gradient-3));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    max-width: 450px;
    width: 100%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--text-secondary);
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    padding: 1rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s ease;
    min-width: 280px;
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--error); }
.toast.warning { border-left: 4px solid var(--warning); }

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

/* Loading Spinner */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--glass-border);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner-lg {
    width: 48px;
    height: 48px;
    border-width: 4px;
}

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

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 1rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Share Link */
.share-link {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.share-link input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.875rem;
}

/* Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.hero-content {
    text-align: center;
    max-width: 500px;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Landing Page */
.lp {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.lp-nav {
    margin-bottom: auto;
}

.lp-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    flex: 1;
}

.lp-pitch {
    padding: 2rem 0;
}

.lp-headline {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.lp-sub {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 380px;
    margin-bottom: 2rem;
}

.lp-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
    border-radius: 14px;
}

.lp-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Preview card */
.lp-preview {
    display: flex;
    justify-content: center;
}

.lp-card {
    padding: 1.5rem;
    width: 100%;
    max-width: 360px;
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.lp-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.lp-card-title {
    font-weight: 600;
    font-size: 1rem;
}

.lp-card-timer {
    font-size: 0.75rem;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.lp-timer-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.lp-movie {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.lp-movie:last-of-type {
    border-bottom: none;
}

.lp-movie--winner {
    background: linear-gradient(90deg, rgba(255,107,107,0.1), transparent);
    margin: 0 -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 8px;
    border-bottom: 1px solid rgba(255,107,107,0.15);
}

.lp-movie-rank {
    font-size: 0.7rem;
    color: var(--text-muted);
    min-width: 1rem;
    text-align: center;
}

.lp-movie--winner .lp-movie-rank {
    color: var(--accent-primary);
    font-weight: 700;
}

.lp-movie-info {
    flex: 1;
}

.lp-movie-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.lp-movie-by {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.lp-movie-votes {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
}

.lp-movie-votes--active {
    color: var(--accent-primary);
    background: rgba(255,107,107,0.15);
}

.lp-card-people {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.lp-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    margin-right: -4px;
}

.lp-people-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

/* Footer steps */
.lp-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 0;
    margin-top: auto;
}

.lp-footer-item {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.lp-footer-sep {
    width: 3px;
    height: 3px;
    background: var(--text-muted);
    border-radius: 50%;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .lp {
        padding: 1.25rem;
    }

    .lp-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .lp-headline {
        font-size: 2.6rem;
    }

    .lp-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .lp-actions {
        justify-content: center;
        flex-direction: column;
        gap: 0.75rem;
    }

    .lp-card {
        max-width: 340px;
        margin: 0 auto;
    }

    .lp-footer {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .lp-headline {
        font-size: 2.2rem;
    }

    .lp-footer-item {
        font-size: 0.7rem;
    }
}

/* Page Header */
.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--text-secondary);
}

/* Add Movie Form */
.add-movie-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.add-movie-form input {
    flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .page-title { font-size: 1.5rem; }
    h2 { font-size: 1.5rem; }

    .container { padding: 0.75rem; }

    .card-lg { padding: 1.5rem; }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .countdown-item {
        min-width: 60px;
        padding: 0.5rem 0.75rem;
    }

    .countdown-value {
        font-size: 1.5rem;
    }

    .movie-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .movie-actions {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
    }

    .add-movie-form {
        flex-direction: column;
    }

    .poll-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
    }

    .share-link {
        flex-direction: column;
    }
}

/* ============================================ */
/* Sections (Landing page)                      */
/* ============================================ */

.section {
    padding: 5rem 1rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
}

/* Steps (How it works) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem 1.5rem;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    color: #fff;
}

/* Features grid */
.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
    padding: 2rem 1.5rem;
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    padding: 3rem 1rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 2rem;
}

/* Share buttons */
.share-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.share-buttons .btn {
    flex: 1;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1ebe57;
    transform: translateY(-2px);
}

/* Logout button */
.btn-logout {
    background: transparent;
    color: var(--text-muted);
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    border: 1px solid var(--glass-border);
}

.btn-logout:hover {
    color: var(--error);
    border-color: var(--error);
    background: rgba(239, 68, 68, 0.1);
}

/* Winner tie badge */
.tie-badge {
    position: absolute;
    top: -1px;
    right: 1rem;
    background: linear-gradient(135deg, var(--accent-tertiary), var(--accent-secondary));
    padding: 0.25rem 0.75rem;
    border-radius: 0 0 8px 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.4);
    outline: none;
}

.form-input:focus-visible {
    outline: none;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
