/*!
 * Connor J. Lapping - Modern Portfolio Stylesheet
 * Version: 2.0.0
 * Fully Optimized & Modernized for Desktop + Mobile
 * Framework: CSS Grid + Flexbox (No framework dependency)
 * Mobile-First Responsive Design
 */

/* ====================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ==================================== */
:root {
  /* Brand Colors */
  --primary-gold: #D19E00;
  --primary-gold-light: #ffd700;
  --primary-gold-dark: #b8860b;
  --accent-orange: #ff8c00;

  /* Neutral Colors */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray-50: #f8f9fa;
  --color-gray-100: #f0f0f0;
  --color-gray-200: #e5e5e5;
  --color-gray-300: #d1d1d1;
  --color-gray-400: #aaa;
  --color-gray-500: #888;
  --color-gray-600: #666;
  --color-gray-700: #555;
  --color-gray-800: #333;
  --color-gray-900: #222;

  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f0f0f0;
  --bg-dark: #1e1e22;
  --bg-darker: #2a2a2e;

  /* Text Colors */
  --text-primary: #333333;
  --text-secondary: #555555;
  --text-tertiary: #666666;
  --text-muted: #888888;
  --text-light: rgba(255, 255, 255, 0.8);
  --text-white: #ffffff;

  /* Spacing Scale */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace;

  /* Font Sizes */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 2rem;      /* 32px */
  --text-4xl: 2.5rem;    /* 40px */
  --text-5xl: 3rem;      /* 48px */

  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #1e1e22;
    --bg-secondary: #2a2a2e;
    --bg-tertiary: #3a3a3e;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-tertiary: #b0b0b0;
    --color-gray-200: rgba(255, 255, 255, 0.1);
  }
}

/* ====================================
   MODERN CSS RESET
   ==================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-secondary);
  min-height: 100vh;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

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

ul, ol {
  list-style: none;
}

/* ====================================
   UTILITY CLASSES
   ==================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-xl);
  }
}

/* ====================================
   PAGE LOADERS
   ==================================== */
.pageloader, .infraloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-light) 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.pageloader.is-hidden, .infraloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pageloader::after {
  content: '';
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.app-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal-backdrop);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.app-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* ====================================
   PROFILE SECTION - MODERN DESIGN
   ==================================== */
.view-wrapper {
  min-height: 100vh;
  padding: var(--space-lg) 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.minimal-profile-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Profile Cover */
.profile-cover {
  position: relative;
  width: 100%;
  height: clamp(200px, 30vw, 300px);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-light) 100%);
  box-shadow: var(--shadow-lg);
}

.profile-cover .cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-slow);
}

.profile-cover:hover .cover-image {
  transform: scale(1.05);
}

/* Profile Info Card */
.profile-info {
  position: relative;
  background: var(--bg-primary);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  margin-top: -60px;
  padding: 0;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-gray-200);
  overflow: visible;
}

.profile-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-light), var(--accent-orange), var(--primary-gold));
  background-size: 300% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Profile Avatar */
.profile-avatar {
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-dropdown);
  width: 140px;
  height: 140px;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 5px solid var(--bg-primary);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  transition: all var(--transition-base);
}

.profile-avatar:hover img {
  transform: scale(1.05);
  border-color: var(--primary-gold);
  box-shadow: 0 12px 40px rgba(209, 158, 0, 0.3);
}

.profile-avatar .button {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-light));
  border: 3px solid var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.profile-avatar .button:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: var(--shadow-lg);
}

.profile-avatar .button svg {
  color: var(--color-white);
  width: 20px;
  height: 20px;
}

/* Profile Content */
.profile-info .right {
  padding: 80px var(--space-2xl) var(--space-2xl);
  text-align: center;
}

.profile-header {
  margin-bottom: var(--space-2xl);
}

.profile-name {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.profile-title {
  font-size: var(--text-lg);
  color: var(--primary-gold);
  font-weight: 600;
  margin: 0 0 var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
}

/* Action Buttons */
.profile-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.action-btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  background: var(--bg-secondary);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-weight: 600;
  font-size: var(--text-base);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  min-width: 160px;
}

