/* 모바일 반응형 */
@media (max-width: 480px) {
    .popup-content {
        max-width: 320px;
        padding: 20px;
    }
    
    .popup-franchise {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .franchise-info {
        text-align: center;
    }
    
    .popup-header h3 {
        font-size: 1.4em;
    }
    
    .popup-controls {
        flex-direction: column;
        gap: 10px;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    padding-top: 200px;
}

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

/* 팝업 스타일 */
.popup-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 3px solid #fff;
}

/* 팝업 헤더 */
.popup-header h3 {
    color: #fff;
    font-size: 1.8em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.popup-subtitle {
    background: #ff6b35;
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.2em;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 인스타그램 섹션 */
.popup-franchise {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.franchise-icon img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 20px !important;
    border: 3px solid #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.franchise-info {
    flex: 1;
    text-align: left;
}

.franchise-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.franchise-description {
    color: #f0f0f0;
    font-size: 1em;
    line-height: 1.4;
    margin-bottom: 15px;
}

.franchise-button {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.franchise-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.popup-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.popup-controls label {
    color: #f0f0f0;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.popup-controls input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.popup-controls button {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.popup-controls button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.popup-controls button {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.popup-controls button:hover {
    background: #e55a2b;
}

/* 헤더 스타일 */
.header {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


.main-header {
    padding: 40px 0;
    background: 
        linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 400% 400%;
    animation: header-gradient 10s ease infinite;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.6),
        0 0 80px rgba(102, 126, 234, 0.5),
        inset 0 -5px 30px rgba(255,255,255,0.15);
    border-bottom: 8px solid #fff;
    z-index: 1000;
}

@keyframes header-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(0, 0, 0, 0.1) 0%, transparent 40%),
        repeating-conic-gradient(
            from 0deg at 50% 50%,
            transparent 0deg,
            rgba(255, 255, 255, 0.03) 30deg,
            transparent 60deg
        );
    z-index: 0;
    animation: pattern-rotate 20s linear infinite;
    pointer-events: none;
}

.main-header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.header-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.contact-label {
    font-size: 0.9em;
    font-weight: bold;
    color: rgba(255,255,255,0.9);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.contact-number {
    font-size: 2em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-weight: bold;
    color: #fbbf24;
    text-decoration: none;
    text-shadow: 
        3px 3px 0px #000,
        5px 5px 0px rgba(0,0,0,0.3),
        0 0 20px rgba(255, 215, 0, 0.8);
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.contact-number:hover {
    color: #fff;
    text-shadow: 
        3px 3px 0px #000,
        5px 5px 0px rgba(0,0,0,0.3),
        0 0 30px rgba(255, 215, 0, 1),
        0 0 50px rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.header-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 
        0 0 0 6px #fff,
        0 0 0 12px rgba(255,255,255,0.4),
        0 15px 40px rgba(0,0,0,0.7),
        0 0 60px rgba(255, 215, 0, 0.6);
    border: 6px solid #fff;
    transition: all 0.3s ease;
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.header-logo:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 
        0 0 0 4px #fff,
        0 0 0 8px rgba(255,255,255,0.5),
        0 15px 40px rgba(0,0,0,0.7),
        0 0 30px rgba(255,255,255,0.5);
}

.logo h1 {
    font-size: 4.5em;
    margin: 0;
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-weight: 900;
    text-shadow: 
        4px 4px 0px #000,
        8px 8px 0px rgba(0,0,0,0.4),
        0 0 40px rgba(255,215,0,1),
        0 0 80px rgba(255,215,0,0.6),
        0 0 120px rgba(255,255,255,0.4);
    letter-spacing: 0.08em;
    animation: header-title-glow 3s ease-in-out infinite alternate;
    color: white;
    filter: drop-shadow(0 5px 20px rgba(0,0,0,0.6));
}

@keyframes header-title-glow {
    0% { 
        text-shadow: 
            3px 3px 0px #000,
            6px 6px 0px rgba(0,0,0,0.3),
            0 0 30px rgba(255,255,255,0.8);
    }
    100% { 
        text-shadow: 
            3px 3px 0px #000,
            6px 6px 0px rgba(0,0,0,0.3),
            0 0 50px rgba(255,255,255,1),
            0 0 80px rgba(255,107,107,0.8);
    }
}

/* 네비게이션 */
.main-nav {
    background: #000;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin-top: 200px;
    overflow: hidden;
    border-top: 4px solid #fff;
    border-bottom: 4px solid #fff;
    box-shadow: 
        0 0 0 2px #000,
        0 10px 30px rgba(0,0,0,0.5);
    z-index: 999;
}

.main-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255,255,255,0.02) 10px,
            rgba(255,255,255,0.02) 20px
        );
    z-index: 1;
    animation: nav-pattern-move 20s linear infinite;
}

@keyframes nav-pattern-move {
    from { background-position: 0 0; }
    to { background-position: 40px 40px; }
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 1.1em;
    font-weight: 900;
    padding: 12px 24px;
    border-radius: 0;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border: 3px solid #fff;
    box-shadow: 
        0 0 0 2px #000,
        0 5px 15px rgba(0,0,0,0.5);
    display: block;
    position: relative;
    overflow: hidden;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.nav-menu li a:hover::before {
    animation: nav-shine 0.7s ease-in-out;
}

@keyframes nav-shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); opacity: 0; }
}

.nav-menu li a:hover {
    background: linear-gradient(135deg, #f5576c, #dc2626);
    transform: translateY(-3px);
    box-shadow: 
        0 0 0 2px #000,
        0 0 0 5px #fff,
        0 8px 20px rgba(0,0,0,0.7),
        0 0 30px rgba(245,87,108,0.5);
}

.franchise-contact {
    color: #fff;
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 1.2em;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    padding: 12px 30px;
    border: 3px solid #fff;
    border-radius: 0;
    box-shadow: 
        0 0 0 2px #000,
        0 5px 15px rgba(0,0,0,0.5);
    animation: contact-pulse 2s ease-in-out infinite;
}

@keyframes contact-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.franchise-contact strong {
    color: #fff;
    font-size: 1.5em;
    text-shadow: 
        2px 2px 0px #000,
        0 0 20px rgba(255,255,255,0.8);
    animation: contact-glow 2s ease-in-out infinite alternate;
}

@keyframes contact-glow {
    0% { 
        text-shadow: 
            2px 2px 0px #000,
            0 0 20px rgba(255,255,255,0.8);
    }
    100% { 
        text-shadow: 
            2px 2px 0px #000,
            0 0 30px rgba(255,255,255,1),
            0 0 50px rgba(220,38,38,0.8);
    }
}

/* 메인 컨텐츠 */
.main-content {
    background: white;
}

/* 히어로 섹션 */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* 백그라운드 동영상 */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.77vh; /* 높이에 맞춰 가로 비율 조정 (16:9) */
    height: 100vh; /* 화면 높이에 맞춤 */
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none; /* 클릭 방지 */
}

/* 동영상 오버레이 */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5em;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 
        3px 3px 0px rgba(0,0,0,1),
        -1px -1px 0px rgba(0,0,0,1),
        1px -1px 0px rgba(0,0,0,1),
        -1px 1px 0px rgba(0,0,0,1),
        0 0 20px rgba(0,0,0,0.8);
    letter-spacing: 0.1em;
    color: white;
    animation: glow 3s ease-in-out infinite alternate, bounce-title 2s ease-in-out infinite;
}

@keyframes glow {
    from {
        text-shadow: 
            3px 3px 0px rgba(0,0,0,1),
            -1px -1px 0px rgba(0,0,0,1),
            1px -1px 0px rgba(0,0,0,1),
            -1px 1px 0px rgba(0,0,0,1),
            0 0 20px rgba(251, 191, 36, 0.5);
    }
    to {
        text-shadow: 
            3px 3px 0px rgba(0,0,0,1),
            -1px -1px 0px rgba(0,0,0,1),
            1px -1px 0px rgba(0,0,0,1),
            -1px 1px 0px rgba(0,0,0,1),
            0 0 30px rgba(251, 191, 36, 0.8),
            0 0 40px rgba(251, 191, 36, 0.6);
    }
}

@keyframes bounce-title {
    0%, 100% { transform: translateY(0px) scale(1); }
    25% { transform: translateY(-5px) scale(1.02); }
    50% { transform: translateY(0px) scale(1.05); }
    75% { transform: translateY(-3px) scale(1.02); }
}

.hero-subtitle {
    font-size: 1.6em;
    font-style: italic;
    color: #fbbf24;
    text-shadow: 
        2px 2px 0px rgba(0,0,0,1),
        -1px -1px 0px rgba(0,0,0,1),
        1px -1px 0px rgba(0,0,0,1),
        -1px 1px 0px rgba(0,0,0,1);
    margin: 0;
    display: inline-block;
    animation: float-subtitle 3s ease-in-out infinite alternate;
}

@keyframes float-subtitle {
    0% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-8px) translateX(3px); }
    50% { transform: translateY(-5px) translateX(-2px); }
    75% { transform: translateY(-10px) translateX(1px); }
    100% { transform: translateY(-3px) translateX(-1px); }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 3em;
    }
    
    .hero-subtitle {
        font-size: 1.3em;
        padding: 15px 20px;
    }
}


/* 섹션 공통 스타일 */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
}

/* ===== 새로운 레트로 브랜드 스토리 섹션 ===== */
.retro-brand-section {
    background-image: url('https://i.ibb.co/6JPW6jWZ/4.png');
    background-size: 400px auto;
    background-position: 0 0;
    background-attachment: fixed;
    background-repeat: repeat;
    padding: 80px 0 180px 0; /* 하단 패딩을 180px로 증가 */
    position: relative;
    overflow: visible; /* 슬라이더가 잘리지 않도록 */
}

.retro-brand-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.3) 0%, rgba(76, 175, 80, 0.3) 100%);
    pointer-events: none;
    z-index: 0;
}

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

/* 배경 패턴 효과 */
.retro-brand-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 87, 34, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(156, 39, 176, 0.1) 0%, transparent 50%);
    z-index: 1;
    animation: brand-pattern-rotate 25s linear infinite;
}

@keyframes brand-pattern-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.retro-brand-section .container {
    position: relative;
    z-index: 3;
}

/* 메인 타이틀 */
.retro-brand-title {
    text-align: center;
    margin-bottom: 60px;
}

.brand-title-wrapper {
    display: inline-block;
    position: relative;
}

.brand-main-title {
    font-size: 4.5em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #fff;
    text-shadow: 
        5px 5px 0px #000,
        10px 10px 0px rgba(0,0,0,0.3),
        15px 15px 30px rgba(0,0,0,0.5);
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    animation: brand-title-glow 4s ease-in-out infinite alternate;
}

@keyframes brand-title-glow {
    from { 
        text-shadow: 
            5px 5px 0px #000,
            10px 10px 0px rgba(0,0,0,0.3),
            15px 15px 30px rgba(0,0,0,0.5);
    }
    to { 
        text-shadow: 
            5px 5px 0px #000,
            10px 10px 0px rgba(0,0,0,0.3),
            15px 15px 30px rgba(0,0,0,0.5),
            0 0 50px #fff,
            0 0 100px #4facfe;
    }
}

.brand-subtitle {
    font-size: 1.8em;
    color: #ffeb3b;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    animation: brand-subtitle-bounce 3s ease-in-out infinite;
}

@keyframes brand-subtitle-bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* 브랜드 컨테이너 */
.retro-brand-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* 레트로 슬라이더 */
.retro-brand-slider {
    position: relative;
    background: #000;
    border: 8px solid #fff;
    overflow: hidden;
    box-shadow: 
        0 0 0 8px #000,
        0 0 0 16px #f5576c,
        0 30px 60px rgba(0,0,0,0.3);
}

.retro-slider-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.retro-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.retro-slide.active {
    opacity: 1;
}

.retro-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.retro-slide:hover img {
    transform: scale(1.05);
}

/* 슬라이드 오버레이 */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 60%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 20px;
}

.slide-badge {
    background: #fff;
    color: #000;
    padding: 8px 16px;
    font-weight: bold;
    font-family: 'Impact', 'Arial Black', sans-serif;
    letter-spacing: 0.1em;
    transform: rotate(-15deg);
    box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
    animation: badge-wiggle 2s ease-in-out infinite;
}

@keyframes badge-wiggle {
    0%, 100% { transform: rotate(-15deg); }
    50% { transform: rotate(-10deg); }
}

/* 레트로 슬라이더 컨트롤 */
.retro-slider-controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.retro-prev-btn,
.retro-next-btn {
    background: #000;
    color: #fff;
    border: 3px solid #fff;
    padding: 12px 20px;
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.retro-prev-btn:hover,
.retro-next-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.btn-icon {
    font-size: 1.2em;
    animation: btn-icon-pulse 2s ease-in-out infinite;
}

@keyframes btn-icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* 레트로 인디케이터 */
.retro-indicators {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.retro-indicator {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border: 3px solid #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    animation: indicator-glow 3s ease-in-out infinite;
}

@keyframes indicator-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(255,255,255,0.3); }
    50% { box-shadow: 0 0 20px rgba(255,255,255,0.6); }
}

.retro-indicator.active {
    background: #f5576c;
    box-shadow: 0 0 20px #f5576c;
    transform: scale(1.3);
}

