/* ============================================
   Night-Walk - Luxury Night Life Theme
   豪華なナイトライフ風デザイン
   ============================================ */

/* CSS Variables */
:root {
    /* Colors - Luxury Night Theme */
    --color-bg-dark: #0f0515;
    --color-bg-card: rgba(30, 15, 40, 0.9);
    --color-bg-elevated: rgba(50, 25, 60, 0.8);
    --color-bg-input: rgba(20, 10, 30, 0.9);

    /* Accent Colors */
    --color-primary: #ffd700;
    --color-primary-light: #ffe44d;
    --color-primary-dark: #ccac00;

    --color-accent: #ff69b4;
    --color-accent-purple: #9b59b6;
    --color-accent-blue: #3498db;

    /* Gradient Colors */
    --color-pink: #ec4899;
    --color-purple: #8b5cf6;
    --color-gold: #f59e0b;

    /* Text Colors */
    --color-text: #ffffff;
    --color-text-muted: #c8a8d8;
    --color-text-dim: #8868a8;

    /* Status Colors */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    --color-info: #3b82f6;

    /* Borders */
    --color-border: rgba(255, 215, 0, 0.3);
    --color-border-light: rgba(255, 215, 0, 0.5);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    --gradient-pink: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
    --gradient-bg: linear-gradient(180deg, #1a0a25 0%, #0f0515 50%, #150820 100%);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 30px rgba(255, 215, 0, 0.5);
    --shadow-glow-pink: 0 0 30px rgba(236, 72, 153, 0.5);

    /* Typography */
    --font-main: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', sans-serif;
    --font-display: 'Playfair Display', serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: #0f0515;
}

body {
    font-family: var(--font-main);
    background-color: #0f0515;
    background-image: var(--gradient-bg);
    background-attachment: fixed;
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Sparkle Background Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 90% 30%, rgba(236, 72, 153, 0.12) 0%, transparent 35%),
        radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 20% 70%, rgba(255, 140, 0, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 80% 90%, rgba(59, 130, 246, 0.1) 0%, transparent 30%);
    pointer-events: none;
    z-index: -1;
    animation: sparkle-bg 15s ease-in-out infinite alternate;
}

@keyframes sparkle-bg {
    0% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.8;
    }
}

/* Sparkle Particles */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 215, 0, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 50px 160px, rgba(236, 72, 153, 0.7), transparent),
        radial-gradient(2px 2px at 90px 40px, rgba(255, 215, 0, 0.6), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(139, 92, 246, 0.6), transparent),
        radial-gradient(3px 3px at 200px 50px, rgba(255, 215, 0, 0.9), transparent),
        radial-gradient(2px 2px at 250px 150px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2px 2px at 300px 100px, rgba(236, 72, 153, 0.6), transparent);
    background-repeat: repeat;
    background-size: 350px 200px;
    pointer-events: none;
    z-index: -1;
    animation: sparkle-float 8s linear infinite;
}

@keyframes sparkle-float {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-200px);
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-sm {
    max-width: 600px;
}

.container-md {
    max-width: 800px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

.text-muted {
    color: var(--color-text-muted);
}

.text-primary {
    color: var(--color-primary);
}

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

/* Links */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-light);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    background: linear-gradient(180deg, rgba(30, 15, 45, 0.98) 0%, rgba(20, 10, 35, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.navbar-brand:hover {
    color: var(--color-primary-light);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

.brand-icon {
    font-size: 1.8rem;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    color: var(--color-text-muted);
    font-weight: 500;
    transition: all var(--transition-fast);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
}

.nav-link:hover {
    color: var(--color-text);
    background: rgba(255, 215, 0, 0.1);
}

/* ============================================
   Buttons - Luxury Style
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-pink);
    color: white;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(236, 72, 153, 0.6);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background: var(--color-bg-elevated);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

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

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-bg-dark);
    box-shadow: var(--shadow-glow);
}

.btn-gold {
    background: var(--gradient-gold);
    color: #1a0a25;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

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

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: 1.1rem;
}

.btn-sm {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   Cards - Glass Morphism Style
   ============================================ */
.card {
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.9) 0%, rgba(25, 12, 38, 0.95) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.card:hover {
    border-color: var(--color-border-light);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.1);
}

.card-header {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--color-primary);
}

/* ============================================
   Forms
   ============================================ */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--color-text-muted);
}

