/* ==========================================================================
   DOGAME.ART - COMPLETE STYLES
   With weekday indicator for driphaus pill (Monday-Friday)
   ========================================================================== */

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

:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --text-primary: #333;
  --text-secondary: #718096;
  --bg-white: #ffffff;
  --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 30px rgba(102, 126, 234, 0.3);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--primary-gradient);
  min-height: 100vh;
  padding: 40px 20px;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   PROFILE SECTION
   ========================================================================== */

.profile-section {
  padding: 50px 50px 40px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid rgba(102, 126, 234, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  object-fit: cover;
}

.profile-info {
  flex: 1;
  padding-top: 8px;
}

.name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tagline {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.5;
  letter-spacing: 0.005em;
  font-weight: 500;
}

/* ==========================================================================
   LINKS SECTION
   ========================================================================== */

.links-section {
  padding: 40px 50px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-button {
  display: flex;
  align-items: center;
  padding: 18px 32px;
  background: var(--primary-gradient);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
  position: relative;
  overflow: visible;
}

.link-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
  z-index: 0;
}

.link-button:hover::before {
  left: 100%;
}

.link-button:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.35);
}

.link-button:active {
  transform: translateX(2px);
}

.link-button i,
.link-button svg {
  margin-right: 14px;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}

.link-button span {
  flex: 1;
  z-index: 1;
  position: relative;
}

/* ==========================================================================
   WEEKDAY INDICATOR - RED BADGE FOR DRIPHAUS (Monday-Friday only)
   ========================================================================== */

body.weekday .link-button[href*="drip.haus"]::after {
  content: 'SNAPSHOT ACTIVE';
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #ef4444;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  z-index: 10;
  animation: pulse 2s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.6);
  }
}

/* ==========================================================================
   SOCIALS SECTION
   ========================================================================== */

.socials-section {
  padding: 30px 50px 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  color: #667eea;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.social-link:hover {
  background: var(--primary-gradient);
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.social-link i,
.social-link svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

.footer-section {
  padding: 30px 50px 40px;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.copyright {
  font-size: 0.85rem;
  color: #a0aec0;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
  body {
    padding: 20px 15px;
  }

  .container {
    border-radius: 16px;
  }

  .profile-section {
    padding: 40px 35px 30px;
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .avatar {
    width: 90px;
    height: 90px;
  }

  .profile-info {
    padding-top: 0;
  }

  .name {
    font-size: 1.75rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .links-section {
    padding: 30px 35px;
    gap: 12px;
  }

  .link-button {
    padding: 16px 28px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .link-button i,
  .link-button svg {
    margin-right: 12px;
    width: 20px;
    height: 20px;
  }

  body.weekday .link-button[href*="drip.haus"]::after {
    top: -8px;
    right: -8px;
    font-size: 0.55rem;
    padding: 3px 8px;
  }

  .socials-section {
    padding: 24px 35px 32px;
  }

  .social-links {
    gap: 18px;
  }

  .social-link {
    width: 48px;
    height: 48px;
  }

  .footer-section {
    padding: 24px 35px 32px;
  }

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

  .copyright {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  body {
    padding: 20px 10px;
  }

  .container {
    border-radius: 16px;
  }

  .profile-section {
    padding: 35px 28px 25px;
    flex-direction: column;
    text-align: left;
    gap: 18px;
  }

  .avatar {
    width: 80px;
    height: 80px;
  }

  .profile-info {
    padding-top: 0;
  }

  .name {
    font-size: 1.6rem;
  }

  .tagline {
    font-size: 0.95rem;
  }

  .links-section {
    padding: 25px 28px;
    gap: 12px;
  }

  .link-button {
    padding: 14px 24px;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .link-button i,
  .link-button svg {
    margin-right: 10px;
    width: 18px;
    height: 18px;
  }

  body.weekday .link-button[href*="drip.haus"]::after {
    top: -8px;
    right: -8px;
    font-size: 0.55rem;
    padding: 2px 6px;
  }

  .socials-section {
    padding: 20px 28px 28px;
  }

  .social-links {
    gap: 16px;
  }

  .social-link {
    width: 46px;
    height: 46px;
  }

  .social-link i,
  .social-link svg {
    width: 22px;
    height: 22px;
  }

  .footer-section {
    padding: 20px 28px 28px;
  }

  .footer-text {
    font-size: 0.88rem;
  }

  .copyright {
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  body {
    background: white;
    padding: 0;
  }

  .container {
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .link-button::before,
  .link-button::after {
    display: none !important;
  }

  .link-button:hover {
    transform: none;
    box-shadow: none;
  }
}
