:root {
  --primary: #FF6700;
  --primary-foreground: #ffffff;
  --background: #ffffff;
  --foreground: #1a1a1a;
  --muted-foreground: #666666;
  --border: #e5e5e5;
}

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

html, body {
  width: 100%;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
}

body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  min-height: 100vh;
  background-color: var(--background);
}

/* Header Styles */
.header {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 8px 16px;
  position: relative;
}

.header-content {
  text-align: center;
}

.header-title {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}

.header-subtitle {
  font-size: 12px;
}

@media (min-width: 768px) {
  .header-title {
    font-size: 14px;
  }
  
  .header-subtitle {
    font-size: 14px;
  }
}

/* Main Content */
.content-wrapper {
  width: 100%;
  padding: 32px 16px;
}

.content-container {
  max-width: 400px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .content-wrapper {
    padding: 48px 16px;
  }
  
  .content-container {
    max-width: 500px;
  }
}

/* Logo */
.logo-section {
  text-align: center;
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease-out;
}

.logo-section img {
  height: 48px;
  margin: 0 auto;
  display: block;
}

@media (min-width: 768px) {
  .logo-section img {
    height: 56px;
  }
}

/* Gift Card */
.gift-card-section {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
  animation: fadeInDown 0.6s ease-out 0.1s both;
}

.gift-card-section img {
  height: 128px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: swing 2s ease-in-out infinite;
}

@media (min-width: 768px) {
  .gift-card-section img {
    height: 160px;
  }
}

/* Title Section */
.title-section {
  text-align: center;
  margin-bottom: 16px;
  animation: fadeInDown 0.6s ease-out 0.2s both;
}

.title-section h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 12px;
}

.title-section p {
  color: var(--muted-foreground);
  font-size: 14px;
}

.title-section .bold-text {
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .title-section h1 {
    font-size: 32px;
  }
  
  .title-section p {
    font-size: 16px;
  }
}

/* Steps Box */
.steps-box {
  background-color: var(--background);
  border: 2px solid var(--primary);
  border-radius: 16px;
  padding: 24px 32px;
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease-out 0.3s both;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  width: 28px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.step-text {
  font-size: 14px;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .steps-box {
    padding: 32px 40px;
  }
  
  .step-number {
    height: 32px;
    width: 32px;
    font-size: 16px;
  }
  
  .step-text {
    font-size: 16px;
  }
}

/* CTA Button Section */
.cta-section {
  text-align: center;
  margin-bottom: 48px;
  animation: fadeInDown 0.6s ease-out 0.4s both;
}

.cta-link {
  text-decoration: none !important;
  pointer-events: auto;
}

.cta-link:hover {
  text-decoration: none !important;
}

.cta-button {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 103, 0, 0.3);
  text-decoration: none !important;
}

.cta-button:hover {
  background-color: #E55A00;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(255, 103, 0, 0.4);
  text-decoration: none !important;
}

.cta-button:active {
  transform: scale(0.98);
  text-decoration: none !important;
}

.cta-note {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 12px;
}

@media (min-width: 768px) {
  .cta-button {
    padding: 20px 48px;
    font-size: 20px;
  }
  
  .cta-note {
    font-size: 14px;
  }
}

/* Footer */
.footer {
  text-align: center;
  padding: 32px 16px;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer-link:hover {
  background-color: #E55A00;
  transform: translateY(-2px);
}

.footer-text {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-bottom: 4px;
}

/* Animations */
@keyframes swing {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(5deg);
  }
  75% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes countdown {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.animate-countdown {
  animation: countdown 1s ease-in-out infinite;
}

.floating-donuts {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.donut {
  position: absolute;
  font-size: 40px;
  opacity: 0.1;
  animation: float 3s ease-in-out infinite;
}

@media (min-width: 768px) {
  .donut {
    font-size: 60px;
  }
}