.form-control {
    width: 100%;
    padding: var(--space-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg-input);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2), 0 0 20px rgba(255, 215, 0, 0.1);
}

.form-control::placeholder {
    color: var(--color-text-dim);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.form-check-input {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

/* ============================================
   Alerts / Flash Messages
   ============================================ */
.flash-messages {
    padding: var(--space-md) 0;
}

.alert {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.alert-success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #34d399;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fbbf24;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #f87171;
}

.alert-info {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.5);
    color: #60a5fa;
}

.alert-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.alert-close:hover {
    opacity: 1;
}

/* ============================================
   Vacancy Status Badges
   ============================================ */
.vacancy-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: var(--space-xs) var(--space-md);
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    white-space: nowrap;
    text-transform: uppercase;
}

.vacancy-badge-lg {
    min-width: 80px;
    padding: var(--space-md) var(--space-xl);
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .vacancy-badge-lg {
        min-width: 60px;
        padding: var(--space-sm) var(--space-lg);
        font-size: 1.1rem;
    }
}

.vacancy-success {
    background: rgba(16, 185, 129, 0.3);
    color: #34d399;
    border: 2px solid #34d399;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.vacancy-warning {
    background: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    border: 2px solid #fbbf24;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.vacancy-danger {
    background: rgba(239, 68, 68, 0.3);
    color: #f87171;
    border: 2px solid #f87171;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.vacancy-secondary {
    background: rgba(136, 136, 160, 0.3);
    color: var(--color-text-muted);
    border: 2px solid var(--color-text-muted);
}

/* ============================================
   Vacancy Update Buttons
   ============================================ */
.vacancy-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.vacancy-btn {
    flex: 1;
    min-width: 100px;
    max-width: 150px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    border: 3px solid;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-base);
    background: transparent;
}

.vacancy-btn span {
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: var(--space-sm);
}

.vacancy-btn-empty {
    border-color: #34d399;
    color: #34d399;
}

.vacancy-btn-empty:hover,
.vacancy-btn-empty.active {
    background: #34d399;
    color: white;
    box-shadow: 0 0 30px rgba(52, 211, 153, 0.5);
}

.vacancy-btn-busy {
    border-color: #fbbf24;
    color: #fbbf24;
}

.vacancy-btn-busy:hover,
.vacancy-btn-busy.active {
    background: #fbbf24;
    color: white;
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
}

.vacancy-btn-full {
    border-color: #f87171;
    color: #f87171;
}

.vacancy-btn-full:hover,
.vacancy-btn-full.active {
    background: #f87171;
    color: white;
    box-shadow: 0 0 30px rgba(248, 113, 113, 0.5);
}

/* ============================================
   Category Buttons (New!)
   ============================================ */
.category-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

/* Inline style - all in one row */
.category-buttons-inline {
    flex-wrap: nowrap;
    gap: var(--space-sm);
}

.category-buttons-inline .category-btn {
    flex-direction: row;
    padding: var(--space-sm) var(--space-lg);
    min-width: auto;
    font-size: 0.9rem;
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg) var(--space-xl);
    min-width: 140px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.category-btn-pink {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    border: 2px solid #f472b6;
    color: white;
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.4);
}

.category-btn-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    border: 2px solid #a78bfa;
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.category-btn-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: 2px solid #60a5fa;
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.category-btn-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    border: 2px solid #fbbf24;
    color: white;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.category-btn:hover {
    transform: translateY(-4px) scale(1.02);
    color: white;
}

.category-btn-icon {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

/* ============================================
   Feature Ribbon Banners
   ============================================ */
.feature-ribbons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

/* Inline style - all in one row */
.feature-ribbons-inline {
    flex-wrap: nowrap;
    gap: var(--space-sm);
}

.feature-ribbons-inline .ribbon {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.85rem;
    clip-path: none;
    border-radius: var(--radius);
}

.ribbon {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

/* ============================================
   Shop Cards (Public)
   ============================================ */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.shop-card {
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.95) 0%, rgba(25, 12, 38, 0.98) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.shop-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.2);
}

.shop-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--color-bg-elevated);
}

.shop-card-body {
    padding: var(--space-lg);
}

