/* 
   Career Time Table - Optimized 100% Width Break
*/

:root {
  --bg-deep: #050505;
  --neon-cyan: #00f3ff;
  --neon-purple: #bc13fe;
  --neon-pink: #ff00de;
  --cyber-grid: rgba(0, 243, 255, 0.05);
  --border-glow: rgba(0, 243, 255, 0.3);

  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-deep);
  color: #e0e0e0;
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Background */
.cyber-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--cyber-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--cyber-grid) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -2;
}

.neon-orb {
  position: fixed;
  width: 600px;
  height: 600px;
  filter: blur(150px);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.1;
}

.orb-1 {
  background: var(--neon-cyan);
  top: -200px;
  left: -200px;
  animation: pulse 10s infinite alternate;
}

.orb-2 {
  background: var(--neon-purple);
  bottom: -200px;
  right: -200px;
  animation: pulse 12s infinite alternate-reverse;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.1;
  }

  100% {
    transform: scale(1.2);
    opacity: 0.2;
  }
}

/* Dashboard */
.dashboard {
  width: 98%;
  max-width: 1400px;
  padding: 40px 10px;
  animation: bootUp 1s ease-out;
}

@keyframes bootUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.cyber-header {
  text-align: center;
  margin-bottom: 40px;
}

.neon-text {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 6px;
  text-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan);
}

.cyber-subtitle {
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: #888;
  margin-top: 10px;
}

/* Card */
.cyber-card {
  background: rgba(10, 10, 15, 0.9);
  position: relative;
  padding: 25px;
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(20px);
  border-radius: 15px;
}

.corner {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 2px solid var(--neon-cyan);
}

.top-left {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.top-right {
  top: -1px;
  right: -1px;
  border-left: none;
  border-bottom: none;
}

.bottom-left {
  bottom: -1px;
  left: -1px;
  border-right: none;
  border-top: none;
}

.bottom-right {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

/* Table */
.futuristic-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1100px;
}

thead th {
  font-family: var(--font-heading);
  padding: 15px;
  color: var(--neon-cyan);
  background: rgba(0, 243, 255, 0.05);
  border-bottom: 2px solid var(--neon-cyan);
  font-size: 0.8rem;
  letter-spacing: 2px;
}

tbody td {
  padding: 15px;
  font-size: 0.85rem;
  text-align: center;
  color: #ccc;
}

.time-label {
  text-align: left;
  width: 220px;
  font-family: var(--font-heading);
  color: var(--neon-purple);
  font-weight: bold;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.time-label span {
  font-size: 0.7rem;
  color: var(--neon-cyan);
  display: block;
  margin-top: 4px;
}

/* --- 100% Width Break Row --- */
.break-row {
  background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.05), transparent);
}

.break-animation-cell-full {
  position: relative;
  height: 100px;
  padding: 0 !important;
  overflow: hidden;
  vertical-align: middle;
}

.break-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  color: var(--neon-pink);
  font-size: 1.1rem;
  letter-spacing: 5px;
  font-weight: bold;
  z-index: 10;
  text-shadow: 0 0 10px var(--neon-pink);
  pointer-events: none;
  opacity: 0.8;
}

.icons-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 100%;
}

.moving-icon {
  font-size: 2.2rem;
  animation: floatingIcons 4s infinite ease-in-out;
}

.moving-icon:nth-child(even) {
  animation-duration: 5s;
  animation-delay: 1s;
}

@keyframes floatingIcons {

  0%,
  100% {
    transform: translateY(0) rotate(0);
    filter: drop-shadow(0 0 5px transparent);
  }

  50% {
    transform: translateY(-20px) rotate(15deg);
    filter: drop-shadow(0 0 20px var(--neon-cyan));
  }
}

/* --- Advanced Interactive Hover Effects --- */
tbody tr {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: crosshair;
  position: relative;
  z-index: 1;
}

tbody tr:hover {
  background: rgba(0, 243, 255, 0.08) !important;
  transform: scale(1.02) translateX(10px);
  z-index: 10;
  box-shadow:
    -5px 0 20px rgba(0, 243, 255, 0.2),
    0 10px 30px rgba(0, 0, 0, 0.5);
}

tbody tr:hover td {
  color: #fff;
  border-top: 1px solid var(--neon-cyan);
  border-bottom: 1px solid var(--neon-cyan);
}

/* Time Label Hover */
tbody tr:hover .time-label {
  background: rgba(188, 19, 254, 0.1);
  color: #fff;
  text-shadow:
    0 0 10px var(--neon-purple),
    0 0 20px var(--neon-purple);
  border-right: 2px solid var(--neon-purple);
}

tbody tr:hover .time-label span {
  color: var(--neon-pink);
  letter-spacing: 2px;
  transition: 0.3s;
}

/* Cell Specific Hover */
tbody td:not(.time-label):not(.sunday-cell):not(.break-animation-cell-full):hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--neon-cyan) !important;
  text-shadow: 0 0 8px var(--neon-cyan);
  transform: scale(1.1);
  transition: 0.2s;
}

/* Sunday Special Hover */
.sunday-cell:hover {
  background: linear-gradient(180deg, rgba(255, 0, 222, 0.15), rgba(188, 19, 254, 0.15)) !important;
  box-shadow: inset 0 0 30px rgba(255, 0, 222, 0.2);
}

.sunday-cell:hover .sunday-title {
  animation: textGlitch 0.3s infinite;
}

@keyframes textGlitch {
  0% {
    transform: translate(0);
  }

  33% {
    transform: translate(-2px, 1px);
  }

  66% {
    transform: translate(2px, -1px);
  }

  100% {
    transform: translate(0);
  }
}

/* --- Sunday Special --- */
.sunday-cell {
  background: linear-gradient(180deg, rgba(255, 0, 222, 0.05), rgba(188, 19, 254, 0.05));
  border-left: 1px solid var(--neon-pink);
  vertical-align: middle;
  transition: 0.5s;
}

.sunday-title {
  font-family: var(--font-heading);
  color: var(--neon-pink);
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.sunday-content {
  font-size: 0.7rem;
  color: #fff;
  line-height: 1.3;
}

/* Footer */
tfoot td {
  padding: 30px 0;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: #444;
  letter-spacing: 2px;
  text-align: center;
}

@media (max-width: 1024px) {
  .neon-text {
    font-size: 2.5rem;
  }

  .break-text {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }
}
