/*
 * TATSAR.COM Styling
 * Kashmiri Folk-Art Dark Theme: Obsidian Slate, Marigold Amber & Crimson Accents
 */

:root {
    --bg-dark: #070b16;
    --bg-elevated: #0f172a;
    --card-bg: rgba(20, 29, 49, 0.72);
    --card-border: rgba(255, 255, 255, 0.09);
    --border-glow: rgba(251, 146, 60, 0.35);
    --tiger-orange: #fb923c;
    --tiger-gold: #f59e0b;
    --tiger-yellow: #fde047;
    --tiger-crimson: #ef4444;
    --sky-accent: #38bdf8;
    --emerald-accent: #34d399;
    --text-main: #f8fafc;
    --text-soft: #cbd5e1;
    --text-muted: #94a3b8;
    --font-heading: 'Fredoka', system-ui, -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 12% 14%, rgba(245, 158, 11, 0.11) 0%, transparent 40%),
        radial-gradient(circle at 88% 35%, rgba(239, 68, 68, 0.09) 0%, transparent 42%),
        radial-gradient(circle at 50% 85%, rgba(56, 189, 248, 0.06) 0%, transparent 45%);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.5;
}

body.has-theater {
    overflow: hidden;
}

:focus-visible {
    outline: 2px solid var(--tiger-gold);
    outline-offset: 2px;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 2rem;
    background: rgba(10, 15, 29, 0.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.logo-avatar-wrap {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
    border: 2px solid rgba(251, 146, 60, 0.75);
    box-shadow: 0 0 16px rgba(251, 146, 60, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    animation: subtleFloat 3.5s infinite ease-in-out;
}

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

.logo-wrap:hover .logo-avatar-wrap {
    transform: scale(1.07) translateY(-2px);
    box-shadow: 0 0 22px rgba(251, 146, 60, 0.75);
    border-color: var(--tiger-gold);
}

.logo-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo-text .h1-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    background: linear-gradient(135deg, #fde047, #fb923c, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1.1;
}

.logo-text span:not(.h1-brand) {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1.3px;
    display: block;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.header-nav a {
    color: var(--text-soft);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.72rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.header-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-main);
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: rgba(251, 146, 60, 0.2);
    border-color: var(--tiger-orange);
    color: #fff;
    transform: translateY(-1px);
}

.btn-icon.is-active {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.65);
    color: #fde047;
}

.sale-pill-link {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.24), rgba(245, 158, 11, 0.28));
    border: 1.5px solid rgba(245, 158, 11, 0.65);
    color: #fde68a;
    padding: 0.44rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    animation: pulseBorder 2.8s infinite;
}

@keyframes pulseBorder {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.35); }
    50% { box-shadow: 0 0 14px 2px rgba(245, 158, 11, 0.5); }
}

.sale-pill-link:hover {
    transform: translateY(-1px);
    border-color: var(--tiger-orange);
    color: #fff;
}

.nav-link-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-main);
    padding: 0.44rem 0.88rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.nav-link-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(251, 146, 60, 0.6);
    color: #fff;
}

/* Main Container */
main {
    flex: 1;
    max-width: 1160px;
    margin: 0 auto;
    width: 100%;
    padding: 1.75rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Game Section */
.game-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.95rem;
}

.game-header {
    text-align: center;
    margin-bottom: 0.2rem;
}

.game-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(251, 146, 60, 0.12);
    border: 1px solid rgba(251, 146, 60, 0.3);
    color: #fdba74;
    padding: 0.26rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
}

.game-header h1,
.game-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    letter-spacing: 0.8px;
    line-height: 1.15;
}

