/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f4f8;
    position: relative;
    overflow-x: hidden;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* Color Variables */
:root {
    --primary-color: #003f5c;
    --secondary-color: #00bcd4;
    --light-bg: #f0f4f8;
    --white: #ffffff;
    --dark-text: #333333;
    --light-text: #666666;
    --accent-color: #ff6b6b;
}

/* Subtle Background Elements */
.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

/* Subtle Corner Decorations */
.corner-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.03;
    background: radial-gradient(
        circle, 
        var(--secondary-color) 0%, 
        transparent 70%
    );
    border-radius: 50%;
}

.corner-decoration:nth-child(1) {
    top: -100px;
    left: -100px;
}

.corner-decoration:nth-child(2) {
    top: -100px;
    right: -100px;
}

.corner-decoration:nth-child(3) {
    bottom: -100px;
    left: -100px;
}

.corner-decoration:nth-child(4) {
    bottom: -100px;
    right: -100px;
}

/* Subtle Grid Pattern */
.background-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 188, 212, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 188, 212, 0.01) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Floating Dots */
.floating-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.4;
    animation: gentleFloat 3s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.3);
}

.floating-dot:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-dot:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 0.5s;
}

.floating-dot:nth-child(3) {
    top: 60%;
    left: 25%;
    animation-delay: 1s;
}

.floating-dot:nth-child(4) {
    top: 80%;
    right: 30%;
    animation-delay: 1.5s;
}

.floating-dot:nth-child(5) {
    top: 40%;
    left: 70%;
    animation-delay: 2s;
}

.floating-dot:nth-child(6) {
    top: 70%;
    right: 60%;
    animation-delay: 2.5s;
}

.floating-dot:nth-child(7) {
    top: 15%;
    left: 50%;
    animation-delay: 0.2s;
}

.floating-dot:nth-child(8) {
    top: 85%;
    left: 60%;
    animation-delay: 1.2s;
}

.floating-dot:nth-child(9) {
    top: 50%;
    right: 5%;
    animation-delay: 0.8s;
}

.floating-dot:nth-child(10) {
    top: 25%;
    left: 80%;
    animation-delay: 1.8s;
}

.floating-dot:nth-child(11) {
    top: 5%;
    left: 30%;
    animation-delay: 0.3s;
}

.floating-dot:nth-child(12) {
    top: 35%;
    right: 40%;
    animation-delay: 2.3s;
}

.floating-dot:nth-child(13) {
    top: 95%;
    left: 15%;
    animation-delay: 1.1s;
}

.floating-dot:nth-child(14) {
    top: 55%;
    left: 45%;
    animation-delay: 0.7s;
}

.floating-dot:nth-child(15) {
    top: 75%;
    right: 20%;
    animation-delay: 2.7s;
}

/* Floating Circles */
.floating-circle {
    position: absolute;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: circleFloat 4s infinite ease-in-out;
}

.floating-circle:nth-child(1) {
    width: 30px;
    height: 30px;
    top: 10%;
    right: 20%;
    animation-delay: 0s;
}

.floating-circle:nth-child(2) {
    width: 40px;
    height: 40px;
    top: 45%;
    left: 5%;
    animation-delay: 1s;
}

.floating-circle:nth-child(3) {
    width: 25px;
    height: 25px;
    top: 75%;
    right: 10%;
    animation-delay: 2s;
}

.floating-circle:nth-child(4) {
    width: 35px;
    height: 35px;
    top: 20%;
    left: 40%;
    animation-delay: 0.5s;
}

/* Floating Triangles */
.floating-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid var(--primary-color);
    opacity: 0.25;
    animation: triangleRotate 5s infinite linear;
}

.floating-triangle:nth-child(1) {
    top: 35%;
    right: 30%;
    animation-delay: 0s;
}

.floating-triangle:nth-child(2) {
    top: 65%;
    left: 15%;
    animation-delay: 1.5s;
}

.floating-triangle:nth-child(3) {
    top: 90%;
    right: 50%;
    animation-delay: 3s;
}

/* Data Lines */
.data-line {
    position: absolute;
    width: 60px;
    height: 2px;
    background: linear-gradient(
        to right, 
        transparent, 
        var(--secondary-color), 
        transparent
    );
    opacity: 0.4;
    animation: lineSlide 6s infinite ease-in-out;
}

