.event-page {
    max-width: 1100px;
    margin: 28px auto;
    padding: 0 18px;
}

.event-hero {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.event-banner {
    flex: 1;
    height: 420px;
    min-height: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    background: #0b0c10;
}

.event-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-banner .banner-gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.65) 100%);
    pointer-events: none;
}

.event-banner .title {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 20px;
    z-index: 3;
    color: #fff;
    font-weight: 800;
    font-size: 30px;
    text-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

.event-info {
    width: 360px;
    min-width: 260px;
}

.event-info .meta {
    color: var(--muted);
    margin-bottom: 12px;
    line-height: 1.45;
}

.event-location-line {
    display: block;
}

.hosts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.host-pill {
    background: rgba(255,255,255,0.03);
    padding: 6px 8px;
    border-radius: var(--radius);
    font-size: 13px;
}

.actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.host-card-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.host-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    min-width: 210px;
}

.host-card-main {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.social-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #ff78c8;
    opacity: 0.9;
}

.social-link-icon:hover {
    opacity: 1;
}

.social-link-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.host-name {
    font-weight: 700;
}

.empty-host-card {
    color: var(--muted);
}

.event-admin-tools {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.registration-panel {
    margin-top: 16px;
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.03);
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.terms-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.35;
}

.terms-check input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex: 0 0 auto;
}

.terms-check a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.registration-action {
    width: 100%;
}

.registration-status {
    margin: 8px 0 0;
    color: var(--muted);
}

.success-text {
    color: #94f0b6;
}

.admin-host-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.admin-host-form input {
    flex: 1 1 180px;
}

.danger-btn {
    background: transparent;
    border: 1px solid rgba(255,0,0,0.18);
    color: #ffb3b3;
}

.danger-btn:hover {
    border-color: rgba(255,0,0,0.35);
}

.event-description {
    margin-top: 20px;
}

@media (max-width: 900px) {
    .event-page {
        margin: 20px auto;
        padding: 0 16px 24px;
    }

    .event-hero {
        flex-direction: column;
    }

    .event-info {
        width: 100%;
        min-width: 0;
    }

    .host-card {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .event-banner {
        height: 260px;
        min-height: 260px;
    }

    .event-banner .title {
        left: 16px;
        right: 16px;
        bottom: 16px;
        font-size: 22px;
    }

    .actions {
        flex-direction: column;
    }

    .actions .btn {
        width: 100%;
    }

    .admin-host-form {
        flex-direction: column;
    }

    .admin-host-form .btn {
        width: 100%;
    }
}