.action-btn-modern svg {
  flex-shrink: 0;
}

.action-btn-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left var(--transition-slow);
}

.action-btn-modern:hover {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(209, 158, 0, 0.4);
}

.action-btn-modern:hover::before {
  left: 100%;
}

.action-btn-modern:active {
  transform: translateY(0);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-gray-200);
  border-bottom: 1px solid var(--color-gray-200);
}

.stat-item {
  background: var(--bg-secondary);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.stat-item:hover {
  background: var(--bg-primary);
  border-color: var(--primary-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-number {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 var(--space-xs);
  line-height: 1;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Bio Section */
.bio-section {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  margin: var(--space-2xl) 0 0;
  border: 1px solid var(--color-gray-200);
  position: relative;
}

.bio-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.bio-text {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
  text-align: left;
}

/* ====================================
   PROFILE GALLERY
   ==================================== */
.profile-grid {
  margin-top: var(--space-3xl);
  padding: 0 var(--space-md);
}

.columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.profile-post {
  position: relative;
  overflow: visible;
  border-radius: var(--radius-lg);
  background: var(--bg-primary);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 1px solid var(--color-gray-200);
}

.profile-post:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-gold);
}

.profile-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  border-radius: var(--radius-lg);
}

.profile-post:hover img {
  transform: scale(1.05);
}

.post-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(209, 158, 0, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
  border-radius: var(--radius-lg);
}

.profile-post:hover .post-overlay {
  opacity: 1;
}

.overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.expand-icon {
  color: var(--color-white);
  font-size: 2.5rem;
  transform: scale(0) rotate(180deg);
  transition: transform var(--transition-base);
}

.profile-post:hover .expand-icon {
  transform: scale(1) rotate(0deg);
}

/* Image Like Buttons */
.post-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  z-index: 10;
}

.profile-post:hover .post-actions {
  opacity: 1;
  transform: translateY(0);
}

.image-like-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-full);
  color: var(--color-gray-700);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.image-like-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(209, 158, 0, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

.image-like-btn:hover::before {
  width: 200px;
  height: 200px;
}

.image-like-btn i {
  font-size: 1.1rem;
  transition: all var(--transition-base);
  position: relative;
  z-index: 2;
  color: var(--color-gray-600);
}

.image-like-btn .like-count {
  position: relative;
  z-index: 2;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.image-like-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(209, 158, 0, 0.3);
  border-color: var(--primary-gold);
  background: rgba(255, 255, 255, 1);
}

.image-like-btn:hover i {
  transform: scale(1.2);
  color: var(--primary-gold);
}

.image-like-btn.active {
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-light));
  border-color: var(--primary-gold);
  color: var(--color-white);
  animation: heartbeat 0.5s ease;
}

.image-like-btn.active i {
  color: var(--color-white);
  animation: bounce 0.5s ease;
}

.image-like-btn.active .like-count {
  color: var(--color-white);
  font-weight: 800;
}

.image-like-btn:active {
  transform: scale(0.95);
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.15); }
  50% { transform: scale(1.05); }
  75% { transform: scale(1.12); }
}

/* Click animation for like button */
.image-like-btn.clicked {
  animation: pulse 0.3s ease;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ====================================
   MODAL STYLES
   ==================================== */
.modal-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.modal-header {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
  font-size: var(--text-2xl);
  color: var(--color-white);
  margin: 0 0 var(--space-sm);
  font-weight: 700;
}

.modal-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
  font-size: var(--text-base);
}

/* Action Buttons in Modal */
.modal-actions {
  display: flex;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  transform: translateY(-2px);
}

.action-btn.active {
  background: rgba(209, 158, 0, 0.25);
  border-color: var(--primary-gold);
  color: var(--primary-gold-light);
}

.action-btn i {
  font-size: var(--text-lg);
}

.action-count {
  font-weight: 700;
}

