:root {
    --primary-color: #ff3366;
    --primary-hover: #e62e5c;
    --bg-color: #0a0a0f;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 51, 102, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

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

/* Layout */
.container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Left Content Section */
.content-section {
    flex: 1;
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 55%;
    position: relative;
    z-index: 10;
}

/* Header */
header .logo h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

header .logo h1 span {
    color: var(--primary-color);
    font-weight: 300;
}

/* Main Content */
main {
    margin: auto 0;
    padding: 2rem 0;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid rgba(255, 51, 102, 0.3);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease backwards;
}

.title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.title span {
    font-family: var(--font-serif);
    color: var(--primary-color);
    font-style: italic;
    font-weight: 600;
}

.description {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 90%;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* Form */
.notify-section {
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.notify-section h3 {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.notify-form {
    display: flex;
    gap: 1rem;
    max-width: 450px;
}

.notify-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.notify-form input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.1);
}

.notify-form button {
    padding: 0 1.5rem;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    border: none;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.notify-form button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 51, 102, 0.2);
}

/* Secondary Image Preview */
.image-preview {
    width: 280px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    animation: fadeInUp 0.8s ease 0.8s backwards;
    border: 1px solid var(--border-color);
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-preview:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.image-overlay span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

footer p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Right Hero Section */
.hero-section {
    flex: 1;
    position: relative;
    background-color: #111;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-image: url('../images/dance_hero.png');
    background-size: cover;
    background-position: center;
    animation: kenburns 20s ease-in-out infinite alternate;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--bg-color) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.4) 100%);
}

.glass-card {
    position: absolute;
    bottom: 4rem;
    right: 4rem;
    background: rgba(20, 20, 25, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: fadeInRight 1s ease 1s backwards;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.glass-card .stat {
    display: flex;
    flex-direction: column;
}

.glass-card .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.glass-card .label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.glass-card .divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
}

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

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .title {
        font-size: 3rem;
    }
    .content-section {
        padding: 2.5rem;
        max-width: 60%;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .content-section {
        max-width: 100%;
        min-height: 100vh;
        padding: 2rem;
    }
    .hero-section {
        display: none; /* Can also adjust to show underneath, but keeping it clean */
    }
    /* Fallback background for mobile */
    .content-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url('../images/dance_hero.png');
        background-size: cover;
        background-position: center;
        opacity: 0.15;
        z-index: -1;
    }
    .title {
        font-size: 2.5rem;
    }
    .notify-form {
        flex-direction: column;
    }
    footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
