/*
Theme Name: Yuvia Narrative
Theme URI: https://yuvia.app
Author: Studio N!
Description: Thème immersif pour rencontre narrative.
Version: 1.0
Text Domain: yuvia
*/

:root {
    --bg-dark: #0a0a0c;
    --accent-gold: #f3e3a1;
    --accent-gold-dark: #d4af37;
}

body { 
    background-color: var(--bg-dark);
    color: #f3f4f6; 
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    background-image: url("https://www.transparenttextures.com/patterns/stardust.png");
    background-attachment: fixed;
}

.text-gradient {
    background: linear-gradient(to right, #f3e3a1, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(243, 227, 161, 0.08);
    border-radius: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass:hover {
    border-color: rgba(243, 227, 161, 0.3);
    background: rgba(243, 227, 161, 0.04);
    transform: translateY(-5px);
}

.nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.35;
}

.iphone-pro {
    width: 280px;
    height: 570px;
    background: #000;
    border: 12px solid #1c1c1e;
    border-radius: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.9);
    flex-shrink: 0;
    z-index: 10;
}

.iphone-pro::before {
    content: '';
    position: absolute;
    top: 12px; left: 50%; transform: translateX(-50%);
    width: 80px; height: 25px; background: #000; border-radius: 20px; z-index: 20;
}

.screen {
    height: 100%; width: 100%;
    display: flex; flex-direction: column;
    padding: 50px 20px 20px;
    background-size: cover; background-position: center;
}

.universe-card {
    height: 420px;
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid rgba(243, 227, 161, 0.1);
}

.universe-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.35);
    transition: transform 0.8s ease;
}

.universe-card:hover .universe-img { transform: scale(1.1); filter: brightness(0.5); }

.btn-gold {
    background: linear-gradient(135deg, #f3e3a1 0%, #d4af37 100%);
    color: #000; font-weight: 800;
    box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.btn-gold:hover { transform: scale(1.05); }

.float { animation: float 6s ease-in-out infinite; }

@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } }

.italic-fix {
    padding-right: 0.3em;
    display: inline-block;
}

.tag-age {
    background: rgba(243, 227, 161, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(243, 227, 161, 0.3);
    color: #f3e3a1;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

html {
    scroll-behavior: smooth;
}