:root {
    --navy: #1a2840;
    --red: #e63946;
    --blue: #1e88e5;
    --light-blue: #4fc3f7;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --dark-gray: #2d3748;
    --text-gray: #4a5568;
    --nav-bg: rgba(26, 40, 64, 0.95);
    --card-bg: #ffffff;
}

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--dark-gray);
    overflow-x: hidden;
    background: var(--white);
    transition: background 0.3s, color 0.3s;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: background 0.3s;
}

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

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--white);
    letter-spacing: -1px;
}

.logo .heart {
    color: var(--red);
    font-size: 1.5rem;
    display: inline-block;
    animation: heartbeat 1.5s infinite;
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.3s;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
}

.login-btn {
    background: var(--red);
    color: var(--white);
    padding: 0.7rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Noto Sans KR', sans-serif;
}

.login-btn:hover {
    background: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.3);
}

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.03) 49%, rgba(255,255,255,0.03) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255,255,255,0.03) 49%, rgba(255,255,255,0.03) 51%, transparent 52%);
    background-size: 30px 30px;
    opacity: 0.5;
}

.diagonal-stripe {
    position: absolute;
    width: 200%;
    height: 150px;
    background: var(--red);
    transform: rotate(-5deg);
    top: 40%;
    left: -50%;
    opacity: 0.15;
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% { transform: translateX(0) rotate(-5deg); }
    100% { transform: translateX(50%) rotate(-5deg); }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -3px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--light-blue);
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-description {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.cta-btn {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Noto Sans KR', sans-serif;
}

.cta-primary {
    background: var(--red);
    color: var(--white);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
}

.cta-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-secondary:hover {
    background: var(--white);
    color: var(--navy);
}

.stats-section {
    background: var(--navy);
    padding: 4rem 2rem;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--light-blue);
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

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

.section {
    padding: 6rem 2rem;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--navy);
    letter-spacing: -2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 4rem;
}

.schedule-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.schedule-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--red), var(--blue));
}

.schedule-card.special::before {
    background: linear-gradient(90deg, var(--blue), var(--light-blue));
}

.schedule-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.schedule-day {
    font-size: 2rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 1rem;
}

.schedule-time {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--red);
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.schedule-location {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.location-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--light-blue);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.join-run-btn {
    width: 100%;
    padding: 1rem;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Noto Sans KR', sans-serif;
}

.join-run-btn:hover {
    background: var(--red);
    transform: scale(1.05);
}

.membership-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: var(--white);
}

.membership-cards {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.membership-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.membership-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
    border-color: var(--red);
}

.membership-type {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.membership-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--light-blue);
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.membership-period {
    opacity: 0.8;
    margin-bottom: 2rem;
}

.membership-features {
    list-style: none;
    margin-bottom: 2rem;
}

.membership-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.membership-features li::before {
    content: '✓';
    color: var(--red);
    font-weight: 900;
    margin-right: 0.8rem;
}

.membership-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Noto Sans KR', sans-serif;
}

.membership-btn:hover {
    background: var(--white);
    color: var(--navy);
}

.guide-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.guide-tab {
    padding: 1rem 2rem;
    background: var(--card-bg);
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--dark-gray);
}

.guide-tab.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.guide-content-area {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    max-width: 1200px;
    margin: 0 auto;
}

.guide-content {
    display: none;
}

.guide-content.active {
    display: block;
}

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

.guide-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
}

.guide-card h4 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 700;
}

.guide-card ul {
    list-style: none;
    padding-left: 0;
}

.guide-card li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    line-height: 1.8;
    position: relative;
    padding-left: 1.5rem;
}

.guide-card li::before {
    content: '•';
    color: var(--red);
    font-weight: 900;
    position: absolute;
    left: 0;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.location-info h3 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.location-details {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.location-item {
    display: flex;
    align-items: start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.location-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.location-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--red);
    min-width: 30px;
}

.map-placeholder {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    border-radius: 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
}

.dashboard-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.dashboard-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.card-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 2rem;
}

.chart-container {
    margin-bottom: 2rem;
}

.month-bars {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.month-bar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.month-bar {
    width: 100%;
    background: var(--blue);
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.month-bar:hover {
    background: var(--red);
    transform: translateY(-5px);
}

.month-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
    font-weight: 600;
}

.stats-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
}

.stat-box {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
}

.stat-value.red { color: var(--red); }
.stat-value.blue { color: var(--blue); }
.stat-value.navy { color: var(--navy); }

.stat-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.leaderboard {
    list-style: none;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    margin-bottom: 0.8rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s;
}

.leaderboard-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.rank {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    color: var(--navy);
    min-width: 50px;
}

.rank.gold { color: #FFD700; }
.rank.silver { color: #C0C0C0; }
.rank.bronze { color: #CD7F32; }

.runner-info {
    flex: 1;
}

.runner-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.3rem;
}

.runner-count {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--red);
    font-family: 'Montserrat', sans-serif;
}

/* AdSense Ads */
.ad-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    text-align: center;
    background: var(--light-gray);
    border-radius: 15px;
    min-height: 100px;
}

