body {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #181818;
}

.container {
  display: flex;
  height: 100vh;
  width: 100vw;
}

.half {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s, filter 0.4s;
  cursor: pointer;
  position: relative;
}

.left {
  background: #232b38;
}

.right {
  background: #2e2338;
}

.label {
  font-size: 3rem;
  color: #e0e0e0;
  font-weight: bold;
  letter-spacing: 2px;
  transition: color 0.4s;
  z-index: 2;
}

.left:hover ~ .right,
.right:hover ~ .left {
  filter: brightness(0.7);
}

.left:hover {
  filter: brightness(1.1);
  z-index: 1;
}

.right:hover {
  filter: brightness(1.1);
  z-index: 1;
}

.left:hover .label,
.right:hover .label {
  color: #ffd700;
}

.content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,24,24,0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(.77,0,.18,1);
  z-index: 10;
}

.content.active {
  opacity: 1;
  pointer-events: auto;
}

.content-inner {
  background: #232b38;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  text-align: center;
  color: #fff;
  max-width: 90vw;
  max-height: 80vh;
  overflow: auto;
  animation: popIn 0.7s cubic-bezier(.77,0,.18,1);
}

@keyframes popIn {
  0% { transform: scale(0.8) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

#content-perso .content-inner {
  background: linear-gradient(135deg, #2e2338 60%, #4e3a6d 100%);
  color: #ffd700;
}

#content-pro .content-inner {
  background: linear-gradient(135deg, #232b38 60%, #1e2a3a 100%);
  color: #00eaff;
  box-shadow: 0 12px 48px rgba(0,0,0,0.35);
  animation: proAnim 0.8s cubic-bezier(.77,0,.18,1);
}

@keyframes proAnim {
  0% { transform: scale(0.7) rotateY(30deg); opacity: 0; }
  60% { transform: scale(1.05) rotateY(-5deg); }
  100% { transform: scale(1) rotateY(0); opacity: 1; }
}

@media (max-width: 700px) {
  .container {
    flex-direction: column;
  }
  .half {
    min-height: 50vh;
    min-width: 100vw;
  }
}
