/* ============================================
   GO - main.css
   ============================================ */

:root {
    --font-main: "Segoe UI", Roboto, "Malgun Gothic", "Apple SD Gothic Neo",
                 "NanumGothic", Arial, sans-serif;
    --grad: linear-gradient(135deg, #e63946 0%, #f4721e 40%, #9b59b6 100%);
    --grad-h: linear-gradient(90deg, #e63946, #f4721e, #9b59b6);
    --color-bg:      #ffffff;
    --color-wrap:    #ffffff;
    --color-text:    #222222;
    --color-muted:   #888888;
    --color-border:  #eeeeee;
    --color-surface: #fafafa;
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; padding: 0; }

body {
    background-color: #f0f0f0;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
}

a { text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

#wrap {
    background-color: var(--color-wrap);
    width: 100%;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

#page_content {
    flex: 1 0 auto;
    width: 100%;
}

header {
    background-color: #fff;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
    flex-shrink: 0;
}

.logo h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 4px;
    background: var(--grad-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo a {
    background: var(--grad-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#nav_index ul {
    display: flex;
    gap: 0;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#nav_index ul li a {
    display: block;
    color: #555;
    padding: 10px 20px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

#nav_index ul li a:hover {
    color: #e63946;
    background-color: rgba(230, 57, 70, 0.06);
}

.login {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    font-size: 13px;
}

.login a {
    background: var(--grad-h);
    color: #fff;
    padding: 7px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    transition: opacity 0.2s;
}

.login a:hover { opacity: 0.85; }

#hero_section {
    height: 440px;
    background: var(--grad);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 8%;
}

#hero_section .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
}

#hero_section .hero-dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
}

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

#hero_section h2 {
    font-size: 72px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 8px;
    line-height: 1.1;
    margin: 0;
}

#hero_section p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-top: 18px;
    letter-spacing: 1px;
    line-height: 1.7;
}

.hero-btns { display: flex; gap: 14px; margin-top: 30px; }

.btn-primary {
    background: #fff;
    color: #e63946;
    padding: 12px 28px;
    border-radius: 26px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.7);
    padding: 12px 28px;
    border-radius: 26px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.scroll-hint {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 2px;
    z-index: 1;
}

#news, #notices {
    width: 50%;
    float: left;
    padding: 30px 5%;
    border-top: 1px solid var(--color-border);
}

#news { border-right: 1px solid var(--color-border); }

#news h3, #notices h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--grad-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 9px;
    margin-bottom: 14px;
}

#news dl { margin: 0; }
#news dt {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    padding: 6px 0;
    border-bottom: 1px dotted var(--color-border);
    display: flex;
    justify-content: space-between;
}
#news dd { color: var(--color-muted); margin: 0 0 6px 8px; font-size: 13px; }

#notices table { width: 100%; }
#notices table td {
    padding: 7px 0;
    border-bottom: 1px dotted var(--color-border);
    font-size: 14px;
    color: #444;
}
#notices table td:last-child {
    color: var(--color-muted);
    font-size: 13px;
    text-align: right;
}

.clear { clear: both; }

footer {
    width: 100%;
    border-top: 1px solid var(--color-border);
    background: #f8f8f8;
    padding: 18px 5%;
    overflow: hidden;
    flex-shrink: 0;
}

#copyright { font-size: 13px; color: var(--color-muted); float: left; }
#social { float: right; }
#social img { filter: grayscale(60%); transition: filter 0.2s; }
#social img:hover { filter: grayscale(0%); }
