@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/orbitron/v25/yMJMMIlzdpvBhQQL_SC3X9yhF25-T1nyxSmxpg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/orbitron/v25/yMJMMIlzdpvBhQQL_SC3X9yhF25-T1nyxSmxpg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v25/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Hw5aX8.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(https://fonts.gstatic.com/s/montserrat/v25/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtZ6Hw5aX8.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url(https://fonts.gstatic.com/s/montserrat/v25/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCuM73w5aX8.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


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

html, body {
  height: 100%;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: black;
  color: white;
  overflow-x: hidden;
  line-height: 1.6;
}

.image-background {
  background: #000 url("background.webp?v=1") no-repeat center center fixed;
  background-size: cover;
  position: relative;
}

#particles {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.2;
}

.container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 600px;
  margin: auto;
}

.avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid #ff4ecb;
  box-shadow: 0 0 20px #ff4ecb;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  image-rendering: -webkit-optimize-contrast;
}

.avatar:hover {
  transform: scale(1.05);
}

h1, h2, .lang-switch button, .link-list a, .link-button {
  font-family: 'Orbitron', -apple-system, BlinkMacSystemFont, sans-serif;
}

h1 {
  font-size: clamp(24px, 5vw, 36px);
  color: #ff4ecb;
  text-shadow: 0 0 10px #ff4ecb;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.subtitle {
  font-size: clamp(14px, 3vw, 18px);
  opacity: 0.8;
  margin-bottom: 30px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.hidden {
  display: none !important;
}


.link-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto;
  max-width: 90%;
}

.link-list a {
  background-color: rgba(0, 0, 0, 0.7);
  color: #ff4ecb;
  padding: 14px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(14px, 3vw, 16px);
  transition: all 0.3s ease;
  border: 1px solid #ff4ecb;
  box-shadow: 0 0 10px rgba(255, 78, 203, 0.5);
  display: block;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.link-list a:hover {
  background-color: rgba(255, 78, 203, 0.2);
  box-shadow: 0 0 20px #ff4ecb;
  transform: translateY(-2px);
}

.link-list a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #ff4ecb;
}


.trovo-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trovo-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.link-list a.trovo-link {
  background-color: rgba(20, 20, 20, 0.8);
  border-left: 4px solid #07c4ff;
}


.link-button {
  background-color: rgba(0, 0, 0, 0.7);
  color: #ff4ecb;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  border: 1px solid #ff4ecb;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-button:hover {
  background-color: rgba(255, 78, 203, 0.2);
  box-shadow: 0 0 15px #ff4ecb;
}

.deadpixel-inline-icon,
.lycoris-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

.footer {
  margin-top: 40px;
  font-size: clamp(12px, 3vw, 14px);
  opacity: 0.7;
}


.lang-switch {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10;
  display: flex;
  gap: 8px;
}

.lang-switch button {
  background: #ff4ecb;
  color: black;
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.lang-switch button:hover {
  background: white;
  color: #ff4ecb;
  box-shadow: 0 0 10px #ff4ecb;
}

.lang-switch button.active-lang {
  background-color: white;
  color: #ff4ecb;
  box-shadow: 0 0 10px #ff4ecb;
}

.lang-switch button.active-lang::after {
  content: " ✓";
  font-weight: bold;
  color: #ff4ecb;
}












.dual-countdown {
  display: block;
  position: fixed;
  top: 265px;
  left: 20px;
  text-align: left;
  padding: 15px 20px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 15px #ff4ecb;
  z-index: 5;
}

.dual-countdown h2 {
  color: #ff4ecb;
  text-shadow: 0 0 10px #ff4ecb;
  margin-bottom: 10px;
  font-size: 20px;
}

.countdown-timer {
  font-size: 24px;
  font-weight: bold;
  color: white;
  text-shadow: 0 0 10px #ff4ecb;
  margin-bottom: 30px;
}

.current-time {
  font-size: 16px;
  font-weight: normal;
  color: #ccc;
  margin-bottom: 20px;
}


.mini-countdown {
  display: none;
  position: fixed;
  top: 48px;
  left: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #ff4ecb;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: bold;
  border-radius: 8px;
  z-index: 9999;
  box-shadow: 0 0 10px #ff4ecb;
}




@media (max-width: 1140px) {
  .dual-countdown {
    display: none !important;
  }
  
  .mini-countdown {
    display: block;
  }
}

@media (max-width: 768px) {
  .avatar {
    width: 100px;
    height: 100px;
  }

  .container {
    padding: 30px 15px;
  }

  .link-list {
    gap: 10px;
  }

  .link-list a {
    padding: 12px 16px;
  }

  .lang-switch {
    top: 15px;
    right: 15px;
  }

  .lang-switch button {
    padding: 5px 10px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .avatar {
    width: 80px;
    height: 80px;
  }

  .link-list a {
    font-size: 13px;
    padding: 10px 12px;
  }

  .footer {
    font-size: 12px;
  }
}


@media (min-width: 2000px) {
  .container {
    max-width: 800px;
  }
  .twitch-player, 
  
  
}


@media 
(-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi) { 
  .avatar, .deadpixel-inline-icon, .lycoris-icon {
    image-rendering: -webkit-optimize-contrast;
  }
}


@media (dynamic-range: high) {
  body, .image-background {
    background-color: #000000;
  }
  .link-list a, .dual-countdown {
    background-color: rgba(0, 0, 0, 0.9);
  }
}


@media (max-width: 768px) and (orientation: portrait) {
  .link-list {
    max-width: 95%;
  }
  .avatar {
    margin-bottom: 15px;
  }
}


@media (max-width: 1024px) and (orientation: landscape) {
  .container {
    padding-top: 20px;
  }
  .dual-countdown {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
  }
}


@media (spanning: single-fold-vertical) {
  .container {
    padding-right: env(fold-left);
    padding-left: env(fold-right);
  }
}

.dual-countdown h2 {
  margin-top: 20px;
}

.countdown-timer {
  margin-bottom: 10px;
}

.current-time {
  margin-bottom: 20px;
}
