/* ============================================================
   christiancolonna.com — Work in Progress
   ============================================================ */

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

:root {
  --yellow:  #FFD200;
  --black:   #1A1A1A;
  --stripe1: #FFD200;
  --stripe2: #1A1A1A;
}

body {
  min-height: 100vh;
  background-color: var(--black);
  color: #fff;
  font-family: 'Arial Black', Arial, sans-serif;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ====================================================
   SFONDO A STRISCE DIAGONALI
==================================================== */
.stripes {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    var(--stripe1) 0px,
    var(--stripe1) 40px,
    var(--stripe2) 40px,
    var(--stripe2) 80px
  );
  opacity: 0.08;
  z-index: 0;
  animation: slide 8s linear infinite;
}

@keyframes slide {
  from { background-position: 0 0; }
  to   { background-position: 113px 0; }
}

/* ====================================================
   CONTAINER
==================================================== */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

/* ====================================================
   NASTRO CANTIERE
==================================================== */
.tape {
  width: 100%;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 2px;
  padding: 10px 0;
  white-space: nowrap;
  overflow: hidden;
  text-transform: uppercase;
  animation: scroll-tape 18s linear infinite;
  flex-shrink: 0;
}

.tape-bottom { animation-direction: reverse; }

@keyframes scroll-tape {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ====================================================
   CONTENUTO CENTRALE
==================================================== */
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  gap: 20px;
}

.hard-hat {
  font-size: clamp(4rem, 15vw, 8rem);
  animation: bob 1.2s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 24px rgba(255, 210, 0, 0.5));
}

@keyframes bob {
  from { transform: translateY(0) rotate(-5deg); }
  to   { transform: translateY(-16px) rotate(5deg); }
}

.name {
  font-size: clamp(1.6rem, 6vw, 3rem);
  font-weight: 900;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 3px 3px 0px rgba(0,0,0,0.5);
}

.wip-label {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: clamp(0.7rem, 3vw, 1rem);
  font-weight: 900;
  letter-spacing: 5px;
  padding: 6px 20px;
  text-transform: uppercase;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

/* ====================================================
   BARRA PROGRESSO FINTA
==================================================== */
.progress-wrap {
  width: min(340px, 90vw);
  height: 22px;
  background: rgba(255,255,255,0.08);
  border: 2px solid var(--yellow);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: repeating-linear-gradient(
    90deg,
    var(--yellow) 0px,
    var(--yellow) 16px,
    rgba(255,210,0,0.5) 16px,
    rgba(255,210,0,0.5) 24px
  );
  border-radius: 2px;
  transition: width 0.4s ease;
  animation: fill-bar 6s ease-in-out infinite;
}

@keyframes fill-bar {
  0%   { width: 0%; }
  60%  { width: 80%; }
  80%  { width: 80%; }
  100% { width: 0%; }
}

.progress-text {
  font-size: 0.78rem;
  color: var(--yellow);
  letter-spacing: 2px;
  font-weight: 700;
  margin-top: -8px;
}

/* ====================================================
   MESSAGGIO
==================================================== */
.message {
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  font-family: Arial, sans-serif;
  font-weight: 400;
}

.message span {
  color: var(--yellow);
  font-weight: 700;
}

/* ====================================================
   CONI / EMOJI
==================================================== */
.cones {
  display: flex;
  gap: 16px;
  font-size: clamp(1.4rem, 5vw, 2rem);
}

.cones span {
  animation: wobble 1.5s ease-in-out infinite;
}
.cones span:nth-child(2) { animation-delay: 0.2s; }
.cones span:nth-child(3) { animation-delay: 0.4s; }
.cones span:nth-child(4) { animation-delay: 0.6s; }
.cones span:nth-child(5) { animation-delay: 0.8s; }

@keyframes wobble {
  0%, 100% { transform: rotate(-8deg); }
  50%       { transform: rotate(8deg); }
}

/* ====================================================
   LINK GAME QUIZ
==================================================== */
.game-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 1px;
  padding: 14px 28px;
  text-decoration: none;
  text-transform: uppercase;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.4);
  margin-top: 8px;
}

.game-link:hover {
  transform: translateY(-3px);
  box-shadow: 4px 8px 0px rgba(0,0,0,0.4);
}

.game-link:active {
  transform: translateY(0);
  box-shadow: 2px 2px 0px rgba(0,0,0,0.4);
}

/* ====================================================
   ABOUT
==================================================== */
.about {
  max-width: 420px;
  background: rgba(255,210,0,0.06);
  border: 1px solid rgba(255,210,0,0.25);
  border-radius: 8px;
  padding: 18px 24px;
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  text-align: center;
  margin-top: 8px;
}

.about strong { color: var(--yellow); }

/* ====================================================
   SOCIAL BUTTONS
==================================================== */
.socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 3px 3px 0px rgba(0,0,0,0.4);
}

.social-btn:hover  { transform: translateY(-3px); box-shadow: 3px 6px 0px rgba(0,0,0,0.4); }
.social-btn:active { transform: translateY(0);    box-shadow: 1px 1px 0px rgba(0,0,0,0.4); }

.insta  { background: #E1306C; color: #fff; }
.github { background: #fff;    color: #1A1A1A; }
.mail   { background: var(--yellow); color: var(--black); }

/* ====================================================
   BANNER COOKIE
==================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(10,10,10,0.97);
  border-top: 2px solid var(--yellow);
  padding: 16px;
  display: flex;
  justify-content: center;
}

.cookie-content {
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.cookie-link {
  color: var(--yellow);
  text-decoration: underline;
  margin-left: 4px;
}

.cookie-btns {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  flex: 1;
  padding: 12px;
  font-size: 0.88rem;
  font-weight: 900;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.15s, transform 0.1s;
}

.cookie-btn:active { opacity: 0.85; transform: scale(0.97); }

.cookie-accept { background: var(--yellow); color: var(--black); }
.cookie-reject { background: transparent; border: 2px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.6); }

/* ====================================================
   MOBILE
==================================================== */
@media (max-width: 480px) {
  .tape { font-size: 0.72rem; }
  .cones { gap: 10px; }
}
