:root {
    --purple: #6f4aa8;
    --cream: #f7f0e3;
    --charcoal: #222222;
    --gold: #d6a441;
    --light: #faf7f2;
    --border: #dbcdb8;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        linear-gradient(
            rgba(250, 247, 242, 0.82),
            rgba(250, 247, 242, 0.82)
        ),
        url('/assets/images/vinyl-bg.jpg') center center / cover fixed no-repeat;
    color: var(--charcoal);
    line-height: 1.6;
}

a {
    color: var(--purple);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.topbar {
    background: var(--charcoal);
    color: white;
    text-align: center;
    padding: 8px 16px;
    font-size: 14px;
    letter-spacing: 0.5px;
}

header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        rgba(247,240,227,0.95),
        rgba(255,255,255,0.95)
    );
    border-bottom: 3px solid var(--purple);
}

header::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -60px;
    width: 320px;
    height: 320px;
    background: url('/assets/images/record33.png') center center / contain no-repeat;
    opacity: 0.08;
    animation: spinRecord 40s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.header-layout {
    position: relative;
    z-index: 1;
}

@keyframes spinRecord {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.wrap {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.header-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: center;
    padding: 14px 0 12px;
}

.header-brand {
    min-width: 0;
}

.brand {
    padding: 0 0 8px;
    text-align: left;
}

.logo {
    display: block;
    max-width: 200px;
    width: 100%;
    height: auto;
    margin: 0 0 8px;
}

.brand h1 {
    margin: 0;
    line-height: 1;
    font-size: clamp(34px, 5vw, 56px);
    color: var(--purple);
}

.tagline {
    margin-top: 4px;
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--charcoal);
}

nav {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0;
}

nav a {
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: bold;
    border: 1px solid var(--border);
    background: white;
}

nav a.active {
    background: var(--purple);
    color: white;
    border-color: var(--purple);
}

.hero {
    margin: 28px 0;
}

.hero,
.card,
.section,
.header-events {
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    box-shadow:
        0 0 12px rgba(111, 74, 168, 0.45),
        0 0 28px rgba(111, 74, 168, 0.25);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hero:hover,
.card:hover,
.section:hover,
.header-events:hover {
    box-shadow:
        0 0 16px rgba(111, 74, 168, 0.65),
        0 0 36px rgba(111, 74, 168, 0.4);
    transform: translateY(-2px);
}

.hero h2,
.card h2,
.section h2,
.header-events h2 {
    margin-top: 0;
    color: var(--purple);
}

.header-events {
    padding: 18px 20px;
}

.header-events h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.event-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 14px;
    align-items: start;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.event-item:last-of-type {
    margin-bottom: 8px;
    border-bottom: 0;
}

.event-date {
    background: var(--purple);
    color: white;
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    font-weight: bold;
    line-height: 1.2;
}

.event-info strong {
    display: block;
    margin-bottom: 4px;
}

.event-meta {
    color: #666;
    font-size: 14px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.button {
    display: inline-block;
    background: var(--purple);
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: bold;
    margin-top: 12px;
    border: 0;
    cursor: pointer;
}

.button:hover {
    text-decoration: none;
}

.button.secondary {
    background: white;
    color: var(--purple);
    border: 2px solid var(--purple);
    margin-left: 10px;
}

ul.feature-list {
    margin: 0;
    padding-left: 20px;
}

form {
    display: grid;
    gap: 14px;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 6px;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cdbfae;
    border-radius: 10px;
    font: inherit;
    background: #fff;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.alert {
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.alert.success {
    background: #ecf8ef;
    border: 1px solid #b8dfbf;
}

.alert.error {
    background: #fff1f1;
    border: 1px solid #e8b7b7;
}

.hours {
    width: 100%;
    border-collapse: collapse;
}

.hours td {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

footer {
    margin-top: 40px;
    padding: 24px 0 40px;
    text-align: center;
    color: #5b5b5b;
    font-size: 14px;
}

@media (max-width: 900px) {
    .header-layout {
        grid-template-columns: 1fr;
    }

    .brand {
        text-align: center;
    }

    .logo {
        margin: 0 auto 8px;
    }

    nav {
        justify-content: center;
    }
}

@media (max-width: 760px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .hero,
    .card,
    .section,
    .header-events {
        padding: 20px;
    }

    .button.secondary {
        margin-left: 0;
    }

    .event-item {
        grid-template-columns: 62px 1fr;
    }
}
