:root {
    --retro-bg: #fcf8f2;
    --retro-orange: #e76f51;
    --retro-teal: #264653;
    --retro-yellow: #e9c46a;
    --retro-dark: #2b2d42;
    --font-groovy: 'Shrikhand', cursive;
    --font-body: 'DM Sans', sans-serif;
}

body {
    background-color: var(--retro-bg);
    color: var(--retro-dark);
    font-family: var(--font-body);
    overflow-x: hidden;
    background-image: radial-gradient(#e9c46a 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Shrikhand&family=DM+Sans:wght@400;500;700&display=swap');

h1,
h2,
h3 {
    font-family: var(--font-groovy);
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1.hero-title {
    font-size: 4rem;
    color: var(--retro-orange);
    text-shadow: 3px 3px 0px var(--retro-teal);
    transform: rotate(-5deg);
    margin-bottom: 1rem;
}

h2.section-title {
    font-size: 2.5rem;
    color: var(--retro-teal);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

/* Vinyl Player */
.vinyl-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 2rem;
}

.vinyl-record {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: transform 1s ease;
}

.vinyl-label {
    width: 40%;
    height: 40%;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--retro-yellow);
    position: relative;
}

.vinyl-label img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vinyl-grooves {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 2px dashed #222;
    pointer-events: none;
}

/* Animation */
.spinning {
    animation: spin 4s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Tonearm (Decorativo) */
.tonearm {
    position: absolute;
    top: -20px;
    right: -40px;
    width: 100px;
    height: 150px;
    background-image: url('https://cdn-icons-png.flaticon.com/512/31/31473.png');
    /* Placeholder icon for arm */
    background-size: contain;
    background-repeat: no-repeat;
    transform-origin: top right;
    transform: rotate(0deg);
    transition: transform 0.5s;
    z-index: 10;
    pointer-events: none;
    opacity: 0.8;
}

.playing .tonearm {
    transform: rotate(25deg);
}

/* Cards */
.retro-card {
    background: white;
    border: 2px solid var(--retro-dark);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 5px 5px 0px var(--retro-orange);
    margin-bottom: 2rem;
    transition: transform 0.3s;
}

.retro-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0px var(--retro-orange);
}

/* Countdown */
.retro-countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.count-box {
    background: var(--retro-dark);
    color: var(--retro-yellow);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.5rem;
}

/* Buttons */
.btn-retro {
    background: var(--retro-orange);
    color: white;
    font-family: var(--font-groovy);
    font-size: 1.2rem;
    padding: 10px 30px;
    border-radius: 50px;
    border: none;
    box-shadow: 3px 3px 0px var(--retro-dark);
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-retro:hover {
    background: var(--retro-teal);
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px var(--retro-dark);
    color: white;
    text-decoration: none;
}

/* Ticket Stub (RSVP) */
.ticket-stub {
    background: var(--retro-yellow);
    border: 2px dashed var(--retro-dark);
    padding: 2rem;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 5% 50%);
    /* Simplified ticket shape */
}

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

.btn-music-orange {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--retro-orange);
    color: white;
    border: 3px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1.hero-title {
        font-size: 3rem;
    }

    .vinyl-container {
        width: 250px;
        height: 250px;
    }
}