/* ===========================
   FONTS
=========================== */
@font-face {
  font-family: 'Bounded';
  src: url('fonts/Bounded.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'PSS';
  src: url('fonts/PSS.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: #31055C;
  color: #fff;
  font-family: 'PSS', sans-serif;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

/* ===========================
   PREFIX: new-tmr-0526-summer-2026-update-
=========================== */

/* ===========================
   CONTAINER
=========================== */
.new-tmr-0526-summer-2026-update-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===========================
   HERO BLOCK
=========================== */
.new-tmr-0526-summer-2026-update-hero {
  position: relative;
  width: 100%;
  height: 1080px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #18001B;
}

.new-tmr-0526-summer-2026-update-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 0;
}

.new-tmr-0526-summer-2026-update-hero-center {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Rays — fixed to hero center, rotate in place */
.new-tmr-0526-summer-2026-update-rays {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 1912px;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  animation: new-tmr-spin 20s linear infinite;
  pointer-events: none;
  z-index: 1;
}

/* Logo — in front of rays */
.new-tmr-0526-summer-2026-update-logo {
  position: relative;
  z-index: 2;
  width: auto;
  height: 740px;
  animation: new-tmr-float 4s ease-in-out infinite;
}

/* Arrow at bottom */
.new-tmr-0526-summer-2026-update-hero-arrow {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 40px;
  height: auto;
  animation: new-tmr-bounce 2s ease-in-out infinite;
}

@keyframes new-tmr-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

@keyframes new-tmr-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes new-tmr-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50%       { transform: translateX(-50%) translateY(10px); opacity: 0.6; }
}

/* ===========================
   CONTEST BLOCK
=========================== */
.new-tmr-0526-summer-2026-update-contest {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.new-tmr-0526-summer-2026-update-contest-title {
  font-family: 'Bounded', sans-serif;
  font-size: 80px;
  line-height: 1.1;
  color: #fff;
  text-align: center;
  width: 1100px;
  max-width: 100%;
}

.new-tmr-0526-summer-2026-update-contest-img {
  margin-top: 80px;
  width: 100%;
}

/* ===========================
   STANDARD SECTION
=========================== */
.new-tmr-0526-summer-2026-update-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 200px 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Section title */
.new-tmr-0526-summer-2026-update-section-title {
  font-family: 'Bounded', sans-serif;
  font-size: 64px;
  line-height: 1.1;
  color: #fff;
  text-align: center;
  width: 1100px;
  max-width: 100%;
}

/* ===========================
   CARD ROWS
=========================== */

/* Full-width single card row */
.new-tmr-0526-summer-2026-update-row-1col {
  width: 100%;
  margin-top: 100px;
}
.new-tmr-0526-summer-2026-update-row-1col img {
  width: 100%;
}

/* Adjacent row spacing */
.new-tmr-0526-summer-2026-update-row-1col + .new-tmr-0526-summer-2026-update-row-1col,
.new-tmr-0526-summer-2026-update-row-2col + .new-tmr-0526-summer-2026-update-row-2col,
.new-tmr-0526-summer-2026-update-row-2col + .new-tmr-0526-summer-2026-update-row-1col,
.new-tmr-0526-summer-2026-update-row-1col + .new-tmr-0526-summer-2026-update-row-2col {
  margin-top: 30px;
}

/* 2-column row (585px each, 30px gap) */
.new-tmr-0526-summer-2026-update-row-2col {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 100px;
}
.new-tmr-0526-summer-2026-update-row-2col img {
  width: 100%;
}

/* Subsequent 2-col rows */
.new-tmr-0526-summer-2026-update-row-2col ~ .new-tmr-0526-summer-2026-update-row-2col {
  margin-top: 30px;
}
.new-tmr-0526-summer-2026-update-row-1col ~ .new-tmr-0526-summer-2026-update-row-2col {
  margin-top: 30px;
}

/* 3-column item row (380px each, 30px gap) */
.new-tmr-0526-summer-2026-update-row-3col {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

/* First 3-col after section title */
.new-tmr-0526-summer-2026-update-section-title + .new-tmr-0526-summer-2026-update-row-3col {
  margin-top: 100px;
}

.new-tmr-0526-summer-2026-update-item-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Wrapper: itembg as base, item image centered on top */
.new-tmr-0526-summer-2026-update-item-card-img-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The background card image — fills the wrapper naturally */
.new-tmr-0526-summer-2026-update-item-card-img-wrap .new-tmr-0526-summer-2026-update-itembg {
  width: 100%;
  height: auto;
  display: block;
}

/* The item image — centered over the background */
.new-tmr-0526-summer-2026-update-item-card-img-wrap .new-tmr-0526-summer-2026-update-item-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 180px;
  width: auto;
  object-fit: contain;
  pointer-events: none;
}

.new-tmr-0526-summer-2026-update-item-label {
  font-family: 'PSS', sans-serif;
  font-size: 20px;
  line-height: 140%;
  color: #fff;
  text-align: center;
  margin-top: 20px;
}

/* ===========================
   MULTIBLOCK (bg + gif)
=========================== */
.new-tmr-0526-summer-2026-update-multiblock {
  position: relative;
  width: 100%;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.new-tmr-0526-summer-2026-update-multiblock img.new-tmr-0526-summer-2026-update-multiblock-bg {
  width: 100%;
  display: block;
}

.new-tmr-0526-summer-2026-update-multiblock-gif {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: calc(100% - 60px); /* 30px top + 30px bottom */
  width: auto;
  object-fit: contain;
}

/* ===========================
   WHITE SECTION
=========================== */
.new-tmr-0526-summer-2026-update-white-section-wrap {
  width: 100%;
  background-color: #fff;
  margin-top: 120px;
}

.new-tmr-0526-summer-2026-update-white-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 16px 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.new-tmr-0526-summer-2026-update-white-title {
  font-family: 'Bounded', sans-serif;
  font-size: 64px;
  line-height: 1.1;
  color: #141414;
  text-align: center;
  width: 1100px;
  max-width: 100%;
}

/* ===========================
   SCROLL REVEAL ANIMATION
=========================== */
.new-tmr-0526-summer-2026-update-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.new-tmr-0526-summer-2026-update-reveal.new-tmr-0526-summer-2026-update-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1240px) {
  .new-tmr-0526-summer-2026-update-contest-title { font-size: clamp(32px, 5vw, 60px); }
  .new-tmr-0526-summer-2026-update-section-title { font-size: clamp(28px, 4vw, 48px); }
  .new-tmr-0526-summer-2026-update-white-title   { font-size: clamp(28px, 4vw, 48px); }
}

@media (max-width: 960px) {
  .new-tmr-0526-summer-2026-update-hero          { height: 70vw; min-height: 480px; }
  .new-tmr-0526-summer-2026-update-rays          { height: 130vw; width: auto; }
  .new-tmr-0526-summer-2026-update-logo          { height: 65vw; width: auto; }
  .new-tmr-0526-summer-2026-update-hero-arrow    { width: 28px; bottom: 48px; }

  .new-tmr-0526-summer-2026-update-contest-title {
    font-size: clamp(22px, 4.5vw, 44px);
    width: calc(100% - 120px);
    max-width: 100%;
  }
  .new-tmr-0526-summer-2026-update-section-title {
    font-size: clamp(18px, 3.8vw, 36px);
    width: calc(100% - 120px);
    max-width: 100%;
  }
  .new-tmr-0526-summer-2026-update-white-title {
    font-size: clamp(18px, 3.8vw, 36px);
    width: calc(100% - 120px);
    max-width: 100%;
  }

  .new-tmr-0526-summer-2026-update-section       { padding-top: 120px; }
  .new-tmr-0526-summer-2026-update-contest       { padding-top: 80px; }

  .new-tmr-0526-summer-2026-update-row-2col {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 60px;
  }
  .new-tmr-0526-summer-2026-update-row-2col ~ .new-tmr-0526-summer-2026-update-row-2col { margin-top: 16px; }
  .new-tmr-0526-summer-2026-update-row-1col ~ .new-tmr-0526-summer-2026-update-row-2col { margin-top: 16px; }
  .new-tmr-0526-summer-2026-update-row-1col      { margin-top: 60px; }

  .new-tmr-0526-summer-2026-update-row-3col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .new-tmr-0526-summer-2026-update-item-card-img-wrap .new-tmr-0526-summer-2026-update-item-img {
    height: 140px;
  }

  .new-tmr-0526-summer-2026-update-multiblock    { margin-top: 30px; }
}

@media (max-width: 600px) {
  .new-tmr-0526-summer-2026-update-hero-arrow    { width: 22px; bottom: 36px; }

  .new-tmr-0526-summer-2026-update-contest-title {
    font-size: clamp(16px, 5.5vw, 28px);
    width: calc(100% - 120px);
    max-width: 100%;
  }
  .new-tmr-0526-summer-2026-update-section-title {
    font-size: clamp(14px, 5vw, 24px);
    width: calc(100% - 120px);
    max-width: 100%;
  }
  .new-tmr-0526-summer-2026-update-white-title {
    font-size: clamp(14px, 5vw, 24px);
    width: calc(100% - 120px);
    max-width: 100%;
  }
  .new-tmr-0526-summer-2026-update-item-label    { font-size: 14px; }

  .new-tmr-0526-summer-2026-update-section       { padding-top: 80px; }
  .new-tmr-0526-summer-2026-update-white-section { padding-top: 60px; padding-bottom: 160px; }
}
