/* Mystic Mountain Fairy - Design System & Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --bg-dark: #090514;
    --bg-twilight: #190f2e;
    --violet-deep: #2e1c54;
    --gold: #d4af37;
    --gold-hover: #f3e5ab;
    --text-light: #f3f0f7;
    --text-muted: #b8afcd;
    --glass-bg: rgba(46, 28, 84, 0.25);
    --glass-border: rgba(212, 175, 55, 0.15);
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(at 10% 20%, rgba(46, 28, 84, 0.5) 0px, transparent 50%),
        radial-gradient(at 90% 80%, rgba(21, 10, 48, 0.8) 0px, transparent 50%);
    color: var(--text-light);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Headings */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--text-light);
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold-hover);
}

/* Page Wrapper / Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Magical Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 32px 0 rgba(212, 175, 55, 0.05);
}

/* Elegant Buttons */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), #b89728);
    color: #090514;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    font-family: var(--font-sans);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    filter: brightness(1.1);
}

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

.btn-secondary {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--text-light);
}

.btn-danger {
    background: linear-gradient(135deg, #c0392b, #962d22);
    color: #fff;
}

.btn-danger:hover {
    box-shadow: 0 0 15px rgba(192, 57, 43, 0.4);
}

/* Navigation Header */
header {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.logo span {
    color: var(--gold);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

nav ul li a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
}

nav ul li a:hover, nav ul li a.active {
    color: var(--text-light);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}

.animate-fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Custom Video & Media Player Styling */
.video-container, .media-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    background: #000;
    max-width: 900px;
    margin: 0 auto;
    /* Prevent mouse cursor click-target offset bug caused by backdrop filters on nested media overlays */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

video {
    width: 100%;
    display: block;
}

/* Footer Styling */
footer {
    padding: 60px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 80px;
}

footer span {
    color: var(--gold);
}
