/* =========================
   FUNENZA MAIN CSS
   Global reset + base styles
========================= */
/* { outline: 1px solid red !important; }
*/
:root {
  --bg-main: linear-gradient(180deg, #000000 50%, #191C4A 100%);
  --bg-surface: #0d143f;
  --text-main: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.8);
  --text-faint: rgba(255, 255, 255, 0.64);
  --line-soft: rgba(255, 255, 255, 0.08);

  --accent-cyan: #00e5ff;
  --button-base: #e2e8f0;
  --button-text: #0f172a;

  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;

  --container-width: 1280px;
  --container-pad: 1rem;

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/* =========================
   RESET
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

/* =========================
   BASE ELEMENTS
========================= */

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

a {
  color: inherit;
}

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

button {
  cursor: pointer;
  border: none;
}


/* =========================
   TYPOGRAPHY
========================= */

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
}

p {
  color: var(--text-soft);
}

/* =========================
   GLOBAL BUTTON STYLE
========================= */

button,
.button,
.btn {
  background: var(--button-base);
  color: var(--button-text);
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

button:hover,
.button:hover,
.btn:hover,
button:focus-visible,
.button:focus-visible,
.btn:focus-visible {
  background: var(--accent-cyan);
  color: #001018;
  border-color: var(--accent-cyan);
  box-shadow:
    0 0 14px rgba(0, 229, 255, 0.35),
    0 8px 18px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

/* =========================
   ACCESSIBILITY
========================= */

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}