/* ============================================
   HI! MUSIC EVENTS - Coming Soon Landing Page
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #F5C518;
    --gold-light: #FFE234;
    --gold-dark: #E8A020;
    --black: #000000;
    --black-soft: #0A0A0A;
    --white: #FFFFFF;
    --white-muted: rgba(255, 255, 255, 0.6);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: var(--font);
    background: var(--black);
    color: var(--white);
}

/* ---- Background photo slideshow ---- */
.bg-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 2.5s ease-in-out;
    filter: grayscale(30%) brightness(0.55);
    will-change: opacity;
}

.bg-slide.active {
    opacity: 0.3;
    animation: kenBurns 7s linear forwards;
}

.bg-slide.fade-out {
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
}

/* Subtle Ken Burns zoom effect */
@keyframes kenBurns {
    0% { transform: scale(1.02); }
    100% { transform: scale(1.08); }
}

/* ---- Canvas backgrounds ---- */
#visualizer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.25;
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

/* ---- Glow orbs ---- */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
}

.glow-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 197, 24, 0.12) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    animation: orbFloat1 12s ease-in-out infinite;
}

.glow-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 160, 32, 0.08) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: orbFloat2 15s ease-in-out infinite;
}

.glow-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 226, 52, 0.06) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat3 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-40px, 30px); }
    66% { transform: translate(20px, -20px); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -40px); }
    66% { transform: translate(-20px, 20px); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.3); }
}

/* ---- Main container ---- */
.container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 40px 24px;
    text-align: center;
}

/* ---- Logo ---- */
.logo-wrapper {
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.logo {
    width: clamp(260px, 40vw, 480px);
    height: auto;
    filter: drop-shadow(0 0 40px rgba(245, 197, 24, 0.15));
    transition: filter 0.4s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 60px rgba(245, 197, 24, 0.3));
}

/* ---- Claim ---- */
.claim {
    font-size: clamp(14px, 2.2vw, 20px);
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--white-muted);
    margin-bottom: 32px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* ---- Divider ---- */
.divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin-bottom: 32px;
    animation: fadeInUp 1s ease-out 0.7s both;
}

/* ---- Countdown label ---- */
.countdown-label {
    font-size: clamp(10px, 1.4vw, 13px);
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

/* ---- Countdown ---- */
.countdown {
    display: flex;
    align-items: center;
    gap: clamp(8px, 2vw, 20px);
    animation: fadeInUp 1s ease-out 1s both;
}

.countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: clamp(60px, 10vw, 100px);
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.countdown-block:hover {
    background: rgba(245, 197, 24, 0.05);
    border-color: rgba(245, 197, 24, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 197, 24, 0.08);
}

.countdown-number {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(180deg, var(--white) 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums;
}

.countdown-unit {
    font-size: clamp(8px, 1.2vw, 11px);
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--white-muted);
    margin-top: 6px;
}

.countdown-separator {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 200;
    color: rgba(245, 197, 24, 0.4);
    animation: pulse 1s ease-in-out infinite;
    padding-bottom: 16px;
}

/* ---- Number flip animation ---- */
.countdown-number.flip {
    animation: numberFlip 0.5s ease-out;
}

@keyframes numberFlip {
    0% { transform: translateY(-8px); opacity: 0.4; }
    50% { transform: translateY(2px); }
    100% { transform: translateY(0); opacity: 1; }
}

/* ---- Actions row (contact + social) ---- */
.actions-row {
    margin-top: 48px;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: fadeInUp 1s ease-out 1.3s both;
}

.btn-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: transparent;
    border: 1px solid rgba(245, 197, 24, 0.3);
    border-radius: 50px;
    color: var(--gold);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-contact svg {
    width: 16px;
    height: 16px;
}

.btn-contact:hover {
    background: rgba(245, 197, 24, 0.08);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(245, 197, 24, 0.15);
}

a.btn-contact,
a.btn-contact:hover,
a.btn-contact:visited,
a.btn-contact:active,
a.btn-contact:focus {
    text-decoration: none;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-muted);
    transition: all 0.3s ease;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px;
}

.social-link:hover {
    color: var(--gold);
    border-color: rgba(245, 197, 24, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(245, 197, 24, 0.15);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* ---- Contact Modal ---- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid rgba(245, 197, 24, 0.12);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.4s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white-muted);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--gold);
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    background: linear-gradient(135deg, var(--white), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    font-size: 14px;
    color: var(--white-muted);
    margin-bottom: 28px;
    font-weight: 300;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--white);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 300;
    transition: all 0.3s ease;
    outline: none;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Select placeholder (disabled selected option) */
