/* Dos Uvas - Shared Styles */

:root {
  --brand: #4B2E83; /* grape */
  --bg: #3E3168;   /* deep purple */
  --text: #F7F7F9;
  --muted: #BFC2CC;
  --accent: #88FFC7;
  --card: #FFFFFF;
  --ink: #111111;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body { 
  height: 100%; 
}

html { 
  scroll-behavior: smooth; 
  scroll-snap-type: y proximity; 
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  margin: 0;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * { 
    scroll-behavior: auto !important; 
    animation: none !important;
  }
}

/* Common Utilities */
.text-center {
  text-align: center;
}

.error {
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.4);
  color: #ff6b7a;
  padding: 16px;
  border-radius: 8px;
  margin: 16px 0;
}

.loading {
  color: #666;
  font-style: italic;
}

/* Cookie Notice Styles */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  padding: 1rem;
  display: none; /* Hidden by default */
}

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

.cookie-content p {
  margin: 0;
  color: rgba(247, 247, 249, 0.9);
  font-size: 0.9rem;
  flex: 1;
}

.cookie-content a {
  color: #fff;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.cookie-btn.accept {
  background: #22c55e;
  color: white;
}

.cookie-btn.accept:hover {
  background: #16a34a;
}

.cookie-btn.decline {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(247, 247, 249, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn.decline:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Cookie Notice Responsive */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
}