/**************************************************
 *                                                *
 *   ███╗   ███╗ ███╗   ███╗ █████████╗           *
 *   ████╗ ████║ ████╗ ████║ ██╔══════╝           *
 *   ██╔████╔██║ ██╔████╔██║ ██║                  *
 *   ██║╚██╔╝██║ ██║╚██╔╝██║ ██╚══════╗           *
 *   ██║ ╚═╝ ██║ ██║ ╚═╝ ██║ █████████║           *
 *   ╚═╝     ╚═╝ ╚═╝     ╚═╝ ╚════════╝           *
 *                                                *
 *   MaelCode – financedash.de Coming Soon Page   *
 *   Author: Mael Mamic                           *
 *   Created: 11/2025                             *
 *   Language: CSS                                *
 *                                                *
 **************************************************/

/* GLOBAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html, body {
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
  background: #0d0d15;
  overscroll-behavior: none;
  color: white;
  position: relative;
}

/* --- DYNAMIC BACKGROUND GLOW --- */
body::before {
  position: fixed;
  width: 700px;
  max-width: 100%;
  height: 700px;
  top: -200px;
  left: -200px;
  background: radial-gradient(circle, rgba(90,0,255,0.3), rgba(0,150,255,0.2), transparent 70%);
  filter: blur(100px);
  animation: glow 12s infinite alternate ease-in-out;
  z-index: -1;
}

@keyframes glow {
  0% { transform: translate(0,0); }
  100% { transform: translate(250px, 250px); }
}

/* PARTICLES - leicht außen, nicht direkt am Rand */
.particles span {
  position: fixed;
  width: 0px;
  height: 0px;
  border-radius: 50%;
  background: linear-gradient(45deg,#6d5cff,#00c0ff);
  opacity: 0.4;
  animation: moveParticles 15s linear infinite;
}


/* OBERER RAND */
.particles span:nth-child(1){ top:7%; left:15%; animation-delay:0s; }
.particles span:nth-child(2){ top:4%; left:65%; animation-delay:1s; }
.particles span:nth-child(3){ top:4%; left:40%; animation-delay:2s; }
.particles span:nth-child(4){ top:7%; left:90%; animation-delay:3s; }

/* LINKER RAND */
.particles span:nth-child(5){ top:25%; left:5%; animation-delay:0.25s; }
.particles span:nth-child(6){ top:35%; left:15%; animation-delay:1.25s; }
.particles span:nth-child(7){ top:45%; left:7%; animation-delay:2.25s; }
.particles span:nth-child(8){ top:55%; left:14%; animation-delay:3.25s; }
.particles span:nth-child(9){ top:65%; left:8%; animation-delay:4s; }
.particles span:nth-child(10){ top:75%; left:13%; animation-delay:4.5s; }

/* RECHTER RAND */
.particles span:nth-child(11){ top:25%; left:95%; animation-delay:0.5s; }
.particles span:nth-child(12){ top:35%; left:84%; animation-delay:1.5s; }
.particles span:nth-child(13){ top:45%; left:93%; animation-delay:2.5s; }
.particles span:nth-child(14){ top:55%; left:85%; animation-delay:3.5s; }
.particles span:nth-child(15){ top:65%; left:92%; animation-delay:4.25s; }
.particles span:nth-child(16){ top:75%; left:86%; animation-delay:4.75s; }

/* UNTERER RAND LINKS/RECHTS */
.particles span:nth-child(17){ top:93%; left:10%; animation: delay 0.75s; }
.particles span:nth-child(18){ top:96%; left:65%; animation-delay:1.75s; }
.particles span:nth-child(19){ top:96%; left:40%; animation-delay:2.75s; }
.particles span:nth-child(20){ top:93%; left:90%; animation-delay:3.75s; }


/* Kurvige diagonale Bewegung */
@keyframes moveParticles {
  0% { transform: translate(0,0) rotate(0deg); }
  25% { transform: translate(15px,-10px) rotate(90deg); }
  50% { transform: translate(-20px,15px) rotate(180deg); }
  75% { transform: translate(10px,-20px) rotate(270deg); }
  100% { transform: translate(0,0) rotate(360deg); }
}


/* --- CONTAINER --- */
.container {
  width: 95%;
  max-width: 1200px;
  margin: 60px auto;
  padding: 30px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 35px rgba(0,150,255,0.25);
  text-align: center;
  position: relative;
  z-index: 1;
}

/* HEADLINE */
h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #6d5cff, #00c0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  text-align: center;
font-size: 28px;
margin-bottom: 20px;
letter-spacing: 1px;
  background: linear-gradient(90deg, #6d5cff, #00c0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  font-size: 1.15rem;
  margin-bottom: 35px;
  color: #dcdcf5;
}

/* COUNTDOWN */
.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 35px;
  animation: fadeIn 2.5s ease;
}

