body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%),
        linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.03) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255,255,255,0.03) 50%, transparent 52%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 60px 60px, 60px 60px;
    pointer-events: none;
    z-index: -1;
    animation: backgroundFloat 20s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

/* 햄버거 메뉴 스타일 */
.hamburger-menu {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    cursor: pointer;
}

.hamburger-icon {
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-icon span:nth-child(1) {
    top: 0px;
}

.hamburger-icon span:nth-child(2) {
    top: 11px;
}

.hamburger-icon span:nth-child(3) {
    top: 22px;
}

.hamburger-icon.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
}

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

.hamburger-icon.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 11px;
}

#sidebar {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    width: 240px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding: 30px 10px;
    box-shadow: 4px 0 25px rgba(0,0,0,0.2);
    border-right: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 999;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

#sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
    pointer-events: none;
}

#sidebar nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

#header {
    margin-left: 180px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
}

#header img {
    height: 50px;
    margin-right: 20px;
}

#content {
    margin-left: 240px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    min-height: 100vh;
    border-radius: 20px 0 0 20px;
    margin-top: 20px;
    margin-right: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

#content::after {
    content: '';
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../imgs/full-moon-maplestory-4s6k1cntl6b37k0x.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

nav {
    display: flex;
    flex-direction: column;
    align-items: center;
}

nav a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #ffffff;
    background: none;
    text-decoration: none;
    margin: 0;
    padding: 18px 0 18px 18px;
    border-radius: 0;
    font-size: 15px;
    font-weight: 600;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 4px;
}

nav a:last-child {
    border-bottom: none;
}

nav a.active {
    color: #f9fafb;
    font-weight: bold;
}

nav a:hover {
    color: #e5e7eb;
    transform: translateX(4px) scale(1.02);
}

#frame {
    background-color: #f0f0f0;
    width: 150px;
    height: 100vh;
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 10px solid black;
    border-right: 10px solid black;
    margin-left: -10px;
}

.page-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.post {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 24px 28px;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.post h2 {
    margin-top: 0;
    color: #2563eb;
    font-size: 1.2rem;
}

.post p {
    color: #444;
    font-size: 1rem;
    margin-bottom: 0;
}

.section-divider {
    border: none;
    border-top: 2px solid #bbb;
    margin: 16px 0 32px 0;
    width: 100%;
}

.center-img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
}

.center-img img {
    max-width: 900px;
    max-height: 600px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: block;
    object-fit: contain;
}

.feature-desc {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    padding: 32px 36px;
    margin: 0 auto 40px auto;
    max-width: 900px;
    font-size: 1.05rem;
    color: #222;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.feature-desc h2 {
    margin-top: 0;
    color: #2563eb;
    font-size: 1.3rem;
    margin-bottom: 18px;
    text-align: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-desc ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 24px;
}

.feature-desc li {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    line-height: 1.7;
}

.feature-desc li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 16px 16px 0 0;
}

.feature-desc li:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: rgba(102, 126, 234, 0.2);
}

.feature-desc li b {
    color: #2c3e50;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-desc li br {
    margin-bottom: 8px;
}

/* 사용법 동영상 페이지의 동영상 스타일 */
.feature-desc li video {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 16/10;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    margin: 16px 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-desc li video:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.feature-desc li p {
    text-align: center;
    margin-top: 16px;
    line-height: 1.6;
    color: #374151;
}

.desc-small {
    color: #888;
    font-size: 0.97em;
    display: block;
    margin-top: 4px;
}

.demo-videos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-top: 32px;
}

.demo-videos h2 {
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    margin: 32px 0 12px 0;
    color: #374151;
    font-weight: 700;
}

.demo-videos .video-group {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-bottom: 12px;
    margin-left: auto;
    margin-right: auto;
}

.demo-videos video {
    width: 320px;
    height: 200px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2);
}

.demo-videos video:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