/* Share Menu */
.share-menu {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2a2a2e 0%, #1e1e22 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 300px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  z-index: var(--z-popover);
}

.share-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-8px);
}

.share-menu::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #2a2a2e;
}

.share-menu-header {
  text-align: center;
  margin-bottom: var(--space-md);
  color: var(--color-white);
  font-size: var(--text-base);
  font-weight: 600;
}

.share-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-sm);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-xs);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.share-option:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  transform: translateY(-2px);
}

.share-option i {
  font-size: var(--text-lg);
}

.share-option.facebook:hover { border-color: #1877f2; color: #1877f2; }
.share-option.twitter:hover { border-color: #1da1f2; color: #1da1f2; }
.share-option.linkedin:hover { border-color: #0077b5; color: #0077b5; }
.share-option.whatsapp:hover { border-color: #25d366; color: #25d366; }
.share-option.pinterest:hover { border-color: #bd081c; color: #bd081c; }
.share-option.email:hover { border-color: #ea4335; color: #ea4335; }

.copy-link-section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
}

.copy-link-input {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.copy-link-field {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-sm);
  outline: none;
}

.copy-link-btn {
  background: rgba(209, 158, 0, 0.2);
  border: 1px solid var(--primary-gold);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: var(--primary-gold-light);
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: var(--text-sm);
  font-weight: 600;
}

.copy-link-btn:hover {
  background: rgba(209, 158, 0, 0.35);
  border-color: var(--primary-gold-light);
  transform: translateY(-1px);
}

/* ====================================
   LIKE/DISLIKE BUTTONS - MODERN
   ==================================== */
.interaction-panel {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
  border: 1px solid var(--color-gray-200);
}

.interaction-title {
  font-size: var(--text-lg);
  color: var(--text-primary);
  margin: 0 0 var(--space-lg);
  font-weight: 600;
  text-align: center;
}

.like-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.like-btn-modern,
.page-like-btn,
.page-dislike-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 24px;
  background: var(--bg-primary);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-full);
  color: var(--text-primary) !important;
  cursor: pointer;
  transition: all var(--transition-base);
  font-weight: 600;
  font-size: var(--text-base);
  position: relative;
  overflow: hidden;
}

.like-btn-modern span,
.page-like-btn span,
.page-dislike-btn span {
  color: var(--text-primary) !important;
  position: relative;
  z-index: 2;
}

.like-btn-modern:hover,
.page-like-btn:hover,
.page-dislike-btn:hover {
  background: var(--bg-tertiary);
  border-color: var(--primary-gold);
  color: var(--text-primary) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.like-btn-modern.active,
.page-like-btn.active {
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-light)) !important;
  border-color: var(--primary-gold) !important;
  color: var(--color-black) !important;
  box-shadow: 0 8px 24px rgba(209, 158, 0, 0.3);
}

.like-btn-modern.active span,
.page-like-btn.active span {
  color: var(--color-black) !important;
}

.like-btn-modern svg,
.page-like-btn svg,
.page-dislike-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: all var(--transition-base);
}

.like-btn-modern:hover svg,
.page-like-btn:hover svg,
.page-dislike-btn:hover svg {
  transform: scale(1.15);
}

.like-btn-modern.active svg,
.page-like-btn.active svg {
  stroke: var(--color-black) !important;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(209, 158, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(209, 158, 0, 0);
  }
}

@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.action-btn.bounce,
.like-btn-modern.bounce {
  animation: bounce 0.4s ease;
}

.action-btn.shake {
  animation: shake 0.4s ease;
}

.action-btn.pulse {
  animation: pulse 0.6s ease;
}

/* Stagger animation for gallery items */
.profile-post {
  animation: fadeInUp 0.6s ease backwards;
}

.profile-post:nth-child(1) { animation-delay: 0.05s; }
.profile-post:nth-child(2) { animation-delay: 0.1s; }
.profile-post:nth-child(3) { animation-delay: 0.15s; }
.profile-post:nth-child(4) { animation-delay: 0.2s; }
.profile-post:nth-child(5) { animation-delay: 0.25s; }
.profile-post:nth-child(6) { animation-delay: 0.3s; }

/* ====================================
   FOOTER STYLES
   ==================================== */
.snapture-footer {
  margin-top: var(--space-3xl);
  padding: var(--space-2xl) 0;
  text-align: center;
  background: linear-gradient(135deg, #2a2a2e 0%, #1e1e22 100%);
  border-top: 3px solid var(--primary-gold);
  position: relative;
  overflow: hidden;
}

.snapture-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(209, 158, 0, 0.1), transparent);
  animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.snapture-footer p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  margin: 0;
  position: relative;
  z-index: 2;
}

