:root {
    --bg-primary: #0b132b;
    --bg-secondary: #1c2541;
    --accent-glow: rgba(58, 124, 214, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #9eb3c2;
    --primary-color: #3a7bd5;
    --secondary-color: #00d2ff;
    --success-color: #28cd41;
    --error-color: #ff3b30;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Dynamic Animated Background */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 15% 50%, rgba(58, 123, 213, 0.15), transparent 25%),
                radial-gradient(circle at 85% 30%, rgba(0, 210, 255, 0.15), transparent 25%);
    animation: pulseBg 15s ease-in-out infinite alternate;
}

@keyframes pulseBg {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Section Full Bleed */
.hero-full {
    text-align: center;
    width: 100%;
    animation: slideDown 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin-bottom: 3rem;
}

.logo-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.7);
}

.site-logo {
    width: 100%;
    height: auto;
    display: block;
    animation: fadeIn 1.2s ease-out;
}

.hero-full h1 {
    width: 100%;
    text-align: center;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    margin: 1rem 0;
    color: var(--text-primary);
}

.highlight {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    padding: 0 1.5rem;
}

/* Glassmorphism Card */
.registration-section {
    width: 100%;
    max-width: 600px;
    margin-bottom: 4rem;
    animation: fadeIn 1.2s ease-out 0.3s both;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 60px -15px rgba(0, 210, 255, 0.1);
}

.glass-card h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

input, select, textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

input:focus, select:focus, textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--accent-glow);
}

input:focus + label, select:focus + label, textarea:focus + label {
    color: var(--secondary-color);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Custom Select */
select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1.2rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

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

.submit-btn::after {
    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 ease;
}

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

/* Loading Spinner */
.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    position: absolute;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading .btn-text {
    opacity: 0;
}
.loading .spinner {
    display: block;
}

/* Form Message */
.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-message.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    position: absolute;
}

.form-message.success {
    background: rgba(40, 205, 65, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(40, 205, 65, 0.3);
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
    animation: fadeIn 1.2s ease-out 0.6s both;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

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

/* Instagram Floating Bubble */
.instagram-bubble {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9998;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(220, 39, 67, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-bubble:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(220, 39, 67, 0.6);
}

.instagram-bubble svg {
    width: 24px;
    height: 24px;
}

/* Hidden Widget Logic */
.hidden-widget {
    opacity: 0;
    pointer-events: none !important;
    transition: opacity 0.4s ease;
}

.hidden-widget.visible {
    opacity: 1;
    pointer-events: auto !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-full h1 { font-size: 3.2rem; bottom: 25px; }
    .glass-card { padding: 2rem; }
}
