/* ============================================
   ggoomimi.com - Cyberpunk Decoration Paradise
   ============================================ */

/* --- CSS Variables / Palette --- */
:root {
    --cyber-dark: #0A0A1E;
    --neon-pink: #FF3399;
    --neon-cyan: #00E5FF;
    --neon-yellow: #FFE066;
    --chrome-silver: #C0C0D0;
    --hot-purple: #9B59FF;
    --glow-white: #F5F0FF;
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cyber-dark);
    color: var(--glow-white);
    font-family: 'Noto Sans KR', sans-serif;
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- Particles Container --- */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.particle {
    position: absolute;
    pointer-events: none;
    will-change: transform, opacity;
}

/* --- Fish Container --- */
#fish-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.swimming-fish {
    position: absolute;
    pointer-events: none;
    will-change: transform;
    transition: transform 0.3s ease;
}

/* ============================================
   SECTION 1: Hero Viewport
   ============================================ */
.hero-viewport {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cyber-dark);
    overflow: hidden;
    z-index: 1;
}

.hero-glow-point {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--neon-pink);
    transform: translate(-50%, -50%) scale(0);
    box-shadow:
        0 0 8px var(--neon-pink),
        0 0 20px var(--neon-pink),
        0 0 40px var(--neon-pink),
        0 0 80px var(--neon-pink);
    opacity: 0;
    z-index: 0;
}

.hero-glow-point.active {
    animation: glowAppear 400ms ease-out forwards;
}

