:root {
    --gold-dark: #B8860B;
    --gold-main: #D4AF37;
    --gold-light: #FFD700;
    --black-matte: #121212;
    --black-rich: #1e1e1e;
    --white-smoke: #F5F5F5;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

body {
    background-color: var(--black-matte);
    color: var(--white-smoke);
    font-family: var(--font-body);
    font-weight: 300;
}

/* 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);
    letter-spacing: 1px;
}

h1 {
    font-size: 3.5rem;
    color: var(--gold-main);
    background: linear-gradient(to right, var(--gold-dark), var(--gold-light), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
    /* Enhance legibility if gradient fails */
}

.section-title {
    font-size: 2.5rem;
    color: var(--gold-main);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-main), transparent);
}

/* Components */
.gold-card {
    background: var(--black-rich);
    padding: 3rem 2rem;
    border: 1px solid #333;
    border-radius: 2px;
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gold-card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    pointer-events: none;
}

.gold-card:hover {
    border-color: var(--gold-dark);
    transform: translateY(-5px);
}

.btn-gold {
    background: transparent;
    color: var(--gold-main);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 15px 50px;
    border: 1px solid var(--gold-main);
    border-radius: 0;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    text-decoration: none;
}

.btn-gold:hover {
    background: var(--gold-main);
    color: var(--black-matte);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    text-decoration: none;
}

/* Hero */
.hero-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, #2a2a2a 0%, #121212 100%);
}

#goldDustCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.hero-subtitle {
    display: block;
    margin-bottom: 1rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    color: #888;
}

.age-number {
    font-size: 8rem;
    line-height: 1;
    font-family: var(--font-heading);
    color: var(--gold-main);
    background: linear-gradient(45deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Audio */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.btn-music-gold {
    width: 50px;
    height: 50px;
    background: rgba(18, 18, 18, 0.8);
    border: 1px solid var(--gold-main);
    border-radius: 50%;
    color: var(--gold-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-music-gold:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* Countdown */
.elegant-countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 3rem;
}

.count-item {
    text-align: center;
}

.count-val {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--white-smoke);
    display: block;
    line-height: 1;
}

.count-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-main);
}

/* Divider */
.gold-divider {
    height: 1px;
    width: 100px;
    background: var(--gold-main);
    margin: 2rem auto;
    opacity: 0.5;
}

/* Footer */
footer {
    background: #000;
    color: #444;
    padding: 3rem 0;
    border-top: 1px solid #222;
}