.hero-cocktail {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(212, 177, 132, 0.15), var(--bg-dark) 70%);
  text-align: center;
}

.hero-cocktail h1 {
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.8;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 0 40px rgba(212, 177, 132, 0.3);
}

.cocktail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 80px;
  width: 100%;
}

.cocktail-card {
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--border);
  padding: 50px 40px;
  text-align: left;
  transition: var(--transition);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 6px 6px 0px rgba(0,0,0,0.8), 8px 8px 0px var(--primary);
  display: flex;
  flex-direction: column;
  min-height: 300px;
  border-radius: 2px;
}

.cocktail-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at top right, rgba(212, 177, 132, 0.05), transparent 60%);
  pointer-events: none;
}

.cocktail-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0px rgba(0,0,0,0.8), 14px 14px 0px var(--primary);
  border-color: var(--primary);
  background: rgba(212, 177, 132, 0.05);
}

.cocktail-number {
  position: absolute;
  top: 25px;
  right: 25px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  opacity: 0.5;
}

.cocktail-visual {
  height: 120px;
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  display: flex;
  align-items: flex-end;
}

/* Minimalist CSS Glasses replacing Emojis */
.design-fizz {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.design-fizz::after {
  content: '';
  width: 40px; height: 90px;
  border: 1px solid rgba(255,255,255,0.6);
  border-top: none;
  border-radius: 0 0 5px 5px;
  margin-left: 20px;
  background: linear-gradient(0deg, rgba(80,180,255,0.1) 60%, transparent 60%);
  box-shadow: 0 0 20px rgba(80,180,255,0.05);
  transition: var(--transition);
}
.cocktail-card:hover .design-fizz::after {
  height: 100px;
  background: linear-gradient(0deg, rgba(80,180,255,0.3) 60%, transparent 60%);
}

.design-sour::after {
  content: '';
  width: 60px; height: 40px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 0 0 30px 30px;
  border-top: none;
  margin-left: 10px;
  margin-bottom: 30px;
  background: linear-gradient(0deg, rgba(160,255,100,0.1) 80%, transparent 80%);
  position: relative;
  transition: var(--transition);
}
.design-sour::before {
  content: '';
  position: absolute;
  bottom: 0px; left: 38.5px;
  width: 1px; height: 30px;
  background: rgba(255,255,255,0.6);
}
.cocktail-card:hover .design-sour::after {
  background: linear-gradient(0deg, rgba(160,255,100,0.25) 80%, transparent 80%);
}

.design-deep::after {
  content: '';
  width: 50px; height: 40px;
  border: 1px solid rgba(255,255,255,0.6);
  border-top: none;
  border-radius: 0 0 25px 25px;
  margin-left: 15px;
  margin-bottom: 40px;
  transform: perspective(50px) rotateX(-20deg);
  background: rgba(150,50,50,0.1);
  transition: var(--transition);
}
.cocktail-card:hover .design-deep::after {
  background: rgba(150,50,50,0.3);
}

.design-bass::after {
  content: '';
  width: 55px; height: 60px;
  border: 1px solid rgba(255,255,255,0.6);
  border-top: none;
  border-radius: 0 0 8px 8px;
  margin-left: 12px;
  background: linear-gradient(0deg, rgba(200,100,50,0.15) 50%, transparent 50%);
  position: relative;
  transition: var(--transition);
}
.cocktail-card:hover .design-bass::after {
  background: linear-gradient(0deg, rgba(200,100,50,0.3) 50%, transparent 50%);
}

.cocktail-card h3 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -1px;
}

.cocktail-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.autor-section {
  padding: 150px 0;
  border-top: 1px solid var(--border);
  background: radial-gradient(circle at 100% 50%, rgba(212, 177, 132, 0.08), transparent 60%);
}

.author-image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

/* Modals Refined specifically for Cocktails page */
.modal-overlay {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  padding: 15px;
}
.modal-overlay.visible {
  opacity: 1;
}

.modal-content {
  background: var(--bg-dark);
  border: 2px solid var(--border);
  padding: 0;
  max-width: 900px;
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 8px 8px 0px var(--primary);
  position: relative;
  transform: scale(0.95);
  opacity: 0;
  animation: modalIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalIn {
  to { transform: scale(1); opacity: 1; }
}

.modal-split {
  display: flex;
  flex-direction: row;
  min-height: 400px;
}

.assembly-canvas {
  flex: 1;
  background: radial-gradient(circle at center, rgba(212, 177, 132, 0.05), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 350px;
  border-right: 2px solid var(--border);
  overflow: hidden;
}

.modal-info {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #050505;
}

/* Responsive Media Queries (Mobile First approach for fixes) */
@media (max-width: 768px) {
  .cocktail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cocktail-card {
    padding: 30px 20px;
    min-height: 250px;
  }
  .modal-overlay {
    padding: 10px;
  }
  .modal-content {
    box-shadow: 4px 4px 0px var(--primary);
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .modal-split {
    flex-direction: column;
  }
  .assembly-canvas {
    min-height: 250px;
    border-right: none;
    border-bottom: 2px solid var(--border);
  }
  .modal-info {
    padding: 30px;
  }
  .modal-title {
    font-size: 2rem !important;
  }
  .modal-desc {
    font-size: 1rem !important;
    margin-bottom: 20px !important;
  }
  .close-btn {
    top: 10px !important;
    right: 10px !important;
    width: 35px !important;
    height: 35px !important;
    font-size: 1.2rem !important;
  }
}

/* Assembly Parts */
.glass-part, .liquid-part, .ice-part, .garnish-part {
  position: absolute;
  margin: auto;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 80px;
  height: 120px;
  opacity: 0;
}

.glass-part {
  border: 1px solid rgba(255,255,255,0.7);
  border-top: none;
  border-radius: 0 0 10px 10px;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 -20px 30px rgba(255,255,255,0.05);
}

.liquid-part {
  background: linear-gradient(to bottom, transparent 20%, rgba(212, 177, 132, 0.6) 20%);
  border-radius: 0 0 8px 8px;
  transform: translateY(20px) scaleY(0);
  transform-origin: bottom;
  width: 76px;
  height: 116px;
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.ice-part {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(2px);
  transform: translateY(-80px) rotate(45deg);
  transition: all 0.6s cubic-bezier(0.5, 0, 0.3, 1) 1.2s;
}

.garnish-part {
  width: 30px; height: 30px;
  border: 2px solid #e0b85c;
  border-radius: 50%;
  transform: translateY(-100px) translateX(30px);
  transition: all 0.6s cubic-bezier(0.5, 0, 0.3, 1) 1.5s;
  box-shadow: 0 0 10px rgba(224,184,92,0.2);
}

.assemble-now .glass-part {
  opacity: 1;
  transform: translateY(0);
}
.assemble-now .liquid-part {
  opacity: 1;
  transform: translateY(0) scaleY(1);
}
.assemble-now .ice-part {
  opacity: 1;
  transform: translateY(20px) rotate(15deg);
}
.assemble-now .garnish-part {
  opacity: 0.9;
  transform: translateY(-50px) translateX(35px) rotate(20deg);
}

.close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px; height: 40px;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 100;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.close-btn:hover {
  background: var(--primary);
  color: #000;
  transform: rotate(90deg);
}

[data-scroll] {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-scroll].visible {
  opacity: 1;
  transform: translateY(0);
}
