/* ==========================================
   EroticProfiles - Global Design System & Styles
   ========================================== */

:root {
  /* Color Tokens */
  --bg-main: #0F172A;       /* Slate 900 */
  --bg-surface: #1E293B;    /* Slate 800 */
  --bg-surface-hover: #334155; /* Slate 700 */
  --bg-card: #1E293B;       /* Slate 800 */
  --border-color: #334155;  /* Slate 700 */
  --border-focus: #E11D48;  /* Rose 600 */
  
  --accent-primary: #E11D48; /* Rose 600 */
  --accent-hover: #F43F5E;   /* Rose 500 */
  --accent-glow: rgba(225, 29, 72, 0.25);
  
  --text-main: #F8FAFC;     /* Slate 50 */
  --text-muted: #94A3B8;    /* Slate 400 */
  --text-dim: #64748B;      /* Slate 500 */
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  
  /* Layout & Spacing */
  --header-height: 72px;
  --max-width: 1280px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-main);
  overflow-x: hidden;
}

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

button, input {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* App Container Layout */
#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

#app-content {
  flex: 1 0 auto;
  padding: 2.5rem 0;
}

/* Header Component Styles */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: #E11D48;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
}

.header-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Header Search Form */
.header-search-container {
  flex-grow: 1;
  max-width: 650px;
  width: 100%;
}

.header-search {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1.25rem 0.75rem 2.6rem;
  background-color: #FFFFFF;
  border: 1px solid transparent;
  border-radius: 9999px;
  color: #0F172A;
  font-size: 0.9rem;
  font-weight: 500;
  transition: box-shadow var(--transition-fast);
}

.search-input::placeholder {
  color: #64748B;
}

.search-input:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748B;
  pointer-events: none;
  width: 16px;
  height: 16px;
}

/* Footer Component Styles */
.site-footer {
  margin-top: auto;
  background-color: #E11D48;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3.5rem 0 2rem;
  color: #FFFFFF;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 360px;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  color: #E11D48;
  border-color: #FFFFFF;
  background-color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Common UI Helper Components */
.page-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.card:hover {
  border-color: var(--accent-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 4px 14px var(--accent-glow);
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .header-search {
    max-width: 200px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
