

:root {
  /* Base Colors */
  --background: #ffffff;
  --foreground: #333;
  --card: #ffffff;
  --card-foreground: #0a0f1e;
  --popover: #ffffff;
  --popover-foreground: #0a0f1e;

  /* University Purple */
  --primary: hsl(280, 50%, 30%);
  --primary-light: hsl(280, 45%, 40%);
  --primary-dark: hsl(280, 50%, 22%);
  --primary-foreground: #ffffff;

  --secondary: hsl(280, 30%, 96%);
  --secondary-foreground: hsl(280, 50%, 25%);

  --muted: hsl(280, 20%, 96%);
  --muted-foreground: hsl(280, 15%, 45%);

  /* Gold Accent */
  --accent: hsl(45, 93%, 47%);
  --accent-dark: hsl(42, 85%, 40%);
  --accent-foreground: #1a1a1a;

  --destructive: hsl(0, 84%, 60%);
  --border: hsl(280, 20%, 90%);
  --input: hsl(280, 20%, 90%);
  --ring: hsl(280, 50%, 30%);

  /* Custom */
  --navy: hsl(280, 50%, 22%);
  --navy-light: hsl(280, 45%, 40%);
  --gold: hsl(45, 93%, 47%);
  --gold-dark: hsl(42, 85%, 40%);
  --cream: hsl(45, 30%, 97%);
  --slate: hsl(280, 15%, 55%);

  /* Dark Section */
  --dark-bg: hsl(220, 25%, 10%);
  --dark-bg-light: hsl(220, 20%, 15%);
  --dark-text: #ffffff;
  --dark-text-muted: rgba(255,255,255,0.7);

  /* Gradients */
  --gradient-navy: linear-gradient(135deg, hsl(280,50%,22%) 0%, hsl(280,45%,40%) 100%);
  --gradient-gold: linear-gradient(135deg, hsl(45,93%,47%) 0%, hsl(42,85%,40%) 100%);
  --gradient-hero: linear-gradient(180deg, hsla(280,50%,20%,0.4) 0%, hsla(280,40%,15%,0.6) 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px hsla(280,50%,30%,0.06);
  --shadow-md: 0 4px 20px hsla(280,50%,30%,0.1);
  --shadow-lg: 0 8px 40px hsla(280,50%,30%,0.15);
  --shadow-card: 0 4px 20px hsla(280,50%,30%,0.08);

  --radius: 0.5rem;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Noto Regular', 'Noto Medium', 'Noto Bold', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-x: clip;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

/*p {
  line-height: 1.9;
  margin-bottom: 1.25em;
}*/

h1, h2, h3, h4, h5, h6 {
  line-height: 1.4;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

/* =============================================
   Layout
   ============================================= */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* =============================================
   Utility Classes
   ============================================= */
.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-navy {
  background: var(--gradient-navy);
}

.bg-gradient-hero {
  background: var(--gradient-hero);
}

.shadow-card {
  box-shadow: var(--shadow-card);
}

.glass-effect {
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.9);
}

/* =============================================
   Scroll Animations (AOS replacement)
   ============================================= */
[data-aos] {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-aos].aos-animate { opacity: 1; }

[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-up"].aos-animate { transform: translateY(0); }

[data-aos="fade-down"] { transform: translateY(-30px); }
[data-aos="fade-down"].aos-animate { transform: translateY(0); }

[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }

[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }

[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }

[data-aos-delay="100"] { transition-delay: 100ms; }
[data-aos-delay="200"] { transition-delay: 200ms; }
[data-aos-delay="300"] { transition-delay: 300ms; }
[data-aos-delay="400"] { transition-delay: 400ms; }
[data-aos-delay="500"] { transition-delay: 500ms; }

/* Scrollbar hide */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover { opacity: 0.9; }

.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
}
.btn-accent:hover { opacity: 0.9; }

.btn-ghost {
  background: transparent;
  color: var(--foreground);
}
.btn-ghost:hover { background: var(--muted); }

.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: var(--radius);
}

/* =============================================
   SVG Icons (Lucide replacement - inline SVGs)
   ============================================= */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}
.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 2rem; height: 2rem; }

/* =============================================
   Responsive Helpers
   ============================================= */
.hidden { display: none !important; }

@media (min-width: 768px) {
  .md\:flex { display: flex !important; }
  .md\:grid { display: grid !important; }
  .md\:hidden { display: none !important; }
  .md\:block { display: block !important; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex !important; }
  .lg\:grid { display: grid !important; }
  .lg\:hidden { display: none !important; }
  .lg\:block { display: block !important; }
}

/* =============================================
   Prose Content (본문 콘텐츠)
   ============================================= */
.prose-content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--muted-foreground);
}
.prose-content p { margin-bottom: 1.5em; line-height: 1.9; }
.prose-content strong { color: var(--foreground); font-weight: 600; }
.prose-content ul, .prose-content ol { margin-bottom: 1.5em; padding-left: 1.5em; }
.prose-content li { margin-bottom: 0.5em; line-height: 1.8; }
.prose-content table { width: 100%; margin-bottom: 1.5em; }
.prose-content th, .prose-content td { padding: 0.75rem 1rem; line-height: 1.6; }

/* =============================================
   Google Translate Widget Bar Hide
   ============================================= */
.goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame {
  display: none !important;
}
body { top: 0 !important; }
.skiptranslate { display: none !important; }
body > .skiptranslate { display: none !important; }

/* =============================================
   TOP Button
   ============================================= */
.btn-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
}
.btn-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.btn-top:hover {
  background: var(--primary-dark);
}
.btn-top svg {
  width: 28px;
  height: 28px;
}
.btn-top span {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-top: 1px;
  display:block;
}


@media (max-width: 480px) {
  .btn-top {
    bottom: 95px;
    /*right: 16px;*/
  }
}


/* =============================================
   카카오톡 상담 버튼
   ============================================= */
.btn-kakao-wrap {
  position: fixed;
  bottom: 172px;
  right: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.btn-kakao {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  font-size: 10px;
  font-weight: bold;
  font-family: inherit;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-kakao:hover {
  transform: scale(1.08);
}

/* 신입생 - 카카오 노랑 */
.btn-kakao-new {
  background: #FEE500;
  color: #3C1E1E;
}

/* 재학생 - 다크 브라운 */
.btn-kakao-cur {
  background: #3C1E1E;
  color: #FEE500;
}

.btn-kakao .k-icon {
  font-size: 15px;
  margin-bottom: 2px;
}