.shop-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.shop-card-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.shop-card-area {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.shop-card-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.shop-card-info span {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* ============================================
   Dashboard Stats
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.stat-card {
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.9) 0%, rgba(25, 12, 38, 0.95) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-sm);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

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

.table th,
.table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.table th {
    font-weight: 600;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table tbody tr:hover {
    background: rgba(255, 215, 0, 0.05);
}

/* ============================================
   Admin Sidebar Layout
   ============================================ */
.admin-layout {
    display: flex;
    min-height: calc(100vh - 60px);
}

.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, rgba(30, 15, 45, 0.98) 0%, rgba(20, 10, 35, 0.95) 100%);
    border-right: 1px solid var(--color-border);
    padding: var(--space-lg);
    flex-shrink: 0;
}

.admin-content {
    flex: 1;
    padding: var(--space-xl);
    overflow-x: auto;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: var(--space-xs);
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    color: var(--color-text-muted);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.sidebar-nav a:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--color-text);
}

.sidebar-nav a.active {
    background: rgba(255, 215, 0, 0.2);
    color: var(--color-primary);
}

/* ============================================
   Area Filter
   ============================================ */
.area-filter {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.area-filter a {
    padding: var(--space-sm) var(--space-lg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text-muted);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.area-filter a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.area-filter a.active {
    background: var(--gradient-gold);
    border-color: var(--color-primary);
    color: #1a0a25;
}

/* ============================================
   Login Page
   ============================================ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.95) 0%, rgba(25, 12, 38, 0.98) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.login-header .brand-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: var(--space-md);
}

.login-header h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* ============================================
   Shop Detail Page
   ============================================ */
.shop-detail-header {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-xl);
}

.shop-detail-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(15, 5, 21, 0.95) 0%, transparent 100%);
}

.shop-detail-header-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl);
    z-index: 1;
}

.shop-detail-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
}

@media (max-width: 768px) {
    .shop-detail-info {
        grid-template-columns: 1fr;
    }
}

.info-section {
    margin-bottom: var(--space-xl);
}

.info-section h3 {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   Booking CTA
   ============================================ */
.booking-cta {
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.95) 0%, rgba(25, 12, 38, 0.98) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    position: sticky;
    top: 100px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.booking-cta h3 {
    margin-bottom: var(--space-lg);
}

.phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    width: 100%;
    padding: var(--space-lg);
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-pink);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.4);
}

.phone-btn:hover {
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.6);
    transform: scale(1.02);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    margin-top: auto;
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    background: linear-gradient(180deg, rgba(20, 10, 30, 0.8) 0%, rgba(15, 5, 21, 0.95) 100%);
}

.main-content {
    flex: 1;
    padding: var(--space-xl) 0;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {

    /* Compact Navbar for Mobile */
    .navbar {
        padding: 0.4rem 0 !important;
    }

    .navbar-brand {
        font-size: 1rem !important;
        gap: 0.2rem !important;
    }

    .brand-icon {
        font-size: 1.1rem !important;
    }

    .nav-link {
        font-size: 0.7rem !important;
        padding: 0.2rem 0.4rem !important;
    }

    .navbar-menu {
        gap: 0.4rem !important;
    }

    .sidebar-toggle-btn {
        display: flex !important;
        background: var(--gradient-gold);
        border: none;
        color: #1a0a25;
        padding: 0.2rem 0.6rem;
        border-radius: var(--radius-sm);
        cursor: pointer;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1.1rem;
        margin-right: 0.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .admin-layout {
        flex-direction: column;
        position: relative;
    }

    .admin-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        bottom: 0;
        width: 280px;
        z-index: 2000;
        /* Sidebar over everything */
        transition: left var(--transition-base);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        background: #1a0a25;
        /* Solid dark background */
    }

    .admin-sidebar.active {
        left: 0;
    }

    .admin-sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(4px);
        z-index: 1900;
    }

    .admin-sidebar-overlay.active {
        display: block;
    }

    .admin-sidebar-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        margin-bottom: var(--space-md);
        padding: var(--space-md);
        border-bottom: 1px solid var(--color-border);
    }

    .admin-content {
        padding: var(--space-sm);
    }

    /* Compact Text for Mobile Admin */
    .admin-content h1 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .admin-content h2 {
        font-size: 0.95rem;
    }

    .admin-content h3 {
        font-size: 0.85rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .stat-card {
        padding: var(--space-sm);
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .table th,
    .table td {
        padding: var(--space-sm);
        font-size: 0.75rem;
    }

    .badge {
        font-size: 0.65rem;
        padding: 2px 6px;
    }

    .card {
        padding: var(--space-md);
    }

    .sidebar-nav a {
        padding: var(--space-sm);
        font-size: 0.875rem;
    }

    .vacancy-buttons {
        flex-direction: row;
    }

    .vacancy-btn {
        max-width: 100px;
        font-size: 1.5rem;
    }

    .shop-grid {
        grid-template-columns: 1fr;
    }

    .category-buttons:not(.category-buttons-inline) {
        flex-direction: column;
        align-items: stretch;
    }

    .category-buttons-inline {
        flex-wrap: wrap;
        gap: var(--space-xs);
    }

    .category-buttons-inline .category-btn {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.8rem;
    }

    .category-btn {
        min-width: auto;
    }

    .feature-ribbons-inline {
        flex-wrap: wrap;
        gap: var(--space-xs);
    }

    .feature-ribbons-inline .ribbon {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.75rem;
    }
}

/* Dashboard Quick Actions */
.dashboard-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.dashboard-quick-actions .btn {
    padding: var(--space-md) var(--space-sm);
    height: 100%;
}

.dashboard-quick-actions .btn-outline {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .dashboard-quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xs);
    }

    .dashboard-quick-actions .btn {
        padding: 0.6rem 0.25rem;
        font-size: 0.8rem;
        border-radius: var(--radius-sm);
    }
}

