/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  --container-padding: 20px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  position: relative;
}

/* Header styles matching CAH */
.main-header {
  background: #000;
  color: #fff;
  padding: 16px 0;
  text-align: left;
  border-bottom: 1px solid #333;
  position: relative;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -3px;
  /* text-transform: uppercase; */
  cursor: pointer;
  transition: opacity 0.1s ease;
  line-height: 1;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

.logo a {
  color: inherit;
  text-decoration: none;
}

.logo:hover {
  opacity: 0.8;
}

.nav-section {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.1s ease;
}

.nav-links a:hover {
  opacity: 0.7;
}

.cart-icon {
  position: relative;
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #fff;
  color: #000;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* Main content */
.main-content {
  padding: 0 0;
  position: relative;
  min-height: 80vh;
}

/* Hero section */
.hero-section {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: -3px;
  text-transform: uppercase;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.4rem;
  margin-bottom: 25px;
  line-height: 1.6;
  font-weight: 400;
}

.game-description {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 50px;
  font-weight: 300;
}

/* Game section with scattered cards */
.game-section {
  text-align: center;
  position: relative;
}

.game-area {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 75vh;
  margin: 0 auto;
}

/* Cards container for all cards */
.cards-container {
  position: absolute;
  top: 0;
  left: calc(var(--container-padding) * -1);
  right: calc(var(--container-padding) * -1);
  height: 100%;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.black-card-container {
  position: static;
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
}

/* Controls positioned below game area */
.controls {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.btn {
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.1s cubic-bezier(0.4, 0, 0.1, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  background: #fff;
  color: #000;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.1),
    transparent
  );
  transition: left 0.1s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: #fff;
  color: #000;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: #333;
  color: #fff;
  box-shadow: 0 4px 16px rgba(51, 51, 51, 0.2);
}

.btn-secondary:hover {
  background: #444;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(51, 51, 51, 0.3);
}

/* Flavor dropdown styles */
.flavor-dropdown {
  position: relative;
  display: inline-block;
}

.flavor-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 20px;
}

.flavor-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

.flavor-text {
  font-size: 0.9rem;
}

.dropdown-arrow {
  font-size: 0.8rem;
  transition: transform 0.1s ease;
}

.flavor-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.flavor-dropdown-content {
  position: absolute;
  bottom: 100%;
  left: 0;
  background: #333;
  border: 1px solid #555;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.1s cubic-bezier(0.4, 0, 0.1, 1);
  margin-bottom: 10px;
}

.flavor-dropdown.active .flavor-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.flavor-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  cursor: pointer;
  transition: background-color 0.1s ease;
  border-bottom: 1px solid #555;
}

.flavor-option:last-child {
  border-bottom: none;
}

.flavor-option:hover {
  background: #444;
}

.flavor-option.selected {
  background: #555;
  color: #fff;
}

/* Keyboard shortcuts */
.keyboard-shortcuts {
  text-align: center;
  margin-top: 15px;
  position: relative;
  z-index: 10;
}

.shortcuts-text {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 400;
  background: #000;
  padding: 8px 16px;
  border-radius: 4px;
  display: inline-block;
}

/* Steal section */
.steal-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 60px 40px;
  border-radius: 12px;
  margin-bottom: 60px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.steal-section h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #fff;
  letter-spacing: -1px;
}

.steal-section p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #ccc;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.legal-note {
  font-size: 1rem;
  color: #999;
  font-style: italic;
  margin-bottom: 30px;
}

.download-section {
  margin-top: 40px;
}

.download-btn {
  background: #fff;
  color: #000;
  padding: 20px 40px;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 15px;
  transition: all 0.1s cubic-bezier(0.4, 0, 0.1, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.download-btn:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.download-text {
  font-size: 1rem;
  color: #ccc;
  font-weight: 500;
}

/* Stuff section */
.stuff-section {
  margin-bottom: 60px;
  text-align: center;
}

.stuff-section h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #fff;
  letter-spacing: -1px;
}

.stuff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.stuff-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.1s ease;
  text-align: left;
  backdrop-filter: blur(10px);
}

