@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
    --primary: #6C3CE1;
    --primary-light: #8B5CF6;
    --secondary: #F59E0B;
    --accent: #10B981;
    --danger: #EF4444;
    --info: #3B82F6;
    --dark: #1E1B4B;
    --dark-soft: #2D2A5E;
    --card-bg: #ffffff;
    --text: #1E1B4B;
    --text-muted: #6B7280;
    --border: rgba(108,60,225,0.15);
    --shadow: 0 8px 32px rgba(108,60,225,0.15);
    --radius: 20px;
    --radius-sm: 12px;
}

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

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #4C1D95 100%);
    min-height: 100vh;
    color: var(--text);
    overflow-x: hidden;
}

/* Animated background stars */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(139,92,246,0.3) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(245,158,11,0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(16,185,129,0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Floating particles */
.particles {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(245,158,11,0.6);
    animation: float linear infinite;
}

@keyframes float {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Header */
.site-header {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span { color: var(--secondary); }
.logo-icon { font-size: 2.2rem; }

.header-nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    margin-left: 24px;
    font-weight: 600;
    transition: color 0.2s;
}

.header-nav a:hover { color: var(--secondary); }

/* Hero */
.hero {
    text-align: center;
    padding: 80px 20px 60px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(245,158,11,0.2);
    border: 1px solid rgba(245,158,11,0.4);
    color: var(--secondary);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Game Cards */
.games-section {
    padding: 20px 0 80px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    color: #fff;
    text-align: center;
    margin-bottom: 48px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.game-card {
    background: rgba(255,255,255,0.95);
    border-radius: var(--radius);
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: var(--card-accent);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}

.game-card.word { --card-accent: linear-gradient(90deg, #6C3CE1, #8B5CF6); }
.game-card.sentence { --card-accent: linear-gradient(90deg, #F59E0B, #EF4444); }
.game-card.yesno { --card-accent: linear-gradient(90deg, #10B981, #3B82F6); }

.card-icon {
    width: 72px; height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.game-card.word .card-icon { background: rgba(108,60,225,0.1); }
.game-card.sentence .card-icon { background: rgba(245,158,11,0.1); }
.game-card.yesno .card-icon { background: rgba(16,185,129,0.1); }

.game-card h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.6rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.game-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.card-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.meta-tag {
    background: #F3F4F6;
    color: #6B7280;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #6C3CE1, #8B5CF6);
    color: white;
    box-shadow: 0 4px 20px rgba(108,60,225,0.4);
}
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 8px 30px rgba(108,60,225,0.5); }

.btn-secondary {
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    color: white;
    box-shadow: 0 4px 20px rgba(245,158,11,0.4);
}
.btn-secondary:hover { transform: scale(1.05); }

.btn-success {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}
.btn-success:hover { transform: scale(1.05); }

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

.btn-danger {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
}

.btn-lg { padding: 18px 48px; font-size: 1.1rem; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }

.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Forms */
.form-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

.form-card {
    background: rgba(255,255,255,0.97);
    border-radius: 28px;
    padding: 48px;
    width: 100%;
    max-width: 620px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.3);
}

.form-header {
    text-align: center;
    margin-bottom: 36px;
}

.form-icon {
    width: 80px; height: 80px;
    border-radius: 24px;
    background: linear-gradient(135deg, #6C3CE1, #8B5CF6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
}

.form-header h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-header p { color: var(--text-muted); font-size: 0.95rem; }

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: block;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

label .optional {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.8rem;
}

input, select, textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    color: var(--dark);
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #FAFAFA;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108,60,225,0.1);
    background: #fff;
}

/* Loading overlay */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30,27,75,0.92);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
}

.loading-overlay.active { display: flex; }

.loading-spinner {
    width: 80px; height: 80px;
    border: 6px solid rgba(255,255,255,0.2);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.loading-text {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    color: #fff;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-sub {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

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

/* Game Play Area */
.game-area {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.game-header {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    border: 1px solid rgba(255,255,255,0.15);
}

.game-info h3 {
    font-family: 'Fredoka One', cursive;
    color: #fff;
    font-size: 1.3rem;
}

.game-info p {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

.score-display {
    display: flex;
    gap: 20px;
    align-items: center;
}

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

.score-num {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    color: var(--secondary);
    line-height: 1;
}

.score-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Progress bar */
.progress-bar {
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    height: 10px;
    overflow: hidden;
    margin-bottom: 28px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6C3CE1, #F59E0B);
    border-radius: 50px;
    transition: width 0.5s ease;
}

/* Question Card */
.question-card {
    background: rgba(255,255,255,0.97);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    animation: slideIn 0.4s ease;
}

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

.question-num {
    display: inline-block;
    background: linear-gradient(135deg, #6C3CE1, #8B5CF6);
    color: white;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.question-text {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 28px;
    line-height: 1.6;
}

/* Word arrange tiles */
.tiles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 60px;
    padding: 16px;
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    background: #F9FAFB;
    transition: border-color 0.2s;
}

.tiles-container.active {
    border-color: var(--primary);
    background: rgba(108,60,225,0.03);
}

.tiles-container.answer-zone { border-style: solid; background: #fff; }

.tile {
    background: linear-gradient(135deg, #6C3CE1, #8B5CF6);
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    box-shadow: 0 4px 12px rgba(108,60,225,0.3);
    font-size: 1.05rem;
}

.tile:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(108,60,225,0.4); }
.tile.word-tile { background: linear-gradient(135deg, #F59E0B, #EF4444); }
.tile.word-tile:hover { box-shadow: 0 6px 20px rgba(245,158,11,0.4); }

.zone-label {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* Yes/No buttons */
.yesno-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.yesno-btn {
    padding: 32px;
    border: 3px solid #E5E7EB;
    border-radius: 20px;
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.yesno-btn.yes:hover { border-color: #10B981; background: rgba(16,185,129,0.05); color: #10B981; }
.yesno-btn.no:hover { border-color: #EF4444; background: rgba(239,68,68,0.05); color: #EF4444; }
.yesno-btn.selected.yes { border-color: #10B981; background: rgba(16,185,129,0.1); color: #10B981; }
.yesno-btn.selected.no { border-color: #EF4444; background: rgba(239,68,68,0.1); color: #EF4444; }

/* Feedback */
.feedback-box {
    border-radius: 16px;
    padding: 20px 24px;
    margin-top: 20px;
    display: none;
    animation: fadeIn 0.3s ease;
}

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

.feedback-box.correct {
    background: rgba(16,185,129,0.1);
    border: 2px solid #10B981;
    display: block;
}

.feedback-box.incorrect {
    background: rgba(239,68,68,0.08);
    border: 2px solid #EF4444;
    display: block;
}

.feedback-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.feedback-box.correct .feedback-title { color: #10B981; }
.feedback-box.incorrect .feedback-title { color: #EF4444; }

.feedback-explanation { color: #374151; line-height: 1.6; }

.correct-answer-reveal {
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.3);
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 12px;
    font-weight: 700;
    color: #92400E;
}

/* Results Page */
.results-page {
    max-width: 700px;
    margin: 60px auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.results-card {
    background: rgba(255,255,255,0.97);
    border-radius: 28px;
    padding: 48px;
    text-align: center;
    box-shadow: 0 32px 80px rgba(0,0,0,0.3);
}

.trophy-icon {
    font-size: 5rem;
    margin-bottom: 16px;
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0% { transform: scale(0); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.results-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.player-name-result {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 32px;
}

.score-circle {
    width: 160px; height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6C3CE1, #8B5CF6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    box-shadow: 0 12px 40px rgba(108,60,225,0.4);
}

.score-pct {
    font-family: 'Fredoka One', cursive;
    font-size: 3rem;
    color: white;
    line-height: 1;
}

.score-pct-label { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

.results-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.stat-item {
    background: #F9FAFB;
    border-radius: 16px;
    padding: 20px 16px;
}

.stat-num {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    color: var(--dark);
}

.stat-lbl {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.results-message {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 32px;
    padding: 16px;
    background: #F9FAFB;
    border-radius: 12px;
    line-height: 1.6;
}

/* Admin Styles */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 50;
}

.admin-logo {
    padding: 0 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 16px;
}

.admin-logo a {
    font-family: 'Fredoka One', cursive;
    font-size: 1.6rem;
    color: #fff;
    text-decoration: none;
}

.admin-logo span { color: var(--secondary); }

.admin-nav-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    padding: 16px 24px 8px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border-radius: 0;
}

.admin-nav a:hover, .admin-nav a.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-left: 3px solid var(--secondary);
}

.admin-nav .nav-icon { font-size: 1.2rem; width: 20px; text-align: center; }

.admin-content {
    margin-left: 260px;
    flex: 1;
    padding: 32px;
    position: relative;
    z-index: 2;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.admin-topbar h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    color: #fff;
}

/* Admin Cards */
.admin-card {
    background: rgba(255,255,255,0.97);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
}

.admin-card h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #F3F4F6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.stat-card {
    background: rgba(255,255,255,0.97);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border-top: 4px solid var(--stat-color, var(--primary));
}

.stat-card-num {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: var(--stat-color, var(--primary));
}

.stat-card-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

/* Tables */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: #F3F4F6;
    padding: 12px 16px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6B7280;
    border-bottom: 2px solid #E5E7EB;
}

.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #F3F4F6;
    color: var(--dark);
    font-size: 0.92rem;
}

.admin-table tr:hover td { background: #F9FAFB; }

.badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
}

.badge-purple { background: rgba(108,60,225,0.1); color: var(--primary); }
.badge-yellow { background: rgba(245,158,11,0.1); color: #92400E; }
.badge-green { background: rgba(16,185,129,0.1); color: #065F46; }
.badge-red { background: rgba(239,68,68,0.1); color: #991B1B; }

/* Alerts */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success { background: rgba(16,185,129,0.1); border-left: 4px solid #10B981; color: #065F46; }
.alert-error { background: rgba(239,68,68,0.1); border-left: 4px solid #EF4444; color: #991B1B; }
.alert-info { background: rgba(59,130,246,0.1); border-left: 4px solid #3B82F6; color: #1E3A8A; }

/* Word arrange input */
.word-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    color: var(--dark);
    transition: border-color 0.2s;
    background: #FAFAFA;
}

.word-input:focus {
    border-color: var(--primary);
    outline: none;
    background: white;
    box-shadow: 0 0 0 4px rgba(108,60,225,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
    .form-card { padding: 32px 24px; }
    .question-card { padding: 28px 24px; }
    .results-stats { grid-template-columns: repeat(3, 1fr); }
    .admin-sidebar { width: 100%; height: auto; position: relative; }
    .admin-layout { flex-direction: column; }
    .admin-content { margin-left: 0; padding: 20px; }
    .games-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .yesno-options { grid-template-columns: 1fr; }
}

/* Print styles */
@media print {
    body { background: white; }
    .admin-sidebar, .btn, .no-print { display: none !important; }
    .admin-content { margin: 0; padding: 20px; }
    .admin-card { box-shadow: none; border: 1px solid #ddd; }
}

/* ── Crossword game card ───────────────────────────────────── */
.game-card.crossword { --card-accent: linear-gradient(90deg, #EC4899, #8B5CF6); }
.game-card.crossword .card-icon { background: rgba(236,72,153,0.1); }

.btn-crossword {
    background: linear-gradient(135deg, #EC4899, #8B5CF6);
    color: white;
    box-shadow: 0 4px 20px rgba(236,72,153,0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    width: 100%;
    justify-content: center;
}
.btn-crossword:hover { transform: scale(1.05); box-shadow: 0 8px 30px rgba(236,72,153,0.5); }

/* Badge red for crossword in admin */
.badge-red { background: rgba(239,68,68,0.1); color: #991B1B; }

/* Badge orange for Random Student Q&A */
.badge-orange { background: rgba(245,158,11,0.12); color: #92400E; }
