/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #feb342 0%, #feb342 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-left-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: auto;
    height: 65px;
    border-radius: 10px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 1rem;
}

.nav-left {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.4rem 0.7rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.login-buttons {
    display: flex;
    gap: 0.3rem;
}

.login-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.language-btn,
.profile-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.language-btn:hover,
.profile-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}



/* Hero Section - 제거됨 */

/* 모바일 앱 최적화 */
.modules-section {
    padding-top: 1rem;
}

@media (max-width: 768px) {
    .modules-section {
        padding-top: 0.5rem;
    }
    
    .modules-grid {
        gap: 1rem;
    }
    
    .module-card {
        margin-bottom: 1rem;
    }
}



.flag-icon {
    font-size: 2.5rem;
}

.hero-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.hero-main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-title {
    font-size: 1.4rem !important;
    font-weight: 700;
    margin: 0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
}

.hero-icon-inline {
    font-size: 3.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
    display: inline-block;
}

.hero-subtitle {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.9;
    color: white;
}

.hero-toggle-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    white-space: nowrap;
}

.hero-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-toggle-btn i {
    transition: transform 0.3s ease;
}

.hero-toggle-btn.expanded i {
    transform: rotate(180deg);
}

.hero-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    opacity: 0;
}

.hero-details.expanded {
    max-height: 1000px;
    opacity: 1;
    margin-top: 0.5rem;
}

.hero-welcome {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.hero-welcome p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    color: white;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.hero-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero-icon {
    font-size: 2rem;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.hero-item-content {
    flex: 1;
}

.hero-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: white;
    line-height: 1.4;
}

.hero-item-subtitle {
    font-size: 0.9rem;
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    color: white;
}

.hero-item-description {
    font-size: 0.9rem;
    margin: 0.8rem 0 0 0;
    opacity: 0.9;
    color: white;
    line-height: 1.5;
}



.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-icon {
    font-size: 2rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Progress Section */
.progress-section {
    padding: 3rem 0;
    background: white;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #999;
}

.progress-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background-color: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF8C42 0%, #FF6B35 100%);
    border-radius: 6px;
    transition: width 0.3s ease;
}

.progress-text {
    font-weight: 600;
    color: #FF8C42;
}

/* Modules Section */
.modules-section {
    padding: 1rem 0;
    background: #f8fafc;
}

.modules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 0.5rem;
    align-items: start;
    width: 100%;
}

.module-card {
    background: #2D2D2D;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #feb342;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    height: fit-content;
    position: relative;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: #FF8C42;
}

.module-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-right: 0;
    padding-top: 1rem;
    min-height: 60px;
    position: relative;
}

.module-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: white;
}

.module-card[data-module="vocabulary"] .module-icon {
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
}

.module-card[data-module="drama"] .module-icon {
    background: linear-gradient(135deg, #FFB6C1 0%, #FF8C42 100%);
}

.module-card[data-module="ballad"] .module-icon {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFB6C1 100%);
}