.data-line:nth-child(1) {
    top: 55%;
    left: 20%;
    animation-delay: 0s;
    transform: rotate(15deg);
}

.data-line:nth-child(2) {
    top: 25%;
    right: 25%;
    animation-delay: 2s;
    transform: rotate(-30deg);
}

.data-line:nth-child(3) {
    top: 80%;
    left: 50%;
    animation-delay: 4s;
    transform: rotate(45deg);
}

/* Gentle Pulse Effect */
.corner-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.05;
    background: radial-gradient(
        circle, 
        var(--secondary-color) 0%, 
        transparent 70%
    );
    border-radius: 50%;
    animation: subtlePulse 4s infinite ease-in-out;
}

/* Ocean Wave Background */
.ocean-wave {
    position: absolute;
    bottom: -50px;
    left: -50%;
    width: 200%;
    height: 200px;
    background: linear-gradient(to right, 
        rgba(0, 188, 212, 0.1) 0%, 
        rgba(0, 63, 92, 0.05) 25%, 
        rgba(0, 188, 212, 0.1) 50%, 
        rgba(0, 63, 92, 0.05) 75%, 
        rgba(0, 188, 212, 0.1) 100%);
    border-radius: 50%;
    animation: waveMotion 20s infinite ease-in-out;
}

.ocean-wave:nth-child(2) {
    animation-delay: -5s;
    animation-duration: 25s;
    opacity: 0.5;
}

.ocean-wave:nth-child(3) {
    animation-delay: -10s;
    animation-duration: 30s;
    opacity: 0.3;
}

/* Floating DNA/Data Helix */
.data-helix {
    position: absolute;
    width: 100px;
    height: 100px;
    animation: helixFloat 30s infinite ease-in-out;
}

.helix-strand {
    position: absolute;
    width: 4px;
    height: 80px;
    background: linear-gradient(to bottom, var(--secondary-color), transparent);
    border-radius: 2px;
    transform-origin: 50% 100%;
    animation: helixRotate 8s infinite linear;
}

.helix-strand:nth-child(2) {
    animation-delay: -2s;
    transform: rotateY(60deg);
}

.helix-strand:nth-child(3) {
    animation-delay: -4s;
    transform: rotateY(120deg);
}

/* Marine Life Silhouettes */
.marine-silhouette {
    position: absolute;
    width: 40px;
    height: 20px;
    background: var(--primary-color);
    opacity: 0.1;
    border-radius: 50% 0 50% 0;
    animation: swimAcross 40s infinite linear;
    transform-style: preserve-3d;
}

.marine-silhouette::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    width: 0;
    height: 0;
    border-left: 15px solid var(--primary-color);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    transform: translateY(-50%);
}

.marine-silhouette:nth-child(even) {
    animation-duration: 50s;
    animation-delay: -20s;
    opacity: 0.08;
    width: 60px;
    height: 30px;
}

/* Geometric Data Crystals */
.data-crystal {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    opacity: 0.3;
    animation: crystalFloat 12s infinite ease-in-out;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.data-crystal:nth-child(2n) {
    clip-path: polygon(30% 0%, 0% 50%, 30% 100%, 70% 100%, 100% 50%, 70% 0%);
    animation-duration: 15s;
}

.data-crystal:nth-child(3n) {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation-duration: 18s;
}



/* Gentle Animation Keyframes */
@keyframes gentleFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.4;
    }
    50% { 
        transform: translateY(-20px) scale(1.2);
        opacity: 0.8;
    }
}

@keyframes subtlePulse {
    0%, 100% { 
        opacity: 0.05;
        transform: scale(1);
    }
    50% { 
        opacity: 0.1;
        transform: scale(1.2);
    }
}

@keyframes circleFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-15px) scale(1.1);
        opacity: 0.5;
    }
    75% { 
        transform: translateY(10px) scale(0.9);
        opacity: 0.4;
    }
}

@keyframes triangleRotate {
    0% { 
        transform: rotate(0deg) translateY(0px);
        opacity: 0.25;
    }
    25% { 
        transform: rotate(90deg) translateY(-10px);
        opacity: 0.4;
    }
    50% { 
        transform: rotate(180deg) translateY(0px);
        opacity: 0.3;
    }
    75% { 
        transform: rotate(270deg) translateY(10px);
        opacity: 0.4;
    }
    100% { 
        transform: rotate(360deg) translateY(0px);
        opacity: 0.25;
    }
}

