/* CSS Variables - BTS Purple Theme */
:root {
    --bts-purple: #5c2483;
    --purple-light: #9b59b6;
    --purple-lighter: #d4a5e8;
    --purple-lavender: #e6d5f2;
    --purple-dark: #3d1560;
    --purple-darkest: #2a0f42;
    --white: #ffffff;
    --off-white: #faf8fc;
    --text-light: #f5f0fa;
    --text-muted: #c9b8d9;
    --gradient-purple: linear-gradient(135deg, var(--bts-purple) 0%, var(--purple-light) 100%);
    --gradient-dark: linear-gradient(180deg, var(--purple-darkest) 0%, var(--purple-dark) 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--purple-darkest);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background: rgba(42, 15, 66, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(92, 36, 131, 0.5);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--purple-lighter);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links li a {
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links li a:hover {
    background: var(--bts-purple);
    color: var(--white);
    transform: translateY(-2px);
}

.nav-links li a.active {
    background: var(--gradient-purple);
    color: var(--white);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--purple-lighter);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-darkest) 0%, var(--purple-dark) 50%, var(--bts-purple) 100%);
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-heart {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.heart1 { top: 20%; left: 10%; animation-delay: 0s; }
.heart2 { top: 60%; left: 85%; animation-delay: 1s; }
.heart3 { top: 80%; left: 20%; animation-delay: 2s; }
.heart4 { top: 30%; left: 75%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

.hero-image {
    flex: 0 0 auto;
}

.profile-frame {
    position: relative;
    padding: 8px;
    background: var(--gradient-purple);
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(155, 89, 182, 0.5), 0 0 80px rgba(92, 36, 131, 0.3);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 40px rgba(155, 89, 182, 0.5), 0 0 80px rgba(92, 36, 131, 0.3); }
    to { box-shadow: 0 0 60px rgba(155, 89, 182, 0.7), 0 0 100px rgba(92, 36, 131, 0.5); }
}

.hero-img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-title .highlight {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.4rem;
    color: var(--purple-lighter);
    margin-bottom: 10px;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-purple);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(92, 36, 131, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(92, 36, 131, 0.7);
}

.btn-secondary {
    background: transparent;
    color: var(--purple-lighter);
    border: 2px solid var(--purple-light);
}

.btn-secondary:hover {
    background: var(--purple-light);
    color: var(--white);
    transform: translateY(-3px);
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    color: var(--white);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-purple);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--gradient-dark);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: rgba(92, 36, 131, 0.2);
    border: 1px solid rgba(155, 89, 182, 0.3);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--purple-light);
    box-shadow: 0 10px 30px rgba(92, 36, 131, 0.3);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.about-card h3 {
    color: var(--purple-lighter);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.about-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

.interests-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.interest-tag {
    background: var(--gradient-purple);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* BTS Section */
.bts-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--purple-dark) 0%, var(--bts-purple) 50%, var(--purple-dark) 100%);
}

.bts-intro {
    text-align: center;
    margin-bottom: 50px;
}

.bts-quote {
    font-size: 1.5rem;
    color: var(--purple-lighter);
    font-style: italic;
    margin-bottom: 15px;
}

.bts-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.member-card {
    background: rgba(42, 15, 66, 0.6);
    border: 2px solid var(--purple-light);
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.member-card:hover {
    transform: scale(1.05);
    border-color: var(--purple-lighter);
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.4);
}

.member-avatar {
    font-size: 3rem;
    margin-bottom: 10px;
}

.member-card h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.member-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.favorite-songs {
    text-align: center;
}

.favorite-songs h3 {
    color: var(--purple-lighter);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.songs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.song-item {
    background: rgba(92, 36, 131, 0.4);
    border: 1px solid var(--purple-light);
    border-radius: 15px;
    padding: 15px 20px;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
}

.song-item:hover {
    background: var(--bts-purple);
    transform: translateX(5px);
}

.song-icon {
    margin-right: 10px;
}

/* K-Drama Section */
.kdrama-section {
    padding: 100px 0;
    background: var(--purple-darkest);
}

.kdrama-intro {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.drama-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.drama-card {
    background: linear-gradient(145deg, var(--purple-dark), var(--bts-purple));
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.drama-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(92, 36, 131, 0.4);
}

.drama-emoji {
    font-size: 3rem;
    margin-bottom: 15px;
}

.drama-card h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 10px;
}

.drama-rating {
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bts-purple) 0%, var(--purple-darkest) 100%);
}

.contact-intro {
    text-align: center;
    color: var(--purple-lighter);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: rgba(42, 15, 66, 0.6);
    border: 2px solid var(--purple-light);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-card:hover {
    background: var(--bts-purple);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(92, 36, 131, 0.5);
}

.social-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.social-name {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.army-message {
    text-align: center;
    padding: 30px;
    background: rgba(92, 36, 131, 0.3);
    border-radius: 20px;
    border: 2px solid var(--purple-light);
}

.army-message p {
    font-size: 1.5rem;
    color: var(--purple-lighter);
    margin-bottom: 10px;
}

.army-message small {
    color: var(--text-muted);
    font-style: italic;
}

/* Footer */
.footer {
    background: var(--purple-darkest);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(155, 89, 182, 0.2);
}

.footer-text {
    color: var(--purple-lighter);
    font-size: 1rem;
    margin-bottom: 10px;
}

.footer-quote {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero-content {
 flex-direction: column;
 text-align: center;
 gap: 40px;
    }

    .hero-text {
 text-align: center;
    }

    .hero-buttons {
 justify-content: center;
    }

    .hero-title {
 font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
 display: flex;
    }

    .nav-links {
 position: absolute;
 top: 100%;
 left: 0;
 right: 0;
 background: rgba(42, 15, 66, 0.98);
 flex-direction: column;
 padding: 20px;
 gap: 10px;
 display: none;
 text-align: center;
    }

    .nav-links.active {
 display: flex;
    }

    .hero-img {
 width: 220px;
 height: 220px;
    }

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

    .hero-tagline {
 font-size: 1.1rem;
    }

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

    .members-grid {
 grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero {
 padding: 100px 15px 60px;
    }

    .hero-img {
 width: 180px;
 height: 180px;
    }

    .hero-title {
 font-size: 1.75rem;
    }

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

    .about, .bts-section, .kdrama-section, .contact {
 padding: 60px 0;
    }

    .social-card {
 width: 100px;
 height: 100px;
    }
}