.countdown div {
  background: rgba(255,255,255,0.07);
  padding: 18px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.12);
  min-width: 70px;
}

.countdown span {
  font-size: 1.9rem;
  color: #72baff;
  font-weight: 700;
}




/* --- IMPRESSUM --- */
.impressum {
  margin-top: 50px;
  font-size: 0.85rem;
  color: #9999aa;
}

.impressum p {
  margin-bottom: 5px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  h1 { font-size: 2.2rem; }
  .countdown div { min-width: 55px; padding: 12px; }
  .form-widget iframe { height: 900px; }
}


/* Social Widget */
.social-widget {
  margin: 40px auto;
  width: 85%;
  padding: 25px;
  background: rgba(20,20,20,0.6);
  border-radius: 20px;
  backdrop-filter: blur(10px);
box-shadow: 0 0 25px rgba(0, 200, 255, 0.3);
border: 1px solid rgba(0, 200, 255, 0.25);
  text-align: center;
  animation: fadeIn 1.5s ease;
}

.social-widget h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  background: linear-gradient(90deg, #6d5cff, #00c0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.social-icons a img {
  width: 40px;
  height: 40px;
  filter: brightness(1) invert(1);
  transition: transform 0.2s, filter 0.2s;
}

.social-icons a:hover img {
  transform: scale(1.2);
  filter: brightness(1) invert(0.5);
}
.currency-fly {
    font-size: 32px;
    font-weight: bold;
    opacity: 0.35;
    animation: drift 6s infinite ease-in-out;
    user-select: none;
    color: #00c0ff;
    text-shadow: 0 0 12px #00c0ff;
}


.leak-widget {
margin: 40px auto;
width: 85%;
padding: 25px;
border-radius: 20px;
background: rgba(20, 20, 20, 0.6);
backdrop-filter: blur(10px);
box-shadow: 0 0 25px rgba(0, 200, 255, 0.3);
border: 1px solid rgba(0, 200, 255, 0.25);
animation: fadeIn 1.5s ease;
}
.leak-widget img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.leak-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 25px;
}

.leak-card {
background: rgba(0, 0, 0, 0.45);
border: 1px solid rgba(0, 200, 255, 0.2);
border-radius: 18px;
padding: 15px;
text-align: center;
transition: 0.3s ease;
}

.leak-card:hover {
transform: translateY(-6px);
box-shadow: 0 0 20px rgba(0, 200, 255, 0.4);
}



.leak-text {
font-size: 14px;
color: #ccecff;
line-height: 2;
}


.newsletter-widget {
    background: rgba(20,20,20,0.6);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    padding: 25px;
    border-radius: 20px;
    margin: 40px auto;
    width: 85%;
    box-shadow: 0 0 25px rgba(0, 200, 255, 0.3);
border: 1px solid rgba(0, 200, 255, 0.25);
    animation: fadeIn 0.8s ease;
}


.newsletter-widget h2 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
}

.newsletter-subtitle {
    color: #c6c6d8;
    font-size: 15px;
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: 0.25s;
}

.newsletter-form input:focus {
    border-color: #7b5cff;
    box-shadow: 0 0 12px rgba(123,92,255,0.4);
}

.newsletter-form button {
    padding: 14px 22px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #6a00ff, #00c8ff);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(0, 200, 255, 0.5);
}

.newsletter-hint {
    margin-top: 15px;
    color: #9a9ab0;
    font-size: 12.5px;
    line-height: 1.5;
}

.newsletter-hint a {
    color: #7b5cff;
    text-decoration: none;
    font-weight: 600;
}

.newsletter-hint a:hover {
    text-decoration: underline;
}

/* Smooth fade animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}




.footer {
    margin-top: 50px;
    text-align: center;
    padding-bottom: 40px;
}

.footer a {
    color: #7b5cff;
    font-size: 16px;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Popup Hintergrund */
.legal-popup {
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    height: 155%;
    background: rgba(10,10,20,0.85);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 9999;
}

/* Popup Box */
.legal-box {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 30px;
    padding: 30px;
    max-width: 700px;
    width: 100% auto;
    max-height: 85vh;
    overflow-y: auto;
    color: #e5e5f0;
    box-shadow: 0 0 25px rgba(0, 200, 255, 0.3);
}

/* Close Button */
.close-legal {
    float: right;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

.legal-box h2, .legal-box h3 {
    margin-top: 15px;
    color: #ffffff;
}

.legal-box p {
    color: #d0d0e0;
    font-size: 14px;
    line-height: 1.6;
}

.body-locked {
    position: fixed;
    width: 100%;
    overflow: hidden;
}

