/* 전역 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 새로운 현대적 컬러 팔레트 - Peach & Purple Theme */
    --primary-gradient: linear-gradient(135deg, #7c6fd6 0%, #5d4e99 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gold-gradient: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    --peach-gradient: linear-gradient(135deg, #ffd4c4 0%, #ffb8a1 100%);
    
    --primary-color: #7c6fd6;
    --secondary-color: #5d4e99;
    --accent-color: #4facfe;
    --gold-color: #f6d365;
    --peach-light: #ffd4c4;
    --peach-medium: #ffb8a1;
    
    --bg-dark: #3d4c7a;
    --bg-medium: #1a1a2e;
    --bg-light: #16213e;
    --bg-peach: linear-gradient(135deg, #ffd4c4 0%, #ffc9b3 50%, #ffb8a1 100%);
    --card-bg: #ffffff;
    
    --text-white: #ffffff;
    --text-dark: #2d3748;
    --text-dark-blue: #2c4563;
    --text-light: #718096;
    --text-muted: #a0aec0;
    --text-purple: #7c6fd6;
    
    --border-color: #e2e8f0;
    --border-light: #f0f4f8;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.08);
    
    --glow: 0 0 20px rgba(124, 111, 214, 0.4);
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-peach);
    background-attachment: fixed;
    overflow-x: hidden;
}

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

/* 헤더 & 네비게이션 - 글래스모피즘 효과 */
header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem 0;
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.logo i {
    font-size: 1.6rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: float 3s ease-in-out infinite;
}

.logo h1 {
    font-size: 1.4rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.9rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
    z-index: -1;
    border-radius: 30px;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
    transform: translateY(-2px);
}

/* 사용자 정보 표시 */
.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    white-space: nowrap;
}

.welcome-text {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.85rem;
}

.welcome-text strong {
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.admin-badge-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.admin-badge {
    background: var(--gold-gradient);
    color: var(--text-white);
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(246, 211, 101, 0.4);
    display: inline-block;
    white-space: nowrap;
}

.badge-separator {
    margin: 0 4px;
    opacity: 0.7;
}

.logout-btn {
    background: var(--secondary-gradient);
    color: var(--text-white);
    border: none;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.4);
}

/* 언어 전환 버튼 */
.language-switcher {
    display: flex;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.3);
    padding: 0.3rem;
    border-radius: 20px;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.lang-btn.active {
    background: var(--primary-gradient);
    color: var(--text-white);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.9rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
    z-index: -1;
    border-radius: 30px;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
    transform: translateY(-2px);
}

/* 히어로 섹션 - 극적인 효과 */
.hero {
    position: relative;
    background: transparent;
    color: var(--text-dark-blue);
    padding: 80px 0 80px 0;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    animation: gradientShift 10s ease infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 1;
    animation: fadeInDown 1s ease-out;
    line-height: 1.2;
    color: var(--text-dark-blue);
}

.hero-content h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 1rem auto 0;
    border-radius: 10px;
}

.hero-content h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 900;
    color: var(--text-dark-blue);
    animation: fadeInUp 1s ease-out 0.3s backwards;
    line-height: 1.1;
}

.verse {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 1rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease-out 0.6s backwards;
    line-height: 1.5;
}

.cta-button {
    background: var(--primary-gradient);
    color: var(--text-white);
    border: none;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(124, 111, 214, 0.4);
    animation: fadeInUp 1s ease-out 0.9s backwards;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(124, 111, 214, 0.6);
}

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

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--text-dark-blue);
    position: relative;
    font-weight: 800;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: var(--primary-gradient);
    margin: 1.5rem auto 0;
    border-radius: 10px;
    box-shadow: var(--glow);
}

