/* 
  Star Classics Premium Design System 
  Bold, High-Energy, Elite Sports Aesthetic
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@700;800;900&display=swap');

:root {
    --primary: #FF3D3D; /* Energetic Red */
    --primary-dim: #D72626;
    --secondary: #FFD700; /* Premium Gold */
    --bg-dark: #050505;
    --bg-card: #121212;
    --text-main: #FFFFFF;
    --text-dim: #A0A0A0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -0.02em;
}

/* Layout Sections */
section {
    padding: 140px 0;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 6px;
    background: var(--primary);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.text-center .section-title {
    display: table; /* Centers inline-block with margin auto */
    margin-left: auto;
    margin-right: auto;
}

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

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 40px;
    object-fit: contain;
}

nav {
    display: flex;
    gap: 35px;
    align-items: center;
}

nav a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

nav a:hover {
    opacity: 1;
    color: var(--primary);
}

.btn-apply:hover {
    background: var(--primary) !important;
    color: white !important;
    opacity: 1 !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 36px;
    background: var(--primary);
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.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: 0.5s;
}

.btn:hover {
    background: var(--primary-dim);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

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

.btn-outline {
    background: transparent;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--bg-dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.4) saturate(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,5,0.4), rgba(5,5,5,1));
    z-index: -1;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 40px;
    animation: fadeInUp 1.2s ease-out;
}

.hero .btn {
    animation: fadeInUp 1.4s ease-out;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 25px;
}

.about-video-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.about-video-box video {
    width: 100%;
    display: block;
}

.floating-accent {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.2;
    z-index: -1;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 60px 40px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 30px;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card p {
    color: var(--text-dim);
}

/* Culture Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-card);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: grayscale(0.5);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    cursor: zoom-out;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border: 2px solid var(--primary);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Registration Form */
.registration-section {
    background: linear-gradient(to bottom, var(--bg-dark), #0a0a0a);
}

.reg-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 80px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}

.progress-container {
    height: 6px;
    background: #222;
    margin-bottom: 60px;
    border-radius: 10px;
    overflow: hidden;
}

.progress-track {
    height: 100%;
    background: var(--primary);
    width: 33%;
    transition: var(--transition);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.6s ease-out;
}

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

.form-group label {
    display: block;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    color: var(--primary);
}

input, select, textarea {
    width: 100%;
    padding: 18px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    background: #222;
}

/* Final CTA */
.cta-banner {
    padding: 160px 0;
    text-align: center;
    background-image: linear-gradient(rgba(5,5,5,0.6), rgba(5,5,5,0.6)), url('Atmosfere-3v3-020328.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-banner h2 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    white-space: nowrap;
    margin-bottom: 30px;
}

/* Footer */
footer {
    background: #000;
    padding: 120px 0 60px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-col h4 {
    color: var(--primary);
    margin-bottom: 30px;
    display: block;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
}

.footer-col p {
    color: var(--text-dim);
}

.footer-socials {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.footer-socials i {
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.footer-socials i:hover {
    color: var(--primary);
    transform: translateY(-5px);
}

.footer-copy {
    text-align: center;
    padding-top: 60px;
    border-top: 1px solid #111;
    color: #444;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .features-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 5.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .reg-card { padding: 40px; }
}

@media (max-width: 768px) {
    header { height: 80px; }
    nav { display: none; }
    .hero h1 { font-size: 3.5rem; }
    .cta-banner h2 { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