@keyframes glowAppear {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

/* Hero Title: Korean Characters */
.hero-title {
    font-family: 'Monoton', cursive;
    font-size: clamp(48px, 12vw, 140px);
    font-weight: 400;
    letter-spacing: 0.08em;
    margin-bottom: 0.2em;
    display: flex;
    justify-content: center;
    gap: 0.05em;
}

.char-neon {
    display: inline-block;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.4s ease, transform 0.4s ease, text-shadow 0.6s ease;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
}

.char-neon.lit {
    opacity: 1;
    transform: scale(1);
}

.char-neon[data-color="pink"].lit {
    color: var(--neon-pink);
    text-shadow:
        0 0 4px var(--neon-pink),
        0 0 12px var(--neon-pink),
        0 0 24px rgba(255, 51, 153, 0.6),
        0 0 40px rgba(255, 51, 153, 0.3);
}

.char-neon[data-color="cyan"].lit {
    color: var(--neon-cyan);
    text-shadow:
        0 0 4px var(--neon-cyan),
        0 0 12px var(--neon-cyan),
        0 0 24px rgba(0, 229, 255, 0.6),
        0 0 40px rgba(0, 229, 255, 0.3);
}

.char-neon[data-color="yellow"].lit {
    color: var(--neon-yellow);
    text-shadow:
        0 0 4px var(--neon-yellow),
        0 0 12px var(--neon-yellow),
        0 0 24px rgba(255, 224, 102, 0.6),
        0 0 40px rgba(255, 224, 102, 0.3);
}

/* Hero Subtitle: GGOOMIMI Chrome Text */
.hero-subtitle {
    font-family: 'Monoton', cursive;
    font-size: clamp(20px, 4vw, 48px);
    font-weight: 400;
    letter-spacing: 0.25em;
    color: var(--chrome-silver);
    background: linear-gradient(
        90deg,
        var(--chrome-silver) 0%,
        #ffffff 30%,
        var(--chrome-silver) 50%,
        #888899 70%,
        var(--chrome-silver) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-subtitle.visible {
    opacity: 1;
    transform: translateY(0);
    animation: chromeSweep 3s ease-in-out infinite;
}

@keyframes chromeSweep {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Hero Tagline */
.hero-tagline {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: clamp(14px, 1.8vw, 22px);
    font-weight: 400;
    color: var(--chrome-silver);
    margin-top: 1.5em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.hero-tagline.visible {
    opacity: 0.8;
    transform: translateY(0);
}

/* ============================================
   SECTION 2: Decoration Grid
   ============================================ */
.decoration-section {
    position: relative;
    width: 100%;
    padding: 0;
    background: var(--cyber-dark);
    z-index: 2;
}

.section-label {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(18px, 3vw, 36px);
    font-weight: 600;
    text-align: center;
    padding: 2em 0 1em;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.section-label[data-neon="pink"] {
    color: var(--neon-pink);
    text-shadow:
        0 0 4px var(--neon-pink),
        0 0 12px rgba(255, 51, 153, 0.5);
}

.section-label[data-neon="cyan"] {
    color: var(--neon-cyan);
    text-shadow:
        0 0 4px var(--neon-cyan),
        0 0 12px rgba(0, 229, 255, 0.5);
}

.section-label[data-neon="purple"] {
    color: var(--hot-purple);
    text-shadow:
        0 0 4px var(--hot-purple),
        0 0 12px rgba(155, 89, 255, 0.5);
}

.section-label[data-neon="yellow"] {
    color: var(--neon-yellow);
    text-shadow:
        0 0 4px var(--neon-yellow),
        0 0 12px rgba(255, 224, 102, 0.5);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
}

.grid-cell {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 30, 0.95);
    border: 1px solid rgba(192, 192, 208, 0.1);
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.5s ease, border-color 0.5s ease;
}

.grid-cell.large {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 2;
}

.grid-cell[data-neon="pink"]:hover,
.grid-cell[data-neon="pink"].glowing {
    border-color: var(--neon-pink);
    box-shadow:
        inset 0 0 20px rgba(255, 51, 153, 0.15),
        0 0 8px rgba(255, 51, 153, 0.4),
        0 0 20px rgba(255, 51, 153, 0.2);
}

.grid-cell[data-neon="cyan"]:hover,
.grid-cell[data-neon="cyan"].glowing {
    border-color: var(--neon-cyan);
    box-shadow:
        inset 0 0 20px rgba(0, 229, 255, 0.15),
        0 0 8px rgba(0, 229, 255, 0.4),
        0 0 20px rgba(0, 229, 255, 0.2);
}

.grid-cell[data-neon="yellow"]:hover,
.grid-cell[data-neon="yellow"].glowing {
    border-color: var(--neon-yellow);
    box-shadow:
        inset 0 0 20px rgba(255, 224, 102, 0.15),
        0 0 8px rgba(255, 224, 102, 0.4),
        0 0 20px rgba(255, 224, 102, 0.2);
}

.grid-cell[data-neon="purple"]:hover,
.grid-cell[data-neon="purple"].glowing {
    border-color: var(--hot-purple);
    box-shadow:
        inset 0 0 20px rgba(155, 89, 255, 0.15),
        0 0 8px rgba(155, 89, 255, 0.4),
        0 0 20px rgba(155, 89, 255, 0.2);
}

.cell-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
    transition: transform 0.3s ease;
}

.grid-cell:hover .cell-inner {
    transform: scale(1.08);
}

.cell-icon {
    width: 60px;
    height: 60px;
    transition: filter 0.3s ease;
}

.grid-cell:hover .cell-icon {
    filter: drop-shadow(0 0 8px currentColor);
}

.cell-label {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: clamp(13px, 1.4vw, 17px);
    font-weight: 700;
    color: var(--glow-white);
}

.cell-sublabel {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(10px, 1vw, 13px);
    font-weight: 400;
    color: var(--chrome-silver);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   SECTION 3: Showcase (3D Items)
   ============================================ */
.showcase-section {
    position: relative;
    width: 100%;
    padding-bottom: 4em;
    background: linear-gradient(180deg, var(--cyber-dark) 0%, #0D0D28 100%);
    z-index: 2;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2em;
    padding: 0 4%;
    max-width: 1400px;
    margin: 0 auto;
}

.showcase-item {
    perspective: 800px;
    cursor: pointer;
}

.showcase-item-inner {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(10, 10, 30, 0.8);
    border: 1px solid rgba(192, 192, 208, 0.1);
}

.showcase-item:hover .showcase-item-inner {
    transform: scale(1.12) rotateY(12deg);
}

.showcase-item:hover ~ .showcase-item .showcase-item-inner {
    filter: blur(1px);
}

.showcase-item[data-neon="pink"]:hover .showcase-item-inner {
    border-color: var(--neon-pink);
    box-shadow:
        0 0 12px rgba(255, 51, 153, 0.5),
        0 0 30px rgba(255, 51, 153, 0.25);
}

.showcase-item[data-neon="cyan"]:hover .showcase-item-inner {
    border-color: var(--neon-cyan);
    box-shadow:
        0 0 12px rgba(0, 229, 255, 0.5),
        0 0 30px rgba(0, 229, 255, 0.25);
}

.showcase-item[data-neon="yellow"]:hover .showcase-item-inner {
    border-color: var(--neon-yellow);
    box-shadow:
        0 0 12px rgba(255, 224, 102, 0.5),
        0 0 30px rgba(255, 224, 102, 0.25);
}

.showcase-item[data-neon="purple"]:hover .showcase-item-inner {
    border-color: var(--hot-purple);
    box-shadow:
        0 0 12px rgba(155, 89, 255, 0.5),
        0 0 30px rgba(155, 89, 255, 0.25);
}

.item-3d {
    padding: 1em;
}

.item-svg {
    width: 100%;
    height: auto;
    display: block;
}

.item-gloss {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* ============================================
   SECTION 4: Fish Mascots
   ============================================ */
.mascots-section {
    position: relative;
    width: 100%;
    padding-bottom: 6em;
    background: linear-gradient(180deg, #0D0D28 0%, #0F0A20 50%, var(--cyber-dark) 100%);
    z-index: 2;
}

.mascots-container {
    display: flex;
    justify-content: center;
    gap: 3em;
    flex-wrap: wrap;
    padding: 0 4%;
    max-width: 1100px;
    margin: 0 auto;
}

.mascot-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6em;
    padding: 2em;
    border-radius: 20px;
    background: rgba(10, 10, 30, 0.7);
    border: 1px solid rgba(192, 192, 208, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}

.mascot-card:hover {
    transform: translateY(-8px) scale(1.03);
}

.mascot-card[data-neon="pink"]:hover {
    border-color: var(--neon-pink);
    box-shadow:
        0 0 15px rgba(255, 51, 153, 0.4),
        0 0 40px rgba(255, 51, 153, 0.15);
}

.mascot-card[data-neon="cyan"]:hover {
    border-color: var(--neon-cyan);
    box-shadow:
        0 0 15px rgba(0, 229, 255, 0.4),
        0 0 40px rgba(0, 229, 255, 0.15);
}

.mascot-card[data-neon="purple"]:hover {
    border-color: var(--hot-purple);
    box-shadow:
        0 0 15px rgba(155, 89, 255, 0.4),
        0 0 40px rgba(155, 89, 255, 0.15);
}

.mascot-svg {
    width: 160px;
    height: 120px;
}

.mascot-card:hover .mascot-svg {
    animation: fishBounce 0.6s ease infinite alternate;
}

@keyframes fishBounce {
    0% { transform: translateY(0) rotate(-2deg); }
    100% { transform: translateY(-6px) rotate(2deg); }
}

.mascot-name {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 700;
    color: var(--glow-white);
}

.mascot-name-en {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(12px, 1.2vw, 15px);
    font-weight: 400;
    color: var(--chrome-silver);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* ============================================
   SECTION 5: Culture
   ============================================ */
.culture-section {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cyber-dark);
    z-index: 2;
    overflow: hidden;
}

.culture-content {
    text-align: center;
    max-width: 800px;
    padding: 4em 2em;
}

.culture-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: clamp(28px, 5.5vw, 64px);
    font-weight: 700;
    margin-bottom: 0.3em;
}

.culture-title[data-neon="yellow"] {
    color: var(--neon-yellow);
    text-shadow:
        0 0 4px var(--neon-yellow),
        0 0 12px var(--neon-yellow),
        0 0 24px rgba(255, 224, 102, 0.6),
        0 0 40px rgba(255, 224, 102, 0.3);
}

.culture-subtitle {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(16px, 2.5vw, 28px);
    font-weight: 400;
    color: var(--chrome-silver);
    letter-spacing: 0.1em;
    margin-bottom: 1.5em;
}

.culture-text p {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 400;
    line-height: 1.7;
    color: var(--glow-white);
    margin-bottom: 1em;
    opacity: 0.9;
}

.culture-text-en {
    color: var(--chrome-silver) !important;
    font-style: italic;
    opacity: 0.7 !important;
}

.culture-deco {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    margin-top: 2em;
    font-size: clamp(24px, 3vw, 40px);
}

.deco-symbol {
    display: inline-block;
    animation: decoFloat 3s ease-in-out infinite;
}

.deco-symbol:nth-child(2) { animation-delay: 0.4s; }
.deco-symbol:nth-child(3) { animation-delay: 0.8s; }
.deco-symbol:nth-child(4) { animation-delay: 1.2s; }
.deco-symbol:nth-child(5) { animation-delay: 1.6s; }

@keyframes decoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

.deco-symbol[data-neon="pink"] {
    color: var(--neon-pink);
    text-shadow: 0 0 8px var(--neon-pink), 0 0 20px rgba(255, 51, 153, 0.4);
}

.deco-symbol[data-neon="cyan"] {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-cyan), 0 0 20px rgba(0, 229, 255, 0.4);
}

.deco-symbol[data-neon="yellow"] {
    color: var(--neon-yellow);
    text-shadow: 0 0 8px var(--neon-yellow), 0 0 20px rgba(255, 224, 102, 0.4);
}

.deco-symbol[data-neon="purple"] {
    color: var(--hot-purple);
    text-shadow: 0 0 8px var(--hot-purple), 0 0 20px rgba(155, 89, 255, 0.4);
}

/* ============================================
   SECTION 6: Footer
   ============================================ */
.site-footer {
    position: relative;
    width: 100%;
    text-align: center;
    padding: 3em 2em;
    background: var(--cyber-dark);
    z-index: 2;
}

.footer-neon-line {
    width: 60%;
    max-width: 600px;
    height: 2px;
    margin: 0 auto 2em;
    background: linear-gradient(90deg, transparent, var(--neon-pink), var(--neon-cyan), var(--hot-purple), transparent);
    box-shadow:
        0 0 8px var(--neon-pink),
        0 0 15px var(--neon-cyan);
}

.footer-text {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(13px, 1.2vw, 16px);
    color: var(--chrome-silver);
    letter-spacing: 0.08em;
}

.footer-tagline {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: clamp(12px, 1vw, 14px);
    color: var(--neon-pink);
    margin-top: 0.5em;
    text-shadow: 0 0 6px rgba(255, 51, 153, 0.4);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-cell.large {
        grid-column: span 2;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mascots-container {
        gap: 1.5em;
    }
}

@media (max-width: 540px) {
    .grid-container {
        grid-template-columns: 1fr 1fr;
    }

    .grid-cell.large {
        grid-column: span 2;
    }

    .showcase-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1em;
        padding: 0 2%;
    }

    .mascots-container {
        flex-direction: column;
        align-items: center;
        gap: 1em;
    }

    .hero-title {
        gap: 0.02em;
    }
}