/* 소개 섹션 - 카드 스타일 업그레이드 */
.about {
    background: transparent;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.about-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.about-card:hover::before {
    opacity: 0.05;
}

.about-card:hover {
    box-shadow: var(--shadow-xl);
}

.about-card i {
    font-size: 4rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.about-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.about-card p {
    color: var(--text-light);
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

/* 모임 일정 - 미래적 디자인 */
.schedule {
    background: transparent;
    position: relative;
}

.schedule::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,96C1248,75,1344,53,1392,42.7L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    opacity: 0.5;
}

.schedule .section-title {
    color: var(--text-dark-blue);
}

.schedule .section-title::after {
    background: var(--primary-gradient);
}

.schedule .container {
    display: grid;
    gap: 2rem;
}

.schedule-card {
    background: #ffffff;
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.schedule-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.schedule-header {
    text-align: center;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--border-light);
}

.schedule-header h3 {
    font-size: 1.8rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.schedule-header i {
    font-size: 2rem;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 1.5rem;
    border-bottom: 2px solid var(--border-light);
    border-radius: 15px;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
}

.schedule-item i {
    font-size: 2.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    min-width: 60px;
    text-align: center;
}

.schedule-item h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.schedule-item p {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

/* 기도 제목 & 간증 - 글래스모피즘 폼 */
.prayers, .testimonies {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

/* 회원가입 섹션 */
.register {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    position: relative;
}

/* 로그인 섹션 */
.login {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    position: relative;
}

.login-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.login-intro p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 0.5rem 0;
    font-weight: 500;
}

.login-intro p:first-child {
    font-size: 1.4rem;
    font-weight: 700;
}

.login-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 25px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(255, 255, 255, 0.5);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.login-form-container h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-align: center;
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-light);
}

.login-footer p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.link-text {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.link-text:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* 보호된 콘텐츠 */
.protected-section {
    min-height: 400px;
}

.auth-required-message {
    text-align: center;
    padding: 5rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.auth-required-message i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.auth-required-message p {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 600;
}

.register-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.register-intro p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 0.5rem 0;
    font-weight: 500;
}

.register-intro p:first-child {
    font-size: 1.4rem;
    font-weight: 700;
}

.register-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 25px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(255, 255, 255, 0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.register-form-container h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-align: center;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.7rem;
}

.required {
    color: #f56565;
    font-weight: 700;
}

.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.7rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.radio-label:hover {
    color: var(--primary-color);
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-actions-center {
    text-align: center;
    margin-top: 2.5rem;
}

.member-list-section {
    margin-top: 4rem;
}

.member-list-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 700;
    text-align: center;
}

.member-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.5rem;
    max-width: 90%;
    margin: 0 auto;
}

.member-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.8rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.member-card.admin-member {
    border-left: 5px solid var(--gold-color);
    background: linear-gradient(135deg, rgba(246, 211, 101, 0.08), rgba(253, 160, 133, 0.08));
}

.member-card:hover {
    box-shadow: var(--shadow-xl);
}

.member-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
}

.member-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.member-icon.admin-icon {
    background: var(--gold-gradient);
    box-shadow: 0 4px 15px rgba(246, 211, 101, 0.4);
}

.member-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.member-admin-badge {
    display: inline-block;
    background: var(--gold-gradient);
    color: var(--text-white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 0.3rem;
    margin-right: 6px;
    box-shadow: 0 2px 8px rgba(246, 211, 101, 0.4);
    white-space: nowrap;
}

.member-info {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.member-info-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.member-info-item i {
    color: var(--primary-color);
    width: 20px;
}

.member-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-light);
    text-align: right;
}

.prayer-form-container,
.testimony-form-container {
    background: #ffffff;
    padding: 3rem;
    border-radius: 25px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.prayer-form-container h3,
.testimony-form-container h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-purple);
    font-weight: 700;
}

.input-field,
.textarea-field {
    width: 100%;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: var(--text-dark);
}

.input-field::placeholder,
.textarea-field::placeholder {
    color: #b0b0b0;
}

.input-field:focus,
.textarea-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 111, 214, 0.1);
}

.textarea-field {
    min-height: 180px;
    resize: vertical;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    color: var(--primary-color);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.submit-button {
    background: var(--primary-gradient);
    color: var(--text-white);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(124, 111, 214, 0.3);
    letter-spacing: 0.5px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 111, 214, 0.5);
}

/* 기도 제목 & 간증 목록 - 프리미엄 카드 */
.prayer-list,
.testimony-list,
.notice-list {
    display: grid;
    gap: 2rem;
}

.prayer-item,
.testimony-item,
.notice-item {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 5px solid;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-left-width: 5px;
}

.prayer-item {
    border-left-color: var(--primary-color);
}

.testimony-item {
    border-left-color: #f5576c;
}

.prayer-item::before,
.testimony-item::before,
.notice-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-gradient);
}

.prayer-item:hover,
.testimony-item:hover,
.notice-item:hover {
    box-shadow: var(--shadow-xl);
}

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

.item-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.item-meta {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.item-meta i {
    color: var(--primary-color);
}

.item-content {
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.item-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-light);
}

.action-button {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-light);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
}

.action-button:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

.action-button.delete:hover {
    background-color: #f56565;
    border-color: #f56565;
}

