/* Temple scene styles */

/* Business website style background - default (temple scene) */
body.scene-temple {
    background: #1a0f1a;
}

body.scene-temple::before {
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(201, 74, 74, 0.04) 0%, transparent 70%);
}

body.scene-temple::after {
    background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(212, 175, 55, 0.02) 2px, rgba(212, 175, 55, 0.02) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(212, 175, 55, 0.02) 2px, rgba(212, 175, 55, 0.02) 4px);
}

/* Temple scene styles - Dunhuang gold color scheme */
body.scene-temple {
    /* Temple scene color variables - Dunhuang gold color scheme */
    --temple-gold: #d4af37;           /* Gold */
    --temple-gold-light: #ffd700;     /* Light gold */
    --temple-gold-lighter: #ffed4e;   /* Lighter gold */
    --temple-gold-dark: #b8860b;      /* Dark gold */
    --temple-bg-primary: #1a0f1a;     /* Deep purple-red background */
    --temple-bg-secondary: #2d1b2d;   /* Secondary background */
    --temple-bg-tertiary: #3d2a3d;    /* Tertiary background */
    --temple-text-primary: #f5e6d3;   /* Primary text color */
    --temple-text-secondary: #d4c4a8; /* Secondary text color */
    --temple-red: #c94a4a;            /* Red */
}

/* Header styles - temple scene (Dunhuang gold) */
body.scene-temple .header {
    background: rgba(45, 27, 45, 0.95); /* Deep purple-red background */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.scene-temple .header .logo {
    color: var(--temple-gold-light);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    font-weight: 600;
}

body.scene-temple .header .header-actions {
    display: flex;
}

body.scene-temple .header .btn-text {
    border-color: var(--temple-gold);
    color: var(--temple-gold);
    background: transparent;
}

body.scene-temple .header .btn-text:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--temple-gold-light);
    color: var(--temple-gold-light);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

body.scene-temple .header .stat-item {
    color: var(--temple-text-secondary);
    font-weight: 500;
}

body.scene-temple .header .stat-item span {
    color: var(--temple-gold-light);
    font-weight: 600;
}

/* Categories Pagination styles - temple scene (Dunhuang gold) */
body.scene-temple .categories-pagination-item {
    background: rgba(26, 15, 26, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--temple-text-secondary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

body.scene-temple .categories-pagination-item:hover {
    color: var(--temple-gold);
    background: rgba(26, 15, 26, 0.6);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

body.scene-temple .categories-pagination-item.active {
    color: var(--temple-gold-light);
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    font-weight: 600;
}

/* Wish Section styles - temple scene (Dunhuang gold) */
body.scene-temple .wish-section .wish-card {
    background: rgba(26, 15, 26, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

body.scene-temple .wish-section .wish-card::before {
    background: linear-gradient(90deg, 
        transparent, 
        var(--temple-gold) 50%, 
        transparent);
    opacity: 0.6;
}

body.scene-temple .wish-section .wish-title {
    color: var(--temple-gold-light);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

body.scene-temple .wish-section .wish-icon {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

body.scene-temple .wish-section .wish-input {
    background: rgba(26, 15, 26, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--temple-text-primary);
    backdrop-filter: blur(8px);
}

body.scene-temple .wish-section .wish-input:focus {
    border-color: var(--temple-gold);
    background: rgba(26, 15, 26, 0.5);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.3);
}

body.scene-temple .wish-section .wish-input::placeholder {
    color: rgba(212, 196, 168, 0.4);
}

body.scene-temple .wish-section .placeholder-text {
    color: rgba(212, 196, 168, 0.5);
}

body.scene-temple .wish-section .placeholder-text:hover {
    color: var(--temple-gold);
}

body.scene-temple .wish-section .btn-primary.wish-submit-btn {
    background: var(--temple-gold-light);
    border-color: var(--temple-gold-light);
    color: var(--temple-bg-primary);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
    font-weight: 600;
    display: block;
}

body.scene-temple .wish-section .btn-primary.wish-submit-btn:hover {
    background: var(--temple-gold-lighter);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
    transform: translateY(-1px);
}

body.scene-temple .wish-section .wish-section-close {
    color: var(--temple-text-secondary);
}

body.scene-temple .wish-section .wish-section-close:hover {
    background: var(--temple-bg-primary);
    color: var(--temple-text-primary);
    transform: scale(1.1);
}

/* Wish maker name input field - temple scene */
body.scene-temple .wish-section .wish-name-input {
    background: rgba(26, 15, 26, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--temple-text-primary);
    backdrop-filter: blur(8px);
}

body.scene-temple .wish-section .wish-name-input:focus {
    border-color: var(--temple-gold);
    background: rgba(26, 15, 26, 0.5);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.3);
}

body.scene-temple .wish-section .wish-name-input::placeholder {
    color: rgba(212, 196, 168, 0.4);
}