.retro-indicator::before {
    content: attr(data-slide);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.8em;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.retro-indicator:hover::before {
    opacity: 1;
}

/* 브랜드 스토리 컨텐츠 */
.retro-brand-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 스토리 카드들 */
.story-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.story-card {
    background: #fff;
    border: 4px solid #000;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-height: 100px;
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    transform: translateY(-10px) rotate(-2deg) scale(1.03);
}

/* 각 카드별 개성있는 색상 */
.card-memory { 
    border-color: #ff6b6b; 
    box-shadow: 6px 6px 0px #ff6b6b;
}
.card-retro { 
    border-color: #4ecdc4; 
    box-shadow: 6px 6px 0px #4ecdc4;
}
.card-atmosphere { 
    border-color: #45b7d1; 
    box-shadow: 6px 6px 0px #45b7d1;
}

.story-card:hover {
    box-shadow: 10px 10px 0px currentColor;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 12px 6px;
}

.card-icon {
    font-size: 1.6em;
    animation: card-icon-float 4s ease-in-out infinite;
}

@keyframes card-icon-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.card-title {
    font-size: 1.2em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #000;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.card-content {
    padding: 0 12px 12px;
    flex-grow: 1;
}

.card-content p {
    font-size: 0.9em;
    line-height: 1.3;
    color: #333;
    margin: 0;
}

/* 스토리 푸터 */
.story-footer {
    margin-top: 20px;
}

.footer-banner {
    background: #000;
    border: 8px solid #fff;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 0 8px #000,
        0 0 0 16px #4facfe,
        0 25px 50px rgba(0,0,0,0.3);
}

.footer-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: footer-banner-shine 5s infinite;
}

@keyframes footer-banner-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.footer-banner h3 {
    font-size: 2.2em;
    color: #4facfe;
    font-family: 'Impact', 'Arial Black', sans-serif;
    margin-bottom: 20px;
    text-shadow: 
        3px 3px 0px #fff,
        6px 6px 0px rgba(0,0,0,0.3);
    animation: footer-title-glow 3s ease-in-out infinite alternate;
}

@keyframes footer-title-glow {
    from { text-shadow: 3px 3px 0px #fff, 6px 6px 0px rgba(0,0,0,0.3); }
    to { 
        text-shadow: 
            3px 3px 0px #fff, 
            6px 6px 0px rgba(0,0,0,0.3),
            0 0 30px #4facfe;
    }
}

.footer-banner p {
    font-size: 1.3em;
    color: #ccc;
    margin-bottom: 25px;
    line-height: 1.5;
}

.footer-quote {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-left: 5px solid #ffeb3b;
    margin-top: 20px;
}

.footer-quote em {
    font-size: 1.4em;
    color: #ffeb3b;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: quote-glow 2s ease-in-out infinite alternate;
}

@keyframes quote-glow {
    from { text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
    to { text-shadow: 2px 2px 4px rgba(0,0,0,0.5), 0 0 20px #ffeb3b; }
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .retro-brand-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .brand-main-title {
        font-size: 3.8em;
    }
    
    .retro-slider-wrapper {
        height: 400px;
    }
    
    .story-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .retro-brand-section {
        padding: 50px 0;
        background-attachment: scroll;
    }
    
    .brand-main-title {
        font-size: 3.2em;
    }
    
    .brand-subtitle {
        font-size: 1.4em;
    }
    
    .retro-brand-container {
        gap: 40px;
    }
    
    .retro-slider-wrapper {
        height: 350px;
    }
    
    .footer-banner h3 {
        font-size: 1.8em;
    }
    
    .story-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .brand-main-title {
        font-size: 2.5em;
    }
    
    .brand-subtitle {
        font-size: 1.2em;
    }
    
    .retro-slider-wrapper {
        height: 300px;
    }
    
    .story-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .story-title {
        font-size: 1.8em;
    }
    
    .quote-text {
        font-size: 1.2em;
    }
    
    .card-header {
        padding: 10px 10px 5px;
    }
    
    .card-content {
        padding: 0 10px 10px;
    }
    
    .card-icon {
        font-size: 1.5em;
    }
    
    .card-title {
        font-size: 1em;
    }
    
    .card-content p {
        font-size: 0.85em;
    }
    
    .story-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
.brand-section {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.brand-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(251, 191, 36, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 30%);
    pointer-events: none;
    animation: float-bg 20s ease-in-out infinite;
}

.brand-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%), 
        linear-gradient(-45deg, rgba(255,255,255,0.05) 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.05) 75%), 
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.05) 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
    pointer-events: none;
    opacity: 0.3;
    animation: pattern-move 30s linear infinite;
}

@keyframes float-bg {
    0%, 100% { 
        transform: translateX(0) translateY(0) scale(1);
        opacity: 1;
    }
    25% { 
        transform: translateX(-10px) translateY(-5px) scale(1.05);
        opacity: 0.8;
    }
    50% { 
        transform: translateX(5px) translateY(10px) scale(0.95);
        opacity: 1.2;
    }
    75% { 
        transform: translateX(8px) translateY(-8px) scale(1.02);
        opacity: 0.9;
    }
}

@keyframes pattern-move {
    0% { background-position: 0 0, 0 20px, 20px -20px, -20px 0px; }
    100% { background-position: 40px 40px, 40px 60px, 60px 20px, 20px 40px; }
}

.brand-layout {
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 550px;
    position: relative;
    z-index: 2;
}

/* 이미지 슬라이더 */
.brand-slider {
    flex: 1;
    position: relative;
    max-width: 700px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background: #f8f9fa;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* 슬라이더 컨트롤 */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.prev-btn, .next-btn {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

/* 슬라이더 인디케이터 */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255,255,255,0.8);
}

/* 브랜드 컨텐츠 */
.brand-content {
    flex: 1;
    padding-left: 40px;
}

