@font-face {
    font-family: 'Orial_Bold';
    src: url('fonts/Orial_Bold.otf') format('opentype');
}
@font-face {
    font-family: 'TRAMAPUNTO';
    src: url('fonts/TRAMAPUNTO.ttf') format('truetype');
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at top, #f7ecff, #e8d2ff, #dabcf5);
    color: #3a044c;
    font-family: system-ui, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

header {
    text-align: center;
    padding: 22px 10px;
}

.site-title {
    font-family: 'Orial_Bold';
    font-size: 54px;
    color: #7c1d9e;
}

.site-subtitle {
    color: #4f2760;
    margin-top: 4px;
    font-size: 14px;
}

.navbar {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 14px;
}

.nav-link {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.45);
    border: 1px solid rgba(140,60,180,0.3);
    font-size: 14px;
    transition: 0.2s;
}

.nav-link:hover,
.nav-link.active {
    background: #ead0ff;
    border-color: #9b60c8;
}

.nav-link.gallery-link {
    display: none;
}

.three-col-layout {
    display: grid;
    grid-template-columns: 15% 1fr 15%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
}

.side-images {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.side-images img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.main-panel {
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 12px 24px rgba(100,40,140,0.15);
    position: relative;
    overflow: visible;
}

.tilt-card {
    width: 260px;
    height: 150px;
    background: linear-gradient(135deg, #eecfff, #cba4ef);
    border-radius: 16px;
    margin: 22px 0;
    transform-style: preserve-3d;
    perspective: 900px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tilt-card:hover {
    transform: rotateX(14deg) rotateY(-12deg) scale(1.06);
    box-shadow: 0 18px 30px rgba(100,40,140,0.25);
}

.tilt-card span {
    font-size: 22px;
    font-weight: bold;
    color: #4b0b57;
}

.membership-card {
    width: 320px;
    height: 190px;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #dcb8ff, #b27ce9, #e7d2ff);
    background-size: 200% 200%;
    animation: holoShift 6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;

    transform-style: preserve-3d;
}


@keyframes holoShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-logo {
    font-size: 40px;
    opacity: 0.7;
}

.card-title {
    font-family: 'Orial_Bold', sans-serif;
    font-size: 35px;
    letter-spacing: 1px;
    color: #4b1364;
}

.card-body {
    margin-top: 6px;
}

.member-label {
    font-size: 18px;
    text-transform: uppercase;
    opacity: 0.6;
}

.member-id {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 6px;
    color: #3b0d4c;
}

.member-level {
    font-size: 15px;
    margin-bottom: 4px;
    color: #552466;
}

.member-note {
    font-size: 11px;
    opacity: 0.7;
    font-style: italic;
}

.secret-toggle {
    display: none;
}

.secret-box {
    background: #f4ddff;
    padding: 16px;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.4s;
}

.secret-text {
    max-height: 0;
    overflow: hidden;
    transition: 0.5s ease;
}

.secret-toggle:checked + .secret-box .secret-text {
    max-height: 200px;
    margin-top: 10px;
}


#glitter-container {
    position: relative;
    width: 100%;
    height: 120px;
}

.glitter-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #d28aff;
    border-radius: 50%;
    animation: glitterPop 1.2s ease-out forwards;
}

@keyframes glitterPop {
    0% { transform: scale(0.2); opacity: 1; }
    100% { transform: scale(2.4); opacity: 0; }
}


.jelly-wrapper {
    position: relative;
    width: 140px;
    height: 150px;
    margin-bottom: 30px;
}

.jelly-shadow {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    width: 60px;
    height: 18px;
    background: rgba(0,0,0,0.15);
    border-radius: 50%;
    transition: all 0.25s ease;
}

.jelly {
    width: 120px;
    height: 120px;
    background: #b46ce3;
    border-radius: 45%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    
    animation: jellyPulse 2.4s infinite ease-in-out;
    transition: transform 0.25s ease;
    transform-origin: center bottom;
}

@keyframes jellyPulse {
    0%   { transform: translateX(-50%) scale(1); }
    50%  { transform: translateX(-50%) scale(1.12); }
    100% { transform: translateX(-50%) scale(1); }
}

.jelly-wrapper:hover .jelly {
    animation: none; 
    transform: translateX(-50%) scale(1.22, 0.68); 
}

.jelly-wrapper:hover .jelly-shadow {
    width: 90px;
    height: 12px;
    opacity: 0.3;
}

.jelly-wrapper:not(:hover) .jelly {
    transition: transform 0.35s cubic-bezier(0.25, 1.50, 0.40, 1.00);
}

.jelly-wrapper:not(:hover) .jelly-shadow {
    transition: all 0.35s cubic-bezier(0.25, 1.50, 0.40, 1.00);
}

.color-shift {
    width: 220px;
    border-radius: 20px;
    transition: 0.4s;
    filter: hue-rotate(0deg);
}

.color-shift:hover {
    filter: hue-rotate(160deg);
}

.game-circle {
    width: 60px;
    height: 60px;
    background: #a84cdc;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: 0.25s;
}


.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.gallery-title {
    font-family: 'Orial_Bold';
    font-size: 40px;
    margin-bottom: 30px;
}

.gallery-desc {
    font-size: 16px;
    margin-bottom: 25px;
}

.gallery-grid {
    column-count: 4;
    column-gap: 16px;
}

.gallery-grid img {
    width: 100%;
    display: block;
    margin-bottom: 16px;
    border-radius: 16px;
    break-inside: avoid;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.25s ease;
}

.gallery-grid img:hover {
    transform: scale(1.04);
}

@media (max-width: 1200px) {
    .gallery-grid {
        column-count: 3;
    }
}

@media (max-width: 900px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        column-count: 1;
    }
}
.lore-intro {
    margin-bottom: 24px;
}

