/* ===== MODERN UI FOR KELELAWAR CYBER TEAM ===== */
/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0a0c0f;
  --bg-card: #12161c;
  --bg-sidebar: #0d1015;
  --accent-cyan: #00fff0;
  --accent-magenta: #ff00aa;
  --text-primary: #e0e0e0;
  --text-secondary: #a0a0a0;
  --border-glow: rgba(0, 255, 240, 0.25);
  --font-main: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-cyan);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-magenta);
}

/* Layout */
.app {
  display: flex;
  min-height: 100vh;
}

/* Header */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(10, 12, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1000;
}

.app-header__logo {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
}
.app-header__logo font {
  color: inherit;
}
.app-header__logo font[color="red"] {
  color: var(--accent-magenta);
}
.app-header__logo font[color="white"] {
  color: #fff;
}

.app-sidebar__toggle {
  display: none;
  color: #fff;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Sidebar */
.app-sidebar {
  position: fixed;
  top: 64px;
  left: 0;
  bottom: 0;
  width: 260px;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-glow);
  overflow-y: auto;
  padding: 20px 0;
  transition: transform 0.3s ease;
  z-index: 900;
}

.app-sidebar__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 800;
}

.app-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.app-menu__item {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}
.app-menu__item:hover,
.app-menu__item.active {
  background: rgba(0, 255, 240, 0.05);
  color: #fff;
  border-left-color: var(--accent-cyan);
}
.app-menu__icon {
  width: 24px;
  margin-right: 12px;
  text-align: center;
  font-size: 1.1rem;
}
.app-menu__label {
  flex: 1;
}

/* Main Content */
.app-content {
  margin-left: 260px;
  margin-top: 64px;
  padding: 32px;
  flex: 1;
  min-height: calc(100vh - 64px);
  transition: margin-left 0.3s ease;
}

/* Cards */
.tile {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 240, 0.1);
  border-color: rgba(0, 255, 240, 0.5);
}

.tile-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* App Title */
.app-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.app-title h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}
.app-title h1 i {
  color: var(--accent-cyan);
}

.app-breadcrumb {
  display: flex;
  list-style: none;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.app-breadcrumb a {
  color: var(--accent-cyan);
  text-decoration: none;
}
.app-breadcrumb a:hover {
  text-decoration: underline;
}

/* Buttons */
.btn, .bs-component a {
  display: inline-block;
  padding: 10px 24px;
  background: transparent;
  border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn:hover, .bs-component a:hover {
  background: var(--accent-cyan);
  color: var(--bg-dark);
  box-shadow: 0 0 20px rgba(0, 255, 240, 0.4);
}

/* Lists */
ul {
  list-style: none;
  padding-left: 0;
}
ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-secondary);
}
ul li:last-child {
  border-bottom: none;
}

/* Marquee */
marquee h5 {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Footer */
.text-center {
  padding: 24px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  border-top: 1px solid var(--border-glow);
  margin-top: 40px;
}
.text-center a {
  color: var(--accent-cyan);
  text-decoration: none;
}
.text-center a:hover {
  text-decoration: underline;
}

/* Partner Grid */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px 0;
}
.partner-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  opacity: 0.7;
}
.partner-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(0, 255, 240, 0.2);
  transform: translateY(-4px);
}
.partner-card .partner-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.partner-card .partner-logo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--border-glow);
  padding: 4px;
  background: #000;
  transition: all 0.3s ease;
}
.partner-card:hover .partner-logo {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 255, 240, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .app-sidebar {
    transform: translateX(-100%);
  }
  .app-sidebar.active {
    transform: translateX(0);
  }
  .app-sidebar__overlay.active {
    display: block;
  }
  .app-content {
    margin-left: 0;
    padding: 20px;
  }
  .app-sidebar__toggle {
    display: block;
  }
  .app-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}