/* ============================================
   Bubble Blend - Base Styles & Variables
   ============================================ */

:root {
  --bg-primary: #0d0d1a;
  --bg-secondary: #1a1a2e;
  --bg-tertiary: #16162b;
  --accent: #f5d060;
  --accent-hover: #f7dc7f;
  --accent-dim: #c4a63d;
  --text-primary: #e0e0e0;
  --text-secondary: #b0b0c0;
  --text-muted: #888899;
  --link: #7eb8ff;
  --border: #2a2a40;
  --border-light: #3a3a55;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(245, 208, 96, 0.15);
  --max-width: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3 {
  color: var(--accent);
  line-height: 1.3;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: 24px;
}

.section {
  padding-block: 64px;
}

.section-title {
  text-align: center;
  margin-block-end: 40px;
}

.section-title h2 {
  margin-block-end: 8px;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* RTL support */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.3rem; }

  .container {
    padding-inline: 16px;
  }

  .section {
    padding-block: 40px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
}
