@font-face {
  font-family: 'Paperlogy-8ExtraBold';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Primary Colors */
  --primary-color: #FF007F;
  --primary-light: #FF85B5;
  --primary-dark: #CC0066;
  --primary-gradient: linear-gradient(135deg, #FF007F, #FF85B5);
  --primary-gradient-hover: linear-gradient(135deg, #FF1A8C, #FF99C2);

  /* Background */
  --bg-gradient: radial-gradient(circle at top center, #1a1a1a, #000);
  --bg-secondary: #0a0a0a;

  /* Glass Effects */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.15);

  /* Card */
  --card-bg: rgba(20, 20, 20, 0.6);
  --card-bg-hover: rgba(30, 30, 30, 0.7);

  /* Text */
  --text-color: #ffffff;
  --text-muted: #b9bbbe;
  --text-dark: #8e9297;

  /* Status Colors */
  --success-color: #43b581;
  --success-bg: rgba(67, 181, 129, 0.1);
  --warning-color: #faa61a;
  --warning-bg: rgba(250, 166, 26, 0.1);
  --error-color: #f04747;
  --error-bg: rgba(240, 71, 71, 0.1);
  --info-color: #5865F2;
  --info-bg: rgba(88, 101, 242, 0.1);

  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 20px rgba(255, 0, 127, 0.3);
  --shadow-glow-strong: 0 0 40px rgba(255, 0, 127, 0.5);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Paperlogy-8ExtraBold', 'Arial', sans-serif;
  background: var(--bg-gradient);
  color: var(--text-color);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-attachment: fixed;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Header */
header {
  width: 100%;
  height: 80px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  position: fixed;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.header-content {
  width: 100%;
  max-width: 1400px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 26px;
  color: #fff;
  letter-spacing: -0.5px;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.3);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-size: 16px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.nav-links a:hover {
  color: #fff;
  transform: translateY(-2px);
  text-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
}

.btn-login {
  padding: 10px 25px;
  background: var(--primary-gradient);
  border-radius: 30px;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-login::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: var(--transition);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 0, 127, 0.6);
}

.btn-login:hover::before {
  opacity: 1;
}

/* User Menu */
.user-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 15px 5px 5px;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.user-menu:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #2f3136;
}

.dropdown {
  position: absolute;
  top: 60px;
  right: 0;
  background: #1e1f22;
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  width: 200px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  transform-origin: top right;
  animation: scaleIn 0.2s ease-out;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.dropdown.show {
  display: flex;
}

.dropdown a {
  padding: 15px 20px;
  font-size: 15px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.dropdown a:last-child {
  border-bottom: none;
}

.dropdown a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding-left: 25px;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  z-index: 1001;
  position: relative;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Mobile Sidebar Menu */
.nav-links.mobile-active {
  display: flex !important;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.98), rgba(10, 10, 10, 0.98));
  backdrop-filter: blur(20px);
  padding: 80px 30px 30px;
  gap: 0;
  border-left: 1px solid var(--glass-border);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transform: translateX(100%);
  animation: slideInRight 0.3s ease-out forwards;
  overflow-y: auto;
}

.nav-links.mobile-active a {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.nav-links.mobile-active a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: var(--primary-color);
  transform: translateX(-5px);
}

.nav-links.mobile-active .btn-login {
  margin-top: 20px;
  justify-content: center;
  border-left: none;
}

.nav-links.mobile-active .user-menu {
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

/* Content & Hero */
.content {
  margin-top: 80px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  width: 100%;
  padding: 60px 20px;
  flex-wrap: wrap;
  gap: 50px;
}

.hero-text {
  flex: 1;
  min-width: 350px;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  white-space: nowrap;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(to right, #fff, #b9bbbe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 25px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-text p {
  font-size: 1.3rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 500px;
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 0 50px rgba(255, 0, 127, 0.15);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.hero-image img:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
  box-shadow: 0 0 70px rgba(255, 0, 127, 0.3);
}

/* Dashboard */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
  padding: 40px 20px;
  box-sizing: border-box;
}

.dashboard-container {
  max-width: 1400px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.server-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.server-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition);
}

.server-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.server-card:hover::after {
  opacity: 1;
}

.server-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 20px;
  object-fit: cover;
  background: #2f3136;
  border: 4px solid #202225;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.server-name {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.btn-manage,
.btn-invite {
  padding: 12px 25px;
  border-radius: 12px;
  width: 100%;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.btn-manage {
  background: #43b581;
  color: #fff;
  border: none;
}

.btn-manage:hover {
  background: #3ca374;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(67, 181, 129, 0.4);
}

.btn-invite {
  background: rgba(255, 255, 255, 0.05);
  color: #ccc;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-invite:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 0.9rem;
  border-top: 1px solid var(--glass-border);
  background: #000;
}

/* Message Box (Auth Success/Error) */
.message-box {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 50px;
  max-width: 600px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  text-align: center;
  backdrop-filter: blur(20px);
}

.message-box h1 {
  font-size: 2.5rem;
  color: #ff4d4f;
  margin-bottom: 20px;
}

.message-box h2 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #43b581, #2d7d59);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.message-box h3 {
  color: #faa61a;
  margin-bottom: 10px;
}

.message-box p {
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Service Status */
.page-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 40px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.status-box {
  width: 100%;
  max-width: 1200px;
}

.status-list {
  width: 100%;
  max-width: 1200px;
}

.service-status {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 20px;
}

.status-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  width: 280px;
  text-align: center;
  transition: var(--transition);
}

.status-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.1);
}

