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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff4d94;
}

img {
    max-width: 100%;
    height: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2rem;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #ff4d94;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-menu {
    background-color: #f5f5f5;
    padding: 8px 0;
}

.top-menu-right {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.top-menu a {
    font-size: 0.9rem;
    color: #666;
}

.top-menu a:hover {
    color: #ff4d94;
}

.main-header {
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    color: #ff4d94;
    font-weight: 700;
    letter-spacing: 1px;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff4d94;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Banner Section */
.banner-section {
    padding: 0;
    margin-bottom: 50px;
}

.banner-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #9c27b0;
    background-image: linear-gradient(135deg, #9c27b0 0%, #ff4d94 100%);
    color: white;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner-slide.active {
    opacity: 1;
    z-index: 1;
}

.banner-content {
    text-align: center;
    padding: 20px;
}

.banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.banner-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.price-comparison {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.price-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 15px 25px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.price-item:hover {
    transform: translateY(-5px);
}

.price-item.highlight {
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.price-item .company {
    font-size: 1rem;
    margin-bottom: 5px;
}

.price-item .price {
    font-size: 1.5rem;
    font-weight: 700;
}

.banner-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.prev-slide, .next-slide {
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.prev-slide:hover, .next-slide:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.slide-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Notice Section */
.notice-section {
    margin-bottom: 50px;
    padding: 20px 0;
}

.latest-notice {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
}

.notice-date {
    font-size: 0.9rem;
    padding: 5px 10px;
    background-color: #ff4d94;
    color: white;
    border-radius: 5px;
    white-space: nowrap;
}

.notice-text {
    font-size: 1rem;
}

/* KPOP News Section */
.kpop-news-section {
    margin-bottom: 50px;
    padding: 20px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.news-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 180px;
    overflow: hidden;
}

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

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

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.news-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.news-date {
    display: block;
    font-size: 0.8rem;
    color: #999;
}

.view-more {
    text-align: center;
}

.view-more a {
    display: inline-block;
    padding: 10px 25px;
    background-color: #ff4d94;
    color: white;
    border-radius: 30px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.view-more a:hover {
    background-color: #e63f82;
}

/* How to Use Section */
.how-to-use-section {
    margin-bottom: 50px;
    padding: 50px 0;
    background-color: #f0f0f0;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
}

.step-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background-color: #f9f0f5;
    border-radius: 50%;
    font-size: 2rem;
    color: #ff4d94;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.step p {
    font-size: 0.9rem;
    color: #666;
}

/* How It Works Section */
.how-it-works-section {
    margin-bottom: 50px;
    padding: 20px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.service-item {
    text-align: center;
    padding: 25px 15px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2rem;
    color: #ff4d94;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 0.85rem;
    color: #666;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-info h3,
.footer-links h3,
.footer-social h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-info h3::after,
.footer-links h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #ff4d94;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #bbb;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff4d94;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #ff4d94;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #999;
}

/* Chat Bubble */
.chat-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-button {
    width: 60px;
    height: 60px;
    background-color: #ff4d94;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.chat-button:hover {
    background-color: #e63f82;
}

.chat-popup {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: none;
}

.chat-header {
    background-color: #ff4d94;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    font-size: 1rem;
    margin: 0;
}

.close-chat {
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

.chat-body {
    padding: 15px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chat-message {
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 20px;
    max-width: 80%;
    word-break: break-word;
}

.chat-message.support {
    background-color: #f0f0f0;
    align-self: flex-start;
}

.chat-message.user {
    background-color: #e6f7ff;
    align-self: flex-end;
}

.chat-input {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.send-message {
    background-color: #ff4d94;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        max-width: 100%;
        width: 100%;
    }
    
    .price-comparison {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .price-item {
        min-width: 120px;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-menu.show {
        max-height: 300px;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .banner-slide {
        height: 350px;
    }
    
    .banner-content h2 {
        font-size: 2rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .price-comparison {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .price-item {
        width: 80%;
        flex-direction: row;
        justify-content: space-between;
    }
}

@media screen and (max-width: 576px) {
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .banner-slide {
        height: 300px;
    }
    
    .banner-content h2 {
        font-size: 1.5rem;
    }
    
    .banner-content p {
        font-size: 0.9rem;
    }
    
    .latest-notice {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .chat-popup {
        width: 280px;
    }
}