body {
    font-family: "Segoe UI", system-ui, sans-serif;
    background-color: #f5f5f5;
}

.login-form {
    display: flex;
    flex-direction: column;
}

.login-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 0.25rem;
}

.login-input {
    width: 100%;
    padding: 0.75rem 0.875rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.login-input:focus {
    outline: 2px solid #c8102e;
    border-color: #c8102e;
}

.login-button {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #c8102e;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.login-button:hover {
    background-color: #a00d25;
}

.mud-appbar {
    background-color: #1a1a1a !important;
}

.site-header-appbar {
    gap: 0.5rem;
}

.site-header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.site-header-brand:hover {
    color: inherit;
    text-decoration: none;
}

.site-header-logo {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #1a1a1a;
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.site-header-logo--sm {
    width: 40px;
    height: 40px;
}

.site-header-logo-img,
.site-header-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.site-header-brand-text {
    min-width: 0;
}

.site-header-brand-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-header-brand-sub {
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-header-cta {
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .site-header-appbar {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .site-header-brand {
        gap: 0.5rem;
    }

    .site-header-logo {
        width: 40px;
        height: 40px;
        border-width: 1.5px;
    }

    .site-header-logo--sm {
        width: 36px;
        height: 36px;
    }

    .site-header-brand-title {
        font-size: 0.95rem !important;
    }

    .site-header-brand-sub {
        font-size: 0.7rem !important;
    }

    .site-header-cta {
        font-size: 0.8rem;
        padding-inline: 0.65rem;
        min-width: unset;
    }
}

.site-footer {
    color: rgba(255, 255, 255, 0.7);
}

.site-footer-text {
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer .mud-link {
    color: rgba(255, 255, 255, 0.85) !important;
}

.site-footer .mud-link:hover {
    color: #ffffff !important;
}

.legal-page-content h2,
.legal-page-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-page-content p,
.legal-page-content ul {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.legal-page-content ul {
    padding-left: 1.25rem;
}

.club-hero {
    background: linear-gradient(135deg, #1a1a1a, #3d1018);
    color: #ffffff;
    border-radius: 12px;
}

.club-hero-text {
    opacity: 0.9;
    max-width: 42rem;
}

.club-section-grid {
    align-items: stretch;
}

.club-section-grid > .mud-grid-item {
    display: flex;
}

.club-section-card {
    border-radius: 12px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.club-section-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.club-section-card-description {
    flex: 1 1 auto;
    min-height: 0;
}

.club-section-card-actions {
    flex: 0 0 auto;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.club-section-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.facebook-embed {
    display: flex;
    justify-content: center;
    min-height: 500px;
}

.facebook-embed .fb-page,
.facebook-embed .fb-page span,
.facebook-embed iframe {
    width: 100% !important;
    max-width: 500px;
}

/* Live draw / Auslosung */
.live-draw-display-root {
    min-height: 100vh;
    background: linear-gradient(160deg, #0d0d0d 0%, #1a1a1a 45%, #2a0f16 100%);
    color: #ffffff;
}

.live-draw-display-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}

.live-draw-display-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.live-draw-display-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
}

.live-draw-display-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.02em;
}

.live-draw-display-subtitle {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.live-draw-display-loading {
    display: block;
    margin: 4rem auto;
}

.live-draw-display-message {
    text-align: center;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1.5rem;
}

.live-draw-display-message--success {
    color: #7dd87f;
    font-weight: 600;
}

.live-draw-display-history {
    margin-top: 2.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.live-draw-display-history h3 {
    margin: 0 0 1rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.live-draw-display-history ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.live-draw-display-history li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.live-draw-display-history li:last-child {
    border-bottom: none;
}

.live-draw-display-history span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}

.live-draw-admin-panel {
    background: linear-gradient(160deg, #111 0%, #1a1a1a 55%, #241018 100%);
    color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
}

.live-draw-admin-actions {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.live-draw-stage {
    text-align: center;
    padding: 2rem 1rem 1.5rem;
}

.live-draw-label {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 0.5rem;
}

.live-draw-prize-name {
    font-size: clamp(1.5rem, 4vw, 2.75rem);
    font-weight: 700;
    margin: 0 0 0.35rem;
    line-height: 1.15;
}

.live-draw-prize-value {
    font-size: 1.35rem;
    color: #d4af37;
    margin: 0 0 1.25rem;
    font-weight: 600;
}

.live-draw-subtitle {
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 1.5rem;
    font-size: 1.1rem;
}

.live-draw-ticket-placeholder {
    margin: 1.5rem auto 0;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.12);
    max-width: 520px;
}

.live-draw-ticket-placeholder--pulse {
    animation: live-draw-pulse 0.8s ease-in-out infinite;
    border-color: rgba(200, 16, 46, 0.55);
}

.live-draw-ticket-number {
    display: block;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
    color: #ffffff;
    line-height: 1.1;
}

.live-draw-ticket-number--dim {
    color: rgba(255, 255, 255, 0.25);
}

.live-draw-ticket-number--spin {
    color: #ffffff;
    text-shadow: 0 0 24px rgba(200, 16, 46, 0.45);
}

.live-draw-winner-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem auto 0;
    padding: 1.75rem 2rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.25), rgba(212, 175, 55, 0.15));
    border: 2px solid rgba(212, 175, 55, 0.45);
    max-width: 560px;
}

.live-draw-winner-name {
    font-size: clamp(1.35rem, 3.5vw, 2rem);
    font-weight: 600;
    color: #ffffff;
}

.live-draw-sponsor {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.live-draw-stage--revealed.live-draw-stage--celebrate {
    animation: live-draw-celebrate 0.6s ease-out;
}

.live-draw-prize-list-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.live-draw-prize-list-item--done {
    color: rgba(0, 0, 0, 0.55);
}

.live-draw-confetti-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
}

@keyframes live-draw-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(200, 16, 46, 0);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 32px rgba(200, 16, 46, 0.35);
    }
}

@keyframes live-draw-celebrate {
    0% {
        transform: scale(0.96);
        opacity: 0.7;
    }
    60% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
