/* ==========================================================================
   STYLE.CSS — Incarichi su Selezione
   Cyber-Dark Palette from soluzionincarichi.dynamic-web.space
   Primary Cyan: #7AF0FF | Electric Blue: #97B8FF | Purple: #B380FF
   ========================================================================== */

:root {
  --bg-deep: #07070C;
  --bg-card: rgba(19, 19, 26, 0.85);
  --bg-card-hover: rgba(28, 28, 40, 0.95);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-cyan: rgba(122, 240, 255, 0.45);
  --border-purple: rgba(179, 128, 255, 0.45);
  
  --cyan-neon: #7AF0FF;
  --blue-electric: #97B8FF;
  --purple-neon: #B380FF;
  --text-main: #FFFFFF;
  --text-muted: #E2E8F0;
  --text-subtle: #CBD5E1;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-muted);
  overflow-x: hidden;
  font-family: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Touch targets WCAG */
button, a {
  touch-action: manipulation;
}

/* Background Cyber Radial Mesh */
.hero-cyber-mesh {
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(122, 240, 255, 0.15), transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(179, 128, 255, 0.15), transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(151, 184, 255, 0.12), transparent 60%),
    #07070C;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(122, 240, 255, 0.55);
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.85), 0 0 28px -4px rgba(122, 240, 255, 0.28);
}

/* Cyan Glowing Button */
.btn-cyan-gradient {
  background: linear-gradient(135deg, #7AF0FF 0%, #97B8FF 100%);
  color: #07070C;
  font-weight: 800;
  box-shadow: 0 4px 25px rgba(122, 240, 255, 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-cyan-gradient:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(122, 240, 255, 0.55);
}

/* Responsive Video Container 16:9 */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #0d0d14;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.9);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* YouTube Shorts Container 9:16 */
.shorts-container {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #0d0d14;
  border: 1px solid rgba(122, 240, 255, 0.35);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.9), 0 0 25px rgba(122, 240, 255, 0.2);
}

.shorts-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #07070C;
}
::-webkit-scrollbar-thumb {
  background: #1c1c28;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2d2d3f;
}