.stuff-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.1);
}

.stuff-item h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.stuff-item p {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 20px;
  line-height: 1.5;
}

.stuff-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.1s ease;
}

.stuff-link:hover {
  color: #ccc;
  transform: translateX(5px);
}

/* Shop section */
.shop-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 60px 40px;
  border-radius: 12px;
  margin-bottom: 60px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.shop-section h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #fff;
  letter-spacing: -1px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.shop-content {
  max-width: 800px;
  margin: 0 auto;
}

.shop-description {
  margin-bottom: 40px;
}

.shop-description p {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #fff;
}

.coming-soon {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fec514;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 15px;
}

.shop-notification h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #fff;
}

.notification-form {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.notification-input {
  padding: 15px 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  min-width: 300px;
  transition: all 0.1s ease;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.notification-input::placeholder {
  color: #ccc;
}

.notification-input:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.notification-btn {
  background: #fec514;
  color: #000;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.1s cubic-bezier(0.4, 0, 0.1, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.notification-btn:hover {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(254, 197, 20, 0.3);
}

.notification-note {
  font-size: 0.9rem;
  color: #999;
  font-style: italic;
  max-width: 500px;
  margin: 0 auto;
}

/* Email section */
.email-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 60px 40px;
  border-radius: 12px;
  margin-bottom: 60px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.email-section h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #fff;
  letter-spacing: -1px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.email-form {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.email-input {
  padding: 15px 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  min-width: 300px;
  transition: all 0.1s ease;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.email-input::placeholder {
  color: #ccc;
}

.email-input:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.email-btn {
  background: #fff;
  color: #000;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.1s cubic-bezier(0.4, 0, 0.1, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.email-btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.email-note {
  font-size: 0.9rem;
  color: #999;
  font-style: italic;
  max-width: 500px;
  margin: 0 auto;
}

/* HubSpot Form Styling - Override default styles to match original design */
.hubspot-form-wrapper {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  width: 100%;
}

/* Hide HubSpot's default form wrapper */
.hubspot-form-wrapper .hs-form {
  display: flex !important;
  justify-content: center !important;
  gap: 15px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide HubSpot's default field wrapper */
.hubspot-form-wrapper .hs-form-field {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

/* Style HubSpot email input to match original */
.hubspot-form-wrapper input[type="email"] {
  padding: 15px 20px !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  font-family: "Helvetica Neue", Arial, sans-serif !important;
  min-width: 300px !important;
  transition: all 0.1s ease !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  margin: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

.hubspot-form-wrapper input[type="email"]::placeholder {
  color: #ccc !important;
}

.hubspot-form-wrapper input[type="email"]:focus {
  outline: none !important;
  border-color: #fff !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important;
}

/* Style HubSpot submit button to match original */
.hubspot-form-wrapper .hs-button {
  background: #fff !important;
  color: #000 !important;
  padding: 15px 30px !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.1s cubic-bezier(0.4, 0, 0.1, 1) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  font-family: "Helvetica Neue", Arial, sans-serif !important;
}

.hubspot-form-wrapper .hs-button:hover {
  background: #f0f0f0 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2) !important;
}

/* Hide HubSpot's default labels and error messages */
.hubspot-form-wrapper .hs-error-msgs,
.hubspot-form-wrapper .hs-error-msg,
.hubspot-form-wrapper label {
  display: none !important;
}

/* Hide HubSpot's default form wrapper divs */
.hubspot-form-wrapper .hs-form-field > div {
  margin: 0 !important;
  padding: 0 !important;
}

/* Responsive adjustments for HubSpot form */
@media (max-width: 768px) {
  .hubspot-form-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .hubspot-form-wrapper input[type="email"] {
    min-width: 250px;
    width: 100%;
    max-width: 300px;
  }

  .hubspot-form-wrapper .hs-form {
    flex-direction: column !important;
    align-items: center !important;
  }
}

/* Footer */
.main-footer {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 60px 0;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-section h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: -0.5px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: #999;
  font-size: 1rem;
  transition: all 0.1s ease;
  font-weight: 400;
}

.footer-section ul li a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-section:has(.disclaimer) {
  grid-column: span 2;
}

.disclaimer {
  font-size: 0.9rem;
  color: #999;
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 300;
}

.copyright {
  font-size: 0.9rem;
  color: #666;
  font-weight: 300;
}

/* Selection message styling */
.selection-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: #000;
  padding: 25px 50px;
  border-radius: 12px;
  font-size: 1.4rem;
  font-weight: 700;
  z-index: 1000;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  animation: fadeInOut 2.5s cubic-bezier(0.4, 0, 0.1, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive design */
@media (max-width: 768px) {
  * {
    --container-padding: 15px;
  }

  .header-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .logo {
    font-size: 2.2rem;
    letter-spacing: -2px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.2rem;
  }

  .white-card-svg {
    width: 160px;
    height: 120px;
  }

  .controls {
    position: relative;
    bottom: auto;
    margin-top: 20px;
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .flavor-dropdown {
    width: 100%;
    max-width: 300px;
  }

  .flavor-dropdown-content {
    width: 100%;
    left: 0;
  }

  .steal-section {
    padding: 40px 20px;
  }

  .stuff-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .email-form {
    flex-direction: column;
    align-items: center;
  }

  .email-input {
    min-width: 250px;
    width: 100%;
    max-width: 300px;
  }

  .shop-section {
    padding: 40px 20px;
  }

  .shop-section h3 {
    font-size: 1.8rem;
  }

  .shop-description p {
    font-size: 1.1rem;
  }

  .notification-form {
    flex-direction: column;
    align-items: center;
  }

  .notification-input {
    min-width: 250px;
    width: 100%;
    max-width: 300px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section:has(.disclaimer) {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .white-card-svg {
    width: 140px;
    height: 100px;
  }

  .white-card-svg text {
    font-size: 14px;
  }

  .stuff-section h3,
  .steal-section h3,
  .email-section h3,
  .shop-section h3 {
    font-size: 1.8rem;
  }
}

/* Animations */
@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  80% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%);
  }
}

@keyframes cardSelect {
  0% {
    transform: none;
  }
  50% {
    transform: none;
  }
  100% {
    transform: none;
  }
}

.white-card.selected {
  animation: cardSelect 0.1s cubic-bezier(0.4, 0, 0.1, 1);
}

/* Blank space styling for black cards */
.blank {
  color: #fff;
  margin: 0 4px;
  display: inline-block;
  min-width: 60px;
  text-align: center;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 0;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.white-card-svg:focus,
.email-input:focus {
  outline: 3px solid #ff6b6b;
  outline-offset: 2px;
}

/* Contact Form Styles */
.contact-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 80px 40px;
  border-radius: 12px;
  margin: 60px 0;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.contact-description {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 40px;
  line-height: 1.6;
  font-weight: 400;
}

.contact-form {
  text-align: left;
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.1s ease;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #ccc;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.15);
}

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

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #ccc;
  cursor: pointer;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
  width: 18px;
  height: 18px;
  accent-color: #fff;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-btn {
  background: #fff;
  color: #000;
  padding: 18px 40px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.1s cubic-bezier(0.4, 0, 0.1, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  margin-top: 10px;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.contact-btn:hover:not(:disabled) {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.contact-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.contact-success {
  text-align: center;
  padding: 40px 20px;
}

.contact-success h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: -1px;
}

.contact-success p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 15px;
  line-height: 1.6;
}

.response-time {
  font-size: 1rem;
  color: #999;
  font-style: italic;
}

/* Responsive adjustments for contact form */
@media (max-width: 768px) {
  .contact-section {
    padding: 40px 20px;
    margin: 40px 0;
  }

  .contact-title {
    font-size: 2.2rem;
    letter-spacing: -1px;
  }

  .contact-description {
    font-size: 1.1rem;
  }

  .contact-success h3 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .contact-title {
    font-size: 1.8rem;
  }

  .contact-description {
    font-size: 1rem;
  }

  .form-input,
  .form-textarea {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .contact-btn {
    padding: 15px 30px;
    font-size: 1rem;
  }
}

/* New Card Design Styles - Based on card_design.html */
.card-container {
  position: absolute;
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center center;
  transform: translateZ(0); /* Force GPU acceleration */
  z-index: 5;
  pointer-events: auto;
  will-change: transform;
  backface-visibility: hidden;
}

.card-container:hover:not(.selected) {
  z-index: 300;
  transform: translateZ(0) rotate(0deg) scale3d(1.05, 1.05, 1) !important;
}

.card-container.selected {
  z-index: 200;
}

.black-card-container:hover {
  z-index: 300;
  transform: translate3d(-50%, -50%, 0) rotate(0deg) scale3d(1.05, 1.05, 1) !important;
}

.card-front {
  position: absolute;
  border-radius: 13px;
  background: rgb(255, 255, 255);
  border: 2px solid rgb(0, 0, 0);
  cursor: pointer;
  left: 0;
  top: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  pointer-events: auto;
}

.card-container.selected .card-front {
  box-shadow: 0 16px 48px rgba(255, 107, 107, 0.3);
  border: 3px solid #ff6b6b;
}

/* Card text field styling - matching original CAH design */
.cardAnimation-whiteCard3-textField_N1Jyusrd9b {
  position: absolute;
  left: 25px;
  top: 20px;
  width: 200px;
  color: rgb(0, 0, 0);
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  pointer-events: none;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-height: 280px;
  overflow: hidden;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
}

.cardAnimation-whiteCard3-textField_N1Jyusrd9b a {
  color: #000000;
  text-decoration: underline;
}

/* Card icon styling */
.cardAnimation-whiteCard3-icon_nh7pPKkaPP {
  position: absolute;
  width: 115px;
  bottom: 26px;
  left: 26px;
}

.cardAnimation-whiteCard3-icon_nh7pPKkaPP a {
  color: #000000;
  text-decoration: underline;
}

.cardAnimation-whiteCard3-icon_nh7pPKkaPP svg {
  width: 100%;
  height: auto;
  fill: #000;
}

/* Black card styles - matching original CAH design */
.black-card-front {
  position: static;
  background: linear-gradient(135deg, #000 0%, #111 100%);
  border: 2px solid rgb(255, 255, 255);
}

.black-card-text-field {
  color: rgb(255, 255, 255) !important;
  font-size: 20px !important;
  line-height: 26px !important;
  font-weight: 700 !important;
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.black-card-text-field a {
  color: #ffffff !important;
}

.black-card-text-field div {
  color: rgb(255, 255, 255) !important;
  font-size: 20px !important;
  line-height: 26px !important;
  font-weight: 700 !important;
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.black-card-container .cardAnimation-whiteCard3-icon_nh7pPKkaPP svg {
  fill: #fff;
}

/* Card positioning and layout */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
  min-height: 400px;
}

.card-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cards-grid {
    gap: 10px;
    padding: 10px;
  }

  .cardAnimation-whiteCard3-textField_N1Jyusrd9b {
    font-size: 14px;
    line-height: 20px;
  }

  .black-card-text-field {
    font-size: 16px !important;
    line-height: 22px !important;
  }

  .black-card-text-field {
    font-size: 18px !important;
    line-height: 24px !important;
  }
}

@media (max-width: 480px) {
  .cardAnimation-whiteCard3-textField_N1Jyusrd9b {
    font-size: 16px;
    line-height: 22px;
  }
}

