:root {
    --primary-color: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.4);
    --secondary-color: #8b5cf6;
    --background-dark: #0f172a;
    --background-light: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --font-family-headings: 'Space Grotesk', sans-serif;
    --font-family-body: 'Poppins', sans-serif;
    --border-radius: 16px;
}

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

body {
    font-family: var(--font-family-body);
    background-color: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    background-image: url('https://offertabs.s3.amazonaws.com/offer/jayqgg/69c063593a9307.21847342.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.shape1 {
    width: 400px;
    height: 400px;
    background: var(--primary-glow);
    top: -100px;
    left: -100px;
}

.shape2 {
    width: 500px;
    height: 500px;
    background: rgba(139, 92, 246, 0.3);
    bottom: -150px;
    right: -150px;
}

.shape3 {
    width: 300px;
    height: 300px;
    background: rgba(59, 130, 246, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*  */
}

.main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    align-items: center;
}

@media (min-width: 1024px) {
    .main-content {
        grid-template-columns: 1.2fr 1fr;
        gap: 4rem;
    }
}

.content-column {
    padding: 2rem 0;
}

.event-header {
    margin-bottom: 3rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.logo svg {
    stroke: var(--primary-color);
}

.logo h1 {
    font-size: 1.25rem;
    font-weight: 500;
    font-family: var(--font-family-headings);
}

.event-title {
    font-family: var(--font-family-headings);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(120deg, var(--text-primary), var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.event-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2rem;
}

#countdown {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    min-width: 70px;
}
.countdown-item span:first-child {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-family-headings);
    color: var(--primary-color);
}
.countdown-item span:last-child {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
}


.event-details h3 {
    font-family: var(--font-family-headings);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.schedule {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.schedule-item {
    display: flex;
    gap: 1.5rem;
}

.schedule-item .time {
    font-weight: 600;
    color: var(--primary-color);
    flex-shrink: 0;
    width: 140px;
}

.schedule-item .info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.schedule-item .info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}
.schedule-item .info .speaker-name {
    font-style: italic;
    color: var(--text-muted);
}

.speakers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 2rem;
}

.speaker-item {
    text-align: center;
}

.speaker-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--border-color);
    transition: transform 0.3s ease;
}
.speaker-item:hover img {
    transform: scale(1.05);
}

.speaker-item h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.speaker-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-column {
    display: flex;
    align-items: center;
    /* justify-content: center; */
}

.glass-panel {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.form-wrapper .form-title, .confirmation-wrapper .confirmation-title {
    font-family: var(--font-family-headings);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.form-wrapper .form-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-family-body);
    font-size: 1rem;
    transition: all 0.2s ease-in-out;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-feedback {
    text-align: center;
    margin-top: 1rem;
    color: #fca5a5;
    font-size: 0.9rem;
}

.confirmation-wrapper {
    text-align: center;
}
.confirmation-icon {
    margin-bottom: 1.5rem;
}
.confirmation-icon svg {
    stroke: var(--primary-color);
}

.confirmation-message {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.share-panel h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.share-panel p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.share-input-wrapper {
    display: flex;
}
.share-input-wrapper input {
    flex-grow: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    background: rgba(0,0,0,0.3);
    color: var(--text-primary);
    border-radius: 6px 0 0 6px;
    border-right: 0;
}
.share-input-wrapper input:focus {
    outline: none;
}
.share-input-wrapper button {
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: var(--text-primary);
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: background 0.2s;
}
.share-input-wrapper button:hover {
    background: #2563eb;
}

.status-panel {
    text-align: center;
}
.status-panel h2 {
    font-family: var(--font-family-headings);
    font-size: 2rem;
    margin-bottom: 1rem;
}

#wbx-powered-by-slot {
    margin-top: 2rem;
    width: 100%;
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    .main-content {
        padding-top: 2rem;
    }
    .content-column, .form-column {
        padding: 0;
    }
    .event-title {
        font-size: 2rem;
    }
    .schedule-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    .schedule-item .time {
        width: auto;
    }
}