/* ========================================
   QuestBoard - TTRPG LFG Platform
   Dark Theme Stylesheet
   ======================================== */

/* CSS Variables - Roll20 Inspired Pink/Purple Palette */
:root {
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-tertiary: #1f2544;
    --bg-card: #1c1c3a;
    --bg-hover: #2a2a4a;
    
    --text-primary: #ffffff;
    --text-secondary: #b8b8d0;
    --text-muted: #7a7a9a;
    
    --accent-primary: #e91e63;
    --accent-secondary: #9c27b0;
    --accent-tertiary: #ff4081;
    --accent-gradient: linear-gradient(135deg, #e91e63 0%, #9c27b0 50%, #673ab7 100%);
    --accent-gradient-soft: linear-gradient(135deg, rgba(233, 30, 99, 0.2) 0%, rgba(156, 39, 176, 0.2) 100%);
    
    --success: #4caf50;
    --warning: #ff9800;
    --error: #f44336;
    
    --border-color: #2d2d5a;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --glow-primary: 0 0 20px rgba(233, 30, 99, 0.3);
    
    --transition: all 0.2s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-secondary);
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: white;
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

.btn-text {
    background: none;
    border: none;
    color: var(--accent-primary);
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-text:hover {
    color: var(--accent-secondary);
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    opacity: 0.7;
    transition: var(--transition);
}

.btn-icon:hover {
    opacity: 1;
}

.btn-discord {
    background: #5865F2;
    color: white;
}

.btn-discord:hover {
    background: #4752c4;
    color: white;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo:hover {
    color: var(--text-primary);
}

.logo-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    font-size: 1.75rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
}

.nav-auth {
    display: flex;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */

.hero-wrapper {
    position: relative;
    overflow: hidden;
    background: #0f0f23;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    pointer-events: none;
}

.hero-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(26, 26, 46, 0.72) 0%, 
        rgba(22, 33, 62, 0.56) 50%, 
        rgba(15, 15, 35, 0.68) 100%
    );
    pointer-events: none;
}

.hero {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.floating-cards {
    position: relative;
    height: 100%;
}

.float-card {
    position: absolute;
    background: var(--bg-card);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
}

.float-card.card-1 { top: 10%; left: 10%; animation-delay: 0s; }
.float-card.card-2 { top: 40%; right: 10%; animation-delay: 0.5s; }
.float-card.card-3 { bottom: 15%; left: 20%; animation-delay: 1s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-dot.available {
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
}

/* ========================================
   Paths Section
   ======================================== */

.paths-section {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--bg-secondary);
}

.paths-section h2 {
    max-width: 1200px;
    margin: 0 auto 3rem;
}


.paths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.path-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    position: relative;
    color: var(--text-primary);
}

.path-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.path-card.featured {
    border-color: var(--accent-primary);
    background: var(--accent-gradient-soft);
}

.path-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.path-card h3 {
    margin-bottom: 0.75rem;
}

.path-card p {
    font-size: 0.95rem;
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent-gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ========================================
   Featured GMs
   ======================================== */

.featured-gms {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--bg-secondary);
}

.featured-gms h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.gm-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gm-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.gm-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.gm-card .gm-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
    border: 3px solid var(--bg-tertiary);
}

