@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,900&display=swap");

@font-face {
  font-family: "Pricedown";
  src:
    url("fonts/pricedown.woff2") format("woff2"),
    url("fonts/pricedown.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --bg-glass: rgba(255, 255, 255, 0.1);
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.85);
  --accent: #ff79a1;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.6);
  --border-light: rgba(255, 255, 255, 0.25);
}

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

body {
  background-color: #0d0216;
  color: var(--text-main);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  background-image: url("img/heroKeyArt\ \(1\).webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.logo-img {
  width: 100px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-section {
  text-align: center;
  margin-bottom: 40px;
}

h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-bottom: 15px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.gta-classic-text {
  font-family: "Pricedown", sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  color: #ffffff;
  letter-spacing: 2px;
  line-height: 1;
}

.gta-vi-numeral {
  font-family: "Pricedown", sans-serif;
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 900;

  color: white;

  -webkit-background-clip: text;
  letter-spacing: -2px;
  line-height: 0.85;
  padding-right: 10px;
}

.subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

#timer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 20px 0 50px 0;
  width: 100%;
}

.box {
  background: var(--bg-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 30px 20px;
  flex: 1 1 100px;
  max-width: 160px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  background: rgba(255, 255, 255, 0.2);
}

#days,
#hours,
#minutes,
#seconds {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
  letter-spacing: -1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.label {
  display: block;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-top: 10px;
  font-weight: 600;
}

.content-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 40px;
  margin: 15px 0;
  width: 100%;
  box-shadow: var(--shadow-soft);
}

.content-panel h2 {
  color: var(--text-main);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.content-panel p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.note {
  font-weight: 500;
  color: #ffffff !important;
  background: rgba(255, 121, 161, 0.25);
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
}

.grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.card h3 {
  color: var(--text-main);
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 600;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.card iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  display: block;
}

.ad-placeholder {
  width: 100%;
  max-width: 728px;
  min-height: 90px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 20px;
  border-radius: 12px;
  font-size: 0.85rem;
  text-align: center;
  margin: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
    body {
        background: linear-gradient(180deg, #0d0216 0%, #3a0ca3 50%, #f72585 100%);
        background-attachment: fixed;
        margin: 0;
        padding: 0;
    }

    .header-section {
        width: 100vw;
        aspect-ratio: 16 / 9;
        background-image: url('img/heroKeyArt (1).webp');
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: -5px;
    }

    .logo-img {
        width: 65px;
        height: auto;
        margin-top: -10px;
    }

    .subtitle {
        font-size: 0.75rem;
        text-shadow: 2px 2px 4px #000;
        margin-top: 112px;
    }

    .container {
        padding: 10px 15px;
    }

    #timer {
        gap: 5px;
    }

    .box {
        flex: 1;
        padding: 10px 2px;
        background: rgba(247, 37, 133, 0.1);
        border: 1px solid rgba(247, 37, 133, 0.3);
    }

    .content-panel {
        background: rgba(13, 2, 22, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 15px;
    }

    .grid-layout {
        grid-template-columns: 1fr;
    }
}
