

/* =========================
   iMOON Corporate Design
========================= */

:root {
    --deep-blue: #0B1E3A;
    --primary-blue: #123E7A;
    --accent-blue: #2E6DFF;
    --purple-glow: #3A2E6F;
    --soft-blue: #6FA8FF;
    --white: #FFFFFF;
}

/* =========================
   Reset
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   Body
========================= */

body {
    font-family: 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top, var(--primary-blue), var(--deep-blue));
    color: var(--white);
    text-align: center;
    overflow-x: hidden;
    position: relative;
}

/* Night Mode Activated */
body.night-active {
    background: radial-gradient(circle at top, #1a1f3c, #000814);
}

/* =========================
   Header / Hero
========================= */

header {
    padding: 120px 20px 80px 20px;
    position: relative;
    z-index: 2;
}

/* =========================
   Flying Cow Zone (Top Half)
========================= */

.hero { 
  position: relative; 
}

/* obere Hälfte */
.fly-zone{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50vh;
  pointer-events: none;
  overflow: hidden;
  z-index: 6;
}

/* Kuh */
.flying-cow{
  position: absolute;
  left: -260px;
  top: 15%;
  width: 120px;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity, filter;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.35)) blur(0.2px);
}
.flying-cow img{ width: 100%; height: auto; display: block; }


/* Speed lines
.flying-cow::before{
  content: "";
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 34px;
  opacity: 0;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.0),
    rgba(255,255,255,0.25),
    rgba(255,255,255,0.0)
  );
  filter: blur(0.7px);
}
*/

/* Animation aktiv */
.flying-cow.is-flying{
  opacity: 1;
  animation: cowFlyOnce var(--fly-duration, 6s) linear forwards;
}

/* Speed lines sichtbar nur während Flug */
.flying-cow.is-flying::before{
  opacity: .9;
}

/* Flug-Path (mit leichtem „Wobble“) */
@keyframes cowFlyOnce{
  0%   { transform: translateX(0) translateY(0) rotate(-10deg) scale(1); }
  20%  { transform: translateX(22vw) translateY(-8px) rotate(-6deg) scale(1.02); }
  55%  { transform: translateX(60vw) translateY(6px) rotate(2deg)  scale(1.02); }
  100% { transform: translateX(calc(100vw + 520px)) translateY(-6px) rotate(10deg) scale(1); }
}

/* Extra Glow im Night Mode */
body.night-active .flying-cow{
  filter:
    drop-shadow(0 0 18px rgba(77,166,255,.55))
    drop-shadow(0 14px 22px rgba(0,0,0,.35))
    blur(0.2px);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: 4px;
}

.highlight {
    color: var(--soft-blue);
}

.tagline {
    font-size: 1.2rem;
    margin-top: 20px;
    opacity: 0.85;
}

/* Hero Buttons */

.hero-buttons {
    margin-top: 40px;
}

button {
    padding: 14px 30px;
    border-radius: 30px;
    border: none;
    background: var(--accent-blue);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin: 10px;
}

button:hover {
    background: var(--soft-blue);
    box-shadow: 0 0 20px rgba(111,168,255,0.6);
    cursor: url("../cursor/cow-cursor.png") 16 16, pointer;
}

/* Night Activate Button */
.activate-btn {
    background: transparent;
    border: 1px solid var(--soft-blue);
    color: var(--soft-blue);
}

.activate-btn:hover {
    box-shadow: 0 0 20px var(--soft-blue);
    color: var(--white);
}

/* =========================
   Sections
========================= */

section {
    padding: 80px 20px;
    position: relative;
    z-index: 2;
}

h2 {
    margin-bottom: 40px;
    font-size: 2rem;
}

/* =========================
   Feature Boxes (Glass Look)
========================= */

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-box {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 18px;
    width: 260px;
    transition: 0.4s;
    border: 1px solid rgba(255,255,255,0.08);
}

.feature-box:hover {
    transform: translateY(-6px);
    border-color: var(--accent-blue);
    box-shadow: 0 0 25px rgba(46,109,255,0.3);
}

/* =========================
   Dual Mode Section
========================= */

.modes {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.mode-box {
    width: 280px;
    padding: 35px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.4s;
}

.mode-box:hover {
    transform: translateY(-8px);
}

.mode-box.night {
    border: 1px solid var(--accent-blue);
    box-shadow: 0 0 25px rgba(46,109,255,0.25);
}

/* =========================
   Email Form
========================= */

input[type="email"] {
    padding: 14px;
    border-radius: 30px;
    border: none;
    width: 260px;
    margin-right: 10px;
    background: rgba(255,255,255,0.08);
    color: white;
}

input::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-message {
    margin-top: 15px;
    color: var(--soft-blue);
}

/* =========================
   Community / Cow Section
========================= */

.cow-container {
    margin-top: 40px;
}

.cow {
    width: 130px;
    filter: drop-shadow(0 0 12px var(--soft-blue));
    transition: 0.4s;
}

.cow:hover {
    transform: scale(1.05);
}

/* =========================
   Footer
========================= */

footer {
    margin-top: 80px;
    padding: 40px 20px;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* =========================
   Floating Moon
========================= */

.moon {
    font-size: 4.5rem;
    animation: float 3s ease-in-out infinite;
    text-shadow: 0 0 25px rgba(255,255,255,0.4);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* =========================
   Countdown
========================= */

.countdown {
    margin-top: 20px;
    font-size: 1rem;
    color: var(--soft-blue);
}

/* =========================
   Animated Starfield
========================= */

.stars,
.stars2,
.stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-repeat: repeat;
    z-index: -1;
    animation: moveStars 200s linear infinite;
}

.stars {
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 100px 150px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 200px 80px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 300px 200px, rgba(255,255,255,0.5), transparent);
    background-size: 400px 400px;
}

.stars2 {
    background-image:
        radial-gradient(2px 2px at 50px 100px, rgba(111,168,255,0.6), transparent),
        radial-gradient(1px 1px at 150px 250px, rgba(111,168,255,0.5), transparent),
        radial-gradient(2px 2px at 250px 50px, rgba(111,168,255,0.7), transparent);
    background-size: 600px 600px;
    animation-duration: 300s;
}

.stars3 {
    background-image:
        radial-gradient(1px 1px at 80px 120px, rgba(255,255,255,0.4), transparent),
        radial-gradient(2px 2px at 180px 220px, rgba(255,255,255,0.6), transparent);
    background-size: 800px 800px;
    animation-duration: 400s;
}

@keyframes moveStars {
    from { transform: translateY(0); }
    to { transform: translateY(-1000px); }
}
