/* Perlentaucher Countdown Launch - Main Styles */
:root {
  --background: hsl(220, 15%, 8%);
  --foreground: hsl(0, 0%, 98%);
  --card: hsl(220, 15%, 12%);
  --card-foreground: hsl(0, 0%, 98%);
  --primary: hsl(47, 96%, 53%);
  --primary-foreground: hsl(220, 15%, 8%);
  --secondary: hsl(220, 15%, 18%);
  --muted-foreground: hsl(220, 10%, 60%);
  --border: hsl(220, 15%, 20%);
  --radius: 0.5rem;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

header nav a,
header nav button {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

header nav a:hover,
header nav button:hover {
  color: var(--primary);
}

.nav-desktop {
  display: none;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.menu-button {
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .menu-button {
    margin-left: auto;
  }
}

/* Main Layout */
.min-h-screen {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.gradient-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsl(25, 51%, 28%), var(--background), var(--background));
  opacity: 0.6;
  z-index: 0;
}

main {
  position: relative;
  z-index: 10;
}

/* Hero Section */
.hero-title {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 1rem;
  background-color: var(--background);
}

.hero-title h1 {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: normal;
  color: white;
  transition: color 0.2s;
  cursor: pointer;
  word-wrap: break-word;
  line-height: 1.2;
}

.hero-title h1:hover {
  color: var(--primary);
}

@media (min-width: 640px) {
  .hero-title h1 {
    font-size: 3.75rem;
  }
}

@media (min-width: 768px) {
  .hero-title h1 {
    font-size: 4.5rem;
    letter-spacing: 0.1em;
    padding-top: 2rem;
  }
}

@media (min-width: 1024px) {
  .hero-title h1 {
    font-size: 6rem;
  }
}

/* Charts Text */
.charts-text {
  background-color: var(--background);
  padding-bottom: 2rem;
  text-align: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

.charts-text p {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: bold;
}

@media (min-width: 640px) {
  .charts-text p {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .charts-text {
    padding-bottom: 3rem;
  }
  .charts-text p {
    font-size: 1.875rem;
  }
}

/* Cover Section */
.cover-section {
  background-color: var(--background);
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .cover-section {
    padding: 5rem 0 3rem;
  }
}

.cover-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .cover-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    padding: 0 3rem;
  }
}

@media (min-width: 1024px) {
  .cover-grid {
    gap: 6rem;
  }
}

.cover-text {
  order: 2;
  width: 100%;
}

@media (min-width: 768px) {
  .cover-text {
    order: 1;
  }
}

.cover-text .subtitle {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cover-text .subtitle {
    font-size: 1rem;
  }
}

.cover-text h2 {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cover-text h2 {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .cover-text h2 {
    font-size: 4.5rem;
  }
}

.cover-text .release-date {
  color: var(--muted-foreground);
  font-size: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .cover-text .release-date {
    font-size: 1.125rem;
  }
}

.cover-text h3 {
  color: white;
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cover-text h3 {
    font-size: 1.5rem;
  }
}

.cover-image-wrapper {
  order: 1;
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .cover-image-wrapper {
    order: 2;
    justify-content: flex-end;
  }
}

.cover-image {
  width: 100%;
  max-width: 32rem;
  aspect-ratio: 1;
  border: 2px solid var(--primary);
  overflow: hidden;
}

@media (min-width: 768px) {
  .cover-image {
    max-width: 36rem;
  }
}

.cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Streaming Platforms */
.streaming-platforms {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .streaming-platforms {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.platform-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(220, 220, 220, 0.04);
  text-decoration: none;
  transition: background-color 0.2s;
  height: 4rem;
  width: 100%;
}

.platform-link:hover {
  background-color: rgba(220, 220, 220, 0.08);
}

.platform-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  flex-shrink: 0;
}

.platform-link:hover .platform-icon {
  background-color: rgba(255, 255, 255, 0.2);
}

.platform-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

/* Content Sections */
.content-section {
  padding: 3rem 0;
  background-color: rgba(220, 220, 220, 0.05);
}

@media (min-width: 768px) {
  .content-section {
    padding: 4rem 1.5rem;
  }
}

.content-box {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem;
}

@media (min-width: 768px) {
  .content-box {
    padding: 3rem;
    background-color: rgba(220, 220, 220, 0.05);
    border-radius: 0.75rem;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.2);
  }
}

.content-box h2 {
  font-size: 1.875rem;
  font-weight: 800;
  color: white;
  margin-bottom: 3rem;
  text-align: center;
  line-height: 1.6;
  word-wrap: break-word;
  padding: 0 0.5rem;
}

@media (min-width: 640px) {
  .content-box h2 {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .content-box h2 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .content-box h2 {
    font-size: 3.75rem;
  }
}

@media (min-width: 1280px) {
  .content-box h2 {
    font-size: 4.5rem;
  }
}

.content-box .primary-text {
  color: var(--primary);
}

.content-box p {
  color: rgba(var(--foreground), 0.9);
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .content-box p {
    font-size: 1.125rem;
  }
}

/* Countdown */
.countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.countdown-units {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 0 0.5rem;
}

@media (min-width: 640px) {
  .countdown-units {
    gap: 0.75rem;
  }
}

@media (min-width: 768px) {
  .countdown-units {
    gap: 1.5rem;
  }
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-value {
  background-color: var(--card);
  border: 2px solid var(--primary);
  border-radius: 0.5rem;
  padding: 0.75rem;
  min-width: 60px;
}

@media (min-width: 640px) {
  .countdown-value {
    padding: 1rem;
    min-width: 80px;
  }
}

@media (min-width: 768px) {
  .countdown-value {
    padding: 1.5rem;
    min-width: 120px;
  }
}

.countdown-number {
  font-size: 1.875rem;
  font-weight: bold;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 640px) {
  .countdown-number {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .countdown-number {
    font-size: 3.75rem;
  }
}

.countdown-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 640px) {
  .countdown-label {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .countdown-label {
    font-size: 1rem;
  }
}

/* Forms */
.form-wrapper {
  max-width: 28rem;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground);
  border-radius: var(--radius);
  font-size: 1rem;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-foreground);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.btn {
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.9;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-full {
  width: 100%;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }
  
  .newsletter-form .form-input {
    flex: 1;
  }
  
  .newsletter-form .btn {
    white-space: nowrap;
  }
}

.form-note {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.75rem;
  text-align: center;
}

/* Footer */
footer {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

@media (min-width: 768px) {
  footer {
    margin-top: 4rem;
    padding-top: 2rem;
  }
}

.footer-content {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-brand {
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
  opacity: 0.7;
  letter-spacing: 0.1em;
}

.footer-copyright {
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .footer-copyright {
    margin-bottom: 1rem;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .footer-links {
    gap: 0.75rem;
    font-size: 0.875rem;
  }
}

.footer-links a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--foreground);
}

.footer-separator {
  display: none;
}

@media (min-width: 640px) {
  .footer-separator {
    display: inline;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: opacity 0.2s;
}

.back-to-top:hover {
  opacity: 0.9;
}

/* Page Content (for text pages) */
.page-content {
  max-width: 56rem;
  margin: 0 auto;
}

.page-content h1 {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .page-content h1 {
    font-size: 3rem;
  }
}

.page-content h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

.page-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.page-content section {
  margin-bottom: 2rem;
}

.page-content p {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.page-content a {
  color: var(--primary);
  text-decoration: none;
}

.page-content a:hover {
  text-decoration: underline;
}

/* Video embed */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  max-width: 64rem;
  margin: 0 auto;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.75rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .md\:py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}