.action-button.pray-btn {
    background: var(--primary-gradient);
    color: var(--text-white);
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.action-button.pray-btn:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.action-button.pray-btn.prayed {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.action-button.pray-btn.prayed:hover {
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

/* 간증 좋아요 버튼 - 페이스북 스타일 */
.action-button.like-btn {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.action-button.like-btn:hover {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-color: #4facfe;
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.action-button.like-btn.liked {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-color: #4facfe;
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.action-button.like-btn.liked:hover {
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.5);
    transform: translateY(-2px) scale(1.02);
}

.action-button.like-btn i {
    transition: transform 0.3s ease;
}

.action-button.like-btn.liked i {
    animation: heartBeat 0.5s ease;
}

/* 간증 좋아요 카운트 */
.testimony-like-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1), rgba(0, 242, 254, 0.1));
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 700;
    color: #4facfe;
    font-size: 0.95rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.testimony-like-count i {
    font-size: 1.1rem;
    color: #4facfe;
}

/* 수정 버튼 스타일 */
.action-button.edit {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.action-button.edit:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-white);
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
}

.modal-header h3 {
    font-size: 1.8rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: var(--border-light);
    color: var(--text-dark);
    transform: rotate(90deg);
}

/* 모달 애니메이션 */
@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 하트 비트 애니메이션 */
@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(1.1);
    }
    75% {
        transform: scale(1.25);
    }
}

.prayer-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.prayer-count i {
    font-size: 1.1rem;
}

/* 공지사항 */
.notices {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.notice-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 25px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.notice-form-container h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.notice-item {
    border-left-color: var(--gold-color);
}

.notice-badge {
    background: var(--gold-gradient);
    color: var(--text-white);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(246, 211, 101, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 관리자 페이지 */
.admin {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
}

.admin-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
}

.admin-intro p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 0.5rem 0;
    font-weight: 500;
}

.admin-intro p:first-child {
    font-size: 1.5rem;
    font-weight: 700;
}

.admin-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.admin-section h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow);
}

.stat-card:hover {
    box-shadow: var(--shadow-xl);
}