.brand-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 30px;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.brand-subtitle {
    font-size: 2em;
    color: #fbbf24;
    margin-bottom: 30px;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.brand-story {
    margin-top: 20px;
}

.story-intro {
    font-size: 1.3em;
    color: #fbbf24;
    font-weight: bold;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid #fbbf24;
    border-radius: 5px;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.brand-description {
    font-size: 1.1em;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.highlight {
    background: linear-gradient(135deg, #ffeb3b, #ffc107);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
    color: #333;
}

.story-footer {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
    border: 2px dashed #fbbf24;
}

.story-footer em {
    font-size: 1.2em;
    color: #fbbf24;
    font-weight: bold;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .brand-layout {
        flex-direction: column;
        gap: 40px;
    }
    
    .brand-content {
        padding-left: 0;
        text-align: center;
    }
    
    .slider-container {
        height: 380px;
    }
    
    .brand-title {
        font-size: 2em;
    }
    
    .brand-subtitle {
        font-size: 1.5em;
    }
}


/* 메뉴 섹션 */
.menu-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
    overflow: hidden;
}

.menu-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(34, 197, 94, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.retro-menu-title {
    color: #dc2626;
    text-shadow: 
        3px 3px 0px rgba(34, 197, 94, 0.6),
        6px 6px 0px rgba(0,0,0,0.3);
    font-family: 'Impact', 'Arial Black', sans-serif;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 2;
}

.menu-description {
    text-align: center;
    font-size: 1.1em;
    color: #4b5563;
    margin-bottom: 60px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* 메뉴 카테고리 */
.menu-category {
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.category-title {
    font-size: 2.2em;
    font-weight: bold;
    color: #22c55e;
    text-align: center;
    margin-bottom: 50px;
    padding: 20px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    position: relative;
    overflow: hidden;
    font-family: 'Impact', 'Arial Black', sans-serif;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.category-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.category-title:hover::before {
    left: 100%;
}

/* 메뉴 그리드 */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* 메뉴 아이템 카드 */
.menu-item-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid transparent;
}

.menu-item-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-color: #22c55e;
}

.menu-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.menu-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.menu-item-card:hover .menu-image {
    transform: scale(1.1);
}

.menu-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-item-card:hover .menu-overlay {
    opacity: 1;
}

.menu-badge {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    font-family: 'Impact', 'Arial Black', sans-serif;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.menu-name {
    padding: 20px;
    font-size: 1.3em;
    font-weight: bold;
    color: #dc2626;
    text-align: center;
    margin: 0;
    font-family: 'Impact', 'Arial Black', sans-serif;
    letter-spacing: 0.05em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.menu-note {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.menu-note h3 {
    font-size: 1.8em;
    margin: 0;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-family: 'Impact', 'Arial Black', sans-serif;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .menu-image-wrapper {
        height: 200px;
    }
    
    .category-title {
        font-size: 1.8em;
        padding: 15px;
    }
    
    .menu-name {
        font-size: 1.1em;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .menu-image-wrapper {
        height: 250px;
    }
}

/* ===== 새로운 레트로 가맹절차 섹션 ===== */
.retro-franchise-section {
    background: 
        linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 400% 400%;
    animation: franchise-gradient 10s ease infinite;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

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

/* 배경 패턴 효과 */
.retro-franchise-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(0, 0, 0, 0.1) 0%, transparent 40%),
        repeating-conic-gradient(
            from 0deg at 50% 50%,
            transparent 0deg,
            rgba(255, 255, 255, 0.03) 30deg,
            transparent 60deg
        );
    z-index: 1;
    animation: pattern-rotate 20s linear infinite;
}

@keyframes pattern-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.retro-franchise-section .container {
    position: relative;
    z-index: 2;
}

/* 메인 타이틀 */
.retro-franchise-title {
    text-align: center;
    margin-bottom: 80px;
}

.title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.floating-logo {
    width: 450px;
    height: 450px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    animation: logo-float 4s ease-in-out infinite;
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(-2deg); }
    50% { transform: translateY(-5px) rotate(0deg); }
    75% { transform: translateY(-15px) rotate(2deg); }
}

.franchise-main-title {
    font-size: 5em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #fff;
    text-shadow: 
        5px 5px 0px #000,
        10px 10px 0px rgba(0,0,0,0.3),
        15px 15px 30px rgba(0,0,0,0.5);
    letter-spacing: 0.15em;
    margin: 0;
    animation: title-glow 3s ease-in-out infinite alternate;
}

@keyframes title-glow {
    from { 
        text-shadow: 
            5px 5px 0px #000,
            10px 10px 0px rgba(0,0,0,0.3),
            15px 15px 30px rgba(0,0,0,0.5);
    }
    to { 
        text-shadow: 
            5px 5px 0px #000,
            10px 10px 0px rgba(0,0,0,0.3),
            15px 15px 30px rgba(0,0,0,0.5),
            0 0 40px #fff,
            0 0 80px #4facfe;
    }
}

.title-subtitle {
    font-size: 1.8em;
    color: #ffeb3b;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    animation: subtitle-bounce 2s ease-in-out infinite;
}

@keyframes subtitle-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* 프로세스 타임라인 */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 80px;
}

/* 프로세스 카드 */
.process-card {
    background: #fff;
    border: 8px solid #000;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.process-card:hover {
    transform: translateY(-15px) rotate(3deg) scale(1.05);
}

/* 각 카드별 개성있는 색상 */
.card-step-1 { 
    border-color: #ff6b6b; 
    box-shadow: 15px 15px 0px #ff6b6b;
}
.card-step-2 { 
    border-color: #4ecdc4; 
    box-shadow: 15px 15px 0px #4ecdc4;
}
.card-step-3 { 
    border-color: #45b7d1; 
    box-shadow: 15px 15px 0px #45b7d1;
}
.card-step-4 { 
    border-color: #96ceb4; 
    box-shadow: 15px 15px 0px #96ceb4;
}
.card-step-5 { 
    border-color: #feca57; 
    box-shadow: 15px 15px 0px #feca57;
}
.card-step-6 { 
    border-color: #ff9ff3; 
    box-shadow: 15px 15px 0px #ff9ff3;
}

.process-card:hover {
    box-shadow: 25px 25px 0px currentColor;
}

/* 카드 번호 */
.card-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 80px;
    height: 80px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-weight: bold;
    z-index: 5;
    border: 6px solid #fff;
    animation: number-spin 8s linear infinite;
}

@keyframes number-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 카드 내용 */
.card-content {
    padding: 50px 30px 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.card-icon {
    font-size: 4em;
    margin-bottom: 20px;
    animation: icon-dance 3s ease-in-out infinite;
}

@keyframes icon-dance {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(-5deg); }
    50% { transform: translateY(-15px) rotate(0deg); }
    75% { transform: translateY(-8px) rotate(5deg); }
}

.card-title {
    font-size: 1.8em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #000;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: title-shake 4s ease-in-out infinite;
}

@keyframes title-shake {
    0%, 100% { transform: translateX(0px); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

.card-desc {
    font-size: 1.1em;
    line-height: 1.5;
    color: #333;
    margin-bottom: 20px;
}

/* 카드 하이라이트 */
.card-highlight {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #000;
    color: #fff;
    padding: 8px 15px;
    font-size: 0.8em;
    font-weight: bold;
    transform: rotate(-15deg);
    animation: highlight-wiggle 3s ease-in-out infinite;
}

@keyframes highlight-wiggle {
    0%, 100% { transform: rotate(-15deg); }
    50% { transform: rotate(-10deg); }
}

.card-step-1 .card-highlight { background: #ff6b6b; }
.card-step-2 .card-highlight { background: #4ecdc4; }
.card-step-3 .card-highlight { background: #45b7d1; }
.card-step-4 .card-highlight { background: #96ceb4; }
.card-step-5 .card-highlight { background: #feca57; color: #000; }
.card-step-6 .card-highlight { background: #ff9ff3; }

/* 카드 연결선 */
.card-connector {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 3em;
    color: #ffeb3b;
    animation: connector-flash 2s ease-in-out infinite;
    z-index: 3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

@keyframes connector-flash {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.card-step-6 .card-connector {
    display: none;
}

/* 하단 배너 */
.franchise-footer {
    text-align: center;
}

.footer-banner {
    background: #000;
    border: 8px solid #fff;
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 0 8px #000,
        0 0 0 16px #4facfe,
        0 30px 60px rgba(0,0,0,0.3);
}

.footer-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: banner-shine 4s infinite;
}

@keyframes banner-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.banner-icon {
    font-size: 4em;
    margin-bottom: 20px;
    animation: banner-icon-bounce 2s ease-in-out infinite;
}

@keyframes banner-icon-bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.footer-banner h3 {
    font-size: 2.5em;
    color: #4facfe;
    font-family: 'Impact', 'Arial Black', sans-serif;
    margin-bottom: 20px;
    text-shadow: 
        3px 3px 0px #fff,
        6px 6px 0px rgba(0,0,0,0.3);
    animation: banner-title-glow 3s ease-in-out infinite alternate;
}

@keyframes banner-title-glow {
    from { text-shadow: 3px 3px 0px #fff, 6px 6px 0px rgba(0,0,0,0.3); }
    to { 
        text-shadow: 
            3px 3px 0px #fff, 
            6px 6px 0px rgba(0,0,0,0.3),
            0 0 30px #4facfe;
    }
}

.footer-banner p {
    font-size: 1.3em;
    color: #ccc;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* 상담 버튼 */
.contact-button {
    position: relative;
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    animation: button-gradient 3s ease infinite;
    padding: 20px 40px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.contact-button:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.button-text {
    font-size: 1.5em;
    font-weight: bold;
    color: #000;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
    position: relative;
    z-index: 2;
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: button-glow-sweep 2s infinite;
}

@keyframes button-glow-sweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .franchise-main-title {
        font-size: 3em;
    }
    
    .title-wrapper {
        flex-direction: column;
        gap: 10px;
    }
    
    .floating-logo {
        width: 300px;
        height: 300px;
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 100%;
    }
    
    .process-card {
        min-height: 280px;
    }
    
    .card-number {
        width: 60px;
        height: 60px;
        font-size: 2em;
        top: -10px;
        left: -10px;
    }
    
    .card-content {
        padding: 40px 25px 25px;
    }
    
    .card-highlight {
        top: 15px;
        right: 15px;
        bottom: auto;
        font-size: 0.75em;
        padding: 6px 12px;
    }
    
    .footer-banner h3 {
        font-size: 2em;
    }
    
    .footer-banner {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .retro-franchise-section {
        padding: 60px 0;
    }
    
    .franchise-main-title {
        font-size: 2.5em;
    }
    
    .title-subtitle {
        font-size: 1.3em;
    }
    
    .card-icon {
        font-size: 3em;
    }
    
    .card-title {
        font-size: 1.5em;
    }
    
    .footer-banner h3 {
        font-size: 1.6em;
    }
    
    .button-text {
        font-size: 1.2em;
    }
    
    .contact-button {
        padding: 15px 30px;
    }
}

/* ===== 새로운 레트로 순수익 섹션 ===== */
.retro-profit-section {
    background: 
        linear-gradient(45deg, #ff6b6b 0%, #ff8e8e 25%, #4ecdc4 50%, #45b7b8 75%, #ff6b6b 100%);
    background-size: 400% 400%;
    animation: gradient-shift 8s ease infinite;
    padding: 120px 0; /* 상단 패딩을 120px로 증가 */
    position: relative;
    overflow: hidden;
}

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

/* 배경 패턴 */
.retro-profit-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.1) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.05) 10px,
            rgba(255, 255, 255, 0.05) 20px
        );
    z-index: 1;
}

.retro-profit-section .container {
    position: relative;
    z-index: 2;
}

/* 메인 타이틀 박스 */
.retro-title-box {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.retro-main-title {
    font-size: 4em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #fff;
    text-shadow: 
        4px 4px 0px #000,
        8px 8px 0px rgba(0,0,0,0.3),
        12px 12px 20px rgba(0,0,0,0.5);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    animation: title-bounce 3s ease-in-out infinite;
    transform-origin: center;
}

@keyframes title-bounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.05) rotate(-1deg); }
    50% { transform: scale(1.1) rotate(0deg); }
    75% { transform: scale(1.05) rotate(1deg); }
}

.title-decoration {
    font-size: 1.5em;
    color: #ffeb3b;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: decoration-glow 2s ease-in-out infinite alternate;
}

@keyframes decoration-glow {
    from { text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
    to { text-shadow: 2px 2px 4px rgba(0,0,0,0.5), 0 0 20px #ffeb3b; }
}

/* 핵심 수익률 박스 */
.profit-hero-box {
    background: #000;
    border: 6px solid #fff;
    border-radius: 0;
    margin: 0 auto 80px;
    max-width: 600px;
    min-height: 300px; /* 최소 높이 추가로 박스 확장 */
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 0 6px #000,
        0 0 0 12px #ff6b6b,
        0 20px 40px rgba(0,0,0,0.3);
}

.profit-hero-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.profit-number-display {
    padding: 70px 30px 50px; /* 패딩을 더 늘려서 여유 공간 확보 */
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px; /* 내부 콘텐츠 최소 높이 */
}

.profit-label {
    font-size: 1.2em;
    color: #4ecdc4;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.profit-big-number {
    font-size: 8em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #fff;
    text-shadow: 
        3px 3px 0px #ff6b6b,
        6px 6px 0px #000,
        9px 9px 20px rgba(0,0,0,0.5);
    line-height: 0.8;
    animation: number-pulse 2s ease-in-out infinite;
}

@keyframes number-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.percent-sign {
    font-size: 0.6em;
    vertical-align: top;
    color: #ffeb3b;
    animation: percent-spin 4s linear infinite;
}

@keyframes percent-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.profit-subtitle {
    font-size: 1.5em;
    color: #ffeb3b;
    font-weight: bold;
    margin-top: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: subtitle-flash 1.5s ease-in-out infinite alternate;
}

@keyframes subtitle-flash {
    from { opacity: 0.8; }
    to { opacity: 1; }
}

/* 불꽃 장식 */
.profit-flame-decoration {
    position: absolute;
    top: 15px; /* 박스 안쪽으로 이동 */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3; /* 다른 요소들보다 위에 표시 */
}

.flame {
    font-size: 2.5em;
    animation: flame-dance 1s ease-in-out infinite;
}

.flame:nth-child(1) { animation-delay: 0s; }
.flame:nth-child(2) { animation-delay: 0.3s; }
.flame:nth-child(3) { animation-delay: 0.6s; }

@keyframes flame-dance {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    25% { transform: translateY(-3px) rotate(-3deg) scale(1.05); }
    50% { transform: translateY(-6px) rotate(0deg) scale(1.1); }
    75% { transform: translateY(-3px) rotate(3deg) scale(1.05); }
}

/* 수익 계산 박스 */
.retro-calculation-box {
    background: #fff;
    border: 6px solid #000;
    margin: 0 auto 80px;
    max-width: 900px;
    position: relative;
    box-shadow: 
        12px 12px 0px #ff6b6b,
        24px 24px 0px #000,
        0 30px 60px rgba(0,0,0,0.3);
}

.calc-title {
    background: #000;
    color: #fff;
    padding: 25px;
    margin: 0;
    font-size: 1.8em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(255,107,107,0.5);
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    background: #f0f0f0;
}

.calc-item {
    padding: 40px 30px;
    text-align: center;
    position: relative;
    border: 3px solid #000;
    transition: all 0.3s ease;
}

.calc-item:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.calc-item.revenue {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: #fff;
}

.calc-item.expense {
    background: linear-gradient(135deg, #ff8a80, #ff5722);
    color: #fff;
}

.calc-item.profit-result {
    background: linear-gradient(135deg, #ffeb3b, #ffc107);
    color: #000;
    position: relative;
    overflow: hidden;
}

.calc-item.profit-result::before {
    content: '⭐⭐⭐';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.2em;
    animation: stars-twinkle 2s ease-in-out infinite;
}

@keyframes stars-twinkle {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.calc-icon {
    font-size: 3em;
    margin-bottom: 15px;
    animation: icon-bounce 2s ease-in-out infinite;
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.calc-label {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.calc-amount {
    font-size: 1.9em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calc-amount.highlight {
    font-size: 2.4em;
    animation: highlight-glow 1.5s ease-in-out infinite alternate;
}

@keyframes highlight-glow {
    from { text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
    to { text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 20px #fff; }
}

.calc-detail {
    font-size: 0.9em;
    opacity: 0.9;
}

.calc-badge {
    background: #000;
    color: #ffeb3b;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* 장점 카드들 */
.retro-advantages {
    margin-bottom: 80px;
}

.advantages-title {
    font-size: 3em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 
        3px 3px 0px #000,
        6px 6px 0px rgba(0,0,0,0.3);
    animation: advantages-title-wave 3s ease-in-out infinite;
}

@keyframes advantages-title-wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-1deg); }
    75% { transform: rotate(1deg); }
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.advantage-card {
    background: #fff;
    border: 6px solid #000;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.3);
}

.advantage-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 15px 15px 0px rgba(0,0,0,0.3);
}

.advantage-card.card-1 { border-color: #ff6b6b; }
.advantage-card.card-2 { border-color: #4ecdc4; }
.advantage-card.card-3 { border-color: #ffeb3b; }
.advantage-card.card-4 { border-color: #ff8a80; }

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

.advantage-card:hover::before {
    left: 100%;
}

.card-header {
    padding: 30px 25px 20px;
    text-align: center;
    position: relative;
}

.card-icon {
    font-size: 4em;
    margin-bottom: 15px;
    animation: card-icon-float 3s ease-in-out infinite;
}

@keyframes card-icon-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
}

.card-header h4 {
    font-size: 1.8em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #000;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.advantage-card p {
    padding: 0 25px 30px;
    font-size: 1.1em;
    line-height: 1.5;
    color: #333;
    text-align: center;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    font-size: 0.8em;
    font-weight: bold;
    transform: rotate(15deg);
    animation: badge-wiggle 2s ease-in-out infinite;
}

@keyframes badge-wiggle {
    0%, 100% { transform: rotate(15deg); }
    50% { transform: rotate(10deg); }
}

.card-1 .card-badge { background: #ff6b6b; }
.card-2 .card-badge { background: #4ecdc4; }
.card-3 .card-badge { background: #ffeb3b; color: #000; }
.card-4 .card-badge { background: #ff8a80; }

/* 하단 메시지 */
.profit-footer-message {
    text-align: center;
}

.footer-box {
    background: #000;
    border: 6px solid #fff;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    box-shadow: 
        0 0 0 6px #000,
        0 0 0 12px #ff6b6b,
        0 20px 40px rgba(0,0,0,0.3);
}

.footer-text {
    font-size: 1.8em;
    color: #ffeb3b;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: footer-pulse 2s ease-in-out infinite;
}

@keyframes footer-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.footer-note {
    font-size: 1em;
    color: #ccc;
    margin: 0;
    font-style: italic;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .retro-main-title {
        font-size: 2.5em;
    }
    
    .profit-big-number {
        font-size: 5em;
    }
    
    .calc-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .advantage-card {
        padding: 30px 20px;
        min-height: 240px;
    }
    
    .card-icon {
        font-size: 2.8em;
    }
    
    .card-title {
        font-size: 1.3em;
        line-height: 1.3;
    }
    
    .card-desc {
        font-size: 0.95em;
        line-height: 1.5;
    }
    
    .advantage-card h4 {
        font-size: 1.15em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .advantage-card p {
        font-size: 0.9em;
        line-height: 1.5;
    }
    
    .advantages-title {
        font-size: 2em;
    }
    
    .footer-text {
        font-size: 1.3em;
    }
    
    .retro-calculation-box {
        box-shadow: 
            8px 8px 0px #ff6b6b,
            16px 16px 0px #000,
            0 20px 40px rgba(0,0,0,0.3);
    }
}

@media (max-width: 480px) {
    .retro-profit-section {
        padding: 60px 0;
    }
    
    .retro-main-title {
        font-size: 2em;
    }
    
    .profit-big-number {
        font-size: 4em;
    }
    
    .calc-title {
        font-size: 1.3em;
        padding: 20px;
    }
    
    .calc-item {
        padding: 30px 20px;
    }
    
    .calc-amount {
        font-size: 1.8em;
    }
    
    .calc-amount.highlight {
        font-size: 2.2em;
    }
}

/* ===== 새로운 레트로 창업비용 섹션 ===== */
.retro-cost-section {
    background: 
        linear-gradient(135deg, #8360c3 0%, #2ebf91 25%, #ffd89b 50%, #19547b 75%, #8360c3 100%);
    background-size: 400% 400%;
    animation: cost-gradient 12s ease infinite;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

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

/* 배경 패턴 효과 */
.retro-cost-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.1) 0%, transparent 30%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(255, 255, 255, 0.02) 50px,
            rgba(255, 255, 255, 0.02) 100px
        );
    z-index: 1;
}

.retro-cost-section .container {
    position: relative;
    z-index: 2;
}

/* 메인 타이틀 */
.retro-cost-title {
    text-align: center;
    margin-bottom: 80px;
}

.cost-main-title {
    font-size: 4.5em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #fff;
    text-shadow: 
        4px 4px 0px #000,
        8px 8px 0px rgba(0,0,0,0.3),
        12px 12px 25px rgba(0,0,0,0.5);
    letter-spacing: 0.1em;
    margin-bottom: 25px;
    animation: cost-title-pulse 4s ease-in-out infinite;
}

@keyframes cost-title-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.cost-subtitle {
    font-size: 1.6em;
    color: #ffd89b;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: subtitle-shimmer 3s ease-in-out infinite;
}

@keyframes subtitle-shimmer {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

.cost-description {
    text-align: center;
    font-size: 1.2em;
    color: #4b5563;
    margin-bottom: 60px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* 원 그래프 섹션 */
.cost-chart-section {
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.chart-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 3px solid #f1f5f9;
}

.chart-title {
    text-align: center;
    font-size: 1.8em;
    color: #dc2626;
    margin-bottom: 40px;
    font-family: 'Impact', 'Arial Black', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.pie-chart-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

/* 파이 차트 */
.pie-chart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 400px;
    height: 400px;
}

.pie-chart svg {
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
    width: 100%;
    height: 100%;
}

.chart-segment {
    cursor: pointer;
    transition: all 0.3s ease;
}

/* JavaScript에서 호버 효과를 처리하므로 CSS 호버 제거 */

/* 중앙 텍스트 */
.chart-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.total-amount {
    font-size: 1.1em;
    color: #6b7280;
    margin-bottom: 8px;
}

.total-price {
    font-size: 1.6em;
    font-weight: bold;
    color: #dc2626;
    font-family: 'Impact', 'Arial Black', sans-serif;
}

/* 범례 */
.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.legend-item:hover {
    background: #e5e7eb;
    border-color: #22c55e;
    transform: translateX(5px);
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.color-1 { background: #dc2626; }
.color-2 { background: #22c55e; }
.color-3 { background: #3b82f6; }
.color-4 { background: #f59e0b; }

.legend-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.legend-label {
    font-weight: bold;
    color: #374151;
    font-size: 1em;
}

.legend-amount {
    color: #6b7280;
    font-size: 0.9em;
}

.legend-percentage {
    color: #dc2626;
    font-weight: bold;
    font-size: 1.1em;
    font-family: 'Impact', 'Arial Black', sans-serif;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .pie-chart-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .pie-chart {
        width: 320px;
        height: 320px;
    }
    
    .chart-container {
        padding: 30px 20px;
    }
    
    .chart-title {
        font-size: 1.5em;
    }
    
    .total-amount {
        font-size: 1em;
    }
    
    .total-price {
        font-size: 1.4em;
    }
}

@media (max-width: 480px) {
    .pie-chart {
        width: 280px;
        height: 280px;
    }
    
    .total-amount {
        font-size: 0.9em;
    }
    
    .total-price {
        font-size: 1.2em;
    }
}

.cost-table-wrapper {
    max-width: 900px;
    margin: 0 auto 50px;
    overflow-x: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    background: white;
    border: 3px solid #f1f5f9;
    position: relative;
    z-index: 2;
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 17px;
    overflow: hidden;
    font-family: 'Noto Sans KR', sans-serif;
}

.cost-table thead {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
}

.cost-table th {
    padding: 20px 15px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    border-right: 2px solid rgba(255,255,255,0.2);
    font-family: 'Impact', 'Arial Black', sans-serif;
    letter-spacing: 0.02em;
}

.cost-table th:last-child {
    border-right: none;
}

.cost-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #e5e7eb;
}

.cost-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.03), rgba(34, 197, 94, 0.03));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.cost-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.cost-table tbody tr:nth-child(even):hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(34, 197, 94, 0.05));
}

.cost-table td {
    padding: 18px 15px;
    text-align: center;
    border-right: 1px solid #e5e7eb;
    vertical-align: middle;
}

.cost-table td:last-child {
    border-right: none;
}

.item-name {
    font-weight: 700;
    color: #374151;
    font-size: 1.05em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    letter-spacing: 0.02em;
}

.cost-amount {
    font-weight: bold;
    color: #374151;
    font-size: 1.1em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    font-family: 'Impact', 'Arial Black', sans-serif;
}

.item-desc {
    color: #6b7280;
    font-size: 0.95em;
    line-height: 1.4;
}

.royalty-row {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 235, 59, 0.1)) !important;
}

.royalty-row .cost-amount {
    color: #374151;
    font-weight: bold;
}

.total-row {
    background: linear-gradient(135deg, #2e7d32, #4caf50) !important;
    color: white !important;
    font-size: 1.1em;
}

.total-row td {
    border-right: 1px solid rgba(255,255,255,0.3);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: bold;
    color: white !important;
}

.total-row .cost-amount {
    color: white;
    font-size: 1.3em;
    font-weight: bold;
}

.cost-highlight {
    max-width: 600px;
    margin: 0 auto 40px;
}

.highlight-box {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.1) 10px,
        rgba(255,255,255,0.1) 20px
    );
    animation: shine 3s linear infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.highlight-box h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.highlight-box p {
    font-size: 1.1em;
    margin: 0;
    position: relative;
    z-index: 1;
}

.highlight-price {
    font-size: 1.4em;
    font-weight: bold;
    color: #ffeb3b;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cost-note {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid #2e7d32;
}

.cost-note p {
    margin: 5px 0;
    color: #666;
    font-size: 0.9em;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .cost-table-wrapper {
        margin: 0 -20px 30px;
        border-radius: 0;
    }
    
    .cost-table {
        border-radius: 0;
        font-size: 0.9em;
    }
    
    .cost-table th,
    .cost-table td {
        padding: 12px 8px;
    }
    
    .item-desc {
        font-size: 0.85em;
    }
    
    .highlight-box {
        margin: 0 -10px;
        border-radius: 15px;
    }
}

/* 창업문의 섹션 */
.contact-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.contact-section .section-title {
    color: white;
}

.contact-description {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 50px;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    background: rgba(255,255,255,0.9);
}

.phone-input,
.email-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-input select,
.phone-input input {
    flex: 1;
}

.email-input input {
    flex: 2;
}

.email-input select {
    flex: 1;
}

.phone-input span,
.email-input span {
    color: white;
    font-weight: bold;
}

.submit-btn {
    width: 100%;
    background: #ff6b35;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

/* 푸터 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.company-info p {
    margin-bottom: 5px;
    font-size: 14px;
    opacity: 0.8;
}

.footer-menu {
    display: flex;
    gap: 20px;
}

.footer-menu a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-menu a:hover {
    color: #ff6b35;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    margin-bottom: 20px;
}

.copyright p {
    font-size: 12px;
    opacity: 0.6;
}

.franchise-contact-footer {
    text-align: center;
    font-size: 18px;
    background: #ff6b35;
    padding: 15px;
    border-radius: 10px;
}

.franchise-contact-footer strong {
    font-size: 22px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-nav .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-logo {
        width: 60px;
        height: 60px;
    }
    
    .logo h1 {
        font-size: 2.5em;
        letter-spacing: 0.3em;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .phone-input,
    .email-input {
        flex-direction: column;
        align-items: stretch;
    }
    
    .phone-input span,
    .email-input span {
        display: none;
    }
}

/* 애니메이션 효과 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item,
.stat-item {
    animation: fadeInUp 0.6s ease-out;
}

/* 스크롤 효과 */
html {
    scroll-behavior: smooth;
}

/* 포장마차 스타일 강조 */
.retro-border {
    border: 3px solid #ff6b35;
    border-radius: 10px;
    position: relative;
}

.retro-border::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 2px solid #f7931e;
    border-radius: 13px;
    z-index: -1;
}

/* ===== 레트로 원형 그래프 ===== */
.retro-chart-section {
    margin-bottom: 80px;
}

.chart-section-title {
    font-size: 2.8em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 
        3px 3px 0px #000,
        6px 6px 0px rgba(0,0,0,0.3);
    animation: chart-title-glow 3s ease-in-out infinite alternate;
}

@keyframes chart-title-glow {
    from { text-shadow: 3px 3px 0px #000, 6px 6px 0px rgba(0,0,0,0.3); }
    to { 
        text-shadow: 
            3px 3px 0px #000, 
            6px 6px 0px rgba(0,0,0,0.3),
            0 0 30px #ffd89b;
    }
}

.retro-chart-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: #000;
    border: 8px solid #fff;
    padding: 50px;
    box-shadow: 
        0 0 0 8px #000,
        0 0 0 16px #8360c3,
        0 30px 60px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.retro-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: chart-shine 5s infinite;
}

@keyframes chart-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.retro-pie-chart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 500px;
    height: 500px;
}

.retro-pie-chart svg {
    width: 100%;
    height: 100%;
    animation: chart-rotate 20s linear infinite;
}

@keyframes chart-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.retro-segment {
    cursor: pointer;
    transition: all 0.3s ease;
    animation: segment-pulse 4s ease-in-out infinite;
}

@keyframes segment-pulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

.retro-segment:hover {
    opacity: 1;
    filter: brightness(1.3) drop-shadow(0 0 20px currentColor);
}

/* 중앙 텍스트 */
.retro-chart-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 50%;
    border: 4px solid #ffd89b;
}

.center-label {
    font-size: 1.2em;
    color: #ffd89b;
    margin-bottom: 10px;
    font-weight: bold;
}

.center-amount {
    font-size: 1.8em;
    font-weight: bold;
    color: #fff;
    font-family: 'Impact', 'Arial Black', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

.center-sparkle {
    font-size: 1.5em;
    animation: sparkle-rotate 3s ease-in-out infinite;
}

@keyframes sparkle-rotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

/* 레트로 범례 */
.retro-legend {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.legend-item-retro {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.legend-item-retro:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffd89b;
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.legend-neon-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 20px currentColor;
    animation: dot-glow 2s ease-in-out infinite alternate;
}

@keyframes dot-glow {
    from { box-shadow: 0 0 20px currentColor; }
    to { box-shadow: 0 0 30px currentColor, 0 0 40px currentColor; }
}

.dot-1 { background: #8360c3; }
.dot-2 { background: #2ebf91; }
.dot-3 { background: #ffd89b; }
.dot-4 { background: #19547b; }

.legend-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.legend-name {
    font-weight: bold;
    color: #fff;
    font-size: 1.2em;
    font-family: 'Impact', 'Arial Black', sans-serif;
}

.legend-price {
    color: #ffd89b;
    font-size: 1.1em;
    font-weight: bold;
}

.legend-percent {
    color: #2ebf91;
    font-weight: bold;
    font-size: 1.3em;
    font-family: 'Impact', 'Arial Black', sans-serif;
}

/* ===== 레트로 비용 표 ===== */
.retro-table-section {
    margin-bottom: 80px;
}

.table-section-title {
    font-size: 2.8em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 
        3px 3px 0px #000,
        6px 6px 0px rgba(0,0,0,0.3);
    animation: table-title-wave 4s ease-in-out infinite;
}

@keyframes table-title-wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-1deg); }
    75% { transform: rotate(1deg); }
}

.retro-table-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: #000;
    border: 8px solid #fff;
    overflow: hidden;
    box-shadow: 
        0 0 0 8px #000,
        0 0 0 16px #2ebf91,
        0 30px 60px rgba(0,0,0,0.3);
    position: relative;
}

.retro-table-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: table-shine 6s infinite;
    z-index: 1;
}

@keyframes table-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.retro-cost-table {
    width: 100%;
    border-collapse: collapse;
    background: #000;
    color: #fff;
    font-family: 'Impact', 'Arial Black', sans-serif;
    position: relative;
    z-index: 2;
}

.retro-cost-table thead {
    background: linear-gradient(135deg, #8360c3, #2ebf91);
}

.retro-cost-table th {
    padding: 25px 20px;
    text-align: center;
    font-weight: bold;
    font-size: 1.3em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    border-right: 3px solid rgba(255,255,255,0.3);
    letter-spacing: 0.05em;
    animation: th-glow 3s ease-in-out infinite alternate;
}

@keyframes th-glow {
    from { text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
    to { 
        text-shadow: 
            2px 2px 4px rgba(0,0,0,0.5),
            0 0 20px #ffd89b;
    }
}

.retro-cost-table th:last-child {
    border-right: none;
}

.retro-cost-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 3px solid #333;
}

.retro-cost-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(131, 96, 195, 0.3), rgba(46, 191, 145, 0.3));
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.retro-cost-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}

.retro-cost-table td {
    padding: 20px;
    text-align: center;
    border-right: 2px solid #333;
    vertical-align: middle;
    font-size: 1.1em;
}

.retro-cost-table td:last-child {
    border-right: none;
}

.retro-item-name {
    font-weight: bold;
    color: #ffd89b;
    font-size: 1.2em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.retro-cost-amount {
    font-weight: bold;
    color: #2ebf91;
    font-size: 1.3em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: amount-pulse 3s ease-in-out infinite;
}

@keyframes amount-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.retro-item-desc {
    color: #ccc;
    font-size: 1em;
    line-height: 1.4;
}

.retro-royalty-row {
    background: linear-gradient(135deg, rgba(255, 216, 155, 0.2), rgba(25, 84, 123, 0.2)) !important;
    border: 2px solid #ffd89b;
}

.retro-total-row {
    background: linear-gradient(135deg, #8360c3, #2ebf91) !important;
    font-size: 1.2em;
    border: 4px solid #ffd89b;
}

.retro-total-row td {
    border-right: 2px solid rgba(255,255,255,0.3);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: bold;
    color: #fff !important;
    padding: 25px 20px;
}

.retro-total-row .retro-cost-amount {
    color: #ffd89b !important;
    font-size: 1.5em;
    animation: total-glow 2s ease-in-out infinite alternate;
}

@keyframes total-glow {
    from { 
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        transform: scale(1);
    }
    to { 
        text-shadow: 
            2px 2px 4px rgba(0,0,0,0.5),
            0 0 20px #ffd89b;
        transform: scale(1.05);
    }
}

/* 레트로 그래프와 표 반응형 디자인 */
@media (max-width: 768px) {
    .retro-chart-container {
        flex-direction: column;
        gap: 40px;
        padding: 30px;
    }
    
    .retro-pie-chart {
        width: 380px;
        height: 380px;
    }
    
    .chart-section-title {
        font-size: 2.2em;
    }
    
    .table-section-title {
        font-size: 2.2em;
    }
    
    .retro-cost-table th,
    .retro-cost-table td {
        padding: 15px 10px;
        font-size: 1em;
    }
    
    .retro-cost-table th {
        font-size: 1.1em;
    }
    
    .retro-item-name {
        font-size: 1.1em;
    }
    
    .retro-cost-amount {
        font-size: 1.2em;
    }
    
    .retro-total-row .retro-cost-amount {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .retro-pie-chart {
        width: 320px;
        height: 320px;
    }
    
    .retro-chart-container {
        padding: 20px;
    }
    
    .center-amount {
        font-size: 1.4em;
    }
    
    .center-label {
        font-size: 1em;
    }
}

/* ===== 특별 혜택 섹션 ===== */
.special-offer {
    margin: 60px 0;
}

.offer-banner {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    border: 8px solid #fff;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 0 8px #000,
        0 0 0 16px #ff6b6b,
        0 25px 50px rgba(0,0,0,0.3);
    animation: offer-glow 3s ease-in-out infinite alternate;
}

@keyframes offer-glow {
    from { box-shadow: 0 0 0 8px #000, 0 0 0 16px #ff6b6b, 0 25px 50px rgba(0,0,0,0.3); }
    to { 
        box-shadow: 
            0 0 0 8px #000, 
            0 0 0 16px #ff6b6b, 
            0 25px 50px rgba(0,0,0,0.3),
            0 0 40px #ff6b6b;
    }
}

.offer-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: offer-shine 4s infinite;
}

@keyframes offer-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.offer-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.offer-icon {
    font-size: 3em;
    animation: offer-icon-bounce 2s ease-in-out infinite;
}

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

.offer-title {
    font-size: 2.5em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #fff;
    text-shadow: 
        3px 3px 0px #000,
        6px 6px 10px rgba(0,0,0,0.5);
    margin: 0;
    animation: offer-title-glow 2s ease-in-out infinite alternate;
}

@keyframes offer-title-glow {
    from { text-shadow: 3px 3px 0px #000, 6px 6px 10px rgba(0,0,0,0.5); }
    to { 
        text-shadow: 
            3px 3px 0px #000, 
            6px 6px 10px rgba(0,0,0,0.5),
            0 0 30px #fff;
    }
}

.offer-content {
    position: relative;
    z-index: 2;
}

.offer-main-text {
    font-size: 1.4em;
    color: #fff;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.offer-price-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.offer-price {
    font-size: 2.2em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #ffeb3b;
    text-shadow: 
        3px 3px 0px #000,
        6px 6px 10px rgba(0,0,0,0.5);
    animation: offer-price-pulse 2s ease-in-out infinite;
}

@keyframes offer-price-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.offer-suffix {
    font-size: 1.4em;
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.offer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffeb3b;
    color: #000;
    padding: 8px 16px;
    font-size: 1em;
    font-weight: bold;
    font-family: 'Impact', 'Arial Black', sans-serif;
    transform: rotate(-15deg);
    box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
    animation: offer-badge-wiggle 3s ease-in-out infinite;
}

@keyframes offer-badge-wiggle {
    0%, 100% { transform: rotate(-15deg); }
    50% { transform: rotate(-10deg); }
}

/* ===== 하단 메시지 섹션 ===== */
.cost-footer {
    margin-top: 60px;
}

.footer-info {
    background: #000;
    border: 8px solid #fff;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 0 8px #000,
        0 0 0 16px #4facfe,
        0 25px 50px rgba(0,0,0,0.3);
}

.footer-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: footer-shine 5s infinite;
}

@keyframes footer-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.info-section {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.info-title {
    font-size: 1.8em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #4facfe;
    text-shadow: 
        2px 2px 0px #fff,
        4px 4px 10px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    animation: info-title-glow 3s ease-in-out infinite alternate;
}

@keyframes info-title-glow {
    from { text-shadow: 2px 2px 0px #fff, 4px 4px 10px rgba(0,0,0,0.3); }
    to { 
        text-shadow: 
            2px 2px 0px #fff, 
            4px 4px 10px rgba(0,0,0,0.3),
            0 0 20px #4facfe;
    }
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    font-size: 1.1em;
    color: #ccc;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.info-list li::before {
    content: '※';
    position: absolute;
    left: 0;
    color: #ffeb3b;
    font-weight: bold;
}

.contact-section {
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-cta {
    display: inline-block;
}

.cta-button {
    position: relative;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    animation: cta-gradient 3s ease infinite;
    padding: 20px 40px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    display: inline-block;
}

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

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.cta-text {
    font-size: 1.6em;
    font-weight: bold;
    color: #000;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
    position: relative;
    z-index: 2;
    font-family: 'Impact', 'Arial Black', sans-serif;
}

.cta-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: cta-glow-sweep 2s infinite;
}

@keyframes cta-glow-sweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .offer-banner {
        padding: 30px 20px;
    }
    
    .offer-title {
        font-size: 2em;
    }
    
    .offer-price {
        font-size: 1.8em;
    }
    
    .offer-main-text {
        font-size: 1.2em;
    }
    
    .offer-suffix {
        font-size: 1.2em;
    }
    
    .footer-info {
        padding: 30px 20px;
    }
    
    .info-title {
        font-size: 1.5em;
    }
    
    .info-list li {
        font-size: 1em;
    }
    
    .cta-text {
        font-size: 1.3em;
    }
    
    .cta-button {
        padding: 15px 30px;
    }
}

@media (max-width: 480px) {
    .offer-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .offer-title {
        font-size: 1.6em;
    }
    
    .offer-price {
        font-size: 1.5em;
    }
    
    .offer-price-box {
        flex-direction: column;
        gap: 5px;
    }
    
    .cta-text {
        font-size: 1.1em;
    }
}

/* ===== 가맹점 리뷰 섹션 ===== */
.retro-reviews-section {
    background: 
        linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 400% 400%;
    animation: reviews-gradient 18s ease infinite;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

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

/* 배경 패턴 효과 */
.retro-reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(0, 0, 0, 0.1) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 40px,
            rgba(255, 255, 255, 0.02) 40px,
            rgba(255, 255, 255, 0.02) 80px
        );
    z-index: 1;
    animation: reviews-pattern-move 30s linear infinite;
}

@keyframes reviews-pattern-move {
    from { transform: translateX(0px) translateY(0px); }
    to { transform: translateX(80px) translateY(80px); }
}

.retro-reviews-section .container {
    position: relative;
    z-index: 2;
}

/* 메인 타이틀 */
.retro-reviews-title {
    text-align: center;
    margin-bottom: 80px;
}

.reviews-main-title {
    font-size: 4.5em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #fff;
    text-shadow: 
        4px 4px 0px #000,
        8px 8px 0px rgba(0,0,0,0.3),
        12px 12px 25px rgba(0,0,0,0.5);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    animation: reviews-title-glow 4s ease-in-out infinite alternate;
}

@keyframes reviews-title-glow {
    from { 
        text-shadow: 
            4px 4px 0px #000,
            8px 8px 0px rgba(0,0,0,0.3),
            12px 12px 25px rgba(0,0,0,0.5);
    }
    to { 
        text-shadow: 
            4px 4px 0px #000,
            8px 8px 0px rgba(0,0,0,0.3),
            12px 12px 25px rgba(0,0,0,0.5),
            0 0 40px #fff,
            0 0 80px #4facfe;
    }
}

.reviews-subtitle {
    font-size: 1.8em;
    color: #ffeb3b;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    animation: reviews-subtitle-bounce 3s ease-in-out infinite;
}

@keyframes reviews-subtitle-bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* 리뷰 컨테이너 */
.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 80px;
}

/* 리뷰 이미지 갤러리 */
.reviews-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.review-image-card {
    position: relative;
    overflow: hidden;
    border: 8px solid #000;
    border-radius: 20px;
    box-shadow: 15px 15px 0px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.review-image-card:hover {
    transform: translateY(-10px) rotate(-2deg) scale(1.05);
    box-shadow: 20px 20px 0px rgba(0,0,0,0.4);
}

.review-image-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.review-image-card:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 30px 20px 20px;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.review-image-card:hover .image-overlay {
    transform: translateY(0);
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000;
    padding: 8px 16px;
    font-size: 0.9em;
    font-weight: bold;
    border: 3px solid #fff;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: badge-float 3s ease-in-out infinite;
    font-family: 'Impact', 'Arial Black', sans-serif;
}

@keyframes badge-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.image-caption {
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0;
    font-family: 'Impact', 'Arial Black', sans-serif;
    text-shadow: 
        2px 2px 4px rgba(0,0,0,0.8);
}

/* 각 카드별 개성있는 색상 */
.card-success { 
    border-color: #4ecdc4; 
    box-shadow: 15px 15px 0px #4ecdc4;
}
.card-profit { 
    border-color: #ff6b6b; 
    box-shadow: 15px 15px 0px #ff6b6b;
}
.card-growth { 
    border-color: #45b7d1; 
    box-shadow: 15px 15px 0px #45b7d1;
}

.card-success:hover { box-shadow: 25px 25px 0px #4ecdc4; }
.card-profit:hover { box-shadow: 25px 25px 0px #ff6b6b; }
.card-growth:hover { box-shadow: 25px 25px 0px #45b7d1; }

/* 리뷰 헤더 */
.review-header {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-bottom: 4px solid #000;
}

.review-photo {
    position: relative;
    flex-shrink: 0;
}

.owner-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #000;
    object-fit: cover;
    animation: photo-glow 3s ease-in-out infinite alternate;
}

@keyframes photo-glow {
    from { box-shadow: 0 0 10px rgba(0,0,0,0.3); }
    to { box-shadow: 0 0 20px rgba(0,0,0,0.5), 0 0 30px currentColor; }
}

.photo-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #000;
    color: #fff;
    padding: 4px 8px;
    font-size: 0.7em;
    font-weight: bold;
    border-radius: 50px;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.card-success .photo-badge { background: #4ecdc4; color: #000; }
.card-profit .photo-badge { background: #ff6b6b; }
.card-growth .photo-badge { background: #45b7d1; }

.review-info {
    flex-grow: 1;
}

.owner-name {
    font-size: 1.8em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #000;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.store-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.store-location,
.open-period {
    font-size: 0.9em;
    color: #666;
    font-weight: bold;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    font-size: 1.2em;
    animation: stars-twinkle 2s ease-in-out infinite;
}

@keyframes stars-twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.rating-text {
    font-size: 0.9em;
    font-weight: bold;
    color: #f39c12;
}

/* 리뷰 컨텐츠 */
.review-content {
    padding: 30px;
    position: relative;
    background: #fff;
}

.review-quote {
    font-size: 4em;
    color: #ddd;
    font-family: serif;
    line-height: 0.8;
    position: absolute;
}

.review-quote:first-child {
    top: 10px;
    left: 20px;
}

.review-quote:last-child {
    bottom: 10px;
    right: 20px;
    transform: rotate(180deg);
}

.review-text {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
    margin: 20px 0;
    position: relative;
    z-index: 2;
}

.review-text strong {
    color: #e74c3c;
    font-weight: bold;
}

/* 리뷰 하이라이트 */
.review-highlight {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background: #000;
    border-top: 4px solid #fff;
}

.highlight-item {
    text-align: center;
    color: #fff;
}

.highlight-label {
    display: block;
    font-size: 0.9em;
    margin-bottom: 5px;
    opacity: 0.8;
}

.highlight-value {
    display: block;
    font-size: 1.8em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-weight: bold;
    animation: highlight-pulse 3s ease-in-out infinite;
}

@keyframes highlight-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.card-success .highlight-value { color: #4ecdc4; }
.card-profit .highlight-value { color: #ff6b6b; }
.card-growth .highlight-value { color: #45b7d1; }

/* 리뷰 푸터 */
.reviews-footer {
    text-align: center;
}

.footer-message {
    background: #000;
    border: 8px solid #fff;
    padding: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 0 8px #000,
        0 0 0 16px #ffeb3b,
        0 30px 60px rgba(0,0,0,0.3);
}

.footer-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: footer-message-shine 5s infinite;
}

@keyframes footer-message-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.message-icon {
    font-size: 4em;
    margin-bottom: 20px;
    animation: message-icon-bounce 2s ease-in-out infinite;
}

@keyframes message-icon-bounce {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
}

.footer-message h3 {
    font-size: 2.5em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #4facfe;
    text-shadow: 
        3px 3px 0px #fff,
        6px 6px 10px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    animation: footer-message-title-glow 3s ease-in-out infinite alternate;
}

@keyframes footer-message-title-glow {
    from { text-shadow: 3px 3px 0px #fff, 6px 6px 10px rgba(0,0,0,0.3); }
    to { 
        text-shadow: 
            3px 3px 0px #fff, 
            6px 6px 10px rgba(0,0,0,0.3),
            0 0 30px #4facfe;
    }
}

.footer-message p {
    font-size: 1.4em;
    color: #ccc;
    margin-bottom: 40px;
    line-height: 1.5;
}

/* 성공 통계 */
.success-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    display: block;
    font-size: 3.5em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #ffeb3b;
    text-shadow: 
        3px 3px 0px #000,
        6px 6px 10px rgba(0,0,0,0.5);
    margin-bottom: 10px;
    animation: stat-number-pulse 2s ease-in-out infinite;
}

@keyframes stat-number-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.stat-label {
    display: block;
    font-size: 1.1em;
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .reviews-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .reviews-main-title {
        font-size: 3.5em;
    }
    
    .success-stats {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .retro-reviews-section {
        padding: 60px 0;
    }
    
    .reviews-main-title {
        font-size: 2.8em;
    }
    
    .reviews-subtitle {
        font-size: 1.4em;
    }
    
    .review-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .review-content {
        padding: 25px;
    }
    
    .review-highlight {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-message {
        padding: 40px 30px;
    }
    
    .footer-message h3 {
        font-size: 2em;
    }
    
    .success-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.8em;
    }
}

@media (max-width: 480px) {
    .reviews-main-title {
        font-size: 2.2em;
    }
    
    .reviews-subtitle {
        font-size: 1.2em;
    }
    
    .review-card {
        border-width: 6px;
        box-shadow: 10px 10px 0px rgba(0,0,0,0.3);
    }
    
    .review-card:hover {
        box-shadow: 15px 15px 0px currentColor;
    }
    
    .owner-name {
        font-size: 1.5em;
    }
    
    .review-text {
        font-size: 1em;
    }
    
    .highlight-value {
        font-size: 1.5em;
    }
    
    .footer-message h3 {
        font-size: 1.6em;
    }
    
    .footer-message p {
        font-size: 1.2em;
    }
    
    .stat-number {
        font-size: 2.2em;
    }
}

/* ===== 새로운 흘러가는 메뉴 섹션 ===== */
.retro-menu-section {
    background-image: url('https://i.ibb.co/NnkZ0mWs/7.jpg');
    background-size: 400px auto;
    background-position: 0 0;
    background-attachment: fixed;
    background-repeat: repeat;
    padding: 150px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.retro-menu-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.3) 0%, rgba(238, 90, 36, 0.3) 25%, rgba(254, 202, 87, 0.3) 50%, rgba(72, 202, 158, 0.3) 75%, rgba(10, 189, 227, 0.3) 100%);
    background-size: 400% 400%;
    animation: menu-gradient 20s ease infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes menu-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 배경 패턴 효과 */
.retro-menu-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 0, 0, 0.1) 0%, transparent 50%),
        repeating-conic-gradient(
            from 0deg at 50% 50%,
            transparent 0deg,
            rgba(255, 255, 255, 0.05) 15deg,
            transparent 30deg
        );
    animation: menu-pattern-rotate 30s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes menu-pattern-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.retro-menu-section .container {
    position: relative;
    z-index: 3;
}

/* 메인 타이틀 */
.retro-menu-title {
    text-align: center;
    margin-bottom: 80px;
}

.menu-title-wrapper {
    position: relative;
}

.menu-main-title {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 4.5em;
    font-weight: 900;
    color: #fff;
    text-shadow: 
        4px 4px 0px #000,
        8px 8px 0px rgba(0,0,0,0.3),
        0 0 30px rgba(255,255,255,0.8);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    animation: menu-title-glow 3s ease-in-out infinite alternate;
}

@keyframes menu-title-glow {
    0% { text-shadow: 4px 4px 0px #000, 8px 8px 0px rgba(0,0,0,0.3), 0 0 30px rgba(255,255,255,0.8); }
    100% { text-shadow: 4px 4px 0px #000, 8px 8px 0px rgba(0,0,0,0.3), 0 0 50px rgba(255,255,255,1), 0 0 80px rgba(255,107,107,0.8); }
}

.menu-subtitle {
    font-family: 'Comic Sans MS', cursive;
    font-size: 1.6em;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    animation: menu-subtitle-bounce 2s ease-in-out infinite;
}

@keyframes menu-subtitle-bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* 흘러가는 메뉴 컨테이너 */
.flowing-menu-container {
    width: 100%;
    overflow: hidden;
    margin: 60px 0;
    position: relative;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 40px 0;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.flowing-menu-track {
    display: flex;
    width: calc(320px * 12); /* 12개 아이템 * 320px */
    animation: menu-flow 25s linear infinite;
    gap: 20px;
}

@keyframes menu-flow {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-320px * 8)); } /* 8개 아이템만큼 이동 */
}

/* 메뉴 아이템 스타일 */
.flowing-item {
    flex-shrink: 0;
    width: 300px;
    background: linear-gradient(145deg, #fff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.8);
    border: 3px solid #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.flowing-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.flowing-item:hover::before {
    animation: item-shine 0.6s ease-in-out;
}

@keyframes item-shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); opacity: 0; }
}

.flowing-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.8),
        0 0 30px rgba(255,107,107,0.5);
}

.flowing-item .item-image {
    width: 100%;
    height: 180px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
    background: #f8f9fa;
}

.flowing-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.flowing-item:hover .item-image img {
    transform: scale(1.1);
}

.flowing-item .item-info {
    text-align: center;
}

.flowing-item .item-name {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 1.4em;
    color: #2d3748;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    animation: item-name-glow 3s ease-in-out infinite alternate;
}

@keyframes item-name-glow {
    0% { color: #2d3748; }
    100% { color: #e53e3e; text-shadow: 1px 1px 2px rgba(0,0,0,0.1), 0 0 10px rgba(229,62,62,0.3); }
}

.flowing-item .item-desc {
    font-size: 0.95em;
    color: #718096;
    line-height: 1.4;
    font-weight: 500;
}

/* 하단 배너 */
.menu-footer {
    margin-top: 80px;
    position: relative;
    z-index: 2;
}

.footer-banner {
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 50px 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: footer-banner-shine 6s ease-in-out infinite;
}

@keyframes footer-banner-shine {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-icon {
    font-size: 4em;
    margin-bottom: 20px;
    display: block;
    animation: banner-icon-bounce 2s ease-in-out infinite;
}

@keyframes banner-icon-bounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(15deg); }
}

.footer-banner-title {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 2.8em;
    color: #fff;
    text-shadow: 
        3px 3px 0px #000,
        6px 6px 0px rgba(0,0,0,0.3),
        0 0 30px rgba(255,255,255,0.8);
    margin-bottom: 30px;
    animation: footer-banner-title-glow 3s ease-in-out infinite alternate;
}

@keyframes footer-banner-title-glow {
    0% { 
        text-shadow: 
            3px 3px 0px #000,
            6px 6px 0px rgba(0,0,0,0.3),
            0 0 30px rgba(255,255,255,0.8); 
    }
    100% { 
        text-shadow: 
            3px 3px 0px #000,
            6px 6px 0px rgba(0,0,0,0.3),
            0 0 50px rgba(255,255,255,1),
            0 0 80px rgba(255,215,0,0.8); 
    }
}

.banner-message {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.message-line {
    font-family: 'Comic Sans MS', cursive;
    font-size: 1.8em;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin-bottom: 20px;
    animation: message-line-glow 3s ease-in-out infinite alternate;
}

@keyframes message-line-glow {
    0% { 
        color: #ffd700;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    }
    100% { 
        color: #fff;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8), 0 0 20px rgba(255,215,0,0.8);
    }
}

.message-highlight {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 2.2em;
    color: #fff;
    text-shadow: 
        3px 3px 0px #000,
        6px 6px 0px rgba(0,0,0,0.3),
        0 0 30px rgba(255,255,255,0.8);
    margin-bottom: 25px;
    line-height: 1.3;
    animation: message-highlight-pulse 2s ease-in-out infinite;
}

@keyframes message-highlight-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.message-description {
    font-family: 'Malgun Gothic', '맑은 고딕', sans-serif;
    font-size: 1.4em;
    color: #f8f9fa;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 500;
    animation: message-description-fade 4s ease-in-out infinite alternate;
}

@keyframes message-description-fade {
    0% { opacity: 0.9; }
    100% { opacity: 1; }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .retro-menu-section {
        padding: 100px 0 60px 0;
        background-attachment: scroll;
    }
    
    .menu-main-title {
        font-size: 3em;
    }
    
    .menu-subtitle {
        font-size: 1.3em;
    }
    
    .flowing-menu-container {
        margin: 40px 0;
        padding: 30px 0;
    }
    
    .flowing-menu-track {
        width: calc(280px * 12);
        animation: menu-flow-mobile 20s linear infinite;
    }
    
    @keyframes menu-flow-mobile {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-280px * 8)); }
    }
    
    .flowing-item {
        width: 260px;
        padding: 15px;
    }
    
    .flowing-item .item-image {
        height: 150px;
    }
    
    .flowing-item .item-name {
        font-size: 1.2em;
    }
    
    .flowing-item .item-desc {
        font-size: 0.9em;
    }
    
    .footer-banner {
        padding: 30px 20px;
    }
    
    .footer-banner-title {
        font-size: 2em;
    }
    
    .message-line {
        font-size: 1.4em;
    }
    
    .message-highlight {
        font-size: 1.8em;
    }
    
    .message-description {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .menu-main-title {
        font-size: 2.2em;
    }
    
    .menu-subtitle {
        font-size: 1.1em;
    }
    
    .flowing-item {
        width: 220px;
    }
    
    .flowing-menu-track {
        width: calc(240px * 12);
        animation: menu-flow-small 18s linear infinite;
    }
    
    @keyframes menu-flow-small {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-240px * 8)); }
    }
    
    .footer-banner-title {
        font-size: 1.6em;
    }
    
    .message-line {
        font-size: 1.2em;
    }
    
    .message-highlight {
        font-size: 1.5em;
        line-height: 1.4;
    }
    
    .message-description {
        font-size: 1.1em;
        line-height: 1.5;
    }
}

.menu-main-title {
    font-size: 5em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #fff;
    text-shadow: 
        5px 5px 0px #000,
        10px 10px 0px rgba(0,0,0,0.3),
        15px 15px 30px rgba(0,0,0,0.5);
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    animation: menu-title-glow 4s ease-in-out infinite alternate;
}

@keyframes menu-title-glow {
    from { 
        text-shadow: 
            5px 5px 0px #000,
            10px 10px 0px rgba(0,0,0,0.3),
            15px 15px 30px rgba(0,0,0,0.5);
    }
    to { 
        text-shadow: 
            5px 5px 0px #000,
            10px 10px 0px rgba(0,0,0,0.3),
            15px 15px 30px rgba(0,0,0,0.5),
            0 0 50px #fff,
            0 0 100px #feca57;
    }
}

.menu-subtitle {
    font-size: 1.8em;
    color: #feca57;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    animation: menu-subtitle-bounce 3s ease-in-out infinite;
}

@keyframes menu-subtitle-bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* 메뉴 컨테이너 */
.menu-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

/* 메뉴 카테고리 */
.menu-category {
    background: #000;
    border: 8px solid #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 0 8px #000,
        0 0 0 16px #feca57,
        0 30px 60px rgba(0,0,0,0.3);
}

.menu-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: category-shine 6s infinite;
}

@keyframes category-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 카테고리 헤더 */
.category-header {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    border-bottom: 6px solid #fff;
}

.category-icon {
    font-size: 3em;
    animation: category-icon-bounce 3s ease-in-out infinite;
}

@keyframes category-icon-bounce {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(-10deg) scale(1.1); }
}

.category-title {
    font-size: 3em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #fff;
    text-shadow: 
        4px 4px 0px #000,
        8px 8px 15px rgba(0,0,0,0.5);
    margin: 0;
    animation: category-title-glow 3s ease-in-out infinite alternate;
}

@keyframes category-title-glow {
    from { text-shadow: 4px 4px 0px #000, 8px 8px 15px rgba(0,0,0,0.5); }
    to { 
        text-shadow: 
            4px 4px 0px #000, 
            8px 8px 15px rgba(0,0,0,0.5),
            0 0 30px #fff;
    }
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff;
    color: #000;
    padding: 8px 16px;
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-weight: bold;
    font-size: 0.9em;
    transform: rotate(-15deg);
    box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
    animation: category-badge-wiggle 4s ease-in-out infinite;
}

@keyframes category-badge-wiggle {
    0%, 100% { transform: rotate(-15deg); }
    50% { transform: rotate(-10deg); }
}

/* 메뉴 아이템들 */
.menu-items {
    padding: 40px;
    background: #fff;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.menu-item {
    background: #fff;
    border: 6px solid #000;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 12px 12px 0px rgba(0,0,0,0.3);
}

.menu-item:hover {
    transform: translateY(-10px) rotate(-1deg) scale(1.03);
    box-shadow: 20px 20px 0px currentColor;
}

/* 각 아이템별 개성있는 색상 */
.item-signature { 
    border-color: #ff6b6b; 
    box-shadow: 12px 12px 0px #ff6b6b;
}
.item-popular { 
    border-color: #feca57; 
    box-shadow: 12px 12px 0px #feca57;
}
.item-special { 
    border-color: #48ca9e; 
    box-shadow: 12px 12px 0px #48ca9e;
}
.item-combo { 
    border-color: #0abde3; 
    box-shadow: 12px 12px 0px #0abde3;
}
.item-premium { 
    border-color: #9c88ff; 
    box-shadow: 12px 12px 0px #9c88ff;
}
.item-crispy { 
    border-color: #ffa502; 
    box-shadow: 12px 12px 0px #ffa502;
}
.item-deluxe { 
    border-color: #ff3838; 
    box-shadow: 12px 12px 0px #ff3838;
}

.item-signature:hover { box-shadow: 20px 20px 0px #ff6b6b; }
.item-popular:hover { box-shadow: 20px 20px 0px #feca57; }
.item-special:hover { box-shadow: 20px 20px 0px #48ca9e; }
.item-combo:hover { box-shadow: 20px 20px 0px #0abde3; }
.item-premium:hover { box-shadow: 20px 20px 0px #9c88ff; }
.item-crispy:hover { box-shadow: 20px 20px 0px #ffa502; }
.item-deluxe:hover { box-shadow: 20px 20px 0px #ff3838; }

/* 아이템 이미지 */
.item-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-item:hover .item-image img {
    transform: scale(1.1);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 60%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 15px;
}

.overlay-badge {
    background: #000;
    color: #fff;
    padding: 6px 12px;
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-weight: bold;
    font-size: 0.8em;
    transform: rotate(-15deg);
    box-shadow: 3px 3px 10px rgba(0,0,0,0.5);
    animation: overlay-badge-pulse 3s ease-in-out infinite;
}

@keyframes overlay-badge-pulse {
    0%, 100% { transform: rotate(-15deg) scale(1); }
    50% { transform: rotate(-10deg) scale(1.05); }
}

.item-signature .overlay-badge { background: #ff6b6b; color: #fff; }
.item-popular .overlay-badge { background: #feca57; color: #000; }
.item-special .overlay-badge { background: #48ca9e; color: #fff; }
.item-combo .overlay-badge { background: #0abde3; color: #fff; }
.item-premium .overlay-badge { background: #9c88ff; color: #fff; }
.item-crispy .overlay-badge { background: #ffa502; color: #fff; }
.item-deluxe .overlay-badge { background: #ff3838; color: #fff; }

/* 아이템 정보 */
.item-info {
    padding: 25px;
    text-align: center;
}

.item-name {
    font-size: 1.8em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #000;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    animation: item-name-glow 4s ease-in-out infinite alternate;
}

@keyframes item-name-glow {
    from { text-shadow: 1px 1px 2px rgba(0,0,0,0.1); }
    to { text-shadow: 1px 1px 2px rgba(0,0,0,0.1), 0 0 10px currentColor; }
}

.item-desc {
    font-size: 1em;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.item-price {
    font-size: 1.6em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-weight: bold;
    color: #e74c3c;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: item-price-pulse 3s ease-in-out infinite;
}

@keyframes item-price-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* 메뉴 푸터 */
.menu-footer {
    text-align: center;
    margin-top: 60px;
}

.footer-banner {
    background: #000;
    border: 8px solid #fff;
    padding: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 0 8px #000,
        0 0 0 16px #48ca9e,
        0 30px 60px rgba(0,0,0,0.3);
}

.footer-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: footer-banner-shine 5s infinite;
}

@keyframes footer-banner-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.banner-icon {
    font-size: 4em;
    margin-bottom: 20px;
    animation: banner-icon-dance 3s ease-in-out infinite;
}

@keyframes banner-icon-dance {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-5deg) scale(1.1); }
    75% { transform: rotate(5deg) scale(1.1); }
}

.footer-banner h3 {
    font-size: 2.5em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #48ca9e;
    text-shadow: 
        3px 3px 0px #fff,
        6px 6px 10px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    animation: footer-banner-title-glow 3s ease-in-out infinite alternate;
}

@keyframes footer-banner-title-glow {
    from { text-shadow: 3px 3px 0px #fff, 6px 6px 10px rgba(0,0,0,0.3); }
    to { 
        text-shadow: 
            3px 3px 0px #fff, 
            6px 6px 10px rgba(0,0,0,0.3),
            0 0 30px #48ca9e;
    }
}

.footer-banner p {
    font-size: 1.4em;
    color: #ccc;
    margin-bottom: 40px;
    line-height: 1.5;
}

/* 메뉴 특징들 */
.menu-features {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    font-size: 2.5em;
    animation: feature-icon-float 4s ease-in-out infinite;
}

@keyframes feature-icon-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.feature-text {
    font-size: 1.2em;
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .menu-container {
        gap: 60px;
    }
    
    .menu-main-title {
        font-size: 4em;
    }
    
    .menu-items {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .menu-features {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .retro-menu-section {
        padding: 60px 0;
        background-attachment: scroll;
    }
    
    .menu-main-title {
        font-size: 3em;
    }
    
    .menu-subtitle {
        font-size: 1.4em;
    }
    
    .category-header {
        flex-direction: column;
        gap: 15px;
        padding: 25px;
    }
    
    .category-title {
        font-size: 2.5em;
    }
    
    .menu-items {
        padding: 30px;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-banner {
        padding: 40px 30px;
    }
    
    .footer-banner h3 {
        font-size: 2em;
    }
    
    .menu-features {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .menu-main-title {
        font-size: 2.2em;
    }
    
    .menu-subtitle {
        font-size: 1.2em;
    }
    
    .menu-category {
        border-width: 6px;
    }
    
    .menu-item {
        border-width: 4px;
        box-shadow: 8px 8px 0px rgba(0,0,0,0.3);
    }
    
    .menu-item:hover {
        box-shadow: 12px 12px 0px currentColor;
    }
    
    .item-image {
        height: 150px;
    }
    
    .item-info {
        padding: 20px;
    }
    
    .item-name {
        font-size: 1.5em;
    }
    
    .item-price {
        font-size: 1.4em;
    }
    
    .footer-banner h3 {
        font-size: 1.6em;
    }
    
    .footer-banner p {
        font-size: 1.2em;
    }
    
    .feature-icon {
        font-size: 2em;
    }
    
    .feature-text {
        font-size: 1em;
    }
}

/* ===== 전체 모바일 반응형 개선 ===== */

/* 헤더 모바일 최적화 */
@media (max-width: 768px) {
    .main-header {
        padding: 15px 20px;
        height: auto;
        min-height: 120px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-section {
        justify-content: center;
    }
    
    .logo-image {
        width: 60px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 2em;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .main-nav a {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}

/* 히어로 섹션 모바일 */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .video-background iframe {
        width: 150vw;
        height: 266.67vw; /* 세로형 비디오를 위한 조정 */
        min-height: 150vh;
        min-width: 84.375vh;
        object-position: center;
    }
    
    .hero-title {
        font-size: 2.5em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
        margin-bottom: 30px;
    }
}

/* 브랜드 스토리 모바일 */
@media (max-width: 768px) {
    .retro-brand-section {
        padding: 60px 0 120px 0; /* 모바일에서도 하단 패딩 더 증가 */
        background-attachment: scroll;
        background-size: 300px auto;
        overflow: visible;
    }
    
    .brand-main-title {
        font-size: 2.5em;
    }
    
    .brand-subtitle {
        font-size: 1.1em;
    }
    
    .story-cards {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .story-card {
        min-height: 90px;
    }
    
    .brand-slider-container {
        margin: 40px 20px 80px 20px; /* 모바일에서도 하단 마진 증가 */
        z-index: 10;
    }
    
    .brand-slider {
        z-index: 10;
    }
    
    .story-footer-text {
        padding: 30px 15px;
    }
    
    .story-footer-text h3 {
        font-size: 1.8em;
    }
    
    .story-footer-text p {
        font-size: 1.1em;
    }
}

/* 메뉴 섹션 모바일 */
@media (max-width: 768px) {
    .retro-menu-section {
        padding: 100px 0 60px 0; /* 모바일에서도 상단 패딩 증가 */
        background-attachment: scroll;
    }
    
    .menu-main-title {
        font-size: 2.5em;
    }
    
    .menu-subtitle {
        font-size: 1.1em;
    }
    
    .menu-categories {
        gap: 40px;
    }
    
    .menu-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .menu-item {
        min-height: 200px;
    }
    
    .item-name {
        font-size: 1.1em;
    }
    
    .item-desc {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .menu-items {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .menu-item {
        min-height: 180px;
    }
}

/* 수익성 섹션 모바일 */
@media (max-width: 768px) {
    .retro-profit-section {
        padding: 80px 0; /* 모바일에서도 상단 패딩 증가 */
    }
    
    .profit-main-title {
        font-size: 2.5em;
    }
    
    .profit-hero-box {
        padding: 0; /* 패딩 제거하고 내부 콘텐츠로 조정 */
        min-height: 250px; /* 모바일에서도 충분한 높이 */
    }
    
    .profit-number-display {
        padding: 50px 20px 40px; /* 모바일에서 패딩 조정 */
        min-height: 230px;
    }
    
    .profit-flame-decoration {
        top: 10px; /* 모바일에서 불꽃 위치 조정 */
    }
    
    .flame {
        font-size: 2em; /* 모바일에서 불꽃 크기 조정 */
    }
    
    .profit-big-number {
        font-size: 4em;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .advantage-card {
        padding: 25px 15px;
        min-height: 220px;
    }
    
    .card-icon {
        font-size: 2.5em;
        margin-bottom: 12px;
    }
    
    .card-title {
        font-size: 1.15em;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .card-desc {
        font-size: 0.88em;
        line-height: 1.4;
    }
    
    .advantage-card h4 {
        font-size: 1em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .advantage-card p {
        font-size: 0.85em;
        line-height: 1.4;
    }
    
    .calc-section {
        padding: 30px 20px;
    }
    
    .calc-amount {
        font-size: 1.6em;
    }
    
    .calc-amount.highlight {
        font-size: 2em;
    }
}

/* 가맹 프로세스 모바일 */
@media (max-width: 768px) {
    .retro-franchise-section {
        padding: 60px 0;
    }
    
    .franchise-main-title {
        font-size: 2.5em;
    }
    
    .title-wrapper {
        gap: 5px;
    }
    
    .floating-logo {
        width: 200px;
        height: 200px;
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .process-card {
        padding: 20px 15px;
        min-height: 250px;
    }
    
    .card-number {
        font-size: 1.8em;
        width: 50px;
        height: 50px;
        top: -8px;
        left: -8px;
    }
    
    .card-title {
        font-size: 1.2em;
    }
    
    .card-desc {
        font-size: 0.9em;
    }
    
    .card-highlight {
        top: 12px;
        right: 12px;
        bottom: auto;
        font-size: 0.7em;
        padding: 5px 10px;
    }
}

/* 창업비용 섹션 모바일 */
@media (max-width: 768px) {
    .retro-cost-section {
        padding: 60px 0;
    }
    
    .cost-main-title {
        font-size: 2.5em;
    }
    
    .retro-chart-section,
    .retro-table-section {
        margin: 30px auto;
    }
    
    .retro-chart-container,
    .retro-table-wrapper {
        margin: 20px auto;
        max-width: calc(100% - 30px);
        padding: 25px 20px;
        border: 5px solid #fff;
        box-shadow: 
            0 0 0 5px #000,
            0 0 0 10px #8360c3,
            0 20px 40px rgba(0,0,0,0.3);
    }
    
    .retro-table-wrapper {
        box-shadow: 
            0 0 0 5px #000,
            0 0 0 10px #2ebf91,
            0 20px 40px rgba(0,0,0,0.3);
    }
    
    .retro-pie-chart {
        width: 400px;
        height: 400px;
    }
    
    .retro-legend {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .legend-item-retro {
        padding: 15px;
        gap: 15px;
    }
    
    .legend-item-retro:hover {
        transform: translateY(-5px);
    }
    
    .legend-neon-dot {
        width: 25px;
        height: 25px;
    }
    
    .legend-name {
        font-size: 1.1em;
    }
    
    .legend-price {
        font-size: 1em;
    }
    
    .legend-percent {
        font-size: 1.2em;
    }
    
    .retro-cost-table {
        font-size: 0.9em;
    }
    
    .retro-cost-table th,
    .retro-cost-table td {
        padding: 10px 6px;
    }
    
    .offer-content {
        padding: 25px 20px;
    }
    
    .offer-price {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .retro-cost-section {
        padding: 50px 0;
    }
    
    .cost-main-title {
        font-size: 2em;
    }
    
    .cost-subtitle {
        font-size: 1em;
    }
    
    .chart-section-title,
    .table-section-title {
        font-size: 1.4em;
        margin-bottom: 20px;
    }
    
    .retro-chart-container,
    .retro-table-wrapper {
        margin: 20px auto;
        max-width: calc(100% - 20px);
        padding: 20px 15px;
        border: 4px solid #fff;
        box-shadow: 
            0 0 0 4px #000,
            0 0 0 8px #8360c3,
            0 15px 30px rgba(0,0,0,0.3);
    }
    
    .retro-table-wrapper {
        box-shadow: 
            0 0 0 4px #000,
            0 0 0 8px #2ebf91,
            0 15px 30px rgba(0,0,0,0.3);
    }
    
    .retro-pie-chart {
        width: 280px;
        height: 280px;
    }
    
    .center-amount {
        font-size: 1.2em;
    }
    
    .center-label {
        font-size: 0.9em;
    }
    
    .retro-legend {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .legend-item-retro {
        padding: 12px 10px;
        gap: 10px;
        flex-direction: column;
        text-align: center;
    }
    
    .legend-item-retro:hover {
        transform: translateY(-3px);
    }
    
    .legend-neon-dot {
        width: 20px;
        height: 20px;
        margin: 0 auto;
    }
    
    .legend-content {
        gap: 3px;
        align-items: center;
    }
    
    .legend-name {
        font-size: 0.95em;
    }
    
    .legend-price {
        font-size: 0.85em;
    }
    
    .legend-percent {
        font-size: 1em;
    }
    
    .retro-cost-table {
        font-size: 0.8em;
    }
    
    .retro-cost-table th,
    .retro-cost-table td {
        padding: 8px 4px;
    }
    
    .retro-item-name {
        font-size: 0.95em;
    }
    
    .retro-cost-amount {
        font-size: 0.9em;
        white-space: nowrap;
    }
    
    .retro-item-desc {
        font-size: 0.75em;
        line-height: 1.2;
    }
    
    .retro-total-row .retro-cost-amount,
    .retro-total-row .retro-item-desc {
        font-size: 0.8em;
        white-space: nowrap;
    }
    
    .offer-header {
        font-size: 1.3em;
    }
    
    .offer-price {
        font-size: 1.6em;
    }
    
    .offer-content {
        padding: 20px 15px;
    }
}

/* 리뷰 섹션 모바일 */
@media (max-width: 768px) {
    .retro-reviews-section {
        padding: 60px 0;
    }
    
    .reviews-main-title {
        font-size: 2.5em;
    }
    
    .reviews-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .review-image-card {
        border: 6px solid #000;
    }
    
    .review-image-card img {
        height: 250px;
    }
    
    .image-badge {
        top: 15px;
        right: 15px;
        padding: 6px 12px;
        font-size: 0.8em;
    }
    
    .image-caption {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .reviews-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-image-card img {
        height: 280px;
    }
}

/* 연락처 섹션 모바일 */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 20px;
    }
    
    .contact-title {
        font-size: 2.5em;
    }
    
    .contact-info {
        gap: 20px;
    }
    
    .info-item {
        padding: 20px 15px;
    }
    
    .info-icon {
        font-size: 2em;
    }
    
    .info-text {
        font-size: 1em;
    }
}

/* 공통 모바일 스타일 */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* 모든 메인 타이틀 */
    .brand-main-title,
    .menu-main-title,
    .profit-main-title,
    .franchise-main-title,
    .cost-main-title,
    .reviews-main-title,
    .contact-title {
        font-size: 2em !important;
        margin-bottom: 15px;
    }
    
    /* 모든 서브타이틀 */
    .brand-subtitle,
    .menu-subtitle,
    .profit-subtitle,
    .franchise-subtitle,
    .cost-subtitle,
    .reviews-subtitle {
        font-size: 1em !important;
        margin-bottom: 30px;
    }
    
    /* 섹션 패딩 */
    .retro-brand-section,
    .retro-menu-section,
    .retro-profit-section,
    .retro-franchise-section,
    .retro-cost-section,
    .retro-reviews-section {
        padding: 60px 0 !important; /* 순수익 섹션도 60px로 조정 */
    }
}
.brand-slider-container {
    position: relative;
    max-width: 812px; /* 패딩을 고려한 크기 조정 */
    margin: 60px auto 100px auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background: #fff;
    padding: 6px; /* border 대신 padding 사용 */
    overflow: hidden;
    z-index: 10;
}

.brand-slider {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 14px;
    overflow: hidden;
    background: #000; /* 혹시 모를 빈 공간 방지 */
    z-index: 10;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block; /* 이미지 하단 여백 제거 */
}

.slide:hover img {
    transform: scale(1.05);
}

/* 슬라이더 컨트롤 버튼 */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    font-size: 2em;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-btn:hover {
    background: rgba(0,0,0,0.9);
    transform: translateY(-50%) scale(1.1);
}

/* 슬라이더 인디케이터 */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background: #fff;
    transform: scale(1.2);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .brand-slider-container {
        margin: 40px 20px;
    }
    
    .brand-slider {
        height: 350px;
    }
    
    .slider-btn {
        font-size: 1.5em;
        padding: 10px 15px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .brand-slider {
        height: 280px;
    }
    
    .slider-btn {
        font-size: 1.2em;
        padding: 8px 12px;
    }
}
.scroll-images-container {
    position: relative;
    min-height: 2700px;
    width: 100%;
    margin-bottom: 100px;
}

.scroll-image {
    position: absolute;
    width: 600px;
    height: 400px;
    opacity: 0;
    transform: translateY(50px) scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 6px solid #fff;
    box-shadow: 12px 12px 0px rgba(0,0,0,0.3);
    overflow: hidden;
}

.scroll-image.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.scroll-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.scroll-image:hover img {
    transform: scale(1.1);
}

.image-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #000;
    color: #fff;
    padding: 6px 12px;
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-weight: bold;
    font-size: 0.8em;
    transform: rotate(-15deg);
    box-shadow: 3px 3px 10px rgba(0,0,0,0.5);
    animation: badge-wiggle 3s ease-in-out infinite;
}

/* 이미지 위치 설정 - 완전히 겹치지 않게 더욱 큰 간격으로 배치 */
.scroll-image:nth-child(1) {
    top: 80px;
    left: 2%;
    border-color: #ff6b6b;
    box-shadow: 12px 12px 0px #ff6b6b;
    z-index: 7;
}

.scroll-image:nth-child(2) {
    top: 150px;
    right: 2%;
    border-color: #4ecdc4;
    box-shadow: 12px 12px 0px #4ecdc4;
    z-index: 6;
}

.scroll-image:nth-child(3) {
    top: 600px;
    left: 3%;
    border-color: #45b7d1;
    box-shadow: 12px 12px 0px #45b7d1;
    z-index: 5;
}

.scroll-image:nth-child(4) {
    top: 670px;
    right: 3%;
    border-color: #96ceb4;
    box-shadow: 12px 12px 0px #96ceb4;
    z-index: 4;
}

.scroll-image:nth-child(5) {
    top: 1120px;
    left: 4%;
    border-color: #feca57;
    box-shadow: 12px 12px 0px #feca57;
    z-index: 3;
}

.scroll-image:nth-child(6) {
    top: 1190px;
    right: 4%;
    border-color: #ff9ff3;
    box-shadow: 12px 12px 0px #ff9ff3;
    z-index: 2;
}

.scroll-image:nth-child(7) {
    top: 1640px;
    left: 2%;
    border-color: #54a0ff;
    box-shadow: 12px 12px 0px #54a0ff;
    z-index: 1;
}

.scroll-image:nth-child(8) {
    top: 1710px;
    right: 2%;
    border-color: #a55eea;
    box-shadow: 12px 12px 0px #a55eea;
    z-index: 1;
}

/* 배지 색상 */
.scroll-image:nth-child(1) .image-badge { background: #ff6b6b; }
.scroll-image:nth-child(2) .image-badge { background: #4ecdc4; color: #000; }
.scroll-image:nth-child(3) .image-badge { background: #45b7d1; }
.scroll-image:nth-child(4) .image-badge { background: #96ceb4; color: #000; }
.scroll-image:nth-child(5) .image-badge { background: #feca57; color: #000; }
.scroll-image:nth-child(6) .image-badge { background: #ff9ff3; color: #000; }
.scroll-image:nth-child(7) .image-badge { background: #54a0ff; }
.scroll-image:nth-child(8) .image-badge { background: #a55eea; }

/* 메인 콘텐츠 */
.brand-main-content {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-in-out;
    margin-top: -500px; /* 사진과 거의 붙어있게 */
}

.brand-main-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 하단 텍스트 메시지 */
.story-footer-text {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    margin: 0 auto;
}

.story-footer-text h3 {
    font-size: 2.2em;
    color: #ffeb3b;
    font-family: 'Impact', 'Arial Black', sans-serif;
    margin-bottom: 20px;
    text-shadow: 
        3px 3px 0px #000,
        6px 6px 10px rgba(0,0,0,0.5);
}

.story-footer-text p {
    font-size: 1.3em;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.5;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.story-footer-text .footer-quote {
    font-size: 1.1em;
    color: #4facfe;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.story-footer-text strong {
    color: #ff6b35;
    font-weight: bold;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .scroll-image {
        width: 250px;
        height: 170px;
    }
    
    .scroll-images-container {
        min-height: 700px;
    }
    
    .scroll-image:nth-child(1) { left: 5%; }
    .scroll-image:nth-child(2) { right: 5%; }
    .scroll-image:nth-child(3) { left: 10%; }
    .scroll-image:nth-child(4) { right: 5%; }
    .scroll-image:nth-child(5) { left: 8%; }
    .scroll-image:nth-child(6) { right: 8%; }
    .scroll-image:nth-child(7) { left: 15%; }
}

@media (max-width: 768px) {
    .scroll-image {
        width: 400px;
        height: 280px;
    }
    
    .scroll-images-container {
        min-height: 1900px;
    }
    
    .scroll-image:nth-child(1) { top: 80px; left: 2%; }
    .scroll-image:nth-child(2) { top: 150px; right: 2%; }
    .scroll-image:nth-child(3) { top: 500px; left: 3%; }
    .scroll-image:nth-child(4) { top: 570px; right: 3%; }
    .scroll-image:nth-child(5) { top: 920px; left: 4%; }
    .scroll-image:nth-child(6) { top: 990px; right: 4%; }
    .scroll-image:nth-child(7) { top: 1340px; left: 2%; }
    .scroll-image:nth-child(8) { top: 1410px; right: 2%; }
    
    .story-footer-text h3 {
        font-size: 1.8em;
    }
    
    .story-footer-text p {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .scroll-image {
        width: 300px;
        height: 200px;
        border-width: 4px;
    }
    
    .scroll-images-container {
        min-height: 1600px;
    }
    
    .scroll-image:nth-child(1) { top: 60px; left: 1%; }
    .scroll-image:nth-child(2) { top: 110px; right: 1%; }
    .scroll-image:nth-child(3) { top: 370px; left: 2%; }
    .scroll-image:nth-child(4) { top: 420px; right: 2%; }
    .scroll-image:nth-child(5) { top: 680px; left: 3%; }
    .scroll-image:nth-child(6) { top: 730px; right: 3%; }
    .scroll-image:nth-child(7) { top: 990px; left: 1%; }
    .scroll-image:nth-child(8) { top: 1040px; right: 1%; }
    
    .story-footer-text {
        padding: 30px 15px;
    }
    
    .story-footer-text h3 {
        font-size: 1.5em;
    }
    
    .story-footer-text p {
        font-size: 1em;
    }
    
    .story-footer-text .footer-quote {
        font-size: 0.9em;
    }
}

/* ===== 햄버거 메뉴 ===== */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border: 3px solid #fff;
    border-radius: 0;
    padding: 12px;
    cursor: pointer;
    position: relative;
    z-index: 1000;
    box-shadow: 
        0 0 0 2px #000,
        0 5px 15px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.hamburger-menu span {
    display: block;
    width: 30px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hamburger-menu:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #fcd34d, #fbbf24);
    box-shadow: 
        0 0 0 2px #000,
        0 0 0 5px #fff,
        0 8px 20px rgba(0,0,0,0.7),
        0 0 30px rgba(251,191,36,0.5);
}

/* 햄버거 활성화 상태 */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ===== 헤더 & 네비게이션 모바일 반응형 ===== */
@media (max-width: 768px) {
    body {
        padding-top: 52px;
    }
    
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        width: 100% !important;
        background: white !important;
        box-shadow: none !important;
        border-bottom: 1px solid #eee;
        max-height: 50px !important;
        overflow: visible !important;
    }
    
    .main-header {
        padding: 8px 0;
        position: relative !important;
        background: white !important;
        min-height: auto !important;
        display: flex;
        align-items: center;
    }
    
    .main-header .container {
        width: 100%;
    }
    
    .header-content-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        min-height: 35px;
        display: flex;
    }
    
    .header-contact-info {
        align-items: center;
        background: #2563eb;
        border-radius: 20px;
        padding: 6px 12px;
        display: flex;
        flex-direction: row;
        gap: 6px;
    }
    
    .contact-number {
        font-size: 0.85em;
        color: white !important;
        text-shadow: none !important;
    }
    
    .contact-number:hover {
        color: white !important;
        text-shadow: none !important;
    }
    
    .contact-label {
        font-size: 0.7em;
        color: white !important;
    }
    
    .main-header .container {
        position: relative;
    }
    
    .logo {
        position: relative;
        left: auto;
        transform: none;
        flex-direction: row;
        gap: 0;
        align-items: center;
        justify-content: flex-start;
        display: flex;
    }
    
    .header-logo {
        display: none;
    }
    
    .logo h1 {
        font-size: 1.3em;
        text-align: left;
        margin: 0;
        padding: 0;
        line-height: 1;
        color: #2563eb !important;
        text-shadow: none !important;
        font-weight: 700;
    }
    
    /* 햄버거 메뉴 숨김 */
    .hamburger-menu {
        display: none !important;
    }
    
    .main-nav {
        display: none;
    }
    
    .main-nav .container {
        position: relative;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
    }
    
    /* 네비게이션 래퍼 - 모바일에서 숨김/표시 */
    .nav-wrapper {
        position: relative;
        width: 100%;
        max-height: 0;
        background: 
            linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
        background-size: 400% 400%;
        animation: nav-dropdown-gradient 10s ease infinite;
        border: 3px solid #fff;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        z-index: 999;
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
        transition: all 0.4s ease;
        overflow: hidden;
        margin-top: 15px;
        opacity: 0;
        border-radius: 15px;
    }
    
    @keyframes nav-dropdown-gradient {
        0%, 100% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
    }
    
    .nav-wrapper.active {
        max-height: 700px;
        padding: 20px;
        opacity: 1;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        font-size: 1em;
        padding: 15px 20px;
        width: 100%;
        text-align: left;
        display: block;
        background: rgba(255, 255, 255, 0.9);
        color: #1f2937;
        border: 2px solid #fff;
        margin-bottom: 8px;
        text-shadow: none;
    }
    
    .nav-menu li a:hover {
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        color: #fff;
        transform: translateX(5px);
        text-shadow: none;
    }
    
    .franchise-contact {
        font-size: 1em;
        padding: 15px 20px;
        text-align: left;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        color: #374151;
        border: 2px solid #fff;
        margin-bottom: 8px;
        text-shadow: none;
        box-shadow: none;
        display: block;
        transition: all 0.3s ease;
    }
    
    .franchise-contact:hover {
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        color: #fff;
        transform: translateX(5px);
        text-shadow: none;
    }
    
    .franchise-contact:hover strong {
        color: #fff;
        text-shadow: none;
    }
    
    .franchise-contact strong {
        font-size: 1em;
        display: inline;
        margin-top: 0;
        margin-left: 8px;
        color: #000;
        font-weight: normal;
        text-shadow: none;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 47px;
    }
    
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        width: 100% !important;
        background: white !important;
        box-shadow: none !important;
        border-bottom: 1px solid #eee;
        max-height: 45px !important;
        overflow: visible !important;
    }
    
    .main-header {
        padding: 7px 0;
        position: relative !important;
        background: white !important;
        min-height: auto !important;
        display: flex;
        align-items: center;
    }
    
    .main-header .container {
        width: 100%;
    }
    
    .header-content-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        min-height: 32px;
        display: flex;
    }
    
    .logo {
        position: relative;
        left: auto;
        transform: none;
        flex-direction: row;
        gap: 0;
        align-items: center;
        justify-content: flex-start;
        display: flex;
    }
    
    .header-logo {
        display: none;
    }
    
    .logo h1 {
        font-size: 1.1em;
        text-align: left;
        margin: 0;
        padding: 0;
        line-height: 1;
        color: #2563eb !important;
        text-shadow: none !important;
        font-weight: 700;
    }
    
    .header-contact-info {
        align-items: center;
        background: #2563eb;
        border-radius: 18px;
        padding: 5px 10px;
        display: flex;
        flex-direction: row;
        gap: 5px;
    }
    
    .contact-number {
        font-size: 0.75em;
        color: white !important;
        text-shadow: none !important;
    }
    
    .contact-number:hover {
        color: white !important;
        text-shadow: none !important;
    }
    
    .contact-label {
        font-size: 0.65em;
        color: white !important;
    }
    
    .main-nav {
        display: none;
    }
}

/* ===== 아이폰 작은 화면 (iPhone SE, iPhone 12 mini 등) ===== */
@media (max-width: 390px) {
    body {
        padding-top: 42px;
    }
    
    .header {
        max-height: 42px !important;
    }
    
    .main-header {
        padding: 5px 0;
    }
    
    .logo h1 {
        font-size: 1em;
    }
    
    .header-contact-info {
        padding: 4px 8px;
        border-radius: 16px;
    }
    
    .contact-number {
        font-size: 0.7em;
    }
    
    .contact-label {
        font-size: 0.6em;
    }
    
    .container {
        padding: 0 10px;
    }
    
    /* 브랜드 스토리 카드 */
    .story-card {
        min-height: 80px;
    }
    
    .card-header {
        padding: 8px 8px 4px;
        gap: 6px;
    }
    
    .card-icon {
        font-size: 1.3em;
    }
    
    .card-title {
        font-size: 0.95em;
    }
    
    .card-content {
        padding: 0 8px 8px;
    }
    
    .card-content p {
        font-size: 0.8em;
        line-height: 1.25;
    }
    
    /* 배경 이미지 크기 조정 */
    .retro-brand-section {
        background-size: 250px auto;
        padding: 60px 0 100px 0;
        overflow: visible;
    }
    
    .brand-slider-container {
        z-index: 10;
    }
    
    .retro-menu-section {
        background-size: 300px auto;
    }
    
    /* 텍스트 크기 조정 */
    .brand-main-title,
    .menu-main-title,
    .franchise-main-title,
    .profit-main-title,
    .cost-main-title,
    .reviews-main-title {
        font-size: 2em !important;
    }
    
    .brand-subtitle,
    .menu-subtitle {
        font-size: 1em !important;
    }
}