.module-card[data-module="travel"] .module-icon {
    background: linear-gradient(135deg, #FFD700 0%, #FF8C42 100%);
}

.module-card[data-module="guide"] .module-icon {
    background: linear-gradient(135deg, #FFB6C1 0%, #FF8C42 100%);
}

.module-card[data-module="culture"] .module-icon {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFB6C1 100%);
}

.module-card[data-module="speaking"] .module-icon {
    background: linear-gradient(135deg, #FFD700 0%, #FF8C42 100%);
}

.module-card[data-module="community"] .module-icon {
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
}

.module-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.module-subtitle {
    font-size: 0.9rem;
    color: #feb342;
    font-weight: 600;
    margin-bottom: 1rem;
}

.module-description {
    color: white;
    margin-bottom: 1rem;
}

.module-content {
    width: 100%;
}

.module-image {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 200px;
    height: 160px;
    border-radius: 15px;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-image .emoji-icon {
    font-size: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.module-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.emoji-icon {
    font-size: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.module-image .emoji-icon {
    font-size: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.korean-text {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.module-progress {
    width: 100%;
    margin-top: 1rem;
}

.module-progress .progress-bar {
    width: 100%;
    height: 8px;
    margin-bottom: 0.5rem;
}

.module-progress .progress-text {
    font-size: 0.9rem;
    color: white;
}

.new-content-btn {
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.new-content-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #2D2D2D;
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #E0E0E0;
    text-align: center;
    flex: 1;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #333;
}

.language-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.language-option:hover {
    border-color: #FF8C42;
    transform: translateY(-2px);
}

.language-option.active {
    border-color: #FF8C42;
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
    color: white;
}

.flag {
    font-size: 1.5rem;
}

/* Profile Modal Styles */
.profile-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #4A3E37;
    border-radius: 15px;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    background: #F7931E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.profile-details {
    flex: 1;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #E0E0E0;
    margin-bottom: 0.5rem;
}

.profile-email {
    font-size: 1rem;
    color: #B0B0B0;
    margin-bottom: 0;
}

.profile-stats {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.profile-stats .stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.profile-stats .stat-label {
    font-size: 0.8rem;
    color: #B0B0B0;
    margin-bottom: 0.3rem;
    text-align: center;
}

.profile-stats .stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: #F7931E;
    margin-bottom: 0.1rem;
}

.profile-stats .stat-unit {
    font-size: 0.8rem;
    color: #F7931E;
    font-weight: 500;
}

.profile-actions {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: space-between;
}

.profile-actions .profile-btn {
    background: #F7931E;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

.profile-actions .profile-btn:hover {
    background: #E8851A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 147, 30, 0.3);
}

.profile-actions .logout-btn {
    background: #E74C3C;
    margin-top: 0;
}

.profile-actions .logout-btn:hover {
    background: #C0392B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* 학습 진행 상황 스타일 */
.learning-progress {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #4A3E37;
    border-radius: 15px;
    border: 1px solid #5A4E47;
}

.progress-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #E0E0E0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.today-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 1.5rem;
    text-align: center;
}

.learning-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #E0E0E0;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* 회원가입 모달 스타일 */
.signup-content {
    padding: 2rem;
}

.nickname-section {
    margin-bottom: 2rem;
}

.nickname-section label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.nickname-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.nickname-input-group input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.nickname-input-group input:focus {
    outline: none;
    border-color: #feb342;
}

.check-btn {
    background: #feb342;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.check-btn:hover {
    background: #f39c12;
}

.nickname-status {
    font-size: 0.9rem;
    font-weight: 500;
}

.nickname-status.available {
    color: #27ae60;
}

.nickname-status.unavailable {
    color: #e74c3c;
}

.social-login-section {
    margin-bottom: 2rem;
}

.social-title {
    text-align: center;
    font-weight: 600;
    color: #999;
    margin-bottom: 1.5rem;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    background: white;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.google-btn {
    border-color: #4285f4;
    color: #4285f4;
}

.google-btn:hover {
    background: #4285f4;
    color: white;
}

.apple-btn {
    border-color: #000;
    color: #000;
}

.apple-btn:hover {
    background: #000;
    color: white;
}

.social-btn i {
    font-size: 1.2rem;
}

.signup-footer {
    text-align: center;
    margin-top: 2rem;
}

.terms-text {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.5;
}

.terms-link {
    color: #feb342;
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
}

.progress-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.progress-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.progress-name {
    font-weight: 500;
    color: #E0E0E0;
    font-size: 0.9rem;
}

.progress-percentage {
    font-weight: 600;
    color: #F7931E;
    font-size: 0.9rem;
}

.progress-item .progress-bar {
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-item .progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-summary {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.summary-label {
    font-size: 0.8rem;
    color: #B0B0B0;
    font-weight: 500;
}

.summary-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #F7931E;
}

.progress-details {
    margin-top: 0.5rem;
}

.progress-detail {
    font-size: 0.8rem;
    color: #B0B0B0;
    font-style: italic;
}

/* 당일 학습 진행 상황 스타일 */
.today-progress {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border-radius: 15px;
    border: 1px solid #fed7d7;
}

.today-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.today-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.today-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.today-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.today-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-align: center;
}

.today-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ff6b6b;
    text-align: center;
}

.today-activities {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.activities-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    text-align: center;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

.activity-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.activity-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.activity-name {
    font-weight: 500;
    color: #4a5568;
    font-size: 0.9rem;
}

.activity-time {
    font-size: 0.8rem;
    color: #666;
}

.activity-progress {
    text-align: right;
}

.activity-detail {
    font-size: 0.8rem;
    color: #667eea;
    font-weight: 500;
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: flex;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .language-options {
        grid-template-columns: 1fr;
    }

    .module-card {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        position: relative;
    }

    .module-image {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        width: 150px;
        height: 160px;
    }

    .module-left {
        width: 100%;
        padding-right: 0;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.module-card {
    animation: fadeIn 0.6s ease-out;
}

.module-card:nth-child(1) { animation-delay: 0.1s; }
.module-card:nth-child(2) { animation-delay: 0.2s; }
.module-card:nth-child(3) { animation-delay: 0.3s; }
.module-card:nth-child(4) { animation-delay: 0.4s; }
.module-card:nth-child(5) { animation-delay: 0.5s; }
.module-card:nth-child(6) { animation-delay: 0.6s; }
.module-card:nth-child(7) { animation-delay: 0.7s; }
.module-card:nth-child(8) { animation-delay: 0.8s; }

/* Learning Page Styles */
.learning-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.learning-card {
    background: #2D2D2D;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #FF8C42;
}

.learning-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.learning-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.learning-count {
    color: #FF8C42;
    font-weight: 600;
}

.word-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.word-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    align-items: center;
}

.word-korean {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.word-english {
    color: #FF8C42;
    font-weight: 600;
}

.word-pronunciation {
    color: #ccc;
    font-size: 0.9rem;
    font-style: italic;
}

.practice-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.practice-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 140, 66, 0.3);
}

.practice-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.practice-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.practice-option:hover {
    border-color: #FF8C42;
    background: rgba(255, 140, 66, 0.1);
}

.practice-option i {
    font-size: 2rem;
    color: #FF8C42;
}

.practice-option span {
    font-weight: 600;
}

.step-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #2D2D2D;
    color: white;
    border: 2px solid #FF8C42;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.prev-btn {
    background: transparent;
}

.next-btn {
    background: #FF8C42;
}

/* 게임 섹션 스타일 */
.games-section {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.games-title {
    font-size: 1rem;
    font-weight: 600;
    color: #feb342;
    margin-bottom: 1rem;
    text-align: center;
}

.games-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
}

.game-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}

.game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.8rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-item:hover {
    background: rgba(254, 179, 66, 0.1);
    border-color: #feb342;
    transform: translateY(-2px);
}

.game-icon {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.game-text {
    font-size: 0.7rem;
    font-weight: 500;
    color: #fff;
    text-align: center;
    line-height: 1.2;
}

/* 기초 문장 300 게임 스타일 */
.module-card[data-module="sentences"] .games-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.module-card[data-module="sentences"] .game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 34px;
    justify-content: center;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

.module-card[data-module="sentences"] .game-icon {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.module-card[data-module="sentences"] .game-text {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    line-height: 1.3;
}

/* 여행 회화 익히기 게임 스타일 */
.module-card[data-module="travel-conversation"] .games-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.module-card[data-module="travel-conversation"] .game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 34px;
    justify-content: center;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

.module-card[data-module="travel-conversation"] .game-icon {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.module-card[data-module="travel-conversation"] .game-text {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    line-height: 1.3;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0.4rem;
    }
    
    .game-item {
        padding: 0.6rem 0.3rem;
    }
    
    .game-icon {
        font-size: 1rem;
    }
    
    .game-text {
        font-size: 0.65rem;
    }
    
    /* 기초 문장 300 모바일 스타일 */
    .module-card[data-module="sentences"] .games-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem;
    }
    
    .module-card[data-module="sentences"] .game-item {
        padding: 0.25rem 0.7rem;
        min-height: 26px;
        flex: 1;
    }
    
    .module-card[data-module="sentences"] .game-icon {
        font-size: 1.2rem;
    }
    
    .module-card[data-module="sentences"] .game-text {
        font-size: 0.8rem;
    }
    
    /* 여행 회화 익히기 모바일 스타일 */
    .module-card[data-module="travel-conversation"] .games-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem;
    }
    
    .module-card[data-module="travel-conversation"] .game-item {
        padding: 0.25rem 0.7rem;
        min-height: 26px;
        flex: 1;
    }
    
    .module-card[data-module="travel-conversation"] .game-icon {
        font-size: 1.2rem;
    }
    
    .module-card[data-module="travel-conversation"] .game-text {
        font-size: 0.8rem;
    }
}

/* 드라마 관련 스타일 */
.drama-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.drama-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.drama-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.drama-details {
    flex: 1;
}

.drama-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.drama-description {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 1rem;
}

.drama-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.drama-progress .progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.drama-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #feb342 0%, #feb342 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.drama-progress .progress-text {
    font-size: 1rem;
    color: #feb342;
    font-weight: 600;
    white-space: nowrap;
}

.episodes-section {
    margin-top: 2rem;
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.episode-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.episode-card:hover {
    background: rgba(254, 179, 66, 0.1);
    border-color: #feb342;
    transform: translateY(-2px);
}

.episode-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #feb342;
    margin-bottom: 0.5rem;
}

.episode-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.episode-progress {
    margin-bottom: 1rem;
}

.episode-progress .progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.episode-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50 0%, #4CAF50 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.episode-progress .progress-text {
    font-size: 0.9rem;
    color: #cccccc;
}

.episode-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.action-btn i {
    font-size: 1rem;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .drama-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .drama-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .drama-title {
        font-size: 2rem;
    }
    
    .episodes-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .episode-card {
        padding: 1rem;
    }
    
    .episode-actions {
        flex-direction: column;
    }
    
    .action-btn {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
}

/* 드라마 모듈 게임 2개 가로 넓게 표시 */
.module-card[data-module="drama"] .games-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.module-card[data-module="drama"] .game-item {
    padding: 0.8rem 2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    height: 70px;
    justify-content: center;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

.module-card[data-module="drama"] .game-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.module-card[data-module="drama"] .game-icon {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.module-card[data-module="drama"] .game-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    line-height: 1.3;
    text-align: center;
}

.module-card[data-module="drama"] .game-link {
    position: relative;
    z-index: 5;
}

.module-card[data-module="drama"] {
    cursor: pointer;
    position: relative;
}

/* Culture module cards - more compact */
.modules-section[id="culture-steps"] .module-card {
    padding: 0.8rem;
    min-height: auto;
}

.modules-section[id="culture-steps"] .module-left {
    padding-top: 0.5rem;
    min-height: auto;
    gap: 0.5rem;
}

.modules-section[id="culture-steps"] .module-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.modules-section[id="culture-steps"] .module-title {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.modules-section[id="culture-steps"] .module-description {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

/* Article Page Styles - Simple and Readable */
.article-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.article-info {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.article-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    color: white;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 3rem;
    margin-top: 2rem;
}

.content-wrapper {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.paragraph {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.paragraph:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.korean-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.english-text {
    font-size: 1.3rem;
    color: #666;
    line-height: 1.5;
    font-style: italic;
    margin-top: 0.5rem;
}

.article-navigation {
    text-align: center;
    padding: 2rem 0;
}

.nav-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Korean Culture Module Styles */
.culture-info {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.culture-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.culture-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, #feb342 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.culture-details {
    flex: 1;
}

.culture-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.culture-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.culture-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.culture-progress .progress-bar {
    flex: 1;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.culture-progress .progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #feb342 0%, #ff6b6b 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.culture-progress .progress-text {
    font-weight: 600;
    color: #666;
    min-width: 80px;
}

.columns-section {
    margin-top: 2rem;
}

.columns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.column-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.column-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #feb342;
}

.column-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.column-content {
    text-align: center;
}

.column-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.column-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .logo-img {
        height: 55px;
    }
    
    .culture-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .culture-title {
        font-size: 2rem;
    }
    
    .columns-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .column-card {
        padding: 1rem;
    }
    
    .column-icon {
        font-size: 2rem;
    }
    
    .column-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 50px;
    }
}