.ad-container ins {
    display: block;
    min-height: 90px;
}

/* About Section */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-story,
.about-values,
.about-achievements,
.about-team,
.about-contact {
    margin-bottom: 4rem;
}

.about-story h3,
.about-values h3,
.about-achievements h3,
.about-team h3,
.about-contact h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.about-story p,
.about-team p,
.about-contact p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

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

.value-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.12);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.achievements-timeline {
    margin-top: 2rem;
    position: relative;
    padding-left: 2rem;
}

.achievements-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--red), var(--blue));
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 5px;
    width: 15px;
    height: 15px;
    background: var(--red);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--light-gray);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--blue);
    font-family: 'Montserrat', sans-serif;
    min-width: 80px;
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.team-roles {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.team-roles li {
    padding: 1rem;
    margin-bottom: 0.8rem;
    background: var(--light-gray);
    border-radius: 10px;
    font-size: 1.05rem;
    color: var(--text-gray);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-item {
    padding: 1.2rem;
    background: var(--light-gray);
    border-radius: 10px;
    font-size: 1.05rem;
}

/* Legal Pages (Privacy, Terms) */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.legal-update {
    text-align: right;
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--red);
}

.legal-section p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.legal-section ul,
.legal-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 0.8rem;
}

.legal-section ul li {
    list-style-type: disc;
}

.legal-section ol {
    counter-reset: item;
}

.legal-section ol > li {
    display: block;
    margin-bottom: 1.2rem;
}

.legal-section ol > li::before {
    content: counters(item, ".") ". ";
    counter-increment: item;
    font-weight: 700;
    color: var(--navy);
}

/* Contact Page */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-intro h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.contact-intro p {
    font-size: 1.1rem;
    color: var(--text-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.12);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-block;
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Noto Sans KR', sans-serif;
}

.contact-link:hover {
    color: var(--red);
    transform: scale(1.05);
}

.faq-section {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 20px;
}

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

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.faq-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.8rem;
}

.faq-item p {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Community Section */
.community-container {
    max-width: 1200px;
    margin: 0 auto;
}

.community-intro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.intro-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s;
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.intro-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.intro-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.intro-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1rem;
}

.community-guidelines {
    background: linear-gradient(135deg, var(--light-blue), var(--blue));
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    color: var(--white);
}

.community-guidelines h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.community-guidelines ul {
    list-style: none;
    padding-left: 0;
}

.community-guidelines li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.8;
    font-size: 1.05rem;
}

.community-guidelines li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 900;
    color: var(--white);
    font-size: 1.2rem;
}

.disqus-wrapper {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.disqus-wrapper h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2rem;
}

#disqus_thread {
    min-height: 400px;
}

/* Partnership Section */
.partnership-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.partnership-info h3 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 2rem;
}

