/* --- 
   Clockwork Diva | Primary Stylesheet
   Version: 1.1.8
   Theme: Refined Industrialism 
--- */

/* --- 1. VERIFIED FONT DEFINITIONS --- */

/* IM Fell English SC - Regular */
@font-face {
  font-family: 'IM Fell English SC';
  src: url('../fonts/imfellenglishsc-regular-webfont.woff2') format('woff2'),
       url('../fonts/imfellenglishsc-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Lora - Variable Font (Normal) */
@font-face {
  font-family: 'Lora';
  src: url('../fonts/lora-variablefont_wght-webfont.woff2') format('woff2'),
       url('../fonts/lora-variablefont_wght-webfont.woff') format('woff');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Lora - Variable Font (Italic) */
@font-face {
  font-family: 'Lora';
  src: url('../fonts/lora-italic-variablefont_wght-webfont.woff2') format('woff2'),
       url('../fonts/lora-italic-variablefont_wght-webfont.woff') format('woff');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* Oswald - Variable Font */
@font-face {
  font-family: 'Oswald';
  src: url('../fonts/oswald-variablefont_wght-webfont.woff2') format('woff2'),
       url('../fonts/oswald-variablefont_wght-webfont.woff') format('woff');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

/* --- 2. GLOBAL STYLES & VARIABLES --- */
:root {
    --color-charcoal-grey: #1a1a1a;
    --color-deep-bronze: #8B6D45;
    --color-muted-steel-blue: #4A5D6B;
    --color-dark-sepia: #3d3434;
    --color-vibrant-teal: #00BFA5;
    --color-deep-crimson: #8C2A3B;
    --color-electric-violet: #8F439F;
    --color-amber-glow: #FFC107;
    --color-antique-parchment: #F0EAD6;
    --color-metallic-silver: #C0C0C0;

    --font-heading-primary: 'IM Fell English SC', serif;
    --font-heading-secondary: 'Oswald', sans-serif;
    --font-body: 'Lora', Georgia, serif;
    --font-button: 'Oswald', sans-serif;
}

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

/* --- Steampunk Scrollbar (WebKit) --- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--color-charcoal-grey); }
::-webkit-scrollbar-thumb { 
    background: var(--color-deep-bronze); 
    border: 2px solid var(--color-charcoal-grey);
    border-radius: 5px; 
}
::-webkit-scrollbar-thumb:hover { background: var(--color-amber-glow); }

::selection { background: var(--color-vibrant-teal); color: var(--color-charcoal-grey); }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--color-antique-parchment);
    background-color: var(--color-charcoal-grey);
    background-image: url('../img/distressed-metal.jpg?v=1.1.8');
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
    overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

/* --- 3. TYPOGRAPHY & LAYOUT --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 25px; }

h1, h2, h3 { 
    font-family: var(--font-heading-primary); 
    color: var(--color-amber-glow); 
    text-transform: uppercase; 
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-deep-bronze);
    margin: 15px auto 0;
}

/* --- Scroll Reveal Effects --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- 4. NAVIGATION --- */
.main-header {
    background-color: rgba(15, 15, 15, 0.95);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-deep-bronze);
    transition: all 0.4s ease;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-family: var(--font-heading-primary);
    font-size: 1.8rem;
    color: var(--color-amber-glow);
    text-decoration: none;
    z-index: 1001;
}

.main-nav-list { display: flex; list-style: none; gap: 30px; }

.main-nav-list a {
    text-decoration: none;
    color: var(--color-antique-parchment);
    font-family: var(--font-heading-secondary);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.main-nav-list a:hover, .main-nav-list a.active { color: var(--color-vibrant-teal); }

/* --- 5. HERO & ROADMAP --- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/hero-bg.jpg?v=1.1.8');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-title { font-size: 5rem; line-height: 1; margin-bottom: 10px; text-shadow: 4px 4px 0px rgba(0,0,0,0.5); }

.hero-tagline {
    font-family: var(--font-heading-secondary);
    font-size: 1.4rem;
    color: var(--color-vibrant-teal);
    margin-bottom: 40px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.production-roadmap {
    max-width: 450px;
    margin: 0 auto 40px;
    background: rgba(0,0,0,0.7);
    padding: 20px;
    border: 1px solid var(--color-deep-bronze);
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

.roadmap-label { font-family: var(--font-heading-secondary); font-size: 0.8rem; letter-spacing: 2px; color: var(--color-amber-glow); margin-bottom: 12px; }

.progress-track { width: 100%; height: 6px; background: #111; border-radius: 3px; overflow: hidden; margin-bottom: 10px; }

.progress-fill { height: 100%; background: linear-gradient(90deg, var(--color-deep-bronze), var(--color-vibrant-teal)); width: 0%; transition: width 2s ease-out; }

.launch-teaser { font-size: 0.85rem; font-style: italic; color: var(--color-metallic-silver); }

/* --- 6. COMPONENTS & SECTIONS --- */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: var(--font-button);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.btn-primary { background: var(--color-vibrant-teal); color: var(--color-charcoal-grey); font-weight: bold; }
.btn-primary:hover { background: var(--color-amber-glow); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.4); }

.btn-secondary { background: transparent; border: 1px solid var(--color-deep-bronze); color: var(--color-antique-parchment); }
.btn-secondary:hover { background: var(--color-deep-bronze); transform: translateY(-3px); }

.pitch-section { padding: 100px 0; background: rgba(20, 20, 20, 0.8); }
.pitch-section .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }

.pitch-image img {
    width: 100%;
    border: 2px solid var(--color-deep-bronze);
    outline: 1px solid var(--color-amber-glow);
    outline-offset: -10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.blog-filters { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; }
.filter-btn {
    background: transparent;
    border: 1px solid var(--color-dark-sepia);
    color: var(--color-metallic-silver);
    padding: 8px 20px;
    cursor: pointer;
    font-family: var(--font-heading-secondary);
    text-transform: uppercase;
}
.filter-btn.active { border-color: var(--color-vibrant-teal); color: var(--color-vibrant-teal); }

.blog-post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.blog-post-card { background: rgba(30,30,30,0.9); border: 1px solid var(--color-dark-sepia); transition: all 0.3s ease; }
.blog-post-card:hover { transform: translateY(-10px); border-color: var(--color-deep-bronze); }
.card-content { padding: 25px; }

.mailing-list-section { padding: 100px 0; background: url('../img/gear-pattern.png') repeat; background-size: 200px; }
.newsletter-box { background: rgba(15, 15, 15, 0.95); padding: 60px; border: 2px solid var(--color-deep-bronze); text-align: center; }

.form-row { display: flex; gap: 15px; margin-bottom: 20px; }
.newsletter-form input { flex: 1; padding: 15px; background: #222; border: 1px solid var(--color-dark-sepia); color: #fff; }

.creator-card { display: flex; align-items: center; gap: 50px; max-width: 800px; margin: 0 auto; padding: 100px 0; }
.creator-avatar { width: 180px; height: 180px; border-radius: 50%; border: 3px solid var(--color-deep-bronze); object-fit: cover; }
.creator-signature { font-family: var(--font-heading-primary); font-size: 1.5rem; color: var(--color-amber-glow); margin-top: 20px; }

/* --- 7. FOOTER --- */
.main-footer { padding: 60px 0 30px; background: #0a0a0a; border-top: 1px solid var(--color-dark-sepia); text-align: center; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.footer-logo { font-family: var(--font-heading-primary); color: var(--color-deep-bronze); font-size: 1.4rem; }
.footer-social { display: flex; gap: 20px; justify-content: center; }
.footer-social a { color: var(--color-antique-parchment); text-decoration: none; font-family: var(--font-heading-secondary); }
.footer-social a:hover { color: var(--color-vibrant-teal); }
.footer-credits { text-align: right; font-size: 0.8rem; }

/* --- 8. MOBILE UI & TOGGLE --- */
.menu-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; z-index: 1001; }
.hamburger { width: 30px; height: 2px; background: var(--color-vibrant-teal); transition: 0.3s; }

#scrollToTopBtn {
    position: fixed; bottom: 30px; right: 30px; background: var(--color-vibrant-teal); color: #000;
    width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: 0.3s; z-index: 99; text-decoration: none; font-weight: bold;
}
#scrollToTopBtn.show { opacity: 1; visibility: visible; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .hero-title { font-size: 3.5rem; }
    .pitch-section .container { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; }
    .creator-card { flex-direction: column; text-align: center; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-credits { text-align: center; }
    .menu-toggle { display: flex; }
    .main-nav-list { display: none; }
}