/* 모두의 링크 - 전문 링크사이트 디자인 */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Roboto:wght@300;400;700;900&display=swap');

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 3px solid #3498db;
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 20px 20px;
}

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

.logo h1 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #3498db, #e74c3c, #f39c12, #f1c40f);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradient 3s ease infinite;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

@keyframes textGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.main-nav a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.5);
}

.main-content {
    margin-top: 120px;
    min-height: calc(100vh - 120px);
}

.hero-section {
    text-align: center;
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    margin: 2rem 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-section h2 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    color: white;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 3px 3px 6px rgba(0,0,0,0.5), 0 0 20px rgba(255,255,255,0.3); }
    to { text-shadow: 3px 3px 6px rgba(0,0,0,0.5), 0 0 30px rgba(255,255,255,0.6); }
}

.hero-section p {
    font-size: 1.3rem;
    color: white;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

h3 {
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin: 3rem 0 2rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    position: relative;
}

h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #3498db, #e74c3c, #f39c12, #f1c40f);
    border-radius: 2px;
    animation: expand 2s ease-in-out infinite;
}

@keyframes expand {
    0%, 100% { width: 100px; }
    50% { width: 200px; }
}

p {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 2;
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: slideInUp 0.8s ease-out;
}

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

p:nth-child(2) {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.8), rgba(41, 128, 185, 0.6));
    border-color: #3498db;
    color: white;
}

p:nth-child(3) {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.8), rgba(192, 57, 43, 0.6));
    border-color: #e74c3c;
    color: white;
}

p:nth-child(4) {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.8), rgba(230, 126, 34, 0.6));
    border-color: #f39c12;
    color: white;
}

p:nth-child(5) {
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.8), rgba(212, 172, 13, 0.6));
    border-color: #f1c40f;
    color: white;
}

p:nth-child(6) {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.8), rgba(41, 128, 185, 0.6));
    border-color: #3498db;
    color: white;
}

p:nth-child(7) {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.8), rgba(192, 57, 43, 0.6));
    border-color: #e74c3c;
    color: white;
}

.footer {
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(20px);
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 3px solid #3498db;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

.footer p {
    text-align: center;
    font-weight: 300;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    animation: none;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .main-nav a {
        text-align: center;
    }
    
    h3 {
        font-size: 1.8rem;
    }
    
    p {
        font-size: 1rem;
        padding: 1.5rem;
    }
}