/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;700&family=Zen+Kaku+Gothic+New:wght@300;400;500;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    /* Palette - Academic Deep Blue & Glass */
    --c-primary: #1e3799;
    /* Deep Royal Blue */
    --c-primary-dark: #0c2461;
    /* Midnight Blue */
    --c-primary-light: #4a69bd;
    /* Lighter Blue */
    --c-accent: #f6b93b;
    /* Gold/Yellow Accent */
    --c-ink-purple: #8e44ad;
    /* Splatoon Purple */

    /* Backgrounds */
    --c-bg-body: #f0f4f8;
    /* Light Blue-Grey */
    --c-bg-glass: rgba(255, 255, 255, 0.7);
    --c-border-glass: rgba(255, 255, 255, 0.4);

    /* Fonts */
    --f-sans: 'Zen Kaku Gothic New', sans-serif;
    --f-serif: 'Playfair Display', serif;
    /* Fashionable & Academic */
    --f-eng: 'Comfortaa', cursive;

    /* Spacing */
    --header-height: 80px;
    --glass-blur: 16px;
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--f-sans);
    color: #2c3e50;
    line-height: 1.8;
    background-color: var(--c-bg-body);
    background-image:
        radial-gradient(at 0% 0%, rgba(30, 55, 153, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(138, 68, 173, 0.05) 0px, transparent 50%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--f-serif);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Header Inner */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

/* Site Header (for subpages) */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(135deg, #0c2461 0%, #1e3799 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.8rem;
    font-family: var(--f-serif);
    font-weight: 900;
    color: #fff;
}

/* Navigation (Desktop) */
.nav-desktop {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--c-accent);
}

/* Sub Nav (for news/detail pages) */
.nav-sub {
    display: flex;
    gap: 20px;
}

.nav-link-sub {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-link-sub:hover {
    opacity: 0.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--c-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--c-primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid currentColor;
    color: var(--c-primary);
}

.btn-outline:hover {
    background: var(--c-primary);
    color: #fff;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.85rem;
}

/* Glass Card/Panel */
.glass-panel {
    background: var(--c-bg-glass);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--c-border-glass);
    border-radius: 16px;
    box-shadow: var(--shadow-glass);
    padding: 20px;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    border: 2px solid transparent;
}

.badge.upcoming {
    background: #95a5a6;
}

.badge.open {
    background: #27ae60;
}

.badge.ongoing {
    background: #e74c3c;
}

.badge.closed {
    background: #34495e;
}

/* Loading Screen - White Theme to match header */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
    display: none;
}

.loading-ink {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--c-primary);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* Site Footer */
.site-footer {
    background: linear-gradient(135deg, #0c2461 0%, #1e3799 100%);
    color: #fff;
    padding: 60px 0 40px;
    margin-top: 80px;
    text-align: center;
}

.heading-serif {
    font-family: var(--f-serif);
}

.text-eng {
    font-family: var(--f-eng);
    letter-spacing: 0.05em;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: rgba(255, 255, 255);
    font-size: 0.95rem;
    font-family: var(--f-sans);
    letter-spacing: 0.5px;
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--c-accent);
}

/* FormElements */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="datetime-local"],
textarea,
select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-family: var(--f-sans);
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--c-primary);
}

/* Utilities */
.u-mb-10 {
    margin-bottom: 10px;
}

.u-mt-20 {
    margin-top: 20px;
}

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

.u-hidden {
    display: none;
}

/* Common News Styles */
.badge-news {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    font-size: 0.7rem;
    border-radius: 4px;
    color: #fff;
    font-weight: 700;
    line-height: 1;
}

.badge-news.info {
    background: #3498db;
}

.badge-news.important {
    background: #e74c3c;
}

.badge-news.recruit {
    background: #f1c40f;
    color: #333;
}

.badge-news.tour {
    background: #2ecc71;
}

/* ========================================== */
/* Mobile Menu Styles */
/* ========================================== */

/* Mobile Toggle Button */
.mob-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mob-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .mob-toggle {
        display: flex;
    }

    .nav-desktop {
        display: none;
    }
}

/* Mobile Menu Overlay */
.mob-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

.mob-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Drawer - Glassmorphism */
.mob-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding: 80px 30px 30px;
    display: flex;
    flex-direction: column;
    transition: right 0.3s;
    z-index: 1001;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
}

.mob-menu.is-open {
    right: 0;
}

/* Mobile Menu Close Button */
.mob-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #0c2461;
    cursor: pointer;
    padding: 5px 10px;
    line-height: 1;
}

/* Mobile Menu Links */
.mob-link {
    color: #0c2461;
    text-decoration: none;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(12, 36, 97, 0.1);
    transition: all 0.3s;
}

.mob-link:hover,
.mob-link.active {
    color: var(--c-primary);
    padding-left: 10px;
    background: rgba(30, 55, 153, 0.05);
}