/* Hide mobile elements by default */
.sidebar-toggle-btn,
.admin-sidebar-header {
    display: none;
}

/* ============================================
   Utilities
   ============================================ */
.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: var(--space-sm);
}

.mb-2 {
    margin-bottom: var(--space-md);
}

.mb-3 {
    margin-bottom: var(--space-lg);
}

.mb-4 {
    margin-bottom: var(--space-xl);
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: var(--space-sm);
}

.mt-2 {
    margin-top: var(--space-md);
}

.mt-3 {
    margin-top: var(--space-lg);
}

.mt-4 {
    margin-top: var(--space-xl);
}

.d-flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.gap-1 {
    gap: var(--space-sm);
}

.gap-2 {
    gap: var(--space-md);
}

.gap-3 {
    gap: var(--space-lg);
}

.w-100 {
    width: 100%;
}

/* Status badge utility */
.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    white-space: nowrap;
}

.badge-success {
    background: rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.badge-info {
    background: rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

/* ============================================
   Search Page Styles
   ============================================ */

/* Banner Carousel */
.banner-carousel {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    background: var(--color-bg-card);
}

.banner-item {
    display: none;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner-item.active {
    display: block;
    opacity: 1;
}

.banner-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.banner-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.9) 0%, rgba(25, 12, 38, 0.95) 100%);
    color: var(--color-text-muted);
    font-size: 1.25rem;
}

.banner-dots {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
}

.banner-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.banner-dots .dot.active {
    background: var(--color-primary);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Announcements */
.announcements-section {
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.9) 0%, rgba(25, 12, 38, 0.95) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
}

.announcements-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

.announcements-icon {
    font-size: 1.25rem;
}

.announcements-title {
    font-weight: 600;
    color: var(--color-primary);
}

.announcements-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.announcement-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.9rem;
}

.announcement-date {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.announcement-text {
    flex: 1;
}

.announcement-link {
    color: var(--color-primary);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Search Section */
.search-section {
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.95) 0%, rgba(25, 12, 38, 0.98) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin-bottom: var(--space-xl);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-pink);
}

.search-hero {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.search-title {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 50%, #ff69b4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.search-subtitle {
    color: var(--color-text-muted);
}

.keyword-search {
    display: flex;
    gap: var(--space-md);
    max-width: 600px;
    margin: 0 auto;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-icon {
    position: absolute;
    left: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
}

.search-input {
    width: 100%;
    padding: var(--space-md) var(--space-md) var(--space-md) calc(var(--space-md) * 3);
    font-size: 1rem;
    background: var(--color-bg-input);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

/* Condition Search */
.condition-search {
    margin-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-lg);
}

.condition-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: var(--space-sm) 0;
    color: var(--color-text-muted);
    font-weight: 500;
}

.condition-toggle {
    transition: transform var(--transition-fast);
}

.condition-form {
    display: none;
    margin-top: var(--space-lg);
}

.condition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.condition-item label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.condition-options {
    margin-bottom: var(--space-lg);
}

/* Quick Links */
.quick-links {
    margin-bottom: var(--space-xl);
}

.section-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-primary);
}

