/* CSS Variables - Legacy (importing from design-tokens.css) */
/* See design-tokens.css for complete design system */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body, 'Inter', sans-serif);
    background: var(--gradient-festive);
    min-height: 100vh;
    color: var(--neutral-700);
    overflow-x: hidden;
    position: relative;
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Snowflakes Animation */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.snowflake {
    position: absolute;
    top: -10%;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5em;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}

.snowflake:nth-child(1) { left: 10%; animation-duration: 10s; animation-delay: 0s; }
.snowflake:nth-child(2) { left: 20%; animation-duration: 12s; animation-delay: 2s; }
.snowflake:nth-child(3) { left: 30%; animation-duration: 8s; animation-delay: 4s; }
.snowflake:nth-child(4) { left: 40%; animation-duration: 14s; animation-delay: 1s; }
.snowflake:nth-child(5) { left: 50%; animation-duration: 11s; animation-delay: 3s; }
.snowflake:nth-child(6) { left: 60%; animation-duration: 9s; animation-delay: 5s; }
.snowflake:nth-child(7) { left: 70%; animation-duration: 13s; animation-delay: 2s; }
.snowflake:nth-child(8) { left: 80%; animation-duration: 10s; animation-delay: 4s; }
.snowflake:nth-child(9) { left: 90%; animation-duration: 12s; animation-delay: 1s; }
.snowflake:nth-child(10) { left: 95%; animation-duration: 11s; animation-delay: 3s; }

