/* ===== ROYAL PRESTIGE THEME ===== */
/* Ultra-luxury, VIP excellence, private club aesthetic */
/* Following frontend-design principles: BOLD, REFINED, UNFORGETTABLE */

/* 
 * DESIGN PHILOSOPHY:
 * - Tone: Refined luxury - think private jet interiors, Rolls-Royce showrooms
 * - Typography: Elegant serifs for headers, refined sans for body
 * - Color: Deep blacks with rose gold/champagne accents
 * - Differentiation: Subtle animations, layered shadows, premium textures
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

[data-theme="royal-prestige"] {
    /* ===== BACKGROUNDS ===== */
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-card: #1a1a1a;
    --bg-header: #0a0a0a;

    /* ===== TEXT ===== */
    --text-primary: #f5f0e8;
    --text-secondary: #c4b8a5;
    --text-muted: #7a7268;

    /* ===== BORDERS & SHADOWS ===== */
    --border-color: #2a2520;
    --shadow-color: rgba(0, 0, 0, 0.7);

    /* ===== SIGNATURE ACCENTS ===== */
    --accent-primary: #c9a962;
    /* Champagne Gold */
    --accent-secondary: #b8956e;
    /* Rose Gold */
    --accent-tertiary: #d4c4a8;
    /* Cream */
    --accent-deep: #8b7355;
    /* Deep Bronze */

    /* ===== PREMIUM GRADIENTS ===== */
    --gradient-gold: linear-gradient(135deg, #c9a962 0%, #f5e6c8 45%, #c9a962 55%, #8b7355 100%);
    --gradient-subtle: linear-gradient(180deg, rgba(201, 169, 98, 0.08) 0%, transparent 100%);
}

/* ===== TYPOGRAPHY OVERRIDES ===== */
[data-theme="royal-prestige"] .game-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

[data-theme="royal-prestige"] .theme-btn,
[data-theme="royal-prestige"] .filter-select,
[data-theme="royal-prestige"] .search-input {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ===== REFINED CARD STYLING ===== */
[data-theme="royal-prestige"] .game-card {
    border: 1px solid rgba(201, 169, 98, 0.15);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(201, 169, 98, 0.1);
    background: linear-gradient(180deg,
            var(--bg-card) 0%,
            #0f0f0f 100%);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Elegant gold corner accents */
[data-theme="royal-prestige"] .game-card::before,
[data-theme="royal-prestige"] .game-card::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-style: solid;
    border-color: var(--accent-primary);
    opacity: 0;
    transition: opacity 0.4s, transform 0.4s;
    z-index: 10;
}

[data-theme="royal-prestige"] .game-card::before {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
    border-radius: 12px 0 0 0;
}

[data-theme="royal-prestige"] .game-card::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
    border-radius: 0 0 12px 0;
}

[data-theme="royal-prestige"] .game-card:hover::before,
[data-theme="royal-prestige"] .game-card:hover::after {
    opacity: 1;
}

[data-theme="royal-prestige"] .game-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 169, 98, 0.4);
    box-shadow:
        0 0 40px rgba(201, 169, 98, 0.15),
        0 20px 50px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(201, 169, 98, 0.2);
}

/* ===== LUXURY BADGE STYLING ===== */
[data-theme="royal-prestige"] .badge-slot {
    background: var(--gradient-gold);
    color: #1a1a1a;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 9px;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(201, 169, 98, 0.4);
}

[data-theme="royal-prestige"] .badge-coming-soon {
    background: linear-gradient(135deg, #2a2520 0%, #1a1510 100%);
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 8px;
    letter-spacing: 1.5px;
}

/* ===== PREMIUM HEADER ===== */
[data-theme="royal-prestige"] header {
    border-bottom: 1px solid rgba(201, 169, 98, 0.1);
    background: linear-gradient(180deg,
            var(--bg-header) 0%,
            rgba(20, 20, 20, 0.95) 100%);
}

/* Subtle gold line accent */
[data-theme="royal-prestige"] header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--accent-primary) 50%,
            transparent 100%);
}

/* ===== SEARCH BAR REFINEMENT ===== */
[data-theme="royal-prestige"] .search-input {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(201, 169, 98, 0.15);
    border-radius: 4px;
}

[data-theme="royal-prestige"] .search-input:focus {
    border-color: var(--accent-primary);
    box-shadow:
        0 0 20px rgba(201, 169, 98, 0.15),
        inset 0 0 20px rgba(201, 169, 98, 0.05);
}

[data-theme="royal-prestige"] .search-input::placeholder {
    color: var(--text-muted);
    font-style: italic;
}

/* ===== ELEGANT BUTTONS ===== */
[data-theme="royal-prestige"] .btn-primary {
    background: var(--gradient-gold);
    color: #1a1a1a;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 11px;
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(201, 169, 98, 0.4);
    transition: all 0.3s;
}

[data-theme="royal-prestige"] .btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 30px rgba(201, 169, 98, 0.5);
}

[data-theme="royal-prestige"] .btn-secondary {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 1.5px;
    font-size: 10px;
    border-radius: 2px;
}

[data-theme="royal-prestige"] .btn-secondary:hover {
    background: rgba(201, 169, 98, 0.1);
    border-color: var(--accent-tertiary);
    color: var(--accent-tertiary);
}

/* ===== CARD FOOTER REFINEMENT ===== */
[data-theme="royal-prestige"] .card-footer {
    background: linear-gradient(180deg,
            var(--bg-card) 0%,
            rgba(15, 15, 15, 1) 100%);
    border-top: 1px solid rgba(201, 169, 98, 0.1);
    padding: 18px 16px;
}

/* ===== PREMIUM FOOTER ===== */
[data-theme="royal-prestige"] #footer {
    background: var(--bg-header);
    border-top: 1px solid rgba(201, 169, 98, 0.1);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
    font-size: 11px;
    color: var(--text-muted);
}

/* ===== AMBIENT BACKGROUND TEXTURE ===== */
[data-theme="royal-prestige"] body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 9997;
}

/* Subtle radial gradient overlay for depth */
[data-theme="royal-prestige"] body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%,
            rgba(201, 169, 98, 0.03) 0%,
            transparent 50%);
    pointer-events: none;
    z-index: 9996;
}

/* ===== HOVER OVERLAY REFINEMENT ===== */
[data-theme="royal-prestige"] .card-overlay {
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(10, 10, 10, 0.95) 100%);
}

/* ===== RELEASE DATE TAG ===== */
[data-theme="royal-prestige"] .release-date-tag {
    background: var(--gradient-gold);
    color: #1a1a1a;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 9px;
    letter-spacing: 1px;
    border-radius: 2px;
    padding: 5px 14px;
}

/* ===== THEME SELECTOR STYLING ===== */
[data-theme="royal-prestige"] .theme-btn,
[data-theme="royal-prestige"] .filter-select {
    border-color: rgba(201, 169, 98, 0.2);
    background: rgba(20, 20, 20, 0.8);
}

[data-theme="royal-prestige"] .theme-btn:hover,
[data-theme="royal-prestige"] .filter-select:hover {
    border-color: var(--accent-primary);
}

[data-theme="royal-prestige"] .theme-dropdown {
    border-color: rgba(201, 169, 98, 0.2);
    background: rgba(20, 20, 20, 0.98);
}

[data-theme="royal-prestige"] .theme-option:hover {
    background: rgba(201, 169, 98, 0.08);
}