.section-icon {
    font-size: 1.5rem;
}

.area-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.area-btn {
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.9) 0%, rgba(25, 12, 38, 0.95) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text);
    font-weight: 500;
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.area-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 215, 0, 0.2);
}

/* Search Results Layout */
.search-results-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--space-xl);
}

.search-main {
    min-width: 0;
}

.search-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* Search Form Compact */
.search-form-compact {
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.9) 0%, rgba(25, 12, 38, 0.95) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.search-form-compact .keyword-search {
    max-width: none;
    margin-bottom: var(--space-md);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
}

.filter-select {
    padding: var(--space-sm) var(--space-md);
    background: var(--color-bg-input);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 0.875rem;
    cursor: pointer;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-bg-input);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    cursor: pointer;
}

/* Results Header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.results-title {
    font-size: 1.25rem;
    margin: 0;
}

.results-count {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Active Filters */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
}

.active-filters-label {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--color-primary);
}

.filter-tag a {
    color: inherit;
    font-weight: bold;
    margin-left: var(--space-xs);
}

.clear-filters {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* No Results */
.no-results {
    text-align: center;
    padding: var(--space-2xl);
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.9) 0%, rgba(25, 12, 38, 0.95) 100%);
    border-radius: var(--radius-lg);
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
}

/* Sidebar */
.sidebar-ads {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.sidebar-ad {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-fast);
}

.sidebar-ad:hover {
    transform: scale(1.02);
}

.sidebar-ad img {
    width: 100%;
    height: auto;
}

.sidebar-ad-placeholder {
    padding: var(--space-xl);
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.9) 0%, rgba(25, 12, 38, 0.95) 100%);
    text-align: center;
    color: var(--color-text-muted);
}

.sidebar-section {
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.9) 0%, rgba(25, 12, 38, 0.95) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.sidebar-section h4 {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.sidebar-link {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.sidebar-link:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--color-primary);
}

.sidebar-link.active {
    background: rgba(255, 215, 0, 0.2);
    color: var(--color-primary);
}

/* Shop Card Enhancements */
.shop-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: var(--color-bg-elevated);
}

.shop-card-category {
    font-size: 0.75rem;
    color: var(--color-text-dim);
    margin-left: var(--space-sm);
}

.shop-card-badge,
.shop-card-job {
    margin-top: var(--space-sm);
}

/* Responsive */
@media (max-width: 1024px) {
    .search-results-layout {
        grid-template-columns: 1fr;
    }

    .search-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .search-section {
        padding: var(--space-lg);
    }

    .search-title {
        font-size: 1.25rem;
        white-space: nowrap;
        margin-bottom: 0.5rem;
    }

    .search-hero {
        margin-bottom: 0.75rem;
    }

    .scene-selection {
        margin-bottom: 1rem;
        padding: 0;
    }

    .scene-cards {
        gap: 0.5rem;
    }

    .keyword-search {
        flex-direction: column;
    }

    .banner-carousel {
        max-height: 200px;
    }

    .banner-item img {
        object-fit: cover;
        max-height: 200px;
    }

    .announcement-item {
        flex-wrap: wrap;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-select {
        width: 100%;
    }
}

/* ============================================
   Customer / Point System Styles
   ============================================ */

/* Auth Pages */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: var(--space-xl);
}

.auth-card {
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.95) 0%, rgba(25, 12, 38, 0.98) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.auth-title {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

.auth-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
}

.auth-form .form-group {
    margin-bottom: var(--space-lg);
}

.auth-footer {
    margin-top: var(--space-xl);
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
}

.auth-footer a {
    color: var(--color-primary);
}

/* Point Badge in Navbar */
.point-badge {
    background: var(--gradient-gold);
    color: #1a0a25;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: var(--space-xs);
}

/* Mypage */
.mypage {
    padding: var(--space-lg) 0;
}

.point-card {
    background: var(--gradient-gold);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    color: #1a0a25;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
}