@keyframes lineSlide {
    0%, 100% { 
        transform: translateX(-20px) scaleX(1);
        opacity: 0.4;
    }
    50% { 
        transform: translateX(20px) scaleX(1.2);
        opacity: 0.7;
    }
}

@keyframes waveMotion {
    0%, 100% { 
        transform: translateX(0) rotateZ(0deg); 
    }
    50% { 
        transform: translateX(50px) rotateZ(5deg); 
    }
}

@keyframes helixFloat {
    0%, 100% { 
        transform: translateY(0) rotateY(0deg); 
    }
    50% { 
        transform: translateY(-30px) rotateY(180deg); 
    }
}

@keyframes helixRotate {
    0% { 
        transform: rotateZ(0deg) rotateX(0deg); 
    }
    100% { 
        transform: rotateZ(360deg) rotateX(360deg); 
    }
}

@keyframes swimAcross {
    0% { 
        transform: translateX(-100px) translateY(0) rotateY(0deg); 
        opacity: 0; 
    }
    10% { 
        opacity: 0.1; 
    }
    50% { 
        transform: translateX(50vw) translateY(-20px) rotateY(10deg); 
    }
    90% { 
        opacity: 0.1; 
    }
    100% { 
        transform: translateX(calc(100vw + 100px)) translateY(0) rotateY(0deg); 
        opacity: 0; 
    }
}

@keyframes crystalFloat {
    0%, 100% { 
        transform: translateY(0) rotateZ(0deg) rotateX(0deg); 
    }
    33% { 
        transform: translateY(-20px) rotateZ(120deg) rotateX(60deg); 
    }
    66% { 
        transform: translateY(10px) rotateZ(240deg) rotateX(120deg); 
    }
}

/* Additional Ocean Elements */
.ocean-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), rgba(0, 188, 212, 0.1));
    opacity: 0.6;
    animation: bubbleRise 8s infinite ease-in-out;
}

.ocean-bubble:nth-child(1) { 
    width: 20px; 
    height: 20px; 
    left: 5%; 
    animation-delay: 0s; 
}

.ocean-bubble:nth-child(2) { 
    width: 15px; 
    height: 15px; 
    left: 20%; 
    animation-delay: 2s; 
}

.ocean-bubble:nth-child(3) { 
    width: 25px; 
    height: 25px; 
    left: 35%; 
    animation-delay: 4s; 
}

.ocean-bubble:nth-child(4) { 
    width: 18px; 
    height: 18px; 
    left: 50%; 
    animation-delay: 6s; 
}

.ocean-bubble:nth-child(5) { 
    width: 22px; 
    height: 22px; 
    left: 65%; 
    animation-delay: 8s; 
}

.ocean-bubble:nth-child(6) { 
    width: 16px; 
    height: 16px; 
    left: 80%; 
    animation-delay: 10s; 
}

.ocean-bubble:nth-child(7) { 
    width: 28px; 
    height: 28px; 
    left: 90%; 
    animation-delay: 12s; 
}

/* Data Network Connections */
.data-network {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, var(--secondary-color), transparent);
    opacity: 0.3;
    animation: networkPulse 6s infinite ease-in-out;
}

.data-network::before {
    content: '';
    position: absolute;
    top: 0;
    left: -2px;
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: nodePulse 2s infinite ease-in-out;
}

.data-network::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -2px;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: nodePulse 2s infinite ease-in-out;
    animation-delay: 1s;
}

/* Wave Ripples */
.wave-ripple {
    position: absolute;
    border: 2px solid rgba(0, 188, 212, 0.3);
    border-radius: 50%;
    animation: rippleExpand 4s infinite ease-out;
}

.wave-ripple:nth-child(1) {
    width: 50px;
    height: 50px;
    top: 30%;
    left: 70%;
    animation-delay: 0s;
}

.wave-ripple:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 30%;
    animation-delay: 2s;
}

.wave-ripple:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 80%;
    left: 60%;
    animation-delay: 4s;
}

/* Additional Animation Keyframes */
@keyframes bubbleRise {
    0% { 
        transform: translateY(100vh) scale(0.5);
        opacity: 0;
    }
    10% { 
        opacity: 0.6;
    }
    50% { 
        transform: translateY(50vh) scale(1);
        opacity: 0.8;
    }
    90% { 
        opacity: 0.6;
    }
    100% { 
        transform: translateY(-100px) scale(0.3);
        opacity: 0;
    }
}