.snapture-footer a {
  color: var(--primary-gold-light);
  font-weight: 600;
  transition: color var(--transition-base);
}

.snapture-footer a:hover {
  color: var(--primary-gold);
  text-decoration: underline;
}

/* ====================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ==================================== */

/* Tablets (768px and up) */
@media (min-width: 768px) {
  .minimal-profile-wrapper {
    padding: 0 var(--space-lg);
  }

  .profile-info .right {
    padding: 90px var(--space-3xl) var(--space-3xl);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .columns {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
  .profile-cover {
    height: 300px;
  }

  .profile-avatar {
    width: 160px;
    height: 160px;
    top: -100px;
  }

  .profile-info {
    margin-top: -80px;
  }

  .columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
  .minimal-profile-wrapper {
    max-width: 1200px;
  }

  .columns {
    gap: var(--space-3xl);
  }
}

/* Mobile optimizations */
@media (max-width: 767px) {
  .view-wrapper {
    padding: var(--space-md) 0;
  }

  .minimal-profile-wrapper {
    padding: 0 var(--space-sm);
  }

  .profile-cover {
    height: 200px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }

  .profile-avatar {
    width: 110px;
    height: 110px;
    top: -75px;
  }

  .profile-info {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    margin-top: -50px;
  }

  .profile-info .right {
    padding: 65px var(--space-lg) var(--space-xl);
  }

  .profile-name {
    font-size: var(--text-3xl);
  }

  .profile-title {
    font-size: var(--text-base);
  }

  .profile-actions {
    flex-direction: column;
    gap: var(--space-sm);
  }

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

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    padding: var(--space-lg) 0;
  }

  .stat-item {
    padding: var(--space-md) var(--space-sm);
  }

  .stat-number {
    font-size: var(--text-xl);
  }

  .stat-label {
    font-size: var(--text-xs);
  }

  .bio-section {
    padding: var(--space-lg);
    margin-top: var(--space-lg);
  }

  .bio-text {
    font-size: var(--text-base);
    line-height: 1.6;
  }

  .profile-grid {
    margin-top: var(--space-xl);
    padding: 0 var(--space-sm);
  }

  .columns {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .like-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .like-btn-modern {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .profile-cover {
    height: 180px;
  }

  .profile-avatar {
    width: 90px;
    height: 90px;
    top: -60px;
  }

  .profile-info .right {
    padding: 50px var(--space-md) var(--space-lg);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xs);
  }

  .stat-item {
    padding: var(--space-sm);
  }

  .share-menu {
    width: 280px;
  }

  .modal-actions {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .action-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ====================================
   ACCESSIBILITY IMPROVEMENTS
   ==================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.focus-visible:focus {
  outline: 2px solid var(--primary-gold);
  outline-offset: 2px;
}

/* ====================================
   PRINT STYLES
   ==================================== */
@media print {
  .pageloader,
  .infraloader,
  .app-overlay,
  .profile-avatar .button,
  .action-btn-modern,
  .modal-actions,
  .share-menu {
    display: none !important;
  }

  .profile-info {
    box-shadow: none;
    border: 1px solid #000;
  }
}

/* ====================================
   HIGH CONTRAST MODE
   ==================================== */
@media (prefers-contrast: high) {
  .like-btn-modern,
  .page-like-btn,
  .page-dislike-btn {
    border-width: 3px;
  }

  .action-btn-modern {
    border-width: 3px;
  }
}