.point-card-inner {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.point-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.point-balance {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.point-unit {
    font-size: 1.25rem;
    font-weight: 400;
}

.point-stats {
    display: flex;
    justify-content: space-around;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.point-stats .stat-label {
    font-size: 0.75rem;
    color: #4a2800;
    font-weight: 500;
}

.point-stats .stat-value {
    font-weight: 700;
    color: #1a0a00;
    font-size: 1rem;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.quick-action {
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.9) 0%, rgba(25, 12, 38, 0.95) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition-base);
}

.quick-action:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 215, 0, 0.2);
}

.quick-action-icon {
    display: block;
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

.quick-action-label {
    font-size: 0.875rem;
}

/* Section */
.section {
    margin-bottom: var(--space-xl);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.section-header h2 {
    font-size: 1.125rem;
}

.section-header a {
    color: var(--color-primary);
    font-size: 0.875rem;
}

/* Gift List */
.gift-list {
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.9) 0%, rgba(25, 12, 38, 0.95) 100%);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gift-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.gift-item:last-child {
    border-bottom: none;
}

.gift-cast {
    font-weight: 500;
}

.gift-name {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-left: var(--space-sm);
}

.gift-points {
    color: var(--color-primary);
    font-weight: 600;
}

.gift-date {
    color: var(--color-text-muted);
    font-size: 0.75rem;
    margin-left: var(--space-sm);
}

/* Transaction List */
.transaction-list {
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.9) 0%, rgba(25, 12, 38, 0.95) 100%);
    border-radius: var(--radius-md);
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-type {
    font-weight: 500;
}

.transaction-desc {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-left: var(--space-sm);
}

.transaction-amount {
    font-weight: 600;
}

.transaction-amount.credit {
    color: #34d399;
}

.transaction-amount.debit {
    color: #f87171;
}

.transaction-date {
    color: var(--color-text-muted);
    font-size: 0.75rem;
    margin-left: var(--space-sm);
}

/* Account Info */
.account-info {
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.9) 0%, rgba(25, 12, 38, 0.95) 100%);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--color-text-muted);
}

/* Buy Points Page */
.buy-points-page {
    padding: var(--space-lg) 0;
}

.current-balance {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.9) 0%, rgba(25, 12, 38, 0.95) 100%);
    border-radius: var(--radius-md);
}

.current-balance .balance-label {
    color: var(--color-text-muted);
    display: block;
    margin-bottom: var(--space-xs);
}

.current-balance .balance-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.current-balance .pt {
    font-size: 1rem;
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.package-card {
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.9) 0%, rgba(25, 12, 38, 0.95) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    position: relative;
    transition: var(--transition-base);
}

.package-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.package-card.featured {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.package-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.package-name {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.package-points {
    margin-bottom: var(--space-sm);
}

.package-points .total-points {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.package-breakdown {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.package-price {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.payment-info {
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.9) 0%, rgba(25, 12, 38, 0.95) 100%);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.payment-info h3 {
    margin-bottom: var(--space-md);
}

.payment-info ul {
    color: var(--color-text-muted);
    padding-left: var(--space-lg);
}

.payment-info li {
    margin-bottom: var(--space-sm);
}

/* Cast Detail Page */
.cast-detail-page {
    padding: var(--space-lg) 0;
}

.cast-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.cast-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.cast-name {
    font-size: 2rem;
    margin-bottom: var(--space-xs);
}

.cast-shop {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.cast-bio {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    white-space: pre-wrap;
}

.cast-stats {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.cast-stats .stat {
    text-align: center;
}

.cast-stats .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.cast-stats .stat-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.cast-sns {
    display: flex;
    gap: var(--space-md);
}

.sns-link {
    color: var(--color-primary);
}

/* Gift Section */
.gift-section {
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.9) 0%, rgba(25, 12, 38, 0.95) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.gift-section h2 {
    margin-bottom: var(--space-lg);
}

.your-points {
    background: var(--color-bg-elevated);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Gift Grid */
.gift-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--space-md);
}

.gift-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    transition: var(--transition-base);
}

.gift-card:hover:not(.disabled) {
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.gift-card.disabled {
    opacity: 0.5;
}

.gift-card .gift-image img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: var(--space-sm);
}

.gift-card .gift-name {
    font-weight: 500;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.gift-card .gift-points {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

/* Login Prompt */
.login-prompt {
    text-align: center;
    padding: var(--space-xl);
}

.login-prompt p {
    margin-bottom: var(--space-lg);
    color: var(--color-text-muted);
}

.login-prompt .btn {
    margin: 0 var(--space-sm);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.98) 0%, rgba(25, 12, 38, 0.99) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-muted);
}

.modal-close:hover {
    color: var(--color-text);
}

.modal-content h3 {
    margin-bottom: var(--space-md);
}

.modal-points {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin: var(--space-md) 0;
}

/* History Pages */
.history-page {
    padding: var(--space-lg) 0;
}

.current-balance-small {
    margin-bottom: var(--space-lg);
    color: var(--color-text-muted);
}

.current-balance-small strong {
    color: var(--color-primary);
}

.transaction-table table,
.gift-history-list {
    width: 100%;
}

.gift-history-item {
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.9) 0%, rgba(25, 12, 38, 0.95) 100%);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}

.gift-history-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}

.gift-history-cast a {
    font-weight: 600;
    color: var(--color-primary);
}

.gift-history-shop {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-left: var(--space-sm);
}

.gift-history-message {
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: var(--space-sm);
}

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

/* Cast Card (Shop Admin) */
.cast-list {
    display: grid;
    gap: var(--space-md);
}

.cast-card {
    background: linear-gradient(145deg, rgba(40, 20, 55, 0.9) 0%, rgba(25, 12, 38, 0.95) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    padding: var(--space-md);
}

.cast-card-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    margin-right: var(--space-md);
}

.cast-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cast-card-body {
    flex: 1;
}

.cast-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.cast-card .cast-name {
    font-size: 1.125rem;
    margin: 0;
}

.cast-card .cast-stats {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xs);
}