.title-gradient {
    background: linear-gradient(135deg, #ffffff 10%, #fde047 55%, #fb923c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    color: var(--text-soft);
    font-size: 1rem;
    margin-top: 0.35rem;
    max-width: 660px;
}

/* Arcade Arena Shell */
.game-arena-shell {
    width: 100%;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.game-arena-shell.theater-mode {
    position: fixed;
    inset: 0;
    z-index: 999;
    max-width: none;
    background: rgba(7, 11, 22, 0.97);
    backdrop-filter: blur(12px);
    padding: 1.25rem;
    justify-content: center;
    align-items: center;
}

.game-arena-shell.theater-mode .arena-top-bar,
.game-arena-shell.theater-mode .canvas-wrapper {
    width: 100%;
    max-width: 1200px;
}

.arena-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0.55rem 0.9rem;
    background: rgba(20, 29, 49, 0.78);
    border: 1px solid var(--card-border);
    border-radius: 12px;
}

.live-stats-strip {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.stat-pill strong {
    color: #fff;
    font-weight: 700;
}

.arena-quick-btns {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.arena-mini-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text-main);
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.arena-mini-btn:hover {
    background: rgba(251, 146, 60, 0.22);
    border-color: var(--tiger-orange);
}

/* Canvas Wrapper & Crisp HTML Overlays */
.canvas-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 960 / 400;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 22px 48px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(251, 146, 60, 0.22);
    background: #0b1120;
    display: flex;
    align-items: center;
    justify-content: center;
}

canvas#gameCanvas {
    width: 100%;
    aspect-ratio: 960 / 400;
    height: auto;
    max-height: 100%;
    display: block;
    cursor: pointer;
    touch-action: manipulation;
}

.canvas-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(9, 14, 28, 0.64);
    backdrop-filter: blur(4px);
    z-index: 10;
}

.canvas-overlay[hidden] {
    display: none;
}

.overlay-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1.5px solid rgba(251, 146, 60, 0.45);
    border-radius: 18px;
    padding: 1.35rem 1.75rem;
    text-align: center;
    max-width: 470px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}

.overlay-card h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 3vw, 1.95rem);
    color: #fde047;
    letter-spacing: 0.6px;
}

.overlay-card.gameover-card h2 {
    color: #fca5a5;
}

.overlay-subtitle {
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.4;
}

.overlay-hints {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin: 0.15rem 0;
}

.overlay-hints span {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    padding: 0.22rem 0.65rem;
    font-size: 0.76rem;
    color: var(--text-main);
    font-weight: 600;
}

.overlay-cta-btn {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.68rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
    transition: transform 0.18s, filter 0.18s;
}

.overlay-cta-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.overlay-secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.65rem 1.25rem;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s;
}

.overlay-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--tiger-orange);
}

.overlay-actions-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.2rem;
}

.new-record-pill {
    background: linear-gradient(135deg, #f59e0b, #eab308);
    color: #0f172a;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.8px;
    padding: 0.2rem 0.7rem;
    border-radius: 9999px;
}

.gameover-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
    margin: 0.15rem 0;
}

.go-stat {
    background: rgba(7, 11, 22, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.45rem 0.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.go-stat span {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
}

.go-stat strong {
    font-size: 1rem;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

/* Speed & Aura Control Toolbars */
.speed-control-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 960px;
    padding: 0.75rem 1.15rem;
    background: rgba(20, 29, 49, 0.74);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(251, 146, 60, 0.24);
    gap: 0.85rem;
    flex-wrap: wrap;
}

.speed-label-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.speed-val-badge {
    background: var(--tiger-gold);
    color: #0f172a;
    font-weight: 700;
    padding: 0.15rem 0.58rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
}

.speed-preset-buttons {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.speed-btn {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-main);
    padding: 0.34rem 0.76rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.2s;
}

.speed-btn:hover {
    background: rgba(251, 146, 60, 0.22);
    border-color: var(--tiger-orange);
}

.speed-btn.active {
    background: var(--tiger-gold);
    color: #0f172a;
    border-color: var(--tiger-gold);
    font-weight: 700;
}

.speed-slider-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 150px;
    max-width: 220px;
}

.speed-slider-wrap input[type="range"] {
    width: 100%;
    accent-color: var(--tiger-gold);
    cursor: pointer;
}

/* Aura Trail Selector */
.aura-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 960px;
    padding: 0.65rem 1.15rem;
    background: rgba(20, 29, 49, 0.62);
    border: 1px solid var(--card-border);
    border-radius: 12px;
}

.aura-label {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-soft);
}

.aura-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.aura-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.32rem 0.72rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(15, 23, 42, 0.7);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.aura-chip:hover:not(:disabled) {
    border-color: var(--tiger-orange);
    transform: translateY(-1px);
}

