* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    color: #fff;
}

/* Keyframe Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animation-delay-200 {
    animation-delay: 0.2s;
    opacity: 0;
}

.animation-delay-400 {
    animation-delay: 0.4s;
    opacity: 0;
}

.animation-delay-600 {
    animation-delay: 0.6s;
    opacity: 0;
}

.animation-delay-700 {
    animation-delay: 0.7s;
    opacity: 0;
}

.animation-delay-800 {
    animation-delay: 0.8s;
    opacity: 0;
}

.animation-delay-1000 {
    animation-delay: 1s;
    opacity: 0;
}

/* Answer Reveal Text */
.answer-reveal-text {
    text-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.6),
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.8);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes confetti-fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Essential Game Styles */
.game-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.top-bar {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 5px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    gap: 20px;
    flex-wrap: wrap;
}

.activity-title {
    font-size: clamp(1.2rem, 2vw, 2rem);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.scores-display {
    display: flex;
    gap: 20px;
    font-size: clamp(0.9rem, 1.1vw, 1.2rem);
}

.score-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
}

.main-content {
    display: flex;
    flex: 1;
    gap: 10px;
    padding: 10px;
    overflow: hidden;
    height: calc(100vh - 70px);
}

.sidebar {
    width: clamp(170px, 15vw, 250px);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sidebar h3 {
    margin-bottom: 5px;
    font-size: clamp(1.1rem, 1.4vw, 1.5rem);
}

.player-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.player-card.referee {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    transform: scale(1.05);
}

.player-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.player-photo {
    width: clamp(40px, 4vw, 60px);
    height: clamp(40px, 4vw, 60px);
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.player-photo.placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    font-weight: bold;
}

.player-info {
    flex: 1;
}

.player-name {
    font-weight: 600;
    font-size: clamp(0.9rem, 1.2vw, 1.2rem);
}

.player-points {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.points-display {
    font-size: clamp(1rem, 1.3vw, 1.4rem);
    font-weight: 700;
    flex: 1;
}

.point-btn {
    width: clamp(28px, 2.5vw, 40px);
    height: clamp(28px, 2.5vw, 40px);
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    font-size: clamp(1rem, 1.3vw, 1.5rem);
    cursor: pointer;
    transition: all 0.3s ease;
}

.point-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.player-card.referee .point-btn {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
}

.player-card.referee .point-btn:hover {
    background: rgba(0, 0, 0, 0.3);
}

.game-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.frame-counter {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    font-size: clamp(1.1rem, 1.5vw, 1.6rem);
    font-weight: 700;
    padding: 1vh 1.5vw;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.5);
    z-index: 100;
    min-width: 60px;
    text-align: center;
}

.corner-timer {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    font-weight: 700;
    padding: 1.2vh 2vw;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.5);
    z-index: 100;
    animation: pulse 1s infinite;
    min-width: 60px;
    text-align: center;
}

.timer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.start-timer-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    border-radius: 100px;
    padding: 2vh 4vw;
    font-size: clamp(1.4rem, 2vw, 2rem);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.start-timer-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(245, 87, 108, 0.6);
}

.start-timer-btn.active {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    animation: pulse 1s infinite;
}

.timer-display {
    font-size: clamp(3rem, 4vw, 4.5rem);
    font-weight: 700;
    color: white;
}

.frame-display {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.frame-display img {
    width: auto;
    height: clamp(90%, 60vh, 2160px);
    max-width: 95%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: filter 0.5s ease;
}

.frame-display img.blurred {
    filter: blur(20px);
}

.frame-text {
    font-size: 1.8rem;
    line-height: 1.6;
    font-style: italic;
    padding: 30px 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-top: 15px;
    transition: filter 0.5s ease;
    max-width: 90%;
}

.frame-text.blurred {
    filter: blur(10px);
    user-select: none;
}

.start-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    z-index: 10;
}

.start-overlay-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    border-radius: 100px;
    padding: 2vh 4vw;
    font-size: clamp(1.4rem, 2vw, 2rem);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.start-overlay-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(245, 87, 108, 0.6);
}

.activity-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.round-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    opacity: 0.6;
}

.round-indicator.active {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-color: transparent;
    opacity: 1;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
}

.round-number {
    font-size: clamp(1.1rem, 1.4vw, 1.5rem);
    font-weight: 800;
    color: white;
}