.cast-card-actions {
    display: flex;
    gap: var(--space-sm);
}

/* Responsive */
@media (max-width: 768px) {
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }

    .cast-profile {
        grid-template-columns: 1fr;
    }

    .cast-image {
        max-width: 200px;
        margin: 0 auto;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .gift-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Compact Mypage for Mobile */
@media (max-width: 768px) {
    .mypage {
        padding: var(--space-sm) 0;
    }

    .mypage .page-title {
        font-size: 1.25rem;
        margin-bottom: var(--space-md);
    }

    /* Compact Point Card */
    .point-card {
        padding: var(--space-md);
        margin-bottom: var(--space-md);
        border-radius: var(--radius-md);
    }

    .point-card-inner {
        margin-bottom: var(--space-md);
    }

    .point-label {
        font-size: 0.75rem;
    }

    .point-balance {
        font-size: 2rem;
    }

    .point-unit {
        font-size: 1rem;
    }

    .point-card .btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.8rem;
    }

    .point-stats {
        padding-top: var(--space-md);
    }

    .point-stats .stat-label {
        font-size: 0.65rem;
    }

    .point-stats .stat-value {
        font-size: 0.85rem;
    }

    /* Compact Quick Actions - 4 in a row */
    .quick-actions {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-xs);
        margin-bottom: var(--space-md);
    }

    .quick-action {
        padding: var(--space-sm);
        border-radius: var(--radius-sm);
    }

    .quick-action-icon {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .quick-action-label {
        font-size: 0.65rem;
        line-height: 1.2;
    }

    /* Compact Sections */
    .section {
        margin-bottom: var(--space-md);
    }

    .section-header {
        margin-bottom: var(--space-sm);
    }

    .section-header h2 {
        font-size: 0.95rem;
    }

    .section-header a {
        font-size: 0.75rem;
    }

    /* Compact Gift List */
    .gift-list {
        border-radius: var(--radius-sm);
    }

    .gift-item {
        padding: var(--space-sm);
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .gift-info {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .gift-meta {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .gift-cast {
        font-size: 0.8rem;
    }

    .gift-name {
        font-size: 0.7rem;
        margin-left: 0;
    }

    .gift-points {
        font-size: 0.8rem;
    }

    .gift-date {
        font-size: 0.65rem;
    }

    /* Compact Transaction List */
    .transaction-list {
        border-radius: var(--radius-sm);
    }

    .transaction-item {
        padding: var(--space-sm);
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .transaction-info {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .transaction-meta {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .transaction-type {
        font-size: 0.8rem;
    }

    .transaction-desc {
        font-size: 0.7rem;
        margin-left: 0;
    }

    .transaction-amount {
        font-size: 0.8rem;
    }

    .transaction-date {
        font-size: 0.65rem;
    }

    /* Compact Account Info */
    .account-info {
        padding: var(--space-md);
        border-radius: var(--radius-sm);
    }

    .info-row {
        padding: var(--space-xs) 0;
    }

    .info-label {
        font-size: 0.8rem;
    }

    .info-value {
        font-size: 0.8rem;
    }
}

/* Ultra Compact for very small screens */
@media (max-width: 380px) {
    .point-balance {
        font-size: 1.75rem;
    }

    .quick-action {
        padding: 0.4rem;
    }

    .quick-action-icon {
        font-size: 0.9rem;
    }

    .quick-action-label {
        font-size: 0.55rem;
    }
}

/* ============================================
   Scene Selection (目的別選択)
   ============================================ */

.scene-selection {
    margin-bottom: var(--space-2xl);
    text-align: center;
    padding: var(--space-lg) 0;
}

.scene-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-xl);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    letter-spacing: 0.1em;
}

.scene-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 500px;
    margin: 0 auto;
}

.scene-card {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-lg) var(--space-lg) var(--space-xl);
    background: var(--color-bg-card);
    border: 2px solid var(--scene-color, var(--color-border));
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: var(--color-text);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.scene-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--scene-color, var(--color-primary)) 0%, transparent 50%);
    opacity: 0.1;
    transition: opacity var(--transition-base);
}