.aura-chip.active {
    background: rgba(251, 146, 60, 0.2);
    border-color: var(--tiger-gold);
    color: #fde047;
}

.aura-chip.locked {
    opacity: 0.55;
    cursor: not-allowed;
}

.aura-chip small {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.aura-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

/* Controls Info & Mobile Buttons */
.controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 960px;
    padding: 0.72rem 1.15rem;
    background: rgba(20, 29, 49, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.86rem;
    color: var(--text-muted);
}

.kbd-badge {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 0.14rem 0.48rem;
    border-radius: 5px;
    font-family: monospace;
    font-size: 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}

.mobile-controls {
    display: none;
    gap: 0.9rem;
    width: 100%;
    max-width: 960px;
}

.mobile-btn {
    flex: 1;
    padding: 1rem 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: 14px;
    border: none;
    color: #fff;
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;
    transition: transform 0.1s;
}

.mobile-btn:active {
    transform: scale(0.97);
}

.jump-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

.duck-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35);
}

/* Powerups Guide */
.powerups-guide {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 960px;
    width: 100%;
}

.powerup-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(20, 29, 49, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.46rem 0.95rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    color: var(--text-soft);
}

.powerup-pill strong {
    color: #fff;
}

.powerup-pill img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.coin-badge-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fef08a, #f59e0b);
    border: 2px solid #ea580c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

/* Progression: Achievements & Leaderboard */
.progression-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 1.5rem;
}

.panel-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

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

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.achievement-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.78rem 0.9rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 0.62;
    transition: border-color 0.2s, opacity 0.2s, transform 0.2s;
}

.achievement-card.unlocked {
    opacity: 1;
    border-color: rgba(245, 158, 11, 0.45);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(15, 23, 42, 0.75));
}

.ach-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.ach-info {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
    flex: 1;
}

.ach-info strong {
    font-size: 0.88rem;
    color: #fff;
}

.ach-info span {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.ach-status {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.16rem 0.45rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    flex-shrink: 0;
}

.achievement-card.unlocked .ach-status {
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
}

.leaderboard-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.lb-row {
    display: grid;
    grid-template-columns: 32px 1fr auto auto;
    align-items: center;
    gap: 0.65rem;
    padding: 0.68rem 0.9rem;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.88rem;
    font-variant-numeric: tabular-nums;
}

.lb-rank {
    font-size: 1.05rem;
    text-align: center;
}

.lb-score {
    font-weight: 700;
    color: #fde047;
}

.lb-meta {
    font-size: 0.78rem;
    color: var(--text-soft);
}

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

.lb-empty {
    padding: 1.4rem 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    background: rgba(15, 23, 42, 0.45);
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
}

.btn-text-subtle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    padding: 0.28rem 0.65rem;
    border-radius: 8px;
    font-size: 0.76rem;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s, border-color 0.2s;
}

.btn-text-subtle:hover {
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.45);
}

/* 3D Showcase & Lore Section */
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1.22fr;
    gap: 2.5rem;
    align-items: center;
}

.mascot-card-wrapper {
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.mascot-card-frame {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.mascot-3d-card {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(251, 146, 60, 0.28);
    cursor: pointer;
    user-select: none;
    will-change: transform;
}

.mascot-3d-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 24px;
}

.card-glare {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s;
    mix-blend-mode: overlay;
    border-radius: 24px;
}

.card-top-controls {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}

.pet-pill {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fde68a;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.28rem 0.65rem;
    border-radius: 9999px;
}

.view-toggle-btn {
    position: relative;
    z-index: 12;
    pointer-events: auto;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(251, 146, 60, 0.55);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: inherit;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.view-toggle-btn:hover {
    background: rgba(251, 146, 60, 0.35);
}

.mascot-speech-bubble {
    position: absolute;
    top: 56px;
    left: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(253, 224, 71, 0.55);
    color: #fef08a;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    z-index: 4;
}

.mascot-speech-bubble.visible {
    opacity: 1;
    transform: translateY(0);
}

.mascot-spark {
    position: absolute;
    font-size: 1.15rem;
    pointer-events: none;
    z-index: 5;
    animation: sparkFloat 0.85s ease-out forwards;
}

@keyframes sparkFloat {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.7);
    }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.25);
    }
}