.lore-intro p {
    margin: 0 0 10px;
    line-height: 1.7;
}

.lore-section {
    margin-bottom: 26px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.55);
    box-shadow: 0 8px 18px rgba(80,30,120,0.12);
    position: relative;
    overflow: hidden;
}

.lore-section h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-family: 'TRAMAPUNTO', system-ui;
    font-size: 24px;
    color: #5d1b79;
}

.lore-section small.lore-label {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8a5aa9;
    margin-bottom: 6px;
}

.lore-tagline {
    font-size: 13px;
    color: #71408f;
    margin-bottom: 12px;
    font-style: italic;
}

.lore-list {
    padding-left: 20px;
    margin: 0;
}

.lore-list li {
    margin-bottom: 4px;
}

.lore-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.lore-pill {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(140, 80, 200, 0.12);
    border: 1px solid rgba(140, 80, 200, 0.34);
}

.lore-contrast-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.lore-contrast-card {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.8);
    border: 1px dashed rgba(120,70,160,0.5);
    font-size: 13px;
}

.lore-note {
    margin-top: 10px;
    font-size: 12px;
    color: #5d3c7c;
    border-left: 3px solid rgba(125,85,180,0.6);
    padding-left: 10px;
}

.lore-rumors {
    margin-top: 12px;
}

.lore-rumors details {
    margin-bottom: 6px;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(245,230,255,0.8);
    border: 1px solid rgba(140,80,200,0.3);
}

.lore-rumors summary {
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #5b2879;
}

.lore-rumors p {
    margin: 6px 0 0;
    font-size: 13px;
}

.lore-section::before {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(200,140,255,0.4), transparent 60%);
    opacity: 0.6;
    transform: scale(0.9);
    animation: loreGlow 6s ease-in-out infinite alternate;
}

@keyframes loreGlow {
    from {
        transform: translate(0,0) scale(0.9);
        opacity: 0.4;
    }
    to {
        transform: translate(-10px,10px) scale(1.1);
        opacity: 0.8;
    }
}

@media (max-width: 800px) {
    .lore-contrast-grid {
        grid-template-columns: 1fr;
    }
}

.video-box {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 560px;
    margin: 0 auto 40px auto;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(120, 60, 180, 0.25);
}

.video-box iframe {
    position: absolute;
    top: -5%;
    left: 1%;
    width: 100%;
    height: 100%;
    transform: scale(1.15);
    transform-origin: center;
    border: none;
}

.playlist-title {
    font-family: 'Orial_Bold';
    font-size: 28px;
    margin: 10px 0;
}

.song {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(8px);
    padding: 12px 16px;
    border-radius: 14px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.song-info {
    text-align: left;
}

.song-title {
    font-weight: bold;
    display: block;
}

.play-btn {
    background: #b47edc;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.play-btn:hover {
    background: #9b66c0;
}

.playlist-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 30px;
}

.playlist {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vibes-container,
.playlist-title,
.playlist-desc {
    text-align: center;
}

.flex-section {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin: 40px auto;
    max-width: 1100px;
    padding: 0 20px;
}

.flex-item {
    flex: 1;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 6px 14px rgba(120,60,160,0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.flex-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 18px rgba(120,60,160,0.22);
}

.flex-item h3 {
    font-family: 'Orial_Bold';
    color: #5a1d7a;
    margin-top: 0;
    margin-bottom: 8px;
}

.flex-item p {
    font-size: 14px;
    color: #45225a;
}

@media (max-width: 900px) {
    .flex-section {
        flex-direction: column;
    }
}
