/* Event Beast - landing.css - Version 1.04 (public pages: landing.php, privacy.php) */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; background: #6a4fa6; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(160deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    line-height: 1.55;
    min-height: 100vh;
}

a { color: inherit; }

.pub-top {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(40, 25, 90, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pub-brand {
    font-size: 19px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.pub-logo { width: 32px; height: 32px; border-radius: 8px; display: block; }

.pub-auth { display: flex; gap: 8px; }

.pub-btn {
    display: inline-block;
    padding: 9px 16px;
    border-radius: 10px;
    border: 2px solid #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.pub-btn-ghost { background: transparent; color: #fff; }

.pub-btn-solid {
    background: linear-gradient(135deg, #ffd23f 0%, #ff7a18 55%, #ff2e63 100%);
    border-color: transparent;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 14px rgba(255, 90, 30, 0.45);
}

.pub-btn-big { padding: 14px 26px; font-size: 17px; border-radius: 14px; }

.pub-wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }

.pub-hero { text-align: center; padding-top: 38px; padding-bottom: 26px; }

.pub-hero h1 {
    font-size: 32px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 12px;
}

.pub-hero p {
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto 22px;
    opacity: 0.95;
}

.pub-hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.pub-section { padding-top: 22px; padding-bottom: 22px; }

.pub-section h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.pub-sub { opacity: 0.9; margin-bottom: 14px; font-size: 15px; }

.pub-events { display: grid; gap: 10px; }

.pub-event {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 12px;
    min-height: 76px;
    padding: 10px 84px 10px 14px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border-left: 8px solid #667eea;
}

.pub-event-text { min-width: 0; align-self: center; }

.pub-event-date { font-size: 13px; color: #666; }

.pub-event-name {
    font-size: 16px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pub-event-venue {
    font-size: 14px;
    color: #555;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pub-event-pic {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 72px;
    height: 72px;
    border-radius: 13px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: 800;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pub-event-pic img { width: 100%; height: 100%; object-fit: cover; }

.pub-more { text-align: center; margin-top: 16px; }

.pub-steps, .pub-feats { display: grid; gap: 12px; grid-template-columns: 1fr; }

.pub-card {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 16px;
    padding: 16px;
}

.pub-card h3 { font-size: 17px; margin-bottom: 4px; }

.pub-card p { font-size: 15px; opacity: 0.95; }

.pub-num {
    display: inline-flex;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd23f 0%, #ff7a18 55%, #ff2e63 100%);
    font-weight: 800;
    margin-bottom: 8px;
}

.pub-regions { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }

.pub-regions li {
    padding: 7px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 14px;
    font-weight: 700;
}

.pub-about p { margin-bottom: 12px; font-size: 16px; }

.pub-footer {
    margin-top: 28px;
    padding: 22px 16px 34px;
    text-align: center;
    background: rgba(30, 18, 70, 0.45);
    font-size: 14px;
}

.pub-footer-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }

.pub-footer a { font-weight: 700; }

/* Privacy page text */
.pub-doc { padding-top: 26px; padding-bottom: 8px; }
.pub-doc h1 { font-size: 28px; margin-bottom: 4px; }
.pub-doc h2 { font-size: 19px; margin: 22px 0 6px; }
.pub-doc p, .pub-doc li { font-size: 15.5px; margin-bottom: 8px; }
.pub-doc ul { padding-left: 22px; margin-bottom: 8px; }
.pub-doc .pub-updated { opacity: 0.85; font-size: 14px; margin-bottom: 14px; }
.pub-doc a { text-decoration: underline; }

@media (min-width: 680px) {
    .pub-hero h1 { font-size: 42px; }
    .pub-steps { grid-template-columns: repeat(2, 1fr); }
    .pub-feats { grid-template-columns: repeat(3, 1fr); }
    .pub-events { grid-template-columns: 1fr 1fr; }
}

/* Contact form */
.pub-form { margin-top: 14px; }
.pub-form label { display: block; font-weight: 700; font-size: 14px; margin: 14px 0 5px; }
.pub-form input[type="text"], .pub-form input[type="email"], .pub-form textarea {
    width: 100%; padding: 12px; font-size: 16px; font-family: inherit;
    border: 2px solid rgba(255,255,255,0.55); border-radius: 10px;
    background: rgba(255,255,255,0.95); color: #222;
}
.pub-form textarea { min-height: 130px; resize: vertical; }
.pub-form input:focus, .pub-form textarea:focus { outline: none; border-color: #ffd54a; }
.pub-form .pub-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pub-form .pub-check { background: rgba(0,0,0,0.22); border-radius: 12px; padding: 10px 12px; margin-top: 14px; }
.pub-form .pub-check label { margin-top: 0; }
.pub-form button { margin-top: 18px; border: 0; cursor: pointer; font-family: inherit; }
.pub-msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-weight: 700; }
.pub-msg-ok { background: rgba(46,204,113,0.9); color: #08301a; }
.pub-msg-err { background: rgba(255,255,255,0.95); color: #b00020; }
