* {
    box-sizing: border-box;
}

:root {
    --bg: #f4f7fb;
    --card: #ffffff;
    --line: #e5eaf1;
    --text: #142033;
    --muted: #667085;
    --blue: #165dff;
    --blue-dark: #0f3ea8;
    --green: #1db954;
    --green-dark: #12833a;
    --red: #dc2626;
    --orange: #f97316;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    --radius: 22px;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(180deg, #f7faff 0%, #eef3f9 100%);
    color: var(--text);
}

img {
    max-width: 100%;
    display: block;
}

.page,
.admin-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px 50px;
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
    margin-bottom: 28px;
}

.hero-text,
.hero-image-card,
.party-card,
.info-card,
.table-card,
.stat-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-text {
    padding: 36px;
}

.hero-image-card {
    padding: 24px;
}

.hero-image {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
}

.eyebrow {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: #e8f0ff;
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.green-eyebrow {
    background: #e9fbea;
    color: var(--green-dark);
}

h1 {
    font-size: 42px;
    line-height: 1.1;
    margin: 0 0 14px;
}

h2 {
    font-size: 28px;
    margin: 0 0 14px;
}

h3 {
    font-size: 22px;
    margin-top: 0;
}

.lead {
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 24px;
}

.event-card {
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f9fbff;
}

.event-card div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.event-card strong {
    min-width: 90px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
}

.party-card,
.info-card {
    padding: 32px;
}

.music-card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(29, 185, 84, 0.18), transparent 35%),
        #ffffff;
}

.music-card p,
.gift-box p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 16px;
}

.card-icon {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.spotify-icon {
    background: #1db954;
}

.spotify-icon svg {
    width: 42px;
    height: 42px;
    fill: #ffffff;
}

.btn-spotify,
.btn-gift,
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 16px 20px;
    border-radius: 14px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s ease;
    margin-top: 10px;
}

.btn-spotify {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.btn-gift,
.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.btn-spotify:hover,
.btn-gift:hover,
.btn-primary:hover {
    transform: translateY(-1px);
    opacity: 0.98;
}

.info-card ul {
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.7;
}

.gift-box {
    margin-top: 24px;
    padding: 22px;
    border-radius: 18px;
    background: #f9fbff;
    border: 1px solid var(--line);
}

.gift-emoji {
    font-size: 34px;
    margin-bottom: 10px;
}

.small-note {
    margin-top: 14px;
    font-size: 13px !important;
    color: #b45309 !important;
}

code {
    background: #eef2f7;
    padding: 2px 5px;
    border-radius: 6px;
}

.admin-link,
.back-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--blue);
    text-decoration: none;
    font-weight: 700;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.stat-card {
    padding: 24px;
}

.stat-card span {
    display: block;
    color: var(--muted);
    margin-bottom: 10px;
}

.stat-card strong {
    font-size: 34px;
    line-height: 1;
}

.table-card {
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

thead th {
    text-align: left;
    background: #f8fafc;
    color: var(--text);
    font-size: 14px;
    padding: 16px;
    border-bottom: 1px solid var(--line);
}

tbody td {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    font-size: 15px;
}

.status {
    display: inline-block;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.status.ja {
    background: #e8f8ee;
    color: var(--green);
}

.status.nee {
    background: #fdecec;
    color: var(--red);
}

@media (max-width: 980px) {
    .hero,
    .content-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 34px;
    }

    .hero-text,
    .hero-image-card,
    .party-card,
    .info-card {
        padding: 24px;
    }

    .page,
    .admin-page {
        padding: 18px 14px 30px;
    }

    .event-card div {
        flex-direction: column;
        gap: 4px;
    }
}
