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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #000099 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    background: linear-gradient(135deg, #000099 0%, #00f2fe 100%);
    padding: 40px 30px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.1) 10px,
        rgba(255,255,255,0.1) 20px
    );
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) translateY(-50%) rotate(360deg); }
}

.logo {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
    z-index: 2;
    position: relative;
}

.tagline {
    font-size: 1.1em;
    opacity: 0.9;
    z-index: 2;
    position: relative;
}

.event-title {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    padding: 20px 30px;
    text-align: center;
    font-size: 1.3em;
    font-weight: 600;
    margin: 0;
}

.form-container {
    padding: 40px 30px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95em;
}

.required {
    color: #e74c3c;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
    transform: translateY(-1px);
}

.form-control:hover {
    border-color: #c3d4e0;
}

.custom-input {
    margin-top: 10px;
    display: none;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 100px;
        transform: translateY(0);
    }
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

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

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.feature-highlight {
    background: linear-gradient(135deg, #ffeaa7, #fab1a0);
    margin: 20px 0;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    color: #2d3436;
}

.feature-highlight h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
}

.feature-highlight p {
    font-size: 0.95em;
    line-height: 1.5;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        margin: 10px auto;
        border-radius: 15px;
    }

    .header {
        padding: 30px 20px;
    }

    .logo {
        font-size: 2em;
    }

    .tagline {
        font-size: 1em;
    }

    .event-title {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .form-container {
        padding: 30px 20px;
    }

    .form-control {
        padding: 12px 15px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .submit-btn {
        padding: 15px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 25px 15px;
    }

    .logo {
        font-size: 1.8em;
    }

    .form-container {
        padding: 25px 15px;
    }
}

/* Success animation for form */
.success-message {
    display: none;
    /*background: linear-gradient(135deg, #00b894, #00cec9);*/
    background-color: #000099;
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-top: 20px;
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

#successMessage {
	display: block;
}