.card-overlay-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    padding: 0.75rem 1.05rem;
    background: rgba(15, 23, 42, 0.86);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.card-overlay-badge h3 {
    font-size: 1.05rem;
    color: #fcd34d;
    margin-bottom: 2px;
}

.card-overlay-badge p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.badge-tag {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.24rem 0.62rem;
    border-radius: 6px;
    flex-shrink: 0;
}

.mascot-interact-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Lore Info Column */
.lore-content {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.lore-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: #fff;
    line-height: 1.2;
}

.highlight {
    color: var(--tiger-orange);
}

.lore-content p {
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.65;
}

.lore-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.95rem;
    margin-top: 0.4rem;
}

.lore-box {
    background: rgba(20, 29, 49, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.15rem;
    transition: transform 0.2s, border-color 0.2s;
}

.lore-box:hover {
    transform: translateY(-3px);
    border-color: rgba(251, 146, 60, 0.45);
}

.lore-box .icon {
    font-size: 1.65rem;
    margin-bottom: 0.45rem;
}

.lore-box h4 {
    font-size: 1.02rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.lore-box p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Knowledge / SEO Sections */
.facts-section,
.howto-section,
.faq-section {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.94rem;
    margin: 0.25rem 0 0 0;
    line-height: 1.5;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.95rem;
}

.fact-item {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 0.95rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    transition: transform 0.2s, border-color 0.2s;
}

.fact-item:hover {
    transform: translateY(-2px);
    border-color: rgba(251, 146, 60, 0.4);
}

.fact-item .fact-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--tiger-orange);
    font-weight: 700;
}

.fact-item .fact-value {
    font-size: 0.94rem;
    color: var(--text-main);
    font-weight: 500;
}

/* How to Play Guide */
.howto-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
}

.howto-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    position: relative;
    overflow: hidden;
}

.howto-card .step-num {
    position: absolute;
    top: 8px;
    right: 14px;
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: rgba(251, 146, 60, 0.13);
}

.howto-card h4 {
    font-size: 1.06rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.howto-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-card {
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-card[open] {
    border-color: rgba(251, 146, 60, 0.45);
    background: rgba(20, 30, 52, 0.78);
}

.faq-question {
    padding: 1.05rem 1.25rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    list-style: none;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "＋";
    font-size: 1.15rem;
    color: var(--tiger-orange);
    flex-shrink: 0;
}

.faq-card[open] .faq-question::after {
    content: "−";
    color: var(--tiger-crimson);
}

.faq-answer {
    padding: 0.8rem 1.25rem 1.15rem;
    font-size: 0.91rem;
    color: var(--text-muted);
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-answer strong {
    color: #fff;
}

.faq-bullets {
    margin: 0.5rem 0 0 1.2rem;
    line-height: 1.65;
}

/* Share Section */
.share-section {
    background: linear-gradient(135deg, rgba(25, 36, 61, 0.72), rgba(15, 23, 42, 0.85));
    border: 1px solid rgba(251, 146, 60, 0.3);
    border-radius: 20px;
    padding: 2.25rem 1.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.share-section h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: #fff;
}

.share-subtitle {
    color: var(--text-muted);
    max-width: 580px;
    font-size: 0.95rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
}

.share-btn {
    padding: 0.72rem 1.4rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.92rem;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: transform 0.2s, filter 0.2s, border-color 0.2s;
}

.share-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.twitter-btn {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.24);
}

.whatsapp-btn {
    background: #16a34a;
    border-color: rgba(34, 197, 94, 0.45);
}

.copy-btn {
    background: linear-gradient(135deg, #ea580c, #d97706);
    border-color: rgba(251, 146, 60, 0.55);
}

/* Donate / Support Section */
.donate-section {
    background:
        radial-gradient(circle at 85% 20%, rgba(251, 146, 60, 0.16) 0%, transparent 55%),
        linear-gradient(135deg, rgba(24, 35, 58, 0.86), rgba(15, 23, 42, 0.94));
    border: 1.5px solid rgba(251, 146, 60, 0.4);
    border-radius: 20px;
    padding: 2.25rem;
    display: grid;
    grid-template-columns: 1.35fr auto;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.45);
}

.donate-copy {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.donate-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    background: rgba(251, 146, 60, 0.16);
    border: 1px solid rgba(251, 146, 60, 0.45);
    color: #fdba74;
    padding: 0.34rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.donate-copy h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.8vw, 1.95rem);
    color: #fff;
    line-height: 1.2;
}

.donate-copy p {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 580px;
}

.upi-apps-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.upi-app-pill {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 0.28rem 0.72rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.donate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.2rem;
}

.btn-donate-zoom {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #fff;
    border: none;
    padding: 0.68rem 1.25rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: transform 0.2s, filter 0.2s;
}

.btn-donate-zoom:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.btn-donate-save {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 0.68rem 1.2rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: background 0.2s, border-color 0.2s;
}

.btn-donate-save:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--tiger-orange);
}

