/* ==========================================
   star.zine.cn Portal Design System & Reset
   ========================================== */
:root {
    --bg-dark: #070709;
    --bg-card: rgba(18, 18, 22, 0.4);
    --bg-card-hover: rgba(28, 28, 34, 0.6);
    --border-color: rgba(197, 168, 128, 0.12);
    --border-color-hover: rgba(197, 168, 128, 0.35);
    --primary-gold: #c5a880;
    --bright-gold: #e5c396;
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-muted: #5e5e63;
    --font-heading: 'Cinzel', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
    --glass-blur: blur(24px);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    width: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 100%;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

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

button {
    font-family: inherit;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
}

/* ==========================================
   FASHION DYNAMIC BACKGROUND GLOWS
   ========================================== */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#glow-1 {
    top: 5%;
    right: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.08) 0%, rgba(7, 7, 9, 0) 70%);
}

#glow-2 {
    top: 50%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.06) 0%, rgba(7, 7, 9, 0) 70%);
}

/* ==========================================
   GLOBAL UTILITIES
   ========================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 7.5rem 0;
}

.gold-text {
    color: var(--primary-gold);
    background: linear-gradient(135deg, var(--bright-gold) 30%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 20px 40px rgba(197, 168, 128, 0.06);
    transform: translateY(-5px);
}

.section-header {
    margin-bottom: 5.5rem;
    text-align: center;
}

.gold-subtitle {
    font-family: var(--font-heading);
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #ffffff 30%, #cdcdcf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.05rem;
    font-weight: 300;
}

/* ==========================================
   SCROLL REVEAL EFFECT
   ========================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.2rem;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition-smooth);
    letter-spacing: 1.5px;
}

.btn-primary {
    background-color: var(--primary-gold);
    color: #0c0c0e;
    border: 1px solid var(--primary-gold);
}

.btn-primary:hover {
    background-color: var(--bright-gold);
    border-color: var(--bright-gold);
    box-shadow: 0 10px 25px rgba(197, 168, 128, 0.22);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
    border-radius: 4px;
}

.btn-full {
    width: 100%;
}

.btn-disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

/* ==========================================
   HEADER NAVIGATION
   ========================================== */
.main-header {
    height: 80px;
    background-color: rgba(7, 7, 9, 0.8);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
}

.logo {
    display: flex;
    align-items: center;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--primary-gold);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    padding: 8rem 0 6rem 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-subtitle {
    font-family: var(--font-heading);
    color: var(--primary-gold);
    letter-spacing: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: 1.5px;
    margin-bottom: 2.2rem;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 3.5rem;
    max-width: 620px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.8rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.visual-globe-box {
    width: 320px;
    height: 320px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(197, 168, 128, 0.15);
    animation: rotateCircle 30s linear infinite;
}

.visual-circle.outer {
    width: 340px;
    height: 340px;
    animation-duration: 40s;
}

.visual-circle.middle {
    width: 260px;
    height: 260px;
    border-style: solid;
    border-color: rgba(197, 168, 128, 0.05);
    animation-direction: reverse;
    animation-duration: 25s;
}

.visual-circle.inner {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.05) 0%, rgba(7, 7, 9, 0) 70%);
}

.visual-data-card {
    position: absolute;
    padding: 1.8rem;
    border-color: rgba(197, 168, 128, 0.25);
    width: 240px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: floatCard 6s ease-in-out infinite;
}

.visual-data-card .card-title {
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.6rem;
}

.matching-ratio {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.visual-data-card .card-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

@keyframes rotateCircle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ==========================================
   BRAND PARTNERS MARQUEE
   ========================================== */
.marquee-section {
    background-color: #0b0b0d;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.marquee-title-container {
    text-align: center;
    margin-bottom: 1.8rem;
}

.marquee-label {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 4px;
    color: var(--text-muted);
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    position: relative;
    width: 100%;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 180px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #0b0b0d 0%, rgba(11, 11, 13, 0) 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(-90deg, #0b0b0d 0%, rgba(11, 11, 13, 0) 100%);
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    min-width: 100%;
    align-items: center;
    justify-content: space-around;
    gap: 3rem;
    animation: scrollMarquee 35s linear infinite;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 3px;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.marquee-item:hover {
    color: var(--primary-gold);
}

@keyframes scrollMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* ==========================================
   ROSTER SECTION (CELEBRITY CARDS)
   ========================================== */
.roster-section {
    background-color: #08080a;
}

.roster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}

.roster-card {
    border-radius: 16px;
    overflow: hidden;
    background-color: #121215;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.roster-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(-8px);
}

.card-image-box {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.roster-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%);
    transition: var(--transition-smooth);
    transform-origin: center center;
}

.roster-card:hover .roster-portrait {
    filter: grayscale(0);
    transform: scale(1.04);
}

.placeholder-visual-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #18181d 0%, #0d0d0f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.placeholder-visual-bg .large-letter {
    font-family: var(--font-heading);
    font-size: 10rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.015);
    user-select: none;
}

.card-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(8, 8, 10, 0.95) 100%);
    z-index: 1;
}

.card-status-badge {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    background-color: rgba(197, 168, 128, 0.15);
    color: var(--primary-gold);
    border: 1px solid rgba(197, 168, 128, 0.3);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    border-radius: 30px;
    letter-spacing: 1px;
    z-index: 2;
}

.card-status-badge.waiting {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    border-color: rgba(255, 255, 255, 0.1);
}

.card-info-box {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    z-index: 2;
    background-color: #101013;
}

.card-subtitle {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--primary-gold);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.6rem;
}

.card-name {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.card-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 1.2rem;
    margin-bottom: 1.4rem;
}

.card-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stat-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-lbl {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.card-excerpt {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* ==========================================
   PLATFORM VALUE FEATURES
   ========================================== */
.features-section {
    background-color: #0b0b0d;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}

.feature-card {
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-icon-box {
    font-size: 2.5rem;
    line-height: 1;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
}

/* ==========================================
   APPLICATION FORM SECTION
   ========================================== */
.apply-section {
    background-color: #08080a;
}

.apply-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 4.5rem;
}

.apply-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.form-group label {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group label .required {
    color: #e25c5c;
    margin-left: 0.2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 0.95rem 1.2rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 12px rgba(197, 168, 128, 0.15);
    background-color: rgba(255, 255, 255, 0.04);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a1a1a6' 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 1.2rem center;
    background-size: 1.1rem;
    cursor: pointer;
}

.form-group select option {
    background-color: #121215;
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
}

/* ==========================================
   FOOTER STYLE
   ========================================== */
.main-footer {
    background-color: #050507;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 5rem;
    position: relative;
    z-index: 2;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
    max-width: 480px;
}

.footer-links-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.footer-col a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-col a:hover {
    color: var(--primary-gold);
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 2.2rem 0;
    text-align: center;
}

.footer-copyright p {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ==========================================
   FORM SUCCESS MODAL
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    max-width: 500px;
    width: 90%;
    padding: 4rem 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(197, 168, 128, 0.15);
    color: var(--primary-gold);
    border: 1px solid rgba(197, 168, 128, 0.3);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
}

.modal-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.8rem;
    font-weight: 300;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1100px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .roster-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .main-header {
        padding: 0 2rem;
    }
    
    .nav-links {
        display: none; /* simple responsive fallback */
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .apply-container {
        padding: 3rem 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .footer-links-group {
        gap: 2rem;
    }
    
    .card-info-box {
        padding: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .modal-content {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 680px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .roster-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .apply-container {
        padding: 2rem 1.2rem;
    }
}