@keyframes networkPulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scaleY(1);
    }
    50% { 
        opacity: 0.7;
        transform: scaleY(1.2);
    }
}

@keyframes nodePulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.5);
        opacity: 1;
    }
}

@keyframes rippleExpand {
    0% { 
        transform: scale(0.3);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1);
        opacity: 0.4;
    }
    100% { 
        transform: scale(2);
        opacity: 0;
    }
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 63, 92, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 63, 92, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 60px;
    gap: 3rem;
}

.nav-logo {
    flex-shrink: 0;
    min-width: 0;
    flex: 0 1 auto;
    max-width: 300px;
}

.nav-logo h2 {
    color: var(--white);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.nav-logo h2 .year {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 800;
    color: var(--secondary-color) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.nav-logo h2 .title {
    font-size: clamp(0.7rem, 2vw, 1rem);
    font-weight: 500;
    white-space: nowrap;
    margin-top: -2px;
    background: linear-gradient(45deg, #ffffff, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo h2:hover {
    transform: scale(1.05);
}

.nav-logo h2:hover .year {
    transform: scale(1.1);
    color: var(--secondary-color) !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.nav-logo h2:hover .title {
    background: linear-gradient(45deg, #00bcd4, #ffffff, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Logo Container Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.logo-image {
    height: 50px !important;
    width: auto !important;
    max-width: 250px !important;
    transition: all 0.3s ease;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    display: block !important;
    margin: 0 !important;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.logo-text .year {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 800;
    color: var(--secondary-color) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.logo-text .title {
    font-size: clamp(0.7rem, 2vw, 1rem);
    font-weight: 500;
    white-space: nowrap;
    margin-top: -2px;
    background: linear-gradient(45deg, #ffffff, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-container:hover .logo-image {
    transform: scale(1.1);
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.5));
}

.logo-container:hover .logo-text .year {
    transform: scale(1.1);
    color: var(--secondary-color) !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.logo-container:hover .logo-text .title {
    background: linear-gradient(45deg, #00bcd4, #ffffff, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

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

/* Hamburger Menu */
.nav-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}



.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 63, 92, 0.2), rgba(0, 188, 212, 0.15));
    z-index: 0;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    position: relative;
}

.hero-title {
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.hero-year {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    color: var(--secondary-color);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.2rem;
}

.hero-main-title {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.85;
}

.cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.cta-button:hover {
    background: #00acc1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border: 2px solid var(--white);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
.section {
    padding: 80px 0;
    position: relative;
}

.section-alt {
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Overview Section */
.slogan-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 3rem auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 63, 92, 0.3);
    transform: perspective(1000px) rotateX(5deg);
    transition: transform 0.3s ease;
}

.slogan-box:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.05) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 188, 212, 0.4);
}

.slogan-box:hover .slogan-text {
    animation: textGlow 0.8s ease-in-out;
}

.slogan-box:hover .slogan-decoration {
    width: 150px;
    background: linear-gradient(90deg, #ffffff, #00bcd4, #ffffff);
    animation: decorationPulse 1s ease-in-out;
}

@keyframes textGlow {
    0%, 100% { 
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); 
    }
    50% { 
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 2px 2px 4px rgba(0, 0, 0, 0.3); 
    }
}

@keyframes decorationPulse {
    0% { 
        width: 100px; 
        opacity: 0.8; 
    }
    50% { 
        width: 150px; 
        opacity: 1; 
        transform: scale(1.1); 
    }
    100% { 
        width: 150px; 
        opacity: 1; 
    }
}

.slogan-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.slogan-text {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
    line-height: 1.3;
    letter-spacing: 1px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.slogan-decoration {
    width: 100px;
    height: 4px;
    background: var(--white);
    margin: 1.5rem auto 0;
    border-radius: 2px;
    opacity: 0.8;
    transition: all 0.5s ease;
}

.slogan-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('../assets/wave-pattern.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.overview-content {
    margin-top: 4rem;
}

.overview-intro {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 500;
    text-align: center;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: rgba(0, 188, 212, 0.05);
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    line-height: 1.7;
}

.overview-main-content p {
    margin-bottom: 2rem;
    color: var(--light-text);
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify;
}

.overview-main-content p:first-child {
    font-size: 1.15rem;
    color: var(--dark-text);
    font-weight: 500;
}

/* History Section */
.history-section {
    margin-top: 4rem;
    padding: 3rem 0;
    border-top: 2px solid rgba(0, 188, 212, 0.1);
}

.history-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.history-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.history-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(0, 63, 92, 0.03), rgba(0, 188, 212, 0.03));
    border-radius: 15px;
    padding: 2.5rem;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.history-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.history-year {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    min-width: 120px;
    text-align: center;
}

.history-details h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.history-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.history-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-label {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    min-width: 60px;
    flex-shrink: 0;
}

.info-value {
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.5;
    flex: 1;
}

.info-value.prize {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Schedule Sections */
.schedule-section {
    margin-bottom: 4rem;
}

.schedule-subtitle {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(0, 63, 92, 0.05), rgba(0, 188, 212, 0.05));
    border-radius: 15px;
    border: 2px solid rgba(0, 188, 212, 0.2);
}

.schedule-subtitle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.schedule-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
}

/* General Schedule (일반부) */
.general-schedule-item {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    padding: 3rem 2.5rem;
    color: var(--white);
    box-shadow: 0 15px 30px rgba(0, 63, 92, 0.3);
    margin: 0 auto;
    max-width: 600px;
}

.schedule-period {
    text-align: center;
    margin-bottom: 2rem;
}

.period-date {
    font-size: 1.4rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
}

.schedule-activities {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.activity-item-simple {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.2rem 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-align: center;
}

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

.activity-item-simple .activity-text {
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
}

/* Timeline (학생부) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--secondary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--secondary-color);
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -12px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -12px;
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Competition Fields Section */
.competition-field {
    margin-bottom: 4rem;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 188, 212, 0.1);
}

.field-title {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    padding: 2rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.field-description {
    padding: 2.5rem;
}

.field-overview {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 500;
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(0, 188, 212, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    line-height: 1.6;
}

.field-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.category-item {
    background: linear-gradient(135deg, rgba(0, 63, 92, 0.03), rgba(0, 188, 212, 0.03));
    border-radius: 15px;
    padding: 2rem;
    border-left: 4px solid var(--secondary-color);
}

.category-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.category-item p {
    color: var(--light-text);
    font-size: 1.05rem;
    line-height: 1.6;
    text-align: center;
}

/* Awards Section */
.awards-section {
    margin-bottom: 4rem;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(0, 188, 212, 0.1);
}

.awards-field-title {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    padding: 1.5rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.awards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.award-category {
    background: linear-gradient(135deg, rgba(0, 63, 92, 0.02), rgba(0, 188, 212, 0.02));
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid rgba(0, 188, 212, 0.1);
}

.award-category h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
}

.total-prize {
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.award-table {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.award-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    align-items: center;
    padding: 0.8rem;
    border-bottom: 1px solid #f0f0f0;
}

.award-header {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.award-row:last-child {
    border-bottom: none;
}

.award-name, .award-prize, .award-count {
    text-align: center;
    padding: 0.3rem;
    font-size: 0.9rem;
}

.award-prize {
    color: var(--secondary-color);
    font-weight: 600;
}

/* 우수지도자상 */
.instructor-award {
    padding: 2rem;
    text-align: center;
}

.instructor-details {
    background: linear-gradient(135deg, rgba(0, 63, 92, 0.05), rgba(0, 188, 212, 0.05));
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    margin-top: 1rem;
}

.instructor-details p {
    color: var(--dark-text);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* Registration Section */
.registration-notice {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 188, 212, 0.1);
}

.registration-notice h3 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    padding: 2rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.registration-notice .notice-content {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.registration-notice .notice-item {
    background: linear-gradient(135deg, rgba(0, 63, 92, 0.03), rgba(0, 188, 212, 0.03));
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border-left: 5px solid var(--secondary-color);
}

.registration-notice .notice-item.clickable {
    cursor: pointer;
    border-left: 5px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.registration-notice .notice-item.clickable h4 {
    position: relative;
    transition: color 0.3s ease;
}

.registration-notice .notice-item.clickable p {
    position: relative;
    transition: color 0.3s ease;
}

.registration-notice .notice-item.clickable h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.registration-notice .notice-item.clickable:hover {
    background: linear-gradient(135deg, rgba(0, 63, 92, 0.08), rgba(0, 188, 212, 0.08));
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.registration-notice .notice-item.clickable:hover h4 {
    color: var(--secondary-color);
}

.registration-notice .notice-item.clickable:hover p {
    color: var(--secondary-color);
}

.registration-notice .notice-item.clickable:hover h4::after {
    width: 80%;
}

.registration-notice .notice-item.special {
    background: linear-gradient(135deg, rgba(0, 63, 92, 0.03), rgba(0, 188, 212, 0.03));
    border-left-color: var(--secondary-color);
    cursor: pointer;
    opacity: 1;
}

.registration-notice .notice-item.special:hover {
    background: linear-gradient(135deg, rgba(0, 63, 92, 0.08), rgba(0, 188, 212, 0.08));
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 비활성화된 참가신청 항목들 */
.registration-notice .notice-item:not(.clickable) {
    cursor: default;
    opacity: 0.8;
}

.registration-notice .notice-item:not(.clickable):hover {
    transform: none;
    box-shadow: none;
    background: linear-gradient(135deg, rgba(0, 63, 92, 0.03), rgba(0, 188, 212, 0.03));
}

.registration-notice .notice-item h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.registration-notice .notice-item p {
    color: var(--light-text);
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

.registration-notice .notice-item p a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    border-bottom: 1px solid rgba(0, 63, 92, 0.3);
}

.registration-notice .notice-item p a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.registration-notice .notice-item.special h4 {
    color: var(--primary-color);
}

.registration-notice .notice-item.special p {
    color: var(--light-text);
    font-weight: 500;
}

/* Notices Section */
.notices-content {
    max-width: 800px;
    margin: 0 auto;
}

.notice-item {
    background: var(--white);
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notice-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.notice-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.delete-notice-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-notice-btn:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: scale(1.1);
}

.notice-header h3 {
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.notice-date {
    font-size: 0.9rem;
    opacity: 0.8;
}

.notice-content {
    padding: 1.5rem;
}

.notice-content p {
    color: var(--light-text);
    line-height: 1.6;
    margin: 0 0 0.5rem 0;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.notice-more {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
    font-style: italic;
}

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

.modal-content {
    background-color: var(--white);
    margin: 3% auto;
    border-radius: 15px;
    width: 95%;
    max-width: 900px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease-out;
}

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

.modal-header h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.close {
    color: var(--light-text);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0 0.5rem;
    transition: color 0.3s ease;
}

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

.modal-body {
    padding: 2rem 3rem 2.5rem 3rem;
}

.modal-date {
    color: var(--light-text);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--light-bg);
}

.modal-body p {
    color: var(--dark-text);
    line-height: 1.8;
    font-size: 1.2rem;
    margin: 0;
}

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

/* 참가자격 모달 스타일 */
.eligibility-content {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}

.eligibility-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 63, 92, 0.03), rgba(0, 188, 212, 0.03));
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.eligibility-section h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.eligibility-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eligibility-section li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.eligibility-section li:before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.eligibility-section li:last-child {
    border-bottom: none;
}

.eligibility-section li strong {
    color: var(--primary-color);
    font-weight: 600;
}



/* 구독 섹션 스타일 */
.subscription-section {
    background: rgba(0, 63, 92, 0.05);
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.subscription-header p {
    color: var(--light-text);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.subscription-form .form-group {
    display: flex;
    gap: 0.8rem;
    max-width: 400px;
    margin: 0 auto 1rem;
    align-items: stretch;
}

.subscription-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9rem;
    background: var(--white);
    color: var(--dark-text);
    transition: all 0.3s ease;
}

.subscription-form input::placeholder {
    color: #999;
}

.subscription-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(0, 188, 212, 0.1);
}

.subscribe-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background: #00acc1;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 188, 212, 0.3);
}

.subscription-message {
    margin: 1rem 0;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    display: none;
}

.subscription-message.success {
    background: rgba(76, 175, 80, 0.9);
    color: var(--white);
    border: 1px solid rgba(76, 175, 80, 0.5);
}

.subscription-message.error {
    background: rgba(244, 67, 54, 0.9);
    color: var(--white);
    border: 1px solid rgba(244, 67, 54, 0.5);
}

.subscription-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .subscription-section {
        padding: 1.2rem;
        margin-top: 1.5rem;
    }
    
    .subscription-form .form-group {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .subscribe-btn {
        padding: 0.8rem;
    }
    
    /* 공지사항 모바일 스타일 */
    .notice-item {
        margin-bottom: 1.5rem;
    }
    
    .notice-header {
        padding: 1rem;
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }
    
    .notice-header h3 {
        font-size: 1.1rem;
        line-height: 1.3;
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }
    
    .notice-header-right {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .notice-content {
        padding: 1rem;
    }
    
    .notice-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.footer-info p {
    opacity: 0.8;
}

.footer-contact h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 15px;
    }
    
    .nav-logo h2 .year {
        font-size: clamp(1rem, 4vw, 1.4rem);
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    
    .nav-logo h2 .title {
        font-size: clamp(0.6rem, 2.5vw, 0.9rem);
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    
    /* 전체 텍스트 요소 모바일 최적화 */
    h1, h2, h3, h4, h5, h6, p, span, div {
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    
    .section-title {
        word-break: keep-all;
        overflow-wrap: break-word;
        line-height: 1.3;
    }
    
    .hero-year, .hero-main-title {
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-hamburger {
        display: flex;
        margin-left: auto;
    }
    
    .nav-container {
        justify-content: space-between;
        gap: 1.5rem;
    }

    .hero-year {
        font-size: clamp(2rem, 10vw, 3rem);
    }
    
    .hero-main-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

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

    .slogan-box {
        padding: 2rem 1.5rem;
        margin: 2rem auto;
        transform: none;
        border-radius: 15px;
    }
    
    .slogan-box:hover {
        transform: translateY(-3px);
    }
    
    .slogan-text {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .overview-intro {
        font-size: 1.1rem;
        padding: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .overview-main-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .history-section {
        margin-top: 3rem;
        padding: 2rem 0;
    }
    
    .history-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .history-item {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
        text-align: center;
    }
    
    .history-year {
        font-size: 2.5rem;
        min-width: auto;
    }
    
    .history-details h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .history-content {
        gap: 2rem;
    }
    
    .info-row {
        flex-direction: column;
        gap: 0.3rem;
        align-items: flex-start;
    }
    
    .info-label {
        min-width: auto;
        font-size: 0.9rem;
    }
    
    .info-value {
        font-size: 0.9rem;
        padding-left: 0;
    }
    
    .info-value.prize {
        font-size: 1rem;
    }

    .schedule-section {
        margin-bottom: 3rem;
    }
    
    .schedule-subtitle {
        font-size: 1.5rem;
        padding: 0.8rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .general-schedule-item {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
    
    .period-date {
        font-size: 1.2rem;
        padding: 0.6rem 1.2rem;
    }
    
    .activity-item-simple {
        padding: 1rem;
    }
    
    .activity-item-simple .activity-text {
        font-size: 1rem;
    }
    
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 3rem;
        padding-right: 0;
    }

    .timeline-item:nth-child(odd) {
        text-align: left;
        padding-left: 3rem;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) {
        left: 0;
        padding-left: 3rem;
    }

    .timeline-marker {
        left: 10px !important;
        right: auto !important;
    }

    .competition-field {
        margin-bottom: 3rem;
    }
    
    .field-title {
        font-size: 1.5rem;
        padding: 1.5rem;
    }
    
    .field-description {
        padding: 2rem;
    }
    
    .field-overview {
        font-size: 1.1rem;
        padding: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .field-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-item {
        padding: 1.5rem;
    }
    
    .category-item h4 {
        font-size: 1.2rem;
    }
    
    .category-item p {
        font-size: 1rem;
    }

    .awards-section {
        margin-bottom: 3rem;
    }
    
    .awards-field-title {
        font-size: 1.4rem;
        padding: 1.2rem;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .award-category {
        padding: 1.2rem;
    }
    
    .award-category h4 {
        font-size: 1.2rem;
    }
    
    .total-prize {
        font-size: 1rem;
        padding: 0.6rem;
    }
    
    .award-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.3rem;
        padding: 0.6rem;
    }
    
    .award-name, .award-prize, .award-count {
        font-size: 0.85rem;
        padding: 0.2rem;
    }
    
    .instructor-award {
        padding: 1.5rem;
    }
    
    .instructor-details {
        padding: 1.2rem;
    }
    
    .instructor-details p {
        font-size: 1rem;
    }

    .registration-notice {
        max-width: 100%;
        margin: 0 1rem;
    }
    
    .registration-notice h3 {
        font-size: 1.5rem;
        padding: 1.5rem;
    }
    
    .registration-notice .notice-content {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .registration-notice .notice-item {
        padding: 1.5rem;
    }
    
    .registration-notice .notice-item h4 {
        font-size: 1.2rem;
    }
    
    .registration-notice .notice-item p {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        max-width: none;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 1rem 1.5rem 1.5rem 1.5rem;
    }
    
    .modal-body p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.8rem 10px;
    }
    
    .nav-logo h2 .year {
        font-size: clamp(0.9rem, 5vw, 1.2rem);
    }
    
    .nav-logo h2 .title {
        font-size: clamp(0.5rem, 3vw, 0.8rem);
    }

    .hero-year {
        font-size: clamp(1.8rem, 12vw, 2.5rem);
    }
    
    .hero-main-title {
        font-size: clamp(1.2rem, 8vw, 1.8rem);
    }

    .container {
        padding: 0 15px;
    }

    .section {
        padding: 60px 0;
    }
    
    /* 상세 텍스트 요소들 */
    .timeline-date, .timeline-task, .info-value, .award-name {
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    
    /* 모달 및 버튼 텍스트 */
    .modal-body p, .btn, .subscribe-btn {
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    
    /* 푸터 텍스트 */
    .footer-info h3, .footer-info p, .footer-contact p {
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    

    
    /* 공지사항 작은 화면 스타일 */
    .notice-header {
        padding: 0.8rem;
    }
    
    .notice-header h3 {
        font-size: 1rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .notice-date {
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .notice-content {
        padding: 0.8rem;
    }
    
    .notice-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .notice-more {
        font-size: 0.8rem;
    }
    
    .delete-notice-btn {
        width: 25px;
        height: 25px;
        font-size: 16px;
    }
    
}

/* 모바일 줄바꿈 설정 */
.mobile-break {
    display: none; /* 기본적으로 숨김 (데스크톱) */
}

@media (max-width: 768px) {
    .mobile-break {
        display: inline; /* 모바일에서만 표시 */
    }
}

/* 관리자 링크 */
.admin-link {
    margin-top: 30px;
    text-align: center;
    padding: 20px;
}

.admin-link a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9em;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.admin-link a:hover {
    opacity: 1;
}

.admin-form {
    max-width: 600px;
    margin: 0 auto;
}

.admin-form .form-group {
    margin-bottom: 20px;
}

.admin-form label {
    display: block;
    color: white;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.admin-form input[type="text"],
.admin-form textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.9);
    font-size: 1em;
    box-sizing: border-box;
}

.admin-form textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.admin-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.admin-btn:active {
    transform: translateY(0);
}

/* 관리자 메시지 */
.admin-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    display: none;
    font-weight: 500;
}

.admin-message.success {
    background-color: rgba(212, 237, 218, 0.9);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.admin-message.error {
    background-color: rgba(248, 215, 218, 0.9);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Mobile Responsive for Logo */
@media (max-width: 768px) {
    .logo-container {
        gap: 0.5rem;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .logo-text .year {
        font-size: 1.2rem;
    }
    
    .logo-text .title {
        font-size: 0.7rem;
    }
    
    .nav-container {
        padding: 0.8rem 15px;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo-container {
        gap: 0.3rem;
    }
    
    .logo-image {
        height: 36px;
    }
    
    .logo-text .year {
        font-size: 1rem;
    }
    
    .logo-text .title {
        font-size: 0.6rem;
    }
}

/* 파일 업로드 스타일 */
.upload-progress {
    margin-top: 10px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4A90E2, #7B68EE);
    width: 0%;
    transition: width 0.3s ease;
}

#progressText {
    font-size: 12px;
    color: #666;
}

/* 첨부파일 링크 스타일 */
.attachment-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border: 1px solid #4A90E2;
    border-radius: 8px;
    color: #4A90E2;
    text-decoration: none;
    font-size: 14px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.attachment-link:hover {
    background: linear-gradient(135deg, #bbdefb, #e1bee7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.attachment-link::before {
    content: "📎";
    font-size: 16px;
}

/* 첨부파일 미리보기 스타일 */
.attachment-preview {
    padding: 6px 10px;
    background: rgba(74, 144, 226, 0.1);
    border-left: 3px solid #4A90E2;
    border-radius: 4px;
    font-size: 12px;
    color: #4A90E2;
    margin: 8px 0;
}