/* 데스크톱에서 3x3 그리드 레이아웃 */
@media (min-width: 769px) {
    .demo-videos {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        max-width: 1200px;
        margin: 32px auto 0 auto;
    }
    
    .demo-videos h2 {
        grid-column: 1 / -1;
        margin: 0 0 16px 0;
    }
    
    .demo-videos video {
        width: 100%;
        height: auto;
        aspect-ratio: 16/10;
    }
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1000;
        cursor: pointer;
    }
    
    #sidebar {
        transform: translateX(-100%);
        width: 280px;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        transition: transform 0.3s ease;
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
        box-shadow: 4px 0 25px rgba(0,0,0,0.2);
        border-right: 1px solid rgba(255,255,255,0.1);
        backdrop-filter: blur(10px);
    }
    
    #sidebar.active {
        transform: translateX(0);
    }
    
    nav {
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        width: 100%;
        margin-top: 20px;
    }
    
    nav a {
        font-size: 16px;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        border-right: none;
        width: 100%;
        justify-content: flex-start;
        margin-bottom: 0;
        color: #ffffff;
        background: none;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    nav a:last-child {
        border-bottom: none;
    }
    
    nav a.active {
        color: #f9fafb;
        font-weight: bold;
    }
    
    nav a:hover {
        color: #e5e7eb;
        transform: translateX(4px) scale(1.02);
    }
    
    #header {
        margin-left: 0;
        padding: 12px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    #content {
        margin-left: 0;
        padding: 12px;
        margin-top: 60px;
        border-radius: 16px;
        margin-right: 12px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
    }
    
    .center-img img {
        max-width: 100%;
        max-height: 220px;
        padding: 4px;
    }
    
    .page-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
        background: linear-gradient(135deg, #667eea, #764ba2);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .feature-desc {
        padding: 20px;
        margin: 0 auto 20px auto;
        font-size: 1rem;
        border-radius: 16px;
    }
    
    .feature-desc h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .feature-desc ol {
        gap: 16px;
    }
    
    .feature-desc li {
        margin-bottom: 0;
        line-height: 1.6;
        padding: 20px;
        border-radius: 12px;
    }
    
    .feature-desc li b {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .feature-desc li video {
        max-width: 100%;
        margin: 12px 0;
        border-radius: 8px;
    }
    
    .feature-desc li p {
        text-align: center;
        margin-top: 12px;
        font-size: 0.95rem;
    }
    
    /* 모바일에서 세로 배치 유지 */
    .demo-videos {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .demo-videos video {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 16/10;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }
}
@media (max-width: 1100px) {
  .center-img > div {
    padding: 10px !important;
  }
  .center-img img {
    max-width: 98vw !important;
  }
}
/* Sidebar header customization */
#sidebar > div:first-child {
    justify-content: flex-end;
    padding-right: 80px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 12px;
    width: 100%;
}

#sidebar > div:first-child > div {
    margin-top: -10px;
}
/* Pricing container 배경 스타일 강화 */
.pricing-cards {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin: 20px 0;
    padding: 40px;
    background-image: url('../imgs/kim-goeun-2019-copy.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.pricing-cards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}
/* disable previous overlay */
.pricing-cards .pricing-card {
    background-color: #E0E7FF;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.4) 0,
        rgba(255,255,255,0.4) 2px,
        transparent 2px,
        transparent 10px
    );
    border: 2px solid #4f46e5;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    width: 300px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
}
.pricing-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #4f46e5);
}
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.pricing-card h3 {
    font-size: 1.2rem;
    color: #2563eb;
    margin-bottom: 12px;
}
.pricing-card .price {
    font-size: 2rem;
    font-weight: bold;
    margin: 16px 0;
}
.pricing-card .deal-button {
    display: inline-block;
    margin-top: auto;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    position: relative;
    z-index: 2;
}
.pricing-card .deal-button:hover {
    background: #1746a2;
}
/* Enhanced pricing cards styles */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.pricing-cards .pricing-card {
    background: linear-gradient(135deg, #f0f8ff, #ffffff);
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    overflow: hidden;
    transform-style: preserve-3d;
    animation: fadeInUp 0.6s ease both;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.pricing-cards .pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-cards .pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}
.pricing-card h3 {
    color: #4f46e5;
}
.pricing-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(90deg, #2563eb, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 16px 0;
}
.pricing-card .deal-button {
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    padding: 14px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card .deal-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.3);
}
.pricing-cards .pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.3) 0,
        rgba(255,255,255,0.3) 1px,
        transparent 1px,
        transparent 8px
    );
    pointer-events: none;
    opacity: 0.6;
    display: none;
}
/* 카드 배경 그라디언트 꾸미기 */
.pricing-cards .pricing-card {
    background: linear-gradient(135deg, #e0e7ff 0%, #ffffff 100%);
}
/* Discord 버튼 스타일 및 호버 효과 */
.discord-button {
    display: inline-block;
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: #ffffff;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.discord-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
} 