/* Christmas Lights */
.lightrope {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.lightrope-list {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    margin: 0;
}

.lightrope-list li {
    width: 12px;
    height: 28px;
    border-radius: 50%;
    margin-top: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

.lightrope-list li:nth-child(4n+1) {
    background: #ff0000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3), 0 0 20px #ff0000;
    animation: glow-red 1.5s infinite;
}

.lightrope-list li:nth-child(4n+2) {
    background: #00ff00;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3), 0 0 20px #00ff00;
    animation: glow-green 1.5s infinite 0.3s;
}

.lightrope-list li:nth-child(4n+3) {
    background: #0000ff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3), 0 0 20px #0000ff;
    animation: glow-blue 1.5s infinite 0.6s;
}

.lightrope-list li:nth-child(4n+4) {
    background: #ffd700;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3), 0 0 20px #ffd700;
    animation: glow-gold 1.5s infinite 0.9s;
}

@keyframes glow-red {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes glow-green {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes glow-blue {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes glow-gold {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Music Control */
.music-control {
    position: fixed;
    top: 60px;
    right: 20px;
    z-index: 1001;
}

.music-btn {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.music-btn:hover {
    background: var(--dark-green);
    transform: scale(1.05);
}

.music-btn.playing {
    background: var(--primary-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(15, 124, 58, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(15, 124, 58, 0); }
}

/* Container */
.container {
    max-width: 800px;
    margin: 80px auto 40px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-family: var(--font-display, 'Mountains of Christmas', cursive);
    font-size: var(--text-5xl);
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    margin-bottom: var(--space-3);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
    animation: bounce 2s infinite;
}

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

.tagline {
    font-size: 1.3em;
    color: white;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    opacity: 0.95;
}

/* Card Styles */
.card {
    background: var(--snow-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

.card h2 {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    color: var(--primary-red);
    font-size: var(--text-3xl);
    margin-bottom: var(--space-8);
    text-align: center;
    font-weight: var(--font-weight-bold);
}

.card h3 {
    font-family: 'Mountains of Christmas', cursive;
    color: var(--primary-green);
    font-size: 2em;
    margin-bottom: 20px;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 8px;
    font-size: 1.1em;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(15, 124, 58, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.9em;
}

/* Buttons - Modern Design System */
.btn {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-weight: var(--font-weight-semibold);
    padding: var(--space-3) var(--space-6);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-smooth);
    display: block;
    width: 100%;
    margin-top: var(--space-3);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--gradient-red);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #9a1530 0%, #7d1126 100%);
    box-shadow: var(--shadow-red);
}

.btn-secondary {
    background: var(--gradient-green);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #0a5028 0%, #083d1f 100%);
    box-shadow: var(--shadow-green);
}

/* Info Card */
.info-card {
    background: linear-gradient(135deg, #fefaf0 0%, #ffffff 100%);
    border: 3px solid var(--gold);
}

.info-card ol {
    padding-left: 25px;
}

.info-card li {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.6;
}

/* Page Management */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Dashboard */
.user-info {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.user-info p {
    margin: 5px 0;
    font-size: 1.2em;
}

.group-badge {
    background: var(--gold);
    color: var(--dark-green);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
}

/* Assignment Section */
.assignment-section {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waiting-message {
    text-align: center;
}

.spinner {
    border: 4px solid rgba(196, 30, 58, 0.1);
    border-left-color: var(--primary-red);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.waiting-message p {
    font-size: 1.2em;
    color: #666;
    margin: 10px 0;
}

.participants-count {
    font-weight: 600;
    color: var(--primary-green);
}

.assignment-result {
    text-align: center;
}

.assignment-result.hidden {
    display: none;
}

.gift-box {
    font-size: 5em;
    animation: shake 2s infinite;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.assignment-result h3 {
    margin: 20px 0;
}

.assignment-name {
    font-size: 1.2em;
    color: #666;
    margin: 10px 0;
}

.receiver-name {
    font-size: 2.5em;
    color: var(--primary-red);
    font-weight: 700;
    font-family: 'Mountains of Christmas', cursive;
    margin: 20px 0;
}

.message {
    font-size: 1.3em;
    color: var(--primary-green);
    font-weight: 600;
}

/* Group Selector */
.group-selector {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.group-selector label {
    font-weight: 600;
    color: var(--dark-green);
    font-size: 1.1em;
    white-space: nowrap;
}

.group-select {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    font-size: 1em;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.group-select:hover {
    border-color: var(--primary-red);
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.2);
}

.group-select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.action-buttons .btn {
    flex: 1;
    margin-top: 0;
}

/* Group Management */
.group-admin, .group-member {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 3px solid #e0e0e0;
}

.waiting-note {
    text-align: center;
    color: var(--primary-green);
    font-size: 1.2em;
    font-weight: 600;
    margin-top: 20px;
    padding: 15px;
    background: #f0fdf4;
    border-radius: 10px;
    border-left: 4px solid var(--primary-green);
}

.participants-list {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.participants-list h4 {
    color: var(--dark-green);
    margin-bottom: 15px;
}

.participants-list ul {
    list-style: none;
}

.participants-list li {
    padding: 10px;
    background: white;
    margin-bottom: 8px;
    border-radius: 5px;
    border-left: 4px solid var(--primary-green);
}

.draw-note {
    text-align: center;
    color: #666;
    font-size: 0.9em;
    margin-top: 10px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    color: white;
    font-size: 1.1em;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

footer a {
    color: white;
    text-decoration: underline;
    opacity: 0.95;
    transition: opacity 0.2s ease;
}

footer a:hover {
    opacity: 1;
    text-shadow: 0 0 8px rgba(255,255,255,0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 60px 10px 20px;
    }

    header h1 {
        font-size: 2.5em;
    }

    .tagline {
        font-size: 1em;
    }

    .card {
        padding: 25px;
    }

    .card h2 {
        font-size: 2em;
    }

    .music-control {
        top: 50px;
        right: 10px;
    }

    .music-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* Hidden utility class */
.hidden {
    display: none !important;
}

/* Auth Pages */
.auth-card {
    max-width: 500px;
    margin: 0 auto;
}

.auth-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    text-align: center;
}

.auth-links a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: var(--primary-red);
    text-decoration: underline;
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 1em;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label span {
    flex: 1;
}

.info-text {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Dashboard Styles */
.dashboard-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h2 {
    margin: 0;
    color: white;
}

.logout-btn {
    background: white;
    color: var(--primary-green);
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: var(--primary-red);
    color: white;
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.group-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    border-left: 4px solid transparent;
    transition: all var(--duration-normal) var(--ease-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.group-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-festive);
    transform: scaleX(0);
    transition: transform var(--duration-normal) ease;
}

.group-card:hover::before {
    transform: scaleX(1);
}

.group-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl), 0 0 20px rgba(183, 28, 58, 0.1);
    border-left-color: var(--primary-red);
}

.group-card.drawn {
    border-left-color: var(--success);
}

.group-card.drawn::before {
    background: var(--success);
}

.group-card h3 {
    color: var(--primary-red);
    margin-bottom: var(--space-4);
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
}

.group-status {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-3);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.group-status.waiting {
    background: var(--festive-light-gold);
    color: var(--warning);
    border: 1px solid rgba(234, 88, 12, 0.2);
}

.group-status.complete {
    background: var(--festive-light-green);
    color: var(--success);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.group-assignment {
    background: #f0fdf4;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    border-left: 3px solid var(--primary-green);
}

.group-assignment p {
    margin: 5px 0;
    font-size: 0.95em;
}

.group-assignment .receiver {
    font-size: 1.3em;
    color: var(--primary-red);
    font-weight: 700;
    margin: 10px 0;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

.add-group-btn {
    background: var(--primary-red);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.add-group-btn:hover {
    background: var(--dark-green);
    transform: scale(1.05);
}

/* Make action buttons side by side */
.action-buttons {
    display: flex;
    gap: 15px;
}

.action-buttons .add-group-btn {
    flex: 1;
    margin-top: 0;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    max-width: 500px;
    display: none;
}

.cookie-consent.show {
    display: block;
}

.cookie-consent p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
}

.cookie-consent-buttons button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--primary-green);
    color: white;
}

.cookie-accept:hover {
    background: var(--dark-green);
}

.cookie-decline {
    background: #e5e7eb;
    color: #374151;
}

.cookie-decline:hover {
    background: #d1d5db;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: var(--z-modal-backdrop);
    inset: 0;
    background: rgba(28, 25, 23, 0.6);
    backdrop-filter: blur(8px);
    animation: fadeIn var(--duration-normal) ease;
    overflow: auto;
}

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

.modal-content {
    background: white;
    margin: 5% auto;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn var(--duration-slow) var(--ease-bounce);
    box-shadow: var(--shadow-2xl);
}

.modal-large {
    max-width: 700px;
}

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

.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--primary-red);
}

.modal h2 {
    color: var(--primary-red);
    font-family: 'Mountains of Christmas', cursive;
    margin-top: 0;
    margin-bottom: 20px;
}

/* Participant Badge */
.participant-badge {
    display: inline-block;
    padding: 8px 15px;
    background: var(--primary-green);
    color: white;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    margin: 5px;
}

/* ========================================
   LOADING STATES & SKELETONS
   ======================================== */

/* Skeleton Loader */
.skeleton {
    background: linear-gradient(
        90deg,
        #f0f0f0 25%,
        #e0e0e0 50%,
        #f0f0f0 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-card {
    width: 100%;
    height: 200px;
}

.skeleton-text {
    height: 16px;
    margin: 8px 0;
    width: 100%;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-title {
    height: 24px;
    width: 40%;
    margin: 12px 0;
}

/* Button Loading State */
.btn.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
    cursor: not-allowed;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    top: 50%;
    left: 50%;
    margin-left: -9px;
    margin-top: -9px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.6s linear infinite;
}

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

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */

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

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #1c1917; /* Dark neutral for max contrast */
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    z-index: 100;
    border-radius: 0 0 8px 0;
    font-weight: 600;
    border: 2px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Focus Visible (Modern browsers) */
*:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* High Contrast Focus for Accessibility */
@media (prefers-contrast: high) {
    *:focus {
        outline: 3px solid #000;
        outline-offset: 2px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   PHASE 3: AVATAR CHIPS & BUDGET PILLS
   ======================================== */

/* Avatar Chips for Member Lists */
.member-avatars {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.avatar-chip {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #d4d4d4 70%);
    color: #111;
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 32px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border: 1px solid rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
}

.avatar-chip:hover {
    transform: scale(1.1);
}

.avatar-chip.more {
    background: rgba(212,165,116,0.3);
    color: var(--neutral-800, #292524);
    border: 1px solid rgba(212,165,116,0.5);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Budget/Date/Location Pills for Group Cards */
.group-extras {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.75rem 0 1rem;
}

.extra-pill {
    font-size: 0.75rem;
    line-height: 1.2;
    font-weight: 500;
    font-family: var(--font-body, 'Inter', sans-serif);
    color: var(--neutral-700, #44403c);
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

.extra-pill:hover {
    background: rgba(255,255,255,1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

/* Shimmering Brand Title */
.brand-title {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-weight: 600;
    letter-spacing: -0.03em;
    text-align: center;
}

.brand-gradient {
    background-image: linear-gradient(
        90deg,
        #fff 0%,
        #ffd479 30%,
        #fff 60%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: 0 0;   }
}