.donate-qr-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
}

.qr-frame-btn {
    background: #ffffff;
    border: 3px solid rgba(251, 146, 60, 0.85);
    border-radius: 18px;
    padding: 12px;
    cursor: zoom-in;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 18px rgba(251, 146, 60, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
}

.qr-frame-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.55), 0 0 24px rgba(251, 146, 60, 0.45);
}

.qr-frame-btn img {
    width: 210px;
    height: auto;
    display: block;
    border-radius: 8px;
}

.qr-caption {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* QR Zoom Modal */
.qr-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(7, 11, 22, 0.86);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.qr-modal[hidden] {
    display: none;
}

.qr-modal-card {
    background: #0f172a;
    border: 1.5px solid rgba(251, 146, 60, 0.5);
    border-radius: 22px;
    padding: 1.5rem;
    max-width: 380px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.qr-modal-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #fde047;
}

.qr-modal-card p {
    font-size: 0.86rem;
    color: var(--text-soft);
}

.qr-modal-img-wrap {
    background: #ffffff;
    border-radius: 16px;
    padding: 14px;
    width: 100%;
    max-width: 290px;
}

.qr-modal-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.donate-pill-btn {
    background: rgba(251, 146, 60, 0.14);
    border: 1px solid rgba(251, 146, 60, 0.42);
    color: #fed7aa;
    padding: 0.44rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.donate-pill-btn:hover {
    background: rgba(251, 146, 60, 0.28);
    color: #fff;
    transform: translateY(-1px);
}

/* Domain For Sale Section */
.domain-sale-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.18) 0%, transparent 65%),
        linear-gradient(135deg, rgba(25, 36, 61, 0.82), rgba(15, 23, 42, 0.95));
    border: 1.5px solid rgba(245, 158, 11, 0.48);
    border-radius: 20px;
    padding: 2.35rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 12px 36px -10px rgba(245, 158, 11, 0.22);
}

.sale-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    padding: 0.36rem 0.88rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    width: fit-content;
}

.sale-header {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.sale-header h1,
.sale-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2rem);
    color: #fff;
    line-height: 1.25;
}

.sale-domain-highlight {
    background: linear-gradient(135deg, #fde047, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sale-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
}

.sale-benefit-card {
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
    transition: transform 0.2s, border-color 0.2s;
}

.sale-benefit-card:hover {
    transform: translateY(-2px);
    border-color: rgba(251, 146, 60, 0.42);
}

.sale-benefit-card .icon {
    font-size: 1.55rem;
}

.sale-benefit-card h4 {
    font-size: 1.02rem;
    color: #fff;
}

.sale-benefit-card p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.sale-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.btn-primary-sale {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #fff;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 0.82rem 1.65rem;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.38);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary-sale:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(234, 88, 12, 0.55);
    filter: brightness(1.08);
}

.btn-secondary-contact {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 600;
    font-size: 0.94rem;
    padding: 0.82rem 1.4rem;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transition: background 0.2s, border-color 0.2s;
}

.btn-secondary-contact:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(251, 146, 60, 0.6);
}