.form-group select:invalid,
.form-group select option[disabled] {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(245, 197, 24, 0.4);
    background: rgba(245, 197, 24, 0.03);
    box-shadow: 0 0 20px rgba(245, 197, 24, 0.05);
}

/* Select dropdowns */
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--white);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 300;
    transition: all 0.3s ease;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.4)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group select option {
    background: #1a1a1a;
    color: var(--white);
}

/* Phone prefix row */
.form-group-phone {
    display: flex;
    gap: 8px;
}

.form-group-phone .phone-prefix {
    width: 110px;
    flex-shrink: 0;
    padding: 14px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--white);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 300;
    transition: all 0.3s ease;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.4)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 24px;
}

.form-group-phone .phone-prefix option {
    background: #1a1a1a;
    color: var(--white);
}

.form-group-phone input {
    flex: 1;
    min-width: 0;
}

/* Conditional consultas fields */
.consultas-fields {
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.consultas-fields.visible {
    display: block !important;
}

/* Contact modal - scrollable for many fields */
.modal-contact {
    max-width: 440px;
    max-height: 85vh;
    overflow-y: auto;
}

/* Character counter */
.char-counter {
    text-align: right;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    margin-top: 4px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.char-counter.near-limit {
    color: var(--gold);
}

.char-counter.at-limit {
    color: #e74c3c;
}

/* File upload area */
.file-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1.5px dashed rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: rgba(245, 197, 24, 0.4);
    background: rgba(245, 197, 24, 0.03);
}

.file-upload-icon {
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.file-upload-area:hover .file-upload-icon {
    color: var(--gold);
}

.file-upload-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    margin-bottom: 4px;
}

.file-upload-hint {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
}

.file-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(245, 197, 24, 0.06);
    border: 1px solid rgba(245, 197, 24, 0.2);
    border-radius: 8px;
    margin-top: 8px;
}

.file-selected-name {
    font-size: 12px;
    color: var(--gold);
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.file-remove {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
    cursor: pointer;
    padding: 0 0 0 12px;
    line-height: 1;
    transition: color 0.2s ease;
}

.file-remove:hover {
    color: #e74c3c;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border: none;
    border-radius: 10px;
    color: var(--black);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 4px;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 30px rgba(245, 197, 24, 0.25);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-success {
    text-align: center;
    padding: 20px 0;
}

.form-success svg {
    width: 48px;
    height: 48px;
    color: var(--gold);
    margin-bottom: 16px;
}

.form-success p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.form-success .form-success-sub {
    font-size: 13px;
    color: var(--white-muted);
    font-weight: 300;
}

/* ---- RGPD Consent Checkbox ---- */
.form-group-rgpd {
    margin-bottom: 16px;
    margin-top: 4px;
    text-align: left;
}

.rgpd-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.6;
    color: var(--white-muted);
    user-select: none;
}

.rgpd-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 0;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--gold);
    appearance: auto;
}

.rgpd-checkmark {
    display: none;
}

.rgpd-text {
    flex: 1;
}

.privacy-link {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid rgba(245, 197, 24, 0.3);
}

.privacy-link:hover {
    color: var(--gold-light);
    border-bottom-color: var(--gold-light);
}

/* ---- Privacy Policy Modal ---- */
.modal-privacy {
    max-width: 540px;
    max-height: 80vh;
    overflow-y: auto;
}

.privacy-content {
    text-align: left;
    font-size: 13px;
    line-height: 1.8;
    color: var(--white-muted);
    font-weight: 300;
}

.privacy-content p {
    margin-bottom: 14px;
}

.privacy-content strong {
    color: var(--white);
    font-weight: 600;
}

/* ---- Animations ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ---- Responsive ---- */
@media (max-width: 480px) {
    .countdown-block {
        padding: 12px 8px;
        border-radius: 8px;
    }

    .countdown-separator {
        padding-bottom: 12px;
    }

    .container {
        padding: 24px 16px;
    }

    .claim {
        letter-spacing: 4px;
    }

    .actions-row {
        margin-top: 36px;
    }

    .modal {
        padding: 28px 24px;
    }
}

@media (max-height: 600px) {
    .container {
        padding: 16px;
        gap: 0;
    }

    .logo-wrapper {
        margin-bottom: 12px;
    }

    .claim {
        margin-bottom: 16px;
    }

    .divider {
        margin-bottom: 16px;
    }

    .countdown-label {
        margin-bottom: 12px;
    }

    .actions-row {
        margin-top: 24px;
    }
}