.partnership-areas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.area-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.area-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.area-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.area-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.partnership-benefits {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.partnership-benefits h4 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.partnership-benefits ul {
    list-style: none;
    padding-left: 0;
}

.partnership-benefits li {
    padding: 0.8rem 0;
    color: var(--text-gray);
    line-height: 1.8;
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.partnership-benefits li:last-child {
    border-bottom: none;
}

.partnership-benefits li::before {
    content: '✓';
    color: var(--red);
    font-weight: 900;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.partnership-form-wrapper {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.partnership-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.required {
    color: var(--red);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Noto Sans KR', sans-serif;
    transition: all 0.3s;
    background: var(--white);
    color: var(--dark-gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    padding: 1.2rem 2rem;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Noto Sans KR', sans-serif;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(30, 136, 229, 0.3);
}

.submit-btn:disabled {
    background: var(--text-gray);
    cursor: not-allowed;
    transform: none;
}

.form-status {
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

footer {
    background: var(--navy);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
}

.hidden {
    display: none;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 1rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s;
    line-height: 1;
}

.theme-toggle:hover {
    background: rgba(255,255,255,0.1);
}

/* Dark Mode Overrides */
body.dark-mode {
    --white: #1a202c;
    --light-gray: #2d3748;
    --dark-gray: #e2e8f0;
    --text-gray: #a0aec0;
    --nav-bg: rgba(26, 32, 44, 0.95);
    --card-bg: #2d3748;
    --navy: #cbd5e0; /* Makes dark text light in dark mode */
}

/* Specific Dark Mode Tweaks */
body.dark-mode .nav-links a, 
body.dark-mode .mobile-menu-btn {
    color: #e2e8f0;
}

body.dark-mode .logo {
    color: #e2e8f0;
}

/* Keep hero text white/light as it has dark bg */
body.dark-mode .hero-title,
body.dark-mode .hero-subtitle, 
body.dark-mode .hero-description {
    /* These inherit from parent or have specific colors that might need checking */
    /* Hero bg uses linear-gradient of original navy/blue variables. 
       If we change navy variable, we change hero bg. 
       Let's check: in dark mode --navy is #cbd5e0 (light). 
       This will make hero background light! We don't want that.
    */
    /* Fix: Restore Navy for Hero Background in Dark Mode */
}

body.dark-mode .hero {
    /* Use hardcoded dark colors for hero in dark mode to keep it looking 'cool' */
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}

body.dark-mode .hero-title { color: #ffffff; }
body.dark-mode .hero-subtitle { color: #60a5fa; }
body.dark-mode .hero-description { color: rgba(255,255,255,0.9); }

/* Section titles need to be visible */
body.dark-mode .section-title {
    color: #e2e8f0;
}

/* Stats section */
body.dark-mode .stats-section {
    background: #0f172a;
}

/* Membership */
body.dark-mode .membership-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}

/* Footer */
body.dark-mode footer {
    background: #0f172a;
    color: #e2e8f0;
}

/* Text colors that used --navy */
body.dark-mode .schedule-day,
body.dark-mode .location-info h3,
body.dark-mode .card-title,
body.dark-mode .guide-card h4,
body.dark-mode .rank,
body.dark-mode .runner-name,
body.dark-mode strong {
    color: #e2e8f0;
}

body.dark-mode .stat-value.navy {
    color: #e2e8f0;
}

/* Ad container dark mode */
body.dark-mode .ad-container {
    background: #2d3748;
}

/* About dark mode */
body.dark-mode .about-story h3,
body.dark-mode .about-values h3,
body.dark-mode .about-achievements h3,
body.dark-mode .about-team h3,
body.dark-mode .about-contact h3,
body.dark-mode .value-card h4,
body.dark-mode .timeline-content h4 {
    color: #e2e8f0;
}

/* Legal dark mode */
body.dark-mode .legal-section h3 {
    color: #e2e8f0;
    border-bottom-color: var(--red);
}

/* Contact dark mode */
body.dark-mode .contact-intro h3,
body.dark-mode .contact-card h4,
body.dark-mode .faq-section h3,
body.dark-mode .faq-item h4 {
    color: #e2e8f0;
}

/* Community dark mode */
body.dark-mode .intro-card h3,
body.dark-mode .disqus-wrapper h3 {
    color: #e2e8f0;
}

/* Partnership dark mode */
body.dark-mode .partnership-info h3,
body.dark-mode .area-title,
body.dark-mode .partnership-benefits h4,
body.dark-mode .form-group label {
    color: #e2e8f0;
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background: #1a202c;
    color: #e2e8f0;
    border-color: #4a5568;
}

/* Responsive */
@media (max-width: 1024px) {
    .location-container { grid-template-columns: 1fr; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .partnership-container { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .ad-container {
        margin: 2rem auto;
        padding: 1rem;
    }

    .values-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .achievements-timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .timeline-year {
        min-width: auto;
    }

    .legal-container {
        padding: 0 0.5rem;
    }

    .faq-section {
        padding: 2rem 1.5rem;
    }

    nav { padding: 1rem; }
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--nav-bg);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s;
    }
    .nav-links.active { left: 0; }
    .mobile-menu-btn { display: block; }
    .login-btn { padding: 0.5rem 1.2rem; font-size: 0.9rem; }
    .hero { padding-top: 100px; min-height: 90vh; }
    .hero-content { padding: 0 1.5rem; }
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { font-size: 1.5rem; }
    .hero-description { font-size: 1.1rem; }
    .cta-buttons { flex-direction: column; width: 100%; }
    .cta-btn { width: 100%; padding: 1rem 2rem; }
    .section-title { font-size: 2.5rem; }
    .section-subtitle { font-size: 1.1rem; padding: 0 1rem; }
    .stats-container { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .stat-number { font-size: 2.8rem; }
    .schedule-grid { grid-template-columns: 1fr; }
    .guide-tabs { gap: 0.5rem; }
    .guide-tab { padding: 0.8rem 1.2rem; font-size: 0.9rem; }
    .guide-content-area { padding: 1.5rem; }
    .guide-grid { grid-template-columns: 1fr; }
    .membership-cards { grid-template-columns: 1fr; }
    .month-bars { grid-template-columns: repeat(6, 1fr); }
    .month-bar { height: 80px !important; }
    .stats-summary { grid-template-columns: 1fr; gap: 1rem; }
    .location-details { padding: 1.5rem; }
    .map-placeholder { min-height: 300px; font-size: 1.5rem; }
    .community-intro { grid-template-columns: 1fr; }
    .disqus-wrapper { padding: 2rem; }
    .partnership-areas { grid-template-columns: 1fr; }
    .partnership-form-wrapper { padding: 2rem; }
}

@media (max-width: 480px) {
    .logo { font-size: 1.4rem; }
    .logo .heart { font-size: 1.2rem; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .section-title { font-size: 2rem; }
    .stat-number { font-size: 2.2rem; }
    .schedule-time { font-size: 2rem; }
    .community-guidelines { padding: 1.5rem; }
    .disqus-wrapper { padding: 1.5rem; }
    .disqus-wrapper h3 { font-size: 1.5rem; }
}