.round-name {
    font-size: clamp(0.7rem, 0.9vw, 1rem);
    font-weight: 600;
    color: white;
    opacity: 0.9;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3vh 3vw;
    border-radius: 20px;
    max-width: 90vw;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.referee-roulette {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
    flex-wrap: wrap;
    transition: opacity 0.3s ease;
}

.roulette-player {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.roulette-player.highlight {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

.selected-referee {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

/* Keep essential utility classes for other pages */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.hero {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 10px 25px;
    font-size: 0.9rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(245, 87, 108, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79, 172, 254, 0.4);
}

/* Admin Page Essentials */
.admin-container {
    padding: 2vh 2vw;
    max-width: 95vw;
    margin: 0 auto;
    min-height: 100vh;
}

.admin-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5vh 3vw;
    border-radius: 15px;
    margin-bottom: 3vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.admin-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3vh 3vw;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 3vh;
}

/* Final Score Page */
.final-score-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.score-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #ffd700;
    animation: confetti-fall 3s linear infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    color: #fff;
}

/* Home Page Styles */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.hero {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 10px 25px;
    font-size: 0.9rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(245, 87, 108, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79, 172, 254, 0.4);
}

/* Game Container */
.game-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top Bar */
.top-bar {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    gap: 20px;
    flex-wrap: wrap;
}

.activity-title {
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.scores-display {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
}

.score-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
}

/* Main Content */
.main-content {
    display: flex;
    flex: 1;
    gap: 10px;
    padding: 10px;
}

/* Sidebar */
.sidebar {
    width: 170px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sidebar h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.player-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.player-card.referee {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    transform: scale(1.05);
}

.player-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.player-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.player-photo.placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
}

.player-info {
    flex: 1;
}

.player-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.player-points {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.points-display {
    font-size: 1rem;
    font-weight: 700;
    flex: 1;
}

.point-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.point-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.player-card.referee .point-btn {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
}

.player-card.referee .point-btn:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Game Area */
.game-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

/* Frame Counter */
.frame-counter {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.5);
    z-index: 100;
    min-width: 60px;
    text-align: center;
}

/* Corner Timer */
.corner-timer {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.5);
    z-index: 100;
    animation: pulse 1s infinite;
    min-width: 60px;
    text-align: center;
}

.timer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.start-timer-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    border-radius: 100px;
    padding: 20px 45px;
    font-size: 1.4rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.start-timer-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(245, 87, 108, 0.6);
}

.start-timer-btn.active {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    animation: pulse 1s infinite;
}

.timer-display {
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Frame Display */
.frame-display {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.frame-display img {
    width: auto;
    height: clamp(90%, 60vh, 2160px);
    max-width: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: filter 0.5s ease;
}

.frame-display img.blurred {
    filter: blur(20px);
}

.frame-text {
    font-size: clamp(1.8rem, 2.2vw, 2.5rem);
    line-height: 1.6;
    font-style: italic;
    padding: 3vh 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-top: 15px;
    transition: filter 0.5s ease;
    max-width: 90%;
}

.frame-text.blurred {
    filter: blur(10px);
    user-select: none;
}

/* Start Button Overlay */
.start-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    z-index: 10;
}

.start-overlay-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    border-radius: 100px;
    padding: 20px 45px;
    font-size: 1.4rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.start-overlay-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(245, 87, 108, 0.6);
}

/* Answer Display */
.frame-answer {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    padding: 12px 20px;
    border-radius: 10px;
    margin-top: 15px;
    width: 100%;
    text-align: center;
}

.frame-answer p {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.answer-display {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(67, 233, 123, 0.4);
}

.answer-display h2 {
    color: #333;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.answer-display p {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

/* Controls */
.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-control {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 25px;
}

.btn-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-reveal {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #333;
    padding: 12px 30px;
    font-size: 1rem;
}

.btn-reveal:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(250, 112, 154, 0.4);
}

/* Activity Navigation */
.activity-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.activity-btn {
    padding: 8px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
}

.activity-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.activity-btn.active {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-color: transparent;
}

/* Round Indicators */
.round-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    opacity: 0.6;
}

.round-indicator.active {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-color: transparent;
    opacity: 1;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
}

.round-number {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
}

.round-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    opacity: 0.9;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.modal-content h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.setup-section {
    margin-bottom: 30px;
}

