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

/*@font-face {*/
/*    font-family: 'Felix Titling';*/
/*    src: url('../fonts/FELIXTI.TTF') format('truetype');*/
/*    font-weight: normal;*/
/*    font-style: normal;*/
/*}*/

@font-face {
    font-family: 'Felix Titling';
    src: url('../fonts/FELIXTI.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #d5006d;
    --secondary: #ff69b4;
    --accent: #c71585;
    --bg: #fef8fc;
    --text: #2d1b26;
    --border: #f5d9e8;
    --shadow: rgba(213, 0, 109, 0.1);
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Hero Section */
/*.hero {*/
/*    position: relative;*/
/*    height: 65vh;*/
/*    min-height: 500px;*/
/*    background: linear-gradient(135deg, #e91e8c 0%, #ec4899 30%, #f472b6 60%, #fbbf24 95%);*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    overflow: hidden;*/
/*    box-shadow: 0 6px 25px rgba(233, 30, 140, 0.25);*/
/*}*/

/*.hero::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    background:*/
/*        radial-gradient(circle at 15% 25%, rgba(255,255,255,0.3) 0%, transparent 45%),*/
/*        radial-gradient(circle at 85% 75%, rgba(236, 72, 153, 0.25) 0%, transparent 50%),*/
/*        radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.15) 0%, transparent 65%);*/
/*    animation: heroGlow 18s ease-in-out infinite;*/
/*}*/

/*@keyframes heroGlow {*/
/*    0%, 100% {*/
/*        opacity: 1;*/
/*        transform: scale(1) rotate(0deg);*/
/*    }*/
/*    50% {*/
/*        opacity: 0.9;*/
/*        transform: scale(1.03) rotate(1deg);*/
/*    }*/
/*}*/

/*.hero-content {*/
/*    position: relative;*/
/*    text-align: center;*/
/*    z-index: 2;*/
/*    padding: 3rem 2rem;*/
/*}*/

/*.invitation-text {*/
/*    font-size: clamp(1.3rem, 4.5vw, 2.2rem);*/
/*    font-weight: 300;*/
/*    color: white;*/
/*    letter-spacing: 0.35em;*/
/*    margin-bottom: 2.5rem;*/
/*    text-shadow: 2px 3px 12px rgba(0,0,0,0.25);*/
/*    animation: fadeInDown 1s ease-out;*/
/*}*/

/*@keyframes fadeInDown {*/
/*    from {*/
/*        opacity: 0;*/
/*        transform: translateY(-35px);*/
/*    }*/
/*    to {*/
/*        opacity: 1;*/
/*        transform: translateY(0);*/
/*    }*/
/*}*/

/*.hero h1 {*/
/*    font-family: 'Playfair Display', serif;*/
/*    font-size: clamp(3.5rem, 12vw, 6.5rem);*/
/*    font-weight: 700;*/
/*    color: white;*/
/*    letter-spacing: 0.08em;*/
/*    margin-bottom: 1.8rem;*/
/*    text-shadow: 4px 4px 20px rgba(0,0,0,0.3);*/
/*    animation: fadeIn 1.2s ease-out 0.2s both;*/
/*    line-height: 1;*/
/*}*/

/*@keyframes fadeIn {*/
/*    from { opacity: 0; }*/
/*    to { opacity: 1; }*/
/*}*/

/*.glow-week-text {*/
/*    font-size: clamp(1.8rem, 6vw, 3.2rem);*/
/*    font-weight: 300;*/
/*    color: rgba(255,255,255,0.97);*/
/*    letter-spacing: 0.18em;*/
/*    margin-bottom: 2.5rem;*/
/*    animation: fadeIn 1.4s ease-out 0.4s both;*/
/*}*/

/*.chinese-text {*/
/*    font-size: clamp(1.1rem, 4vw, 2rem);*/
/*    color: white;*/
/*    font-weight: 400;*/
/*    letter-spacing: 0.12em;*/
/*    margin-bottom: 2.5rem;*/
/*    animation: fadeIn 1.6s ease-out 0.6s both;*/
/*}*/

/*.event-details {*/
/*    font-size: clamp(0.95rem, 2.8vw, 1.15rem);*/
/*    color: rgba(255,255,255,0.97);*/
/*    font-weight: 300;*/
/*    animation: fadeIn 1.8s ease-out 0.8s both;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 1rem;*/
/*    max-width: 600px;*/
/*    margin: 0 auto;*/
/*}*/

/*.event-item {*/
/*    display: flex;*/
/*    align-items: flex-start;*/
/*    gap: 0.8rem;*/
/*    background: rgba(255, 255, 255, 0.15);*/
/*    padding: 1rem 1.5rem;*/
/*    border-radius: 15px;*/
/*    backdrop-filter: blur(10px);*/
/*    border: 1px solid rgba(255, 255, 255, 0.2);*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.event-item:hover {*/
/*    background: rgba(255, 255, 255, 0.2);*/
/*    transform: translateY(-3px);*/
/*    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);*/
/*}*/

/*.event-icon {*/
/*    font-size: 1.5rem;*/
/*    flex-shrink: 0;*/
/*    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));*/
/*}*/

/*.event-text {*/
/*    line-height: 1.7;*/
/*    text-align: left;*/
/*}*/


/* Hero Section */
.hero {
    position: relative;
    height: 700px;
    background: linear-gradient(180deg, #e91e8c 0%, #d76a95 50%, #cf1169 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
/*.hero {*/
/*    position: relative;*/
/*    height: 700px;*/
/*    background: linear-gradient(180deg, #d91a6e 0%, #c73a7a 30%, #b55a86 60%, #a37592 100%);*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    overflow: hidden;*/
/*}*/

/*.hero-content {*/
/*    position: relative;*/
/*    text-align: left;*/
/*    z-index: 2;*/
/*    padding: 3rem 2rem;*/
/*    width: 100%;*/
/*    max-width: 500px;*/
/*}*/
.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
    padding: 3rem 2rem;
    width: 100%;
    max-width: 800px;
}

.invitation-text {
    /*font-family: 'Felix Titling', 'Playfair Display', serif;*/
    font-family: 'Cinzel', 'Felix Titling', 'Playfair Display', serif;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: normal;
    color: white;
    letter-spacing: 0.15em;
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/*.k-beauty-wrapper {*/
/*    display: flex;*/
/*    align-items: baseline;*/
/*    margin-bottom: 0.5rem;*/
/*    animation: fadeIn 1.2s ease-out 0.2s both;*/
/*}*/
.k-beauty-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
    animation: fadeIn 1.2s ease-out 0.2s both;
}

.k-letter {
    /*font-family: 'Felix Titling', 'Playfair Display', serif;*/
    font-family: 'Cinzel', 'Felix Titling', 'Playfair Display', serif;
    font-size: clamp(6rem, 20vw, 10rem);
    font-weight: normal;
    color: white;
    line-height: 0.9;
}

.beauty-text {
    /*font-family: 'Felix Titling', 'Playfair Display', serif;*/
    font-family: 'Cinzel', 'Felix Titling', 'Playfair Display', serif;
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: normal;
    color: white;
    letter-spacing: 0.1em;
    margin-left: -0.5rem;
    align-self: flex-end;
    margin-bottom: 0.8rem;
}

/*.glow-week-text {*/
/*    font-family: 'Felix Titling', 'Playfair Display', serif;*/
/*    font-size: clamp(1.5rem, 5vw, 2.2rem);*/
/*    font-weight: normal;*/
/*    color: white;*/
/*    letter-spacing: 0.2em;*/
/*    margin-bottom: 1.5rem;*/
/*    animation: fadeIn 1.4s ease-out 0.4s both;*/
/*}*/

.glow-week-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    font-weight: 300;
    color: white;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    animation: fadeIn 1.4s ease-out 0.4s both;
}

.chinese-text {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    color: white;
    font-weight: 500;
    letter-spacing: 0.08em;
    margin-bottom: 3rem;
    animation: fadeIn 1.6s ease-out 0.6s both;
}

.event-details {
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    color: white;
    font-weight: 300;
    animation: fadeIn 1.8s ease-out 0.8s both;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.event-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.event-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.event-text {
    line-height: 1.6;
    text-align: left;
}

/*.kosme-logo {*/
/*    position: absolute;*/
/*    bottom: 2rem;*/
/*    right: 2rem;*/
/*    text-align: right;*/
/*    color: white;*/
/*    animation: fadeIn 2s ease-out 1s both;*/
/*}*/

.kosme-logo {
    position: absolute;
    bottom: 2rem;
    right: 50px;
    text-align: right;
    color: white;
    animation: fadeIn 2s ease-out 1s both;
}

.host-text {
    font-size: 0.75rem;
    display: block;
    margin-bottom: 0.3rem;
}

.kosme-text {
    font-size: 0.8rem;
    line-height: 1.4;
}

.kosme-text strong {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}


/* Search Section */
.search-section {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(254, 248, 252, 0.98);
    box-shadow: 0 2px 15px var(--shadow);
    padding: 1.2rem 1rem;
    border-bottom: 2px solid var(--border);
    backdrop-filter: blur(10px);
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.3rem;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 0.95rem;
    font-family: 'Noto Sans KR', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(213, 0, 109, 0.15);
}

.search-input::placeholder {
    color: #999;
}

.search-icon {
    position: absolute;
    right: 1.3rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1.2rem;
    pointer-events: none;
}

.search-results-info {
    text-align: center;
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
}

.search-hint {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #999;
    font-weight: 400;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.2rem;
    /*padding-right: 45px;*/
}

/* Alphabet Index */
.alphabet-index {
    position: fixed;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 101;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    padding: 0.4rem 0.25rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
    animation: slideInRight 0.8s ease-out 0.3s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.alphabet-index a {
    display: block;
    padding: 0.15rem 0.45rem;
    text-decoration: none;
    color: var(--text);
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6px;
    margin: 0.1rem 0;
}

.alphabet-index a:hover,
.alphabet-index a.active {
    background: var(--primary);
    color: white;
    transform: scale(1.15);
}

/* Brand Section */
.brand-section {
    margin-bottom: 3rem;
    scroll-margin-top: 80px;
    animation: sectionFadeIn 0.6s ease-out backwards;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-section.hidden {
    display: none;
}

.brand-section-letter {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.8rem;
    padding-left: 0.9rem;
    border-left: 6px solid var(--primary);
    position: relative;
}

.brand-section-letter::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.6rem;
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 1.3rem;
    margin-right: 30px;
}

.brand-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 3px 18px var(--shadow);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    display: block;
    border: 1px solid var(--border);
    animation: cardFadeIn 0.55s ease-out backwards;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.brand-card:nth-child(1) { animation-delay: 0.05s; }
.brand-card:nth-child(2) { animation-delay: 0.1s; }
.brand-card:nth-child(3) { animation-delay: 0.15s; }
.brand-card:nth-child(4) { animation-delay: 0.2s; }
.brand-card:nth-child(5) { animation-delay: 0.25s; }
.brand-card:nth-child(6) { animation-delay: 0.3s; }

.brand-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 18px 40px rgba(213, 0, 109, 0.28);
    border-color: var(--primary);
}

.brand-image {
    width: 100%;
    aspect-ratio: 1;
    /*object-fit: cover;*/
    object-fit: contain;  /* 이미지 전체가 보이도록 */
    padding: 15px;        /* 여백 추가 */
    background: linear-gradient(135deg, #fef8fc 0%, #fce7f3 100%);
}

.brand-info {
    padding: 1rem 0.9rem;
    background: white;
    min-height: 95px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.brand-logo {
    max-width: 90%;
    max-height: 55px;
    object-fit: contain;
    margin-bottom: 0.4rem;
}

.brand-name {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.35;
    word-break: break-word;
}

.company-name {
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 400;
    text-align: center;
    line-height: 1.35;
    word-break: break-word;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4.5rem 2rem;
    display: none;
}

.no-results.show {
    display: block;
}

.no-results-icon {
    font-size: 4.5rem;
    margin-bottom: 1.2rem;
    opacity: 0.3;
}

.no-results h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.no-results p {
    color: var(--accent);
    font-size: 1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    margin-top: 4.5rem;
}

.footer p {
    font-size: 0.88rem;
    opacity: 0.92;
    line-height: 1.9;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        height: 58vh;
        min-height: 420px;
        /*height: auto;*/
        /*min-height: 100vh;*/
        padding: 3rem 1rem;
    }

    .brand-grid {
        grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
        gap: 1.1rem;
    }

    .alphabet-index {
        right: 6px;
        padding: 0.35rem 0.22rem;
    }

    .alphabet-index a {
        padding: 0.13rem 0.42rem;
        font-size: 0.68rem;
    }

    .search-section {
        padding: 1.1rem 0.9rem;
    }

    .container {
        padding: 2.2rem 1.1rem;
    }
}

@media (max-width: 480px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        min-height: 380px;
    }
}
