/* SEVENTEEN Fan Website Styles */
/* Color Palette: Blue, Pink, Rose Quartz, Serenity */

:root {
    --svt-blue: #5c7cfa;
    --svt-blue-dark: #4263eb;
    --svt-pink: #e8b4bc;
    --svt-pink-light: #f5d0d0;
    --svt-rose: #d4949c;
    --svt-dark: #1a1a2e;
    --svt-darker: #0f0f1a;
    --carat-pink: #ff9eb5;
    --carat-blue: #a8d8ff;
    --gradient-svt: linear-gradient(135deg, var(--svt-blue) 0%, var(--svt-pink) 100%);
    --gradient-hero: linear-gradient(135deg, var(--svt-darker) 0%, var(--svt-dark) 50%, #16213e 100%);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--svt-darker);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-svt);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--svt-pink);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-svt);
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: var(--svt-pink);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235c7cfa' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 2rem;
}

.hero-title {
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: 15px;
    margin-bottom: 0.5rem;
    background: var(--gradient-svt);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(92, 124, 250, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--svt-pink);
    margin-bottom: 1rem;
    letter-spacing: 5px;
}

.hero-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-svt);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(92, 124, 250, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(92, 124, 250, 0.4);
}

.hero-decoration {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.diamond {
    width: 10px;
    height: 10px;
    background: var(--svt-pink);
    transform: rotate(45deg);
    animation: pulse 2s infinite;
}

.diamond:nth-child(2) {
    animation-delay: 0.3s;
    background: var(--svt-blue);
}

.diamond:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: rotate(45deg) scale(1); }
    50% { opacity: 1; transform: rotate(45deg) scale(1.2); }
}

/* Members Section */
.members-section {
    padding: 100px 5%;
    background: var(--svt-darker);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-svt);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Unit Sections */
.unit-section {
    margin-bottom: 60px;
}

.unit-title {
    font-size: 1.5rem;
    color: var(--svt-pink);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(232, 180, 188, 0.3);
    display: inline-block;
}

/* Members Grid */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Member Card */
.member-card {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(92, 124, 250, 0.1);
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(92, 124, 250, 0.2);
    border-color: rgba(92, 124, 250, 0.3);
}

.member-image {
    height: 200px;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.member-real-name {
    font-size: 0.85rem;
    color: var(--svt-pink);
    margin-bottom: 0.5rem;
}

.member-position {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(92, 124, 250, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--svt-blue);
    margin-bottom: 0.8rem;
}

.member-details {
    margin-top: 0.5rem;
}

.member-birthday {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* About Section */
.about-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, var(--svt-darker) 0%, var(--svt-dark) 100%);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 50px;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-svt);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Footer */
.footer {
    padding: 40px 5%;
    background: var(--svt-darker);
    border-top: 1px solid rgba(92, 124, 250, 0.1);
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-text {
    font-size: 1rem;
    color: var(--svt-pink);
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-title {
        font-size: 3rem;
        letter-spacing: 8px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .member-image {
        height: 150px;
    }

    .about-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 5px;
    }

    .members-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--svt-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--svt-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--svt-pink);
}