.setup-section h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.player-input {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.player-input input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Referee Roulette */
.referee-roulette {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
    flex-wrap: wrap;
    transition: opacity 0.3s ease;
}

.roulette-player {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.roulette-player.highlight {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

.selected-referee {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.selected-referee h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Admin Styles */
.admin-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.admin-header h1 {
    font-size: 2.5rem;
}

.admin-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.admin-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.admin-section h2 {
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

/* Activities Filter */
.activities-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-color: transparent;
}

/* Activity Item */
.activity-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.activity-info {
    flex: 1;
}

.activity-type {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-transform: capitalize;
}

.activity-answer {
    opacity: 0.9;
    font-size: 1rem;
}

.activity-preview {
    max-width: 100px;
    max-height: 80px;
    border-radius: 8px;
    margin: 0 20px;
}

.activity-actions {
    display: flex;
    gap: 10px;
}

.btn-edit,
.btn-delete {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-edit {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.btn-delete {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #333;
}

.btn-edit:hover,
.btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .activity-title {
        font-size: 1.3rem;
    }

    .top-bar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .activity-nav {
        width: 100%;
        justify-content: center;
    }

    .scores-display {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
}

/* Session & Winner Display Styles (Index Page) */
.latest-winner, .session-info, .recent-sessions {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin-bottom: 25px;
}

.latest-winner h2, .session-info h2, .recent-sessions h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.winner-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.winner-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.winner-card p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.active-session-card {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.active-session-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.session-stats {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.stat {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.session-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.session-card:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Session Management Styles (Admin Page) */
.session-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.session-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.active-session-item {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.3), rgba(0, 242, 254, 0.3));
    border: 2px solid rgba(79, 172, 254, 0.6);
}

.session-info {
    flex: 1;
}

.session-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.session-meta {
    font-size: 0.85rem;
    opacity: 0.8;
}

.session-winner {
    font-size: 0.95rem;
    margin-top: 5px;
    font-weight: 600;
    color: #ffd700;
}

.session-players {
    font-size: 0.85rem;
    margin-top: 5px;
    opacity: 0.9;
}

.session-actions {
    display: flex;
    gap: 10px;
}

.active-badge {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-left: 10px;
    font-weight: bold;
}

.btn-edit, .btn-delete {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-edit {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
}

.btn-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(79, 172, 254, 0.4);
}

.btn-delete {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(245, 87, 108, 0.4);
}

.no-active-session {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.1rem;
}

.completed-session-item {
    background: rgba(255, 215, 0, 0.15);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 12px;
    border-left: 4px solid #ffd700;
}

/* Final Score Page Styles */
.final-score-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.score-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.winner-announcement {
    margin-bottom: 30px;
}

.winner-announcement h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.winner-name {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    margin-bottom: 10px;
}

.winner-points {
    font-size: 1.8rem;
    opacity: 0.95;
}

.rankings {
    margin-top: 30px;
}

.rankings h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.rankings-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.score-row {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.score-row td {
    padding: 12px;
    text-align: left;
    font-size: 1.1rem;
}

.score-row:first-child {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 140, 0, 0.3));
    font-weight: bold;
}

.score-row:nth-child(2) {
    background: rgba(192, 192, 192, 0.2);
}

.score-row:nth-child(3) {
    background: rgba(205, 127, 50, 0.2);
}

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #ffd700;
    position: absolute;
    animation: confetti-fall 3s linear infinite;
}

@keyframes confetti-fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Player Manager Modal Styles */
.players-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.player-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.player-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.player-details {
    flex: 1;
}

.player-details .player-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.player-details .player-points {
    font-size: 0.85rem;
    opacity: 0.8;
}

.player-actions {
    display: flex;
    gap: 8px;
}

.add-player-form {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.add-player-form input {
    flex: 1;
    padding: 2px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 0.9rem;
}

.add-player-form button {
    white-space: nowrap;
}
/* ============================================ */
/* SIMPLIFIED ADMIN PANEL STYLES */
/* ============================================ */

/* Tab Navigation */
.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 15px;
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

/* Quick Create Session */
.quick-create {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.quick-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

/* Active Session Card */
.active-session-card {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.active-badge-lg {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.active-session-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.session-quick-stats {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.session-quick-stats span {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.95rem;
}

/* Sessions Grid */
.sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.session-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.session-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.session-card.session-active {
    border: 3px solid #4facfe;
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.5);
}

.active-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
}

.session-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.session-info {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.session-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-small {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
}

.btn-small:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.3);
}

.btn-small.btn-primary {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.btn-small.btn-danger {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

/* Frame Editor */
.frame-editor-header {
    margin-bottom: 25px;
}

.frame-editor-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.frame-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.frame-stats span {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Quick Frame Add */
.quick-frame-add {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.frame-input {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1rem;
}

#frameType {
    flex: 0 0 150px;
}

#frameImageUrl {
    flex: 2;
    min-width: 200px;
}

#frameAnswer {
    flex: 1;
    min-width: 150px;
}

/* Frames Categories */
.frames-categories {
    display: grid;
    gap: 25px;
}

.category-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
}

.category-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-section h3 span {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.9rem;
}

.frames-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.frame-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    gap: 15px;
    align-items: center;
    transition: all 0.3s ease;
}

.frame-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.frame-number {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
}

.frame-content {
    flex: 1;
    display: flex;
    gap: 15px;
    align-items: center;
}

.frame-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.frame-dialogue {
    font-style: italic;
    opacity: 0.9;
    max-width: 300px;
}

.frame-answer {
    flex: 1;
}

.frame-actions {
    display: flex;
    gap: 5px;
}

.btn-icon {
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Warning Card */
.warning-card {
    background: rgba(255, 193, 7, 0.2);
    border: 2px solid rgba(255, 193, 7, 0.5);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    font-size: 1.2rem;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 40px;
    opacity: 0.7;
    font-size: 1.1rem;
}

.empty-category {
    text-align: center;
    padding: 20px;
    opacity: 0.6;
    font-size: 0.95rem;
}

/* History Cards */
.history-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid #ffd700;
    transition: all 0.3s ease;
}

.history-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.history-header h3 {
    font-size: 1.2rem;
}

.history-date {
    opacity: 0.7;
    font-size: 0.9rem;
}

.history-winner {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #ffd700;
}

.history-players {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive for Admin */
@media (max-width: 768px) {
    .sessions-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-frame-add {
        flex-direction: column;
    }
    
    #frameType, #frameImageUrl, #frameAnswer {
        flex: 1;
        width: 100%;
    }
    
    .frame-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .admin-tabs {
        flex-direction: column;
    }
}