.stat-card i {
    font-size: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-info h4 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 로딩 */
.loading {
    text-align: center;
    padding: 4rem;
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 500;
}

/* 푸터 - 다크 모드 */
footer {
    background: var(--bg-dark);
    color: var(--text-white);
    text-align: center;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(102, 126, 234, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(118, 75, 162, 0.2) 0%, transparent 50%);
}

footer p {
    margin: 0.7rem 0;
    position: relative;
    z-index: 1;
}

footer p:first-child {
    font-style: italic;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 맨 위로 버튼 - 네온 효과 */
.scroll-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: var(--primary-gradient);
    color: var(--text-white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top-btn:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: var(--glow), 0 12px 35px rgba(102, 126, 234, 0.6);
}

.scroll-top-btn.show {
    display: flex;
    animation: bounceIn 0.5s ease-out;
}

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

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

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

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

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

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in-up {
    animation: fadeInUp 0.7s ease-out;
}

/* 햄버거 메뉴 버튼 (기본 숨김) */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 35px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1100;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    margin-left: auto;
}

.hamburger-menu span {
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
    pointer-events: none;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
    background: var(--secondary-color);
}

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

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

/* 반응형 디자인 */

/* Z플립 5 최적화 (412px - 긴 세로형 화면) */
@media (max-width: 430px) and (min-height: 850px) {
    /* 긴 화면을 고려한 섹션 간격 */
    section {
        padding: 70px 0;
    }
    
    /* 네비게이션 메뉴 최적화 */
    .nav-menu {
        top: 65px;
    }
    
    .nav-menu.active {
        max-height: calc(100vh - 65px);
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero {
        padding: 100px 0;
        min-height: 80vh;
        display: flex;
        align-items: center;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-content h3 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .verse {
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
    }
    
    .cta-button {
        padding: 1.1rem 2.5rem;
        font-size: 1.05rem;
    }
    
    /* 네비게이션 최적화 */
    header {
        padding: 0.8rem 0;
    }
    
    .nav-menu {
        gap: 0.3rem;
    }
    
    .nav-link {
        padding: 0.55rem 0.9rem;
        font-size: 0.88rem;
    }
    
    /* 카드 레이아웃 최적화 */
    .about-card,
    .prayer-item,
    .testimony-item,
    .notice-item,
    .member-card {
        padding: 2rem 1.5rem;
    }
    
    /* 폼 요소 터치 친화적 크기 */
    .input-field,
    .textarea-field {
        padding: 1.1rem 1.3rem;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    .submit-button,
    .action-button {
        min-height: 48px; /* 터치 최소 크기 */
        padding: 0.8rem 1.5rem;
    }
    
    /* 스크롤 버튼 위치 조정 */
    .scroll-top-btn {
        bottom: 30px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    /* 텍스트 가독성 향상 */
    .item-content,
    .about-card p {
        font-size: 1.05rem;
        line-height: 1.8;
    }
    
    /* 사용자 정보 영역 */
    .user-info {
        padding: 0.6rem 1.2rem;
        font-size: 0.88rem;
    }
    
    .welcome-text {
        font-size: 0.88rem;
    }
    
    .logout-btn {
        padding: 0.45rem 1rem;
        font-size: 0.85rem;
    }
}

/* Z플립 등 소형 스마트폰 최적화 (400px 이하) */
@media (max-width: 400px) {
    .container {
        padding: 0 15px;
    }
    
    /* 네비게이션 메뉴 최적화 */
    .nav-menu {
        top: 60px;
    }
    
    .nav-menu.active {
        max-height: calc(100vh - 60px);
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    .nav-link {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
    
    .hero-content h3 {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .verse {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .about-card {
        padding: 2rem 1.5rem;
    }
    
    .about-card i {
        font-size: 3rem;
    }
    
    .about-card h3 {
        font-size: 1.4rem;
    }
    
    .schedule-card {
        padding: 1.5rem;
    }
    
    .schedule-header h3 {
        font-size: 1.5rem;
    }
    
    .schedule-item i {
        font-size: 2rem;
    }
    
    .input-field,
    .textarea-field {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .submit-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    .item-title {
        font-size: 1.3rem;
    }
    
    .item-content {
        font-size: 1rem;
    }
    
    .action-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .member-card {
        padding: 1.5rem;
    }
    
    .user-info {
        padding: 0.5rem 1rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .welcome-text {
        font-size: 0.85rem;
    }
    
    .logout-btn {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
    
    .admin-badge,
    .member-admin-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
}

/* 태블릿 및 일반 모바일 (768px 이하) */
@media (max-width: 768px) {
    header {
        padding: 0.5rem 0;
    }
    
    .navbar .container {
        flex-direction: column;
        gap: 0;
        padding: 0 15px;
    }
    
    .navbar-left {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        position: relative;
    }
    
    .logo {
        justify-content: flex-start;
        padding: 0.5rem 0;
        order: 1;
        flex: 1;
    }
    
    .logo i {
        font-size: 1.3rem;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    /* 햄버거 메뉴 버튼 표시 */
    .hamburger-menu {
        display: flex;
        position: relative;
        z-index: 1100;
        order: 2;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 8px;
        padding: 8px;
    }
    
    /* 메뉴를 세로 드롭다운으로 */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 0;
        list-style: none;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        max-height: calc(100vh - 70px);
        padding: 1rem 0;
        opacity: 1;
        visibility: visible;
    }
    
    /* 스크롤바 스타일링 (Webkit 브라우저) */
    .nav-menu::-webkit-scrollbar {
        width: 6px;
    }
    
    .nav-menu::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 3px;
    }
    
    .nav-menu::-webkit-scrollbar-thumb:hover {
        background: var(--secondary-color);
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        white-space: nowrap;
        text-align: left;
        width: 100%;
        border-radius: 0;
        transform: none !important;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: var(--primary-gradient);
        color: var(--text-white);
        transform: none !important;
    }
    
    .nav-link::before {
        display: none;
    }
    
    .user-info {
        width: 100%;
        justify-content: center;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
        gap: 0.4rem;
    }
    
    .welcome-text {
        font-size: 0.75rem;
    }
    
    .admin-badge {
        padding: 0.18rem 0.5rem;
        font-size: 0.65rem;
    }
    
    .logout-btn {
        padding: 0.3rem 0.7rem;
        font-size: 0.7rem;
    }
    
    /* 언어 전환 버튼 모바일 */
    .language-switcher {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
        padding: 0.4rem;
    }
    
    .lang-btn {
        flex: 1;
        padding: 0.5rem 0.6rem;
        font-size: 0.75rem;
    }

    .hero {
        padding: 20px 0 30px 0;
    }

    .hero-content h2 {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }

    .hero-content h3 {
        font-size: 2.2rem;
        margin-bottom: 0.4rem;
    }

    .verse {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
        line-height: 1.4;
    }
    
    .cta-button {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .schedule-card {
        padding: 2rem;
    }

    .schedule-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .item-header {
        flex-direction: column;
    }

    .item-actions {
        flex-wrap: wrap;
    }

    .scroll-top-btn {
        width: 50px;
        height: 50px;
        bottom: 25px;
        right: 25px;
    }
}
