:root {
    --masq-black: #0a0a0a;
    --masq-burgundy: #6a043c;
    --masq-gold: #c5a000;
    --masq-gold-light: #ffd700;
    --masq-text: #f0f0f0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

body {
    background-color: var(--masq-black);
    color: var(--masq-text);
    font-family: var(--font-body);
    overflow-x: hidden;
    background-image: linear-gradient(to bottom, #000 0%, #1a000f 100%);
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--masq-gold);
}

h1 {
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    background: -webkit-linear-gradient(#ececec, #c5a000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    color: var(--masq-gold-light);
}

.section-title::before,
.section-title::after {
    content: '🎭';
    font-size: 1.5rem;
    margin: 0 15px;
    vertical-align: middle;
}

/* Components */
.masq-card {
    background: rgba(40, 0, 20, 0.6);
    border: 1px solid var(--masq-gold);
    border-radius: 5px;
    padding: 3rem;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: 0 0 20px rgba(106, 4, 60, 0.3);
}

.masq-card::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    left: 5px;
    border: 1px solid rgba(197, 160, 0, 0.3);
    pointer-events: none;
}

.btn-masq {
    background: var(--masq-burgundy);
    color: var(--masq-gold-light);
    border: 1px solid var(--masq-gold);
    padding: 12px 40px;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-masq:hover {
    background: var(--masq-gold);
    color: var(--masq-black);
    text-decoration: none;
    box-shadow: 0 0 15px var(--masq-gold);
}

/* Hero Section */
.hero-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1514533248880-922634d023f2?q=80&w=2074&auto=format&fit=crop');
    /* Masquerade/Dark party bg */
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    border: 2px solid var(--masq-gold);
    padding: 40px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.hero-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--masq-burgundy);
    box-shadow: 0 0 20px var(--masq-gold);
    margin: 20px auto;
}

/* Decorative Divider */
.ornament-divider {
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 10 C 60 0 80 0 90 10 C 80 20 60 20 50 10 Z M50 10 C 40 0 20 0 10 10 C 20 20 40 20 50 10 Z' fill='none' stroke='%23C5A000' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;
    margin: 40px 0;
    opacity: 0.5;
}

/* Countdown */
.masq-countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

.count-box {
    border: 1px solid var(--masq-gold);
    padding: 10px 20px;
    min-width: 80px;
    background: rgba(0, 0, 0, 0.8);
}

.count-box span {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--masq-gold-light);
    display: block;
}

.count-box small {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #ccc;
}

/* Music Control */
.music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.btn-music-masq {
    width: 50px;
    height: 50px;
    border: 1px solid var(--masq-gold);
    background: var(--masq-black);
    color: var(--masq-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-music-masq:hover {
    background: var(--masq-gold);
    color: var(--masq-black);
}