.status-title {
  font-size: 1.4rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.status-indicator {
  font-size: 1.8rem;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 15px;
  color: #fff;
  margin-bottom: 15px;
  display: inline-block;
  min-width: 120px;
}

.status-indicator.online {
  background: rgba(67, 181, 129, 0.2);
  color: #43b581;
  border: 1px solid rgba(67, 181, 129, 0.3);
}

.status-indicator.maintenance {
  background: rgba(250, 166, 26, 0.2);
  color: #faa61a;
  border: 1px solid rgba(250, 166, 26, 0.3);
}

.status-indicator.offline {
  background: rgba(240, 71, 71, 0.2);
  color: #f04747;
  border: 1px solid rgba(240, 71, 71, 0.3);
}

.status-description {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Loading Spinner */
.loading-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Dashboard Header */
.dashboard-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  text-align: center;
}

.server-icon-large {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 4px solid #2f3136;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dashboard-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* Settings Container (Sidebar Layout) */
.settings-container {
  display: flex;
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  min-height: 600px;
}

/* Sidebar */
.settings-sidebar {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sidebar-item {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.sidebar-item:hover,
.sidebar-item.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

.sidebar-item.active {
  border-left: 4px solid var(--primary-color);
}

.sidebar-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sidebar-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.sidebar-icon.kakao {
  background: #FEE500;
  color: #3c1e1e;
}

.sidebar-icon.email {
  background: #5865F2;
  color: #fff;
}

.sidebar-icon.phone {
  background: #3ba55c;
  color: #fff;
}

.sidebar-info h3 {
  font-size: 1.1rem;
  margin: 0;
  color: #fff;
}

/* Content Area */
.settings-content-area {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.settings-section {
  display: none;
  animation: fadeIn 0.3s ease-out;
}

.settings-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.section-body {
  color: #ccc;
  line-height: 1.6;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #36393f;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked+.slider {
  background-color: #43b581;
}

input:focus+.slider {
  box-shadow: 0 0 1px #43b581;
}

input:checked+.slider:before {
  transform: translateX(22px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Coming Soon Badge */
.badge-coming-soon {
  font-size: 0.7rem;
  padding: 2px 8px;
  background: #faa61a;
  color: #fff;
  border-radius: 10px;
  margin-left: 10px;
}

/* Feature Cards */
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 35px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
  background: var(--card-bg-hover);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: white;
  box-shadow: var(--shadow-md);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-card ul li {
  padding: 5px 0;
  font-size: 0.95rem;
}

.hidden {
  display: none !important;
}

/* Responsive */
@media (max-width: 900px) {
  .settings-container {
    flex-direction: column;
  }

  .settings-sidebar {
    width: 100%;
  }
}

@media (max-width: 768px) {

  /* Header */




  /* 반응형 타이포그래피 - clamp() 사용 */
  /* Hero Section - 인라인 스타일 오버라이드 */
  .hero-text h1 {
    font-size: clamp(2rem, 5vw + 1rem, 4rem) !important;
    line-height: 1.2 !important;
  }

  .hero-text p {
    font-size: clamp(1rem, 2vw + 0.5rem, 1.3rem) !important;
  }

  /* 배지 */
  .hero-text div[style*="padding: 8px 20px"] span {
    font-size: clamp(0.75rem, 1.5vw + 0.3rem, 0.9rem) !important;
  }

  /* 특징 섹션 제목 */
  section h2[style*="font-size: 3rem"] {
    font-size: clamp(1.8rem, 4vw + 0.5rem, 3rem) !important;
  }

  section p[style*="font-size: 1.2rem"] {
    font-size: clamp(0.95rem, 2vw + 0.3rem, 1.2rem) !important;
  }

  /* 통계 카드 */
  .hero-text div[style*="font-size: 1.5rem"] {
    font-size: clamp(1.1rem, 2.5vw + 0.3rem, 1.5rem) !important;
  }

  .hero-text div[style*="font-size: 0.85rem"] {
    font-size: clamp(0.75rem, 1.5vw + 0.2rem, 0.85rem) !important;
  }

  /* 버튼 */
  a[style*="font-size: 1.1rem"] {
    font-size: clamp(0.9rem, 2vw + 0.3rem, 1.1rem) !important;
    padding: clamp(10px, 2vw + 6px, 16px) clamp(16px, 3vw + 10px, 35px) !important;
  }

  /* 통계 카드 컨테이너 */
  .hero-text>div[style*="display: flex"] {
    flex-wrap: wrap;
    gap: clamp(10px, 2vw, 20px) !important;
  }

  /* 통계 카드 패딩 */
  .hero-text div[style*="padding: 15px 25px"] {
    padding: clamp(12px, 2vw + 8px, 15px) clamp(15px, 3vw + 10px, 25px) !important;
  }

  /* 아이콘 크기 */
  .hero-text i[style*="font-size: 1.5rem"] {
    font-size: clamp(1.2rem, 2vw + 0.5rem, 1.5rem) !important;
  }

  /* Hero Section */
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 40px 20px;
  }

  .hero-text {
    min-width: 100%;
    order: 1;
  }

  .hero-image {
    order: 2;
    width: 100%;
  }

  .hero-image img,
  .hero-image video {
    max-width: 100%;
  }



  /* Status Cards */
  .status-card {
    width: 100%;
    max-width: 350px;
  }

  /* Dashboard */
  .dashboard-container {
    grid-template-columns: 1fr;
  }

  /* Page Title */
  .page-title {
    font-size: clamp(1.8rem, 4vw + 0.5rem, 3rem);
  }

  /* Message Box */
  .message-box {
    padding: 30px 20px;
  }

  .message-box h1,
  .message-box h2 {
    font-size: clamp(1.6rem, 3vw + 0.8rem, 2.5rem);
  }

  /* Container */
  .container {
    padding: 20px 15px;
  }

  /* Settings Content */
  .settings-content-area {
    padding: 25px 20px;
  }

  /* Buttons - Touch Friendly */
  .btn-login,
  .btn-manage,
  .btn-invite {
    min-height: 44px;
    min-width: 44px;
  }
}

@media (max-width: 480px) {

  /* Small Mobile Devices */
  header {
    height: 56px;
  }

  .content {
    margin-top: 56px;
    padding: 20px 15px;
  }

  .header-content {
    padding: 0 15px;
  }

  .logo {
    font-size: 18px;
  }

  .logo img {
    width: 36px;
    height: 36px;
  }

  /* Hero Section - 더 작은 글씨 */
  .hero {
    padding: 30px 15px;
  }

  .hero-text h1 {
    font-size: 2rem !important;
    line-height: 1.3 !important;
  }

  .hero-text p {
    font-size: 1rem !important;
  }

  /* 배지 */
  .hero-text div[style*="padding: 8px 20px"] span {
    font-size: 0.8rem !important;
  }

  /* 특징 섹션 */
  section h2[style*="font-size: 3rem"] {
    font-size: 1.8rem !important;
  }

  section p[style*="font-size: 1.2rem"] {
    font-size: 0.95rem !important;
  }

  /* 통계 카드 */
  .hero-text div[style*="font-size: 1.5rem"] {
    font-size: 1.1rem !important;
  }

  .hero-text div[style*="font-size: 0.85rem"] {
    font-size: 0.75rem !important;
  }

  /* 버튼 */
  a[style*="font-size: 1.1rem"] {
    font-size: 0.9rem !important;
    padding: 12px 16px !important;
  }

  /* 통계 카드 간격 */
  .hero-text>div[style*="gap: 20px"] {
    gap: 10px !important;
  }

  /* 통계 카드 패딩 */
  .hero-text div[style*="padding: 15px 25px"] {
    padding: 12px 15px !important;
  }

  /* 아이콘 크기 */
  .hero-text i[style*="font-size: 1.5rem"] {
    font-size: 1.2rem !important;
  }

  /* Page Title */
  .page-title {
    font-size: 1.8rem;
  }

  /* Server Cards */
  .server-card {
    padding: 20px;
  }

  .server-icon {
    width: 70px;
    height: 70px;
  }

  .server-name {
    font-size: 1.2rem;
  }

  /* Message Box */
  .message-box {
    padding: 25px 15px;
  }

  .message-box h1,
  .message-box h2 {
    font-size: 1.6rem;
  }

  .message-box p {
    font-size: 1rem;
  }

  /* Feature Cards */
  .feature-card {
    padding: 25px 20px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .feature-card h3 {
    font-size: 1.3rem;
  }

  /* Status Cards */
  .status-card {
    padding: 20px;
  }

  .status-title {
    font-size: 1.2rem;
  }

  .status-indicator {
    font-size: 1.5rem;
    min-width: 100px;
  }

  /* Dashboard Header */
  .dashboard-header h1 {
    font-size: 2rem;
  }

  .server-icon-large {
    width: 80px;
    height: 80px;
  }

  /* Settings Sidebar */
  .settings-sidebar {
    padding: 15px 10px;
  }

  .sidebar-item {
    padding: 12px 15px;
  }

  /* Footer */
  footer {
    padding: 30px 15px;
    font-size: 0.85rem;
  }
}

/* Additional Form Styles */
input[type="text"],
input[type="url"],
textarea {
  font-family: 'Paperlogy-8ExtraBold', 'Arial', sans-serif;
}

input[type="text"]:focus,
input[type="url"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 0, 127, 0.1);
}

small {
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Pulse Animation for Active Elements */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* Gradient Text */
.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced Button Hover Effects */
.btn-save:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(255, 0, 127, 0.3);
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Selection Color */
::selection {
  background: var(--primary-color);
  color: white;
}

::-moz-selection {
  background: var(--primary-color);
  color: white;
}

/* Disabled Input Style */
input:disabled,
textarea:disabled,
select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.02) !important;
}

/* Enhanced Info/Warning/Error Boxes */
.info-box,
.warning-box,
.error-box {
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeIn 0.3s ease-out;
}

.info-box i,
.warning-box i,
.error-box i {
  font-size: 1.2rem;
}

.error-box {
  background: var(--error-bg);
  border: 1px solid rgba(240, 71, 71, 0.3);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
  color: var(--error-color);
}

/* Loading State */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* Settings Card */
.settings-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 25px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.settings-card .card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--glass-border);
}

.settings-card .card-header i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.settings-card .card-header h3 {
  font-size: 1.3rem;
  margin: 0;
  color: var(--text-color);
}

/* Embed Preview */
.embed-preview {
  background: #2b2d31;
  border-radius: 12px;
  padding: 20px;
}

.embed-container {
  display: flex;
  background: #2b2d31;
  border-radius: 4px;
  padding: 12px 16px 12px 12px;
  max-width: 520px;
}

.embed-color-bar {
  width: 4px;
  border-radius: 4px;
  margin-right: 12px;
  flex-shrink: 0;
}

.embed-content {
  flex: 1;
  display: flex;
  gap: 16px;
}

.embed-body {
  flex: 1;
  min-width: 0;
}

.embed-title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
  word-wrap: break-word;
}

.embed-description {
  font-size: 0.875rem;
  line-height: 1.375rem;
  color: #dbdee1;
  margin-bottom: 12px;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.embed-field {
  margin-top: 8px;
}

.embed-field-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.embed-field-value {
  font-size: 0.875rem;
  line-height: 1.375rem;
  color: #dbdee1;
  word-wrap: break-word;
}

.embed-thumbnail {
  flex-shrink: 0;
  margin-left: 16px;
}

.embed-thumbnail img {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  object-fit: cover;
}

.embed-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.75rem;
  color: #b5bac1;
}

.embed-footer-separator {
  color: #b5bac1;
}

/* Button Preview */
.button-preview {
  margin-top: 16px;
  display: flex;
  gap: 8px;
}

.discord-button {
  background: #5865f2;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.17s ease;
}

.discord-button:hover {
  background: #4752c4;
}

.discord-button:active {
  background: #3c45a5;
}

/* Responsive Grid for Settings Cards */
@media (max-width: 800px) {
  .settings-container>div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

/* Message Send Button */
.btn-send-message {
  padding: 12px 30px;
  background: linear-gradient(135deg, #5865F2, #7289DA);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 20px;
}

.btn-send-message:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.btn-send-message:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(88, 101, 242, 0.3);
}

.btn-send-message:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}