/* ===== CSS Variables ===== */
:root {
    --primary: #6B21A8;
    --primary-light: #A855F7;
    --primary-dark: #4C1D95;
    --accent: #D946EF;
    --gold: #F59E0B;
    --bg-dark: #0F0A1A;
    --bg-section: #1A0F2E;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* ===== Section Base ===== */
.section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    background: var(--bg-section);
    z-index: 1;
}

.section.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.section-content {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
    padding: 2rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-title.center {
    text-align: center;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Navigation Dots ===== */
.nav-dots {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.nav-dot:hover,
.nav-dot.active {
    background: var(--primary-light);
    box-shadow: 0 0 20px var(--primary-light);
}

/* ===== Arrow Navigation ===== */
.nav-arrow {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    background: var(--primary);
    border-color: var(--primary-light);
}

.nav-arrow svg {
    width: 24px;
    height: 24px;
}

.nav-arrow-up {
    top: 2rem;
}

.nav-arrow-down {
    bottom: 2rem;
}

.nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ===== Hero Section ===== */
.section-hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 50%, var(--bg-section) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(168, 85, 247, 0.2) 0%, transparent 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    width: 90%;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 0.875rem;
    letter-spacing: 0.3em;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    background: linear-gradient(135deg, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-sub {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    color: var(--text-secondary);
}

.hero-desc {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    width: 24px;
    height: 24px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #000;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    filter: drop-shadow(0 0 60px rgba(168, 85, 247, 0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--primary-light), transparent);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===== Intro Section ===== */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.intro-image img {
    width: 100%;
    max-height: 60vh;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.section-desc {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: var(--primary-light);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===== Tech Section ===== */
.section-tech {
    background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg-dark) 100%);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(168, 85, 247, 0.2);
}

.tech-visual {
    margin-bottom: 1.5rem;
}

.tech-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.4);
}

.tech-circle.red {
    background: linear-gradient(135deg, #DC2626, #F87171);
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.4);
}

.tech-circle.purple {
    background: linear-gradient(135deg, var(--accent), #F0ABFC);
    box-shadow: 0 0 40px rgba(217, 70, 239, 0.4);
}

.tech-number {
    font-size: 1.5rem;
    font-weight: 900;
}

.tech-unit {
    font-size: 0.875rem;
}

.tech-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tech-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Science Section ===== */
.science-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.science-facts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.fact-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: var(--transition);
}

.fact-item:hover {
    border-color: var(--primary-light);
}

.fact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fact-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.fact-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.science-image {
    position: relative;
}

.science-image img {
    width: 100%;
    max-height: 60vh;
    object-fit: cover;
    border-radius: 24px;
}

.image-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.overlay-text {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
}

/* ===== Company Section ===== */
.section-company {
    background: linear-gradient(135deg, var(--bg-dark), var(--primary-dark) 80%);
}

.company-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.ceo-card {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.ceo-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-light);
}

.ceo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ceo-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ceo-card p {
    color: var(--text-muted);
}

.awards-list {
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.awards-list h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.awards-list ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.awards-list li {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), #FCD34D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===== Contact Section ===== */
.section-contact {
    background: linear-gradient(180deg, var(--bg-section), var(--bg-dark));
}

.contact-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-text p {
    font-size: 1rem;
}

.contact-cta {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-box {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 24px;
    width: 100%;
}

.cta-box h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-box p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: #fff;
    color: var(--primary-dark);
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer p {
    margin-bottom: 0.5rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {

    .hero-content,
    .intro-grid,
    .science-grid,
    .company-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-grid,
    .feature-cards {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-height: 40vh;
    }

    .nav-dots {
        right: 1rem;
    }

    .section-content {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .stats-bar {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 30px;
    right: 40px;
    z-index: 1000;
}

.current-lang {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.current-lang:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.lang-arrow {
    font-size: 10px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.language-selector.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    width: 200px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block;
    /* ensure block layout */
}

.language-selector.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu li {
    width: 100%;
}

.lang-menu li button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.2s ease;
}

.lang-menu li button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.lang-menu li button.active {
    color: #bfa1ff;
    font-weight: 700;
    background: rgba(191, 161, 255, 0.1);
}

/* Full Screen Image Section (Page 2) */
.section-content.full-screen-container {
    padding: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    overflow: hidden;
}

.full-screen-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Product Detail Image - Full View */
.intro-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    /* 이미지 공간 충분히 확보 */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.product-full-view {
    width: 100%;
    height: 100%;
    max-height: 80vh;
    /* 화면 너무 차지하지 않게 */
    object-fit: contain !important;
    /* 기존 cover 덮어쓰기 */
    object-position: center;
    display: block;
}

/* ===== Layout Adjustments for 100vh Fit (Prevent content cutoff) ===== */

/* General Section Adjustments */
.section-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* Page 5 (Company) Compact Styles */
.section-company .section-content {
    justify-content: center;
}

.section-company .company-subtitle {
    margin-bottom: 1.5rem;
}

.section-company .company-grid {
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-company .ceo-card {
    padding: 1.5rem;
}

.section-company .ceo-image {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
}

.section-company .awards-list {
    padding: 1.5rem;
}

.section-company .awards-list ul {
    gap: 0.5rem;
}

.section-company .stats-bar {
    padding: 1.5rem;
    gap: 1rem;
}

/* Page 6 (Contact) Compact Styles */
.section-contact .contact-intro {
    margin-bottom: 1.5rem;
}

.section-contact .contact-grid {
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-contact .contact-item {
    padding: 1rem;
    gap: 0.8rem;
}

.section-contact .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

.section-contact .cta-box {
    padding: 2rem;
}

.section-contact .cta-box h3 {
    font-size: 1.5rem;
}

.section-contact .footer {
    padding-top: 1rem;
    margin-top: auto;
    /* Push footer to bottom if space allows */
}

/* Fix Title Overlap with Nav Arrow */
.section-company .section-title,
.section-contact .section-title {
    margin-top: 4rem;
    /* 스크롤 넘김 키와 겹치지 않도록 여백 추가 */
}

/* Responsive Height Adjustment */
@media (max-height: 800px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .section-desc,
    .company-subtitle,
    .contact-intro {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .nav-dots {
        gap: 0.5rem;
    }
}

/* ===== Inquiry Modal Styles ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95), rgba(20, 20, 20, 0.98));
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    /* compatibility */
    background-clip: text;
    color: white;
    /* fallback */
}

.modal-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.1);
}

.form-group select option {
    background: #1a1a1a;
    color: #fff;
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
}

/* ===== Crystals Section (Page 5) ===== */
.section-crystals {
    background: linear-gradient(135deg, #150d24, #2a1b3d);
}

.crystal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    height: 70vh;
    align-items: center;
}

.crystal-card {
    height: 100%;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.crystal-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.2);
}

.crystal-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* 이미지가 잘리지 않고 전체 표시됨 */
    transition: transform 0.5s ease;
    background-color: rgba(255, 255, 255, 0.05);
    /* 여백 발생 시 배경색 */
}

.crystal-card:hover img {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .crystal-grid {
        grid-template-columns: 1fr;
        height: auto;
        gap: 1.5rem;
    }

    .crystal-card {
        height: 300px;
    }
}