/* 1. Local Google Webfont Helper Setup (example: Inter) */
@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
}

:root {
    --font-body: "Inter", sans-serif;




    /* 2. Fluid Type Scale (from Fluid Type Scale Generator)
       Adjust min/max sizes to your design needs */
    --step--2: clamp(0.63rem, 0.52rem + 0.48vw, 0.82rem);
    --step--1: clamp(0.75rem, 0.61rem + 0.58vw, 1.00rem);
    --step-0:  clamp(1.00rem, 0.82rem + 0.72vw, 1.25rem);
    --step-1:  clamp(1.33rem, 1.09rem + 0.91vw, 1.67rem);
    --step-2:  clamp(1.78rem, 1.44rem + 1.13vw, 2.22rem);
    --step-3:  clamp(2.37rem, 1.90rem + 1.42vw, 2.96rem);
}

/* creepster-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Creepster';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/creepster-v13-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* erica-one-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Erica One';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/erica-one-v29-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* baloo-tammudu-2-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Baloo Tammudu 2';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/baloo-tammudu-2-v27-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* butcherman-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Butcherman';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/butcherman-v25-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* faster-one-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Faster One';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/faster-one-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* honk-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Honk';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/honk-v6-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* rubik-wet-paint-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Rubik Wet Paint';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/rubik-wet-paint-v2-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: var(--step-0);
    background-color: #0d0d0d;
    color: #fff;
    line-height: 1.5;
    background-image: url("image/redtext01.jpg");
}

/* Header Navigation (Flexbox) */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background-color: #111;
    position: sticky;
    top: 0;
    font-family: 'Creepster';
}

.header .logo {
    font-size: var(--step-1);
    font-weight: 700;
}

.header .logo strong {
    color: #FF1C01;
}

.nav a {
    color: #fff;
    margin-left: 1.5rem;
    text-decoration: none;
    font-size: var(--step--1);
    font-family: 'Butcherman';
}

.nav a:hover {
    text-decoration: underline;
}


/* Hero Section */
.hero {
    background: url("image/title.png") center/cover no-repeat;
    height: 65vh;
    display: flex;
    align-items: center;
    padding: 3rem;
}

.hero-content {
    max-width: 500px;
}

.hero-content h1 {
    font-size: var(--step-3);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: var(--step-1);
    margin-bottom: 2rem;
}

.btn-primary {
    background: #e50914;
    border: none;
    padding: 0.8rem 1.6rem;
    font-size: var(--step--1);
    color: white;
    cursor: pointer;
    border-radius: 4px;
}

.btn-primary:hover {
    background: #b20710;
}

.btn-secondary {
    background: #33312B;
    border: none;
    padding: none;
    font-size: var(--step--1);
    color: white;
    cursor: pointer;
    border-radius: 4px;
}

.btn-secondary:hover {
    background: #b20710;
}

/* Featured Movies (CSS Grid) */
.featured {
    padding: 2.5rem 3rem;
}

.featured h2 {
    font-size: var(--step-2);
    margin-bottom: 1.2rem;
    font-family: 'Creepster';
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.movie-card img {
    width: 100%;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.movie-card img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 55px #FFFFFF;
    background-color: #FF0501;
    color: #fff;
}

/* Footer */
footer {
    text-align: center;
    /* background-color: #111; */
    color: #EFFA0F;
    padding: 10px;
    margin-tap: 40px;
    border-radius: 5px;
}

/* links */
a {
  font-size: 0.95em;
  color: #FFFFFF;
}

a:hover {
  transform: scale(1.05);
  color: #FF8240;
}