.scene-card:hover {
    transform: translateX(8px) scale(1.02);
    border-color: var(--scene-color, var(--color-primary));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 30px color-mix(in srgb, var(--scene-color, var(--color-primary)) 40%, transparent);
}

.scene-card:hover::before {
    opacity: 0.25;
}

.scene-card:active {
    transform: translateX(4px) scale(1.01);
}

.scene-icon {
    font-size: 3rem;
    line-height: 1;
    flex-shrink: 0;
    width: 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.scene-content {
    flex: 1;
    text-align: left;
    position: relative;
    z-index: 1;
}

.scene-indicator {
    width: 6px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.scene-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--scene-color, var(--color-primary));
    margin-bottom: var(--space-xs);
    letter-spacing: 0.05em;
}

.scene-categories {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.scene-price {
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 600;
}

.scene-arrow {
    font-size: 1.5rem;
    color: var(--scene-color, var(--color-primary));
    opacity: 0.5;
    transition: all var(--transition-fast);
    position: relative;
    z-index: 1;
}

.scene-card:hover .scene-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Responsive - Small screens */
@media (max-width: 480px) {
    .scene-cards {
        gap: var(--space-sm);
    }

    .scene-card {
        padding: var(--space-md) var(--space-md) var(--space-md) var(--space-lg);
        gap: var(--space-md);
    }

    .scene-name {
        font-size: 1.1rem;
    }

    .scene-desc {
        font-size: 0.75rem;
    }

    .scene-categories {
        font-size: 0.7rem;
    }

    .scene-price {
        font-size: 0.65rem;
    }
}

/* ============================================
   Search Filter - Scene Category Filter
   ============================================ */

.scene-filter-section {
    background: var(--color-bg-elevated);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
}

.scene-filter-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.scene-filter-icon {
    font-size: 1.25rem;
}

.scene-filter-name {
    font-weight: 600;
    color: var(--color-primary);
}

.scene-category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.scene-category-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.scene-category-tag:hover,
.scene-category-tag.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-bg-dark);
}

.scene-category-tag.active {
    font-weight: 600;
}

/* Scene Filter Section */
.scene-filter-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-left: var(--space-xs);
}

.scene-clear-btn {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-decoration: none;
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.scene-clear-btn:hover {
    background: var(--color-danger);
    border-color: var(--color-danger);
    color: white;
}

/* Scene Quick Select */
.scene-quick-select {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
}

.scene-quick-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.scene-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-bg-card);
    border: 1px solid var(--scene-color, var(--color-border));
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--color-text);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.scene-quick-btn:hover {
    background: var(--scene-color, var(--color-primary));
    color: var(--color-bg-dark);
    transform: translateY(-2px);
}

/* Filter Tag with Scene Color */
.filter-tag-scene {
    background: color-mix(in srgb, var(--scene-color, var(--color-primary)) 20%, transparent);
    border-color: var(--scene-color, var(--color-primary));
}