:root {
    --primary-white: #ffffff;
    --primary-aqua: #E0FFFF;
    --accent-aqua: #00CED1;
    --primary-gold: #FFD700;
    --text-dark: #333333;
    --text-light: #f5f5f5;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Zen Kaku Gothic New', 'Lato', sans-serif;
}

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

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

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-aqua);
    text-shadow: 0 0 5px rgba(0, 206, 209, 0.3);
}

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

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent-aqua);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--primary-white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.1);
    /* For parallax effect later */
}

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

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid var(--primary-white);
    color: var(--primary-white);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: blur(5px);
    border-radius: 50px;
}

.btn-primary:hover {
    background: var(--primary-white);
    color: var(--text-dark);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* General Section Styles */
section {
    padding: 6rem 2rem;
    position: relative;
}

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

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-layout.reverse .text-content {
    order: 2;
}

.split-layout.reverse .image-content {
    order: 1;
}

/* Profile Section */
.section-profile {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

.text-content h2 {
    font-size: 3rem;
    color: var(--accent-aqua);
    margin-bottom: 0.5rem;
}

.text-content h3 {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.fashion-toggle {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.fashion-toggle button {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--accent-aqua);
    background: transparent;
    color: var(--accent-aqua);
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s;
}

.fashion-toggle button.active,
.fashion-toggle button:hover {
    background: var(--accent-aqua);
    color: var(--primary-white);
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-frame img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Ability Section */
.section-ability {
    background-color: #1a1a1a;
    color: var(--primary-white);
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-gold);
}

.ability-card {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.ability-card img {
    width: 100%;
    display: block;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    text-align: left;
}

.card-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-aqua);
}

/* Hobby Section */
.section-hobby {
    background-color: var(--primary-white);
}

.polaroid {
    background: white;
    padding: 1rem 1rem 3rem 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: rotate(-3deg);
    transition: transform 0.3s;
}

.polaroid:hover {
    transform: rotate(0deg) scale(1.02);
}

.polaroid img {
    width: 100%;
    display: block;
}

.caption {
    text-align: center;
    margin-top: 1rem;
    font-family: 'Indie Flower', cursive;
    /* Fallback to cursive if not loaded */
    font-size: 1.2rem;
    color: #555;
}

/* Luna Section */
.section-luna {
    background: radial-gradient(circle at center, #2b32b2, #1488cc);
    color: white;
    text-align: center;
    overflow: hidden;
}

.luna-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 2rem;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.luna-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.luna-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Greeting Section */
.section-greeting {
    background: linear-gradient(to right, #fff1eb 0%, #ace0f9 100%);
    text-align: center;
}

.greeting-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.greeting-image img {
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.greeting-message h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
}

.highlight {
    font-size: 1.5rem;
    color: #e91e63;
    /* Pink for love/warmth */
    font-weight: bold;
    margin: 1rem 0;
}

.btn-glow {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 3rem;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: white;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (max-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* Simple hide for mobile for now */
    }
}

/* Status Graph Styles */
.status-container {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 206, 209, 0.3);
    padding-bottom: 0.5rem;
}

.status-header h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 1.1rem;
}

#status-score {
    font-family: var(--font-heading);
    color: var(--accent-aqua);
    font-weight: bold;
}

.chart-wrapper {
    position: relative;
    height: 250px;
    width: 100%;
}

.status-comment {
    margin-top: 1rem;
    font-style: italic;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.theater-title {
    font-size: 2rem;
    color: var(--primary-aqua);
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(0, 206, 209, 0.3);
}

.main-player-wrapper {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.video-frame {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    margin-top: 1.5rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.video-info h3 {
    color: var(--primary-white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.video-info p {
    color: #ccc;
    font-size: 1rem;
}

/* Playlist */
.playlist-wrapper {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0.5rem 2rem;
    /* Bottom padding for scrollbar/shadow */
    scrollbar-width: thin;
    scrollbar-color: var(--accent-aqua) rgba(255, 255, 255, 0.1);
}

.playlist-wrapper::-webkit-scrollbar {
    height: 8px;
}

.playlist-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.playlist-wrapper::-webkit-scrollbar-thumb {
    background: var(--accent-aqua);
    border-radius: 4px;
}

/* Library of Wisdom (Blog) */
.library-container {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.library-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

.blog-list-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.blog-list-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-list-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 206, 209, 0.15);
}

.list-thumb {
    flex: 0 0 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}

.list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-list-item:hover .list-thumb img {
    transform: scale(1.1);
}

.placeholder-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

.list-content {
    flex: 1;
}

.list-date {
    font-size: 0.8rem;
    color: var(--accent-aqua);
    font-weight: bold;
    display: block;
    margin-bottom: 0.3rem;
}

.list-content h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.list-content p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.loading-msg {
    font-family: var(--font-heading);
    color: #888;
    font-style: italic;
}

.playlist-item {
    flex: 0 0 280px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.playlist-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 206, 209, 0.2);
}

.thumb-overlay {
    position: relative;
    height: 157px;
    /* 16:9 for 280px width */
    overflow: hidden;
}

.thumb-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.playlist-item:hover .thumb-overlay img {
    transform: scale(1.1);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.playlist-item:hover .play-icon {
    opacity: 1;
}

.playlist-info {
    padding: 1rem;
    text-align: left;
}

.playlist-info h4 {
    color: var(--primary-white);
    font-size: 1rem;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-info span {
    color: var(--accent-aqua);
    font-size: 0.8rem;
}

/* Fortune Telling (Mirror of Destiny) */
.fortune-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.fortune-mirror {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0e0e0 0%, #ffffff 50%, #e0e0e0 100%);
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.5),
        inset 0 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s ease;
    border: 5px solid rgba(255, 215, 0, 0.3);
    z-index: 10;
}

.fortune-mirror:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 30px rgba(255, 215, 0, 0.6),
        inset 0 0 30px rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 215, 0, 0.8);
}

.mirror-surface {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(200, 200, 200, 0.1));
    overflow: hidden;
}

.mirror-text {
    font-family: var(--font-heading);
    color: #888;
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.fortune-mirror:hover .mirror-text {
    opacity: 1;
    color: var(--primary-gold);
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.fortune-mirror.revealing {
    animation: mirror-pulse 1.5s infinite;
}

@keyframes mirror-pulse {
    0% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }

    50% {
        box-shadow: 0 0 50px rgba(255, 215, 0, 1);
        transform: scale(1.1);
    }

    100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }
}

.fortune-result {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    max-width: 300px;
}

.fortune-result h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.fortune-message {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.lucky-item {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.lucky-item strong {
    color: var(--text-dark);
    opacity: 0;
    transition: opacity 0.3s;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.playlist-item:hover .play-icon {
    opacity: 1;
}

.playlist-info {
    padding: 1rem;
    text-align: left;
}

.playlist-info h4 {
    color: var(--primary-white);
    font-size: 1rem;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-info span {
    color: var(--accent-aqua);
    font-size: 0.8rem;
}

/* Training Hub Styles */
.training-menu {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.training-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    width: 300px;
    text-align: left;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    backdrop-filter: blur(5px);
}

.training-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 206, 209, 0.3);
    border-color: var(--accent-aqua);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.card-content h3 {
    font-family: var(--font-heading);
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.card-content p {
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #1a1a2e, #16213e);
    padding: 80px 20px 20px;
}

/* Training Hub Styles */
.game-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-container {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.game-title {
    font-size: 3rem;
    color: var(--primary-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    margin-bottom: 0.5rem;
}

.game-subtitle {
    color: var(--primary-aqua);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #aaa;
    text-transform: uppercase;
}

#score,
#timer {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: white;
    font-weight: bold;
}

.game-arena {
    position: relative;
    width: 100%;
    height: 500px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--accent-aqua);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 206, 209, 0.2);
    margin-bottom: 2rem;
    cursor: crosshair;
}

.start-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.start-overlay h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.orb {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff, var(--primary-gold));
    box-shadow: 0 0 20px var(--primary-gold);
    cursor: pointer;
    animation: orb-pop 0.3s ease-out;
}

.orb:hover {
    transform: scale(1.1);
}

@keyframes orb-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.sparkle {
    position: absolute;
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.2rem;
    pointer-events: none;
    animation: float-up 0.5s ease-out forwards;
}

@keyframes float-up {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-20px);
        opacity: 0;
    }
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
}

.final-score {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 2rem;
}

/* Opponent Face Image Styles */
.opponent-face {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary-gold);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
    background: #000;
}

.opponent-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Social Media Section */
.section-socials {
    background: linear-gradient(to right, #141e30, #243b55);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.socials-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.social-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 160px;
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social-btn:hover::before {
    opacity: 1;
}

/* Specific Button Styles */
.btn-x {
    background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%);
    /* Pink to Blue Pastel */
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-youtube {
    background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%);
    /* Pink to Blue Pastel */
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-tiktok {
    background: linear-gradient(135deg, #ff0050 0%, #00f2ea 100%);
    box-shadow: 0 0 10px rgba(0, 242, 234, 0.5);
    position: relative;
}

.btn-blog {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    color: white;
}

.btn-newsong {
    background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%);
    color: white;
}

.btn-booth {
    background: linear-gradient(90deg, #ff8a80, #80cbc4);
    /* Red to Teal gradient from image */
    color: white;
}

/* Settings Button & Modal (Temple Hub) */
.settings-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.settings-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    margin: 10% auto;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    color: white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-content h2 {
    font-family: var(--font-heading);
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.modal-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.close {
    color: rgba(255, 255, 255, 0.6);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.close:hover {
    color: white;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-aqua);
    font-size: 0.9rem;
    font-weight: bold;
}

.input-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-aqua);
    box-shadow: 0 0 10px rgba(0, 206, 209, 0.3);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.help-text {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.help-text a {
    color: var(--accent-aqua);
    text-decoration: underline;
}

.help-text a:hover {
    color: var(--primary-aqua);
}

.save-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent-aqua) 0%, #0099aa 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 206, 209, 0.4);
}

.status-msg {
    text-align: center;
    margin-top: 1rem;
    color: #4ade80;
    font-weight: bold;
}

/* Footer */
footer {
    background: #000000;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Temple Hub Styles (Moved from inline) */
.hub-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.hub-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../A01_MainVisual/main_visual.png');
    background-size: cover;
    background-position: center;
    filter: blur(5px) brightness(0.8);
    z-index: 0;
}

.hub-container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.hub-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hub-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 20px;
}

.hub-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-decoration: none;
    color: white;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hub-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.hub-card:hover::before {
    opacity: 1;
}

.card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
}

.card-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.back-link {
    display: inline-block;
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: white;
}

@media (max-width: 768px) {
    .hub-title {
        font-size: 2.5rem;
    }

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