.gm-card .gm-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.gm-card .gm-rating {
    color: var(--warning);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.gm-card .gm-systems {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   How It Works
   ======================================== */

.how-it-works {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    margin-bottom: 0.75rem;
}

/* ========================================
   Rescue Feature Section
   ======================================== */

.rescue-feature {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-tag {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
}

.rescue-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    padding: 2rem;
}

.rescue-header {
    margin-bottom: 1rem;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.seeking {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.rescue-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.campaign-name {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.rescue-stats {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.matched-players {
    background: var(--bg-tertiary);
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    margin-top: 1rem;
}

.match-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.player-avatars {
    display: flex;
    gap: -8px;
}

.player-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--bg-tertiary);
    margin-left: -8px;
}

.player-avatars img:first-child {
    margin-left: 0;
}

/* ========================================
   Discord Section
   ======================================== */

.discord-section {
    padding: 6rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.discord-content h2 {
    margin-bottom: 1rem;
}

.discord-content code {
    background: var(--bg-tertiary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
    color: var(--accent-primary);
}

.discord-window {
    background: #36393f;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.discord-header {
    background: #2f3136;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8e9297;
    font-weight: 500;
}

.channel-icon {
    font-size: 1.25rem;
}

.discord-messages {
    padding: 1rem;
}

.discord-message {
    margin-bottom: 1rem;
}

.user-message .message-content {
    color: #dcddde;
}

.command {
    color: #7289da;
}

.bot-message {
    display: flex;
    gap: 1rem;
}

.bot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.bot-name {
    color: #7289da;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.bot-badge {
    background: #5865f2;
    color: white;
    font-size: 0.6rem;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    margin-left: 0.25rem;
    vertical-align: middle;
}

.embed-card {
    background: #2f3136;
    border-left: 4px solid #e91e63;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.embed-title {
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
}

.embed-game {
    padding: 0.5rem 0;
    border-bottom: 1px solid #40444b;
    color: #dcddde;
    font-size: 0.9rem;
}

.embed-game:last-of-type {
    border-bottom: none;
}

.embed-detail {
    color: #8e9297;
    font-size: 0.8rem;
}

.embed-link {
    display: block;
    margin-top: 0.75rem;
    color: var(--accent-primary);
    font-size: 0.85rem;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--accent-gradient-soft);
}

.cta-section h2 {
    margin-bottom: 0.5rem;
}

.cta-section p {
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
}

.footer-brand .logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   Badges & Tags
   ======================================== */

.system-badge {
    display: inline-block;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.system-badge.large {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.campaign-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.campaign-badge.ongoing {
    background: rgba(156, 39, 176, 0.2);
    color: #ce93d8;
}

.tier-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tier-badge.elite {
    background: linear-gradient(135deg, #ff4081 0%, #e91e63 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.4);
}

.tier-badge.certified {
    background: linear-gradient(135deg, #9c27b0 0%, #e91e63 100%);
    color: white;
}

.tier-badge.verified {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.system-tag {
    display: inline-block;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    margin: 0.25rem;
}

.system-tag.primary {
    background: rgba(233, 30, 99, 0.2);
    color: var(--accent-tertiary);
}

.system-tag.small {
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
}

.system-tag.learning {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

/* ========================================
   Cards
   ======================================== */

.card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
}

/* Game Cards for Search Results */
.game-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.game-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.game-card-header {
    padding: 1rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.game-card .gm-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.game-card-info {
    flex: 1;
}

.game-card-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.game-card-gm {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.game-card-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.game-card-body {
    padding: 0 1rem 1rem;
}

.game-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.game-card-footer {
    padding: 1rem;
    background: var(--bg-tertiary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-card-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.game-card-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.game-card-spots {
    font-size: 0.85rem;
    color: var(--success);
}

/* ========================================
   Search Page
   ======================================== */

.search-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.search-header {
    text-align: center;
    margin-bottom: 3rem;
}

.search-header h1 {
    margin-bottom: 1.5rem;
}

.search-bar {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.search-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* Filter Sidebar */
.filter-sidebar {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.filter-header h3 {
    margin: 0;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group h4 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.filter-checkbox:hover {
    background: var(--bg-hover);
}

.filter-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-primary);
}

.filter-badge {
    background: rgba(233, 30, 99, 0.2);
    color: var(--accent-tertiary);
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.price-range {
    padding: 0.5rem 0;
}

.range-slider {
    width: 100%;
    accent-color: var(--accent-primary);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Search Results */
.search-results {
    flex: 1;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.results-count {
    color: var(--text-secondary);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-options label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.sort-options select {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.page-num:hover,
.page-num.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.page-dots {
    color: var(--text-muted);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 4rem 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 2rem;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .stats-bar {
        flex-wrap: wrap;
        gap: 3rem;
    }
    
    .paths-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .gm-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .rescue-feature,
    .discord-section {
        grid-template-columns: 1fr;
    }
    
    .search-layout {
        grid-template-columns: 1fr;
    }
    
    .filter-sidebar {
        position: static;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-auth {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .stats-bar {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ========================================
   GM Profile Page
   ======================================== */

.profile-page {
    max-width: 1200px;
    margin: 0 auto;
}

.gm-hero {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    padding: 3rem 2rem;
}

.gm-hero-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.gm-avatar-large {
    position: relative;
}

.gm-avatar-large img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    object-fit: cover;
}

.online-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: var(--success);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
}

.gm-info {
    flex: 1;
}

.gm-name-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.gm-name-row h1 {
    margin: 0;
}

.verified-badge {
    color: var(--success);
    font-size: 0.85rem;
}

.gm-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.stars {
    color: var(--warning);
}

.stars.large {
    font-size: 1.25rem;
}

.rating-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.gm-tagline {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.gm-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.gm-stat {
    text-align: center;
}

.gm-stat .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.gm-stat .stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.gm-actions {
    display: flex;
    gap: 1rem;
}

.profile-content {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.profile-section {
    margin-bottom: 3rem;
}

.profile-section h2 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.about-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.style-meters {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.style-meter {
    width: 100%;
}

.meter-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.meter-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px;
}

/* Calendar */
.availability-calendar {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.cal-nav {
    background: var(--bg-tertiary);
    border: none;
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
}

.cal-month {
    font-weight: 600;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-day-header {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0.5rem;
    text-transform: uppercase;
}

.cal-day {
    text-align: center;
    padding: 0.75rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cal-day.empty {
    visibility: hidden;
}

.cal-day.available {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    cursor: pointer;
}

.cal-day.booked {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent-primary);
}

.cal-day.today {
    border: 2px solid var(--accent-primary);
    color: var(--text-primary);
}

.calendar-legend {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.available {
    background: var(--success);
}

.dot.booked {
    background: var(--accent-primary);
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Reviews */
.reviews-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
}

.summary-score {
    font-size: 3rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.summary-details span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.review-breakdown {
    flex: 1;
}

.breakdown-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.breakdown-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--warning);
    border-radius: 4px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    display: block;
    font-weight: 600;
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-rating {
    color: var(--warning);
}

.review-game {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.review-game-label {
    color: var(--text-muted);
}

.review-text {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.review-helpful {
    margin-top: 1rem;
}

.helpful-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
}

.helpful-btn:hover {
    background: var(--bg-hover);
}

.gm-response {
    background: var(--bg-tertiary);
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.load-more {
    display: block;
    margin: 2rem auto 0;
}

/* ========================================
   Game Listing Page
   ======================================== */

.game-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.game-header {
    margin-bottom: 1.5rem;
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--text-primary);
}

.game-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}

.game-title-section {
    margin-bottom: 2rem;
}

.game-badges {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.game-title-section h1 {
    margin-bottom: 0.5rem;
}

.game-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.game-section {
    margin-bottom: 2.5rem;
}

.game-section h2 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.game-description p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Ongoing Campaign Info */
.ongoing-info {
    background: var(--accent-gradient-soft);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(233, 30, 99, 0.3);
}

.ongoing-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.ongoing-icon {
    font-size: 1.5rem;
}

.ongoing-header h2 {
    margin: 0;
}

.progress-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.progress-stat {
    text-align: center;
}

.progress-stat .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-tertiary);
}

.progress-stat .stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.story-so-far h3 {
    margin-bottom: 0.75rem;
}

.story-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Party Grid */
.party-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.party-member {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

.party-member img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.party-member .member-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.party-member .member-name {
    font-weight: 600;
}

.party-member .character-info {
    font-size: 0.9rem;
    color: var(--accent-primary);
}

.party-member .member-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.party-member.vacant {
    border-style: dashed;
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.05);
}

.vacant-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* Safety Grid */
.safety-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.safety-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
}

.safety-icon {
    font-size: 1.5rem;
}

.safety-content h4 {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.safety-content p {
    font-size: 0.85rem;
    margin: 0;
}

.requirements-list {
    list-style: none;
}

.requirements-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.requirements-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* Game Sidebar */
.game-sidebar {
    position: sticky;
    top: 100px;
}

.booking-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.price-display {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.schedule-info {
    margin-bottom: 1.5rem;
}

.schedule-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.spots-display {
    text-align: center;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.5rem;
}

.spots-available {
    display: block;
    font-weight: 600;
    color: var(--success);
}

.spots-total {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.booking-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.gm-sidebar-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.gm-sidebar-card .gm-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gm-sidebar-card .gm-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.gm-sidebar-card .gm-name {
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.gm-quick-stats {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.share-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 1rem;
    text-align: center;
}

.share-card h4 {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--bg-hover);
}

/* ========================================
   Group Dashboard Page
   ======================================== */

.dashboard-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dashboard-title h1 {
    margin: 0;
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: start;
}

.dashboard-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-header h2 {
    margin: 0;
    font-size: 1.25rem;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.overview-item {
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
}

.overview-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.overview-value {
    font-weight: 600;
    color: var(--text-primary);
}

.campaign-description h4 {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Roster */
.roster-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.roster-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.roster-member {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
}

.member-avatar {
    position: relative;
}

.member-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.role-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: var(--accent-primary);
    color: white;
    font-size: 0.6rem;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    font-weight: 600;
}

.role-badge.gm {
    background: var(--warning);
}

.roster-member .member-details {
    flex: 1;
}

.roster-member .member-name {
    display: block;
    font-weight: 600;
}

.roster-member .character-name {
    font-size: 0.9rem;
    color: var(--accent-primary);
}

.roster-member .attendance-rate {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.find-player-link {
    font-size: 0.85rem;
}

.member-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.member-status .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.member-status.online .status-dot {
    background: var(--success);
}

.member-status.offline .status-dot {
    background: var(--text-muted);
}

.vacant-avatar {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 2px dashed var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.25rem;
}

.roster-member.vacant {
    background: transparent;
    border: 1px dashed var(--border-color);
}

/* Sessions */
.session-tabs {
    display: flex;
    gap: 0.5rem;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.tab-btn:hover {
    background: var(--bg-tertiary);
}

.tab-btn.active {
    background: var(--accent-primary);
    color: white;
}

.sessions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.session-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
}

.session-date {
    text-align: center;
    min-width: 50px;
}

.date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.date-month {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.session-details {
    flex: 1;
}

.session-title {
    display: block;
    font-weight: 600;
}

.session-time {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.session-rsvp,
.session-attendance {
    text-align: right;
}

.rsvp-avatars {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.25rem;
}

.rsvp-avatars img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--bg-tertiary);
    margin-left: -8px;
}

.rsvp-avatars img:first-child {
    margin-left: 0;
}

.rsvp-avatars img.tentative {
    opacity: 0.5;
}

.rsvp-count {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.attendance-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.attendance-badge.full {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.attendance-badge.partial {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-card h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.sidebar-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Health Card */
.health-score {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.health-circle {
    width: 70px;
    height: 70px;
    background: conic-gradient(
        var(--success) calc(var(--score) * 3.6deg),
        var(--bg-tertiary) 0deg
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.health-circle::before {
    content: '';
    position: absolute;
    width: 54px;
    height: 54px;
    background: var(--bg-card);
    border-radius: 50%;
}

.score-value {
    position: relative;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--success);
}

.health-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--success);
}

.health-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.metric {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 0.75rem;
    align-items: center;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.metric-bar {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.metric-bar .bar-fill {
    height: 100%;
    background: var(--success);
    border-radius: 3px;
}

.metric-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 35px;
    text-align: right;
}

.health-alert {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    margin-top: 1rem;
    font-size: 0.85rem;
}

.health-alert.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.action-btn:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
}

.action-icon {
    font-size: 1.25rem;
}

/* Waitlist */
.waitlist-preview {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.waitlist-player {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.waitlist-player img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.waitlist-info {
    flex: 1;
}

.waitlist-info .player-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
}

.waitlist-info .player-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.view-all-link {
    font-size: 0.9rem;
}

/* ========================================
   Group Rescue Page
   ======================================== */

.rescue-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.rescue-page .rescue-header {
    text-align: center;
    margin-bottom: 2rem;
}

.rescue-page .rescue-header h1 {
    margin-bottom: 0.5rem;
}

.rescue-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 0.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.rescue-tab {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    transition: var(--transition);
}

.rescue-tab:hover {
    color: var(--text-primary);
}

.rescue-tab.active {
    background: var(--accent-primary);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.rescue-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.rescue-form-section,
.rescue-results-section {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 2rem;
}

.form-card h2,
.rescue-results-section h2 {
    margin-bottom: 0.5rem;
}

.form-subtitle,
.results-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
}

.form-checkbox input {
    accent-color: var(--accent-primary);
}

/* Candidate Cards */
.candidate-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.candidate-card {
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    padding: 1.25rem;
}

.candidate-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.candidate-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.candidate-info {
    flex: 1;
}

.candidate-name {
    display: block;
    font-weight: 600;
}

.candidate-exp {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.match-score {
    text-align: center;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius-sm);
}

.match-score .score-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--success);
    -webkit-text-fill-color: var(--success);
}

.match-score .score-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.candidate-systems {
    margin-bottom: 0.75rem;
}

.candidate-bio {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.candidate-availability {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.candidate-actions {
    display: flex;
    gap: 0.75rem;
}

/* GM Succession */
.gm-succession-info {
    margin-bottom: 1.5rem;
}

.info-block {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
}

.info-block h3 {
    margin-bottom: 1rem;
}

.succession-steps {
    list-style: none;
    counter-reset: step;
}

.succession-steps li {
    counter-increment: step;
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.succession-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    width: 22px;
    height: 22px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.gm-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gm-rescue-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
}

.gm-rescue-card .gm-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.gm-rescue-card .gm-info {
    flex: 1;
}

.gm-rescue-card .gm-name-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.gm-rescue-card .gm-name {
    font-weight: 600;
}

.gm-rescue-card .gm-rating {
    font-size: 0.85rem;
    color: var(--warning);
    margin-bottom: 0.5rem;
}

.gm-rescue-card .gm-specialty {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.gm-rescue-card .gm-systems {
    display: flex;
    gap: 0.5rem;
}

/* Adopt Section */
.adopt-section {
    text-align: center;
}

.adopt-section h2 {
    margin-bottom: 0.5rem;
}

.adopt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: left;
}

.adopt-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
}

.adopt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.session-count {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.adopt-card h3 {
    margin-bottom: 0.75rem;
}

.adopt-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.adopt-details {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.adopt-players {
    display: flex;
    margin-bottom: 1.5rem;
}

.adopt-players img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
    margin-left: -8px;
}

.adopt-players img:first-child {
    margin-left: 0;
}

/* ========================================
   Player Onboarding Page
   ======================================== */

.onboarding-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.onboarding-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 3rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.progress-step .step-number {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-secondary);
}

.progress-step.completed .step-number {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.progress-step.active .step-number {
    background: var(--accent-gradient);
    border-color: var(--accent-primary);
    color: white;
}

.progress-step .step-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.progress-step.active .step-label {
    color: var(--text-primary);
    font-weight: 500;
}

.progress-line {
    width: 80px;
    height: 2px;
    background: var(--border-color);
    margin: 0 0.5rem;
    margin-bottom: 1.5rem;
}

.progress-line.completed {
    background: var(--success);
}

.onboarding-header {
    text-align: center;
    margin-bottom: 3rem;
}

.onboarding-header h1 {
    margin-bottom: 0.5rem;
}

.onboarding-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: start;
}

.onboarding-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.onboarding-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
}

.onboarding-card h2 {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
}

.campaign-summary .summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.summary-item {
    text-align: center;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
}

.summary-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.summary-value {
    font-weight: 600;
    color: var(--text-primary);
}

/* Story Recap */
.story-recap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.story-chapter h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--accent-primary);
}

.story-chapter p {
    line-height: 1.7;
    margin: 0;
}

.story-note {
    background: rgba(139, 92, 246, 0.1);
    border-left: 4px solid var(--accent-primary);
    padding: 1rem;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

/* Party Intro */
.party-intro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.party-intro-member {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
}

.party-intro-member img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.party-intro-member .player-name {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.party-intro-member .character-name {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.party-intro-member .player-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

/* Expectations */
.expectations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.expectation-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
}

.expectation-icon {
    font-size: 1.5rem;
}

.expectation-content h4 {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.expectation-content p {
    font-size: 0.85rem;
    margin: 0;
}

.content-warnings {
    background: rgba(245, 158, 11, 0.1);
    padding: 1rem;
    border-radius: var(--border-radius-sm);
}

.content-warnings h4 {
    color: var(--warning);
    margin-bottom: 0.5rem;
}

.content-warnings p {
    font-size: 0.9rem;
    margin: 0;
}

/* Character Guidelines */
.character-guidelines h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.character-guidelines h4:first-child {
    margin-top: 0;
}

.character-guidelines ul {
    list-style: none;
    padding-left: 0;
}

.character-guidelines li {
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--text-secondary);
}

.character-guidelines li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* Onboarding Sidebar */
.onboarding-sidebar {
    position: sticky;
    top: 100px;
}

.session-zero-info,
.first-session-info {
    text-align: center;
}

.session-date-large {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.session-date-large .date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.session-date-large .date-time {
    font-size: 1rem;
}

.calendar-actions {
    margin-top: 1rem;
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    transition: var(--transition);
}

.resource-link:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.resource-icon {
    font-size: 1.25rem;
}

.confirm-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    border-color: var(--accent-primary);
}

/* ========================================
   Booking Page
   ======================================== */

.booking-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

.booking-header {
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.back-link:hover {
    color: var(--text-primary);
}

.booking-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

.booking-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.booking-step {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step-header .step-number {
    width: 32px;
    height: 32px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.step-header h2 {
    margin: 0;
    font-size: 1.15rem;
}

/* Session Calendar */
.session-calendar {
    margin-bottom: 1rem;
}

.calendar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.session-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.slot-day {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.day-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

.time-slot {
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.time-slot:hover:not(:disabled) {
    border-color: var(--accent-primary);
}

.time-slot.selected {
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.1);
}

.time-slot.full {
    opacity: 0.5;
    cursor: not-allowed;
}

.slot-time {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.slot-spots {
    font-size: 0.8rem;
    color: var(--success);
}

.time-slot.full .slot-spots {
    color: var(--text-muted);
}

.session-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.payment-option:hover {
    border-color: var(--accent-primary);
}

.payment-option.selected {
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.1);
}

.payment-option input {
    accent-color: var(--accent-primary);
    width: 20px;
    height: 20px;
}

.option-content {
    flex: 1;
}

.option-title {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.option-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.option-price {
    font-weight: 600;
    color: var(--accent-primary);
}

/* Split Payment */
.split-payment-section h4 {
    margin-bottom: 0.5rem;
}

.split-instructions {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.split-members {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.split-member {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg-primary);
    border-radius: var(--border-radius-sm);
}

.split-member.you {
    background: rgba(139, 92, 246, 0.1);
}

.member-label {
    font-weight: 600;
    min-width: 40px;
}

.member-email {
    flex: 1;
    color: var(--text-secondary);
}

.member-share {
    font-weight: 600;
    color: var(--accent-primary);
}

.split-input {
    flex: 1;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 0.75rem;
    color: var(--text-primary);
}

.remove-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

.remove-btn:hover {
    color: var(--error);
}

.add-member-btn {
    width: fit-content;
}

/* Payment Form */
.payment-form {
    margin-bottom: 1.5rem;
}

.card-input {
    position: relative;
}

.card-icons {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 0.5rem;
}

.card-icon {
    font-size: 1.5rem;
}

.payment-security {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.security-icon {
    font-size: 1.25rem;
}

/* Terms */
.booking-terms {
    margin-bottom: 1.5rem;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.terms-checkbox input {
    margin-top: 0.2rem;
    accent-color: var(--accent-primary);
}

.terms-checkbox a {
    color: var(--accent-primary);
}

.booking-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--success);
}

/* Booking Sidebar */
.booking-sidebar {
    position: sticky;
    top: 100px;
}

.summary-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.summary-card h3 {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.summary-game {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.summary-gm-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.summary-game-info {
    flex: 1;
}

.summary-title {
    display: block;
    font-weight: 600;
}

.summary-gm {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.summary-row span:first-child {
    color: var(--text-secondary);
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1rem 0;
}

.summary-pricing {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.price-row span:first-child {
    color: var(--text-secondary);
}

.price-row.total {
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.price-row.total span {
    color: var(--text-primary);
}

.summary-note {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
}

.summary-note p {
    margin: 0;
    color: var(--text-secondary);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.badge-icon {
    font-size: 1rem;
}

/* ========================================
   Responsive Additions
   ======================================== */

@media (max-width: 1024px) {
    .rescue-layout,
    .game-layout,
    .dashboard-layout,
    .onboarding-layout,
    .booking-layout {
        grid-template-columns: 1fr;
    }
    
    .game-sidebar,
    .dashboard-sidebar,
    .onboarding-sidebar,
    .booking-sidebar {
        position: static;
    }
    
    .gm-hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .gm-stats {
        justify-content: center;
    }
    
    .gm-actions {
        justify-content: center;
    }
    
    .party-grid,
    .safety-grid,
    .expectations-grid,
    .party-intro-grid,
    .adopt-grid {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .session-slots {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .campaign-summary .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .onboarding-progress {
        flex-wrap: wrap;
    }
    
    .progress-line {
        display: none;
    }
}