.sale-direct-note {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.sale-direct-note strong {
    color: #fff;
}

/* Contact & Feedback Section */
.contact-section {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.65rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2rem;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.email-box {
    background: rgba(15, 23, 42, 0.75);
    border: 1.5px solid rgba(251, 146, 60, 0.4);
    border-radius: 14px;
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.email-box-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: var(--tiger-orange);
    font-weight: 700;
}

.email-address {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    font-family: monospace;
    word-break: break-all;
}

.email-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.btn-copy-email {
    background: rgba(251, 146, 60, 0.18);
    border: 1px solid rgba(251, 146, 60, 0.5);
    color: var(--tiger-orange);
    padding: 0.52rem 1.05rem;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-copy-email:hover {
    background: var(--tiger-orange);
    color: #0f172a;
}

.btn-open-email {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 0.52rem 1.05rem;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s;
}

.btn-open-email:hover {
    background: rgba(255, 255, 255, 0.18);
}

.contact-topics-card {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.contact-topics-card h4 {
    font-size: 1rem;
    color: #fff;
}

.contact-topics-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.87rem;
    color: var(--text-muted);
}

.contact-topics-card ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.response-time-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: 0.2rem 0;
}

/* Contact Form */
.contact-form {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.65rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.form-group label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(7, 11, 22, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 0.72rem 0.95rem;
    color: #fff;
    font-family: inherit;
    font-size: 0.94rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group select option {
    background: #0f172a;
    color: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--tiger-orange);
    box-shadow: 0 0 8px rgba(251, 146, 60, 0.28);
}

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

.form-submit-btn {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 0.85rem 1.45rem;
    border-radius: 10px;
    border: none;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.2s, filter 0.2s;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.form-status {
    font-size: 0.9rem;
    display: none;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    margin-top: 0.25rem;
}

.form-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.42);
    color: #34d399;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 11, 22, 0.95);
    padding: 2.3rem 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.disclaimer-text {
    font-size: 0.76rem;
    color: #94a3b8;
    opacity: 0.82;
    max-width: 820px;
    margin: 0.25rem auto;
    line-height: 1.55;
    text-align: center;
}

.footer-links-primary,
.footer-links-secondary {
    display: flex;
    gap: 1.1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links-primary a {
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.footer-links-secondary a {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
}

.footer-links-secondary a:hover {
    color: #fff;
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
    .header-nav {
        display: none;
    }

    .progression-grid,
    .contact-layout,
    .showcase-grid,
    .donate-section {
        grid-template-columns: 1fr;
    }

    .donate-qr-panel {
        justify-self: center;
    }

    .facts-grid,
    .howto-grid,
    .sale-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 868px) {
    header {
        padding: 0.8rem 1rem;
        flex-wrap: wrap;
    }

    .header-actions {
        width: 100%;
        justify-content: flex-start;
    }

    main {
        padding: 1.25rem 1rem 3rem;
        gap: 2.25rem;
    }

    .controls-bar {
        display: none;
    }

    .mobile-controls {
        display: flex;
    }

    .facts-section,
    .howto-section,
    .faq-section,
    .domain-sale-section,
    .contact-section,
    .donate-section,
    .panel-card {
        padding: 1.35rem;
    }
}

@media (max-width: 600px) {
    .facts-grid,
    .howto-grid,
    .sale-benefits-grid {
        grid-template-columns: 1fr;
    }

    .canvas-wrapper {
        aspect-ratio: auto;
        min-height: 255px;
    }

    .canvas-overlay {
        padding: 0.5rem;
        overflow-y: auto;
    }

    .overlay-card {
        padding: 0.7rem 0.9rem;
        gap: 0.36rem;
    }

    .overlay-card h2 {
        font-size: 1.18rem;
    }

    .overlay-subtitle {
        font-size: 0.8rem;
    }

    .overlay-hints {
        display: none;
    }

    .new-record-pill {
        font-size: 0.68rem;
        padding: 0.14rem 0.55rem;
    }

    .gameover-stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.35rem;
    }

    .go-stat {
        padding: 0.32rem 0.2rem;
    }

    .go-stat span {
        font-size: 0.58rem;
    }

    .go-stat strong {
        font-size: 0.86rem;
    }

    .overlay-cta-btn,
    .overlay-secondary-btn {
        padding: 0.48rem 0.95rem;
        font-size: 0.84rem;
    }

    .arena-top-bar {
        padding: 0.5rem 0.65rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
