.elementor-1536 .elementor-element.elementor-element-e71484b{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1536 .elementor-element.elementor-element-ef0466d{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1536 .elementor-element.elementor-element-4f8cbae{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1536 .elementor-element.elementor-element-3e5135c{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1536 .elementor-element.elementor-element-d9ef7be{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for container, class: .elementor-element-e71484b *//* ===== GLAVNI KONTEJNER ===== */
.hero-container {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Minimum visina za sve uređaje */
    background: linear-gradient(180deg, #0F2027, #203A43, #2C5364);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-align: center;
}

/* ===== SADRŽAJ ===== */
.hero-content {
    z-index: 3;
    margin-bottom: 20px;
    max-width: 80%;
    padding: 0 5%; /* Zaštitna zona */
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem; /* Malo povećan font */
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    margin-bottom: 20px; /* Povećaj razmak prema tekstu ispod */
    letter-spacing: 1px; /* Suptilan razmak između slova za naglašavanje */
    text-transform: uppercase; /* Ako želiš dramatičan efekt naslova */
}

.hero-content p {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #E0FFFF;
    max-width: 700px;
    margin-top: 30px
}

/* ===== LOTTIE ANIMACIJA ===== */
.lottie-animation {
    width: 500px; /* Veličina na desktopu */
    height: 500px;
    z-index: 2;
}

/* ===== LEBDEĆI OBJEKTI ===== */
.floating-light {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
    box-shadow: 0px 0px 15px 5px rgba(255, 255, 255, 0.5); /* Aura efekt */
}

.floating-light:nth-child(3) {
    top: 3%;
    left: 14%;
}

.floating-light:nth-child(4) {
    top: 53%;
    left: 75%;
}

.floating-light:nth-child(5) {
    top: 85%;
    left: 50%;
}

/* ===== ANIMACIJE ===== */
/* Lebdenje objekata */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ===== RESPONSIVE DIZAJN ===== */
@media (max-width: 768px) {
    .hero-container { height: 100vh; }
    .lottie-animation { width: 250px; height: 250px; }
    .floating-light { width: 10px; height: 10px; }
    .hero-content h1 { font-size: 1.5rem; }
    .hero-content p { font-size: 0.9rem; }
}

/* ===== RESPONSIVE DIZAJN ZA HORIZONTALNE MOBITELE ===== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-container {
        height: 120vh; /* Povećaj visinu za horizontalni prikaz */
        justify-content: flex-start; /* Pomakni sadržaj prema vrhu */
        padding-top: 5%; /* Dodaj prostor od vrha */
    }
    .lottie-animation {
        width: 200px; /* Smanji animaciju */
        height: 200px;
    }
    .floating-light {
        width: 8px; /* Manji lebdeći objekti */
        height: 8px;
    }
    .hero-content {
        margin-bottom: 10%; /* Dodaj prostor ispod naslova */
    }
    .hero-content h1 {
        font-size: 1.4rem; /* Manji font za naslov */
    }
    .hero-content p {
        font-size: 0.8rem;
    }
}

/* ===== ZVIJEZDE ===== */
.hero-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300%; /* Proširi područje zvijezda */
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 150px 150px;
    animation: move-stars 40s linear infinite;
    z-index: 0; /* Zvijezde iza sadržaja */
    opacity: 0.7;
}

/* ===== ANIMACIJA ZVIJEZDA ===== */
@keyframes move-stars {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(-500px, -500px); /* Lagani pokret zvijezda */
    }
}
/* ===== RESPONSIVE DIZAJN ZA HORIZONTALNE MOBITELE ===== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-container {
        height: 120vh; /* Povećaj visinu za horizontalni prikaz */
        justify-content: flex-start; /* Pomakni sadržaj prema vrhu */
        padding-top: 5%; /* Dodaj prostor od vrha */
    }
    .lottie-animation {
        width: 200px; /* Smanji animaciju */
        height: 200px;
    }
    .floating-light {
        width: 8px; /* Manji lebdeći objekti */
        height: 8px;
    }
    .hero-content {
        margin-bottom: 10%; /* Dodaj prostor ispod naslova */
    }
    .hero-content h1 {
        font-size: 1.4rem; /* Manji font za horizontalni prikaz */
    }
    .hero-content p {
        font-size: 0.8rem;
    }
}
@keyframes title-glow {
    0%, 100% {
        text-shadow: 0 4px 10px rgba(255, 215, 0, 0.8);
    }
    50% {
        text-shadow: 0 6px 20px rgba(255, 215, 0, 1);
    }
}

.hero-content h1 {
    animation: title-glow 3s infinite; /* Dodaj efekt sjaja */
}
.hero-content p {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #E0FFFF;
    max-width: 700px;
    margin: 0 auto; /* Centriranje */
    padding: 0 15px; /* Zaštitni prostor s lijeve i desne strane */
    line-height: 1.8; /* Poboljšanje čitljivosti */
    text-align: center; /* Osigurava savršeno poravnanje */
}
.hero-content {
    position: relative;
    z-index: 3;
    margin-bottom: 20px;
    max-width: 80%;
    padding: 20px; /* Da okvir ima malo prostora oko sadržaja */
    border-radius: 15px; /* Zaobljeni rubovi */
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3); /* Svjetlosni efekt */
    background: rgba(15, 32, 39, 0.5); /* Lagana pozadina unutar okvira */
}
@keyframes pulse-border {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.7), 0 0 50px rgba(255, 215, 0, 0.5);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    margin-bottom: 20px;
    max-width: 80%;
    padding: 20px;
    border-radius: 15px;
    background: rgba(15, 32, 39, 0.5);
    animation: pulse-border 3s infinite; /* Primjena pulsirajuće animacije */
}
.hero-content {
    margin-top: 5%; /* Umjesto padding-top koristimo margin-top */
    margin-bottom: 5%; /* Ostavimo prostor ispod */
}
@keyframes fade-in {
    0% {
        opacity: 0;
        transform: scale(0.9); /* Lagano smanjen na početku */
    }
    100% {
        opacity: 1;
        transform: scale(1); /* Postiže normalnu veličinu */
    }
}

.hero-content {
    animation: fade-in 1.5s ease-in-out;
}
.pulsating-planet {
    position: absolute;
    top: 43%; /* Lagano podignuto */
    left: 20%; /* Lagano pomaknuto lijevo */
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(200, 200, 200, 0.9), rgba(0, 0, 0, 0.6)); /* Mjesečev efekt */
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5); /* Suptilan sjaj */
    animation: pulsePlanet 8s infinite ease-in-out, orbitPlanet 40s infinite ease-in-out; /* Sporije kretanje */
}

@keyframes pulsePlanet {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes orbitPlanet {
    0% { transform: translate(-50px, -25px); } /* Početna pozicija */
    25% { transform: translate(50px, -35px); } /* Kretanje gore desno */
    50% { transform: translate(100px, 50px); } /* Dolje desno */
    75% { transform: translate(-50px, 35px); } /* Dolje lijevo */
    100% { transform: translate(-50px, -25px); } /* Povratak na početak */
}


.comet {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(255, 255, 255, 1), rgba(255, 69, 0, 0.5));
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(255, 69, 0, 0.8);
    animation: cometMove 6s linear infinite;
}

@keyframes cometMove {
    0% { top: -10%; left: -10%; opacity: 1; }
    90% { top: 110%; left: 110%; opacity: 0.7; }
    100% { opacity: 0; }
}
.meteor {
    position: absolute;
    top: -10%; /* Početna pozicija */
    left: 30%; /* Možeš mijenjati lokaciju */
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 69, 0, 0.5));
    animation: meteorFall 5s linear infinite, meteorExplode 5s linear infinite;
}

@keyframes meteorFall {
    0% { top: -10%; opacity: 1; }
    90% { top: 90%; opacity: 1; }
    100% { top: 90%; opacity: 0; } /* Gubi se pri dnu */
}

@keyframes meteorExplode {
    90% { box-shadow: none; }
    100% {
        box-shadow: 0 0 50px 20px rgba(255, 69, 0, 0.8), 0 0 100px 50px rgba(255, 255, 255, 0.5);
        border-radius: 50%;
    }
}
.hero-container {
    position: relative;
    z-index: 0; /* Spusti hero-container ispod izbornika */
    overflow: visible; /* Dopusti elementima izbornika da prelaze granice kontejnera */
}
.hero-container {
    pointer-events: none; /* Onemogućuje interakciju s hero-containerom */
}

.hero-content, .lottie-animation, .floating-light {
    pointer-events: auto; /* Ponovno omogućuje interakciju s unutarnjim elementima gdje je potrebno */
}
@media (max-width: 768px) {
  .pulsating-planet {
    top: 60%; /* Pomaknite planet niže */
    left: 10%; /* Pomaknite planet ulijevo */
    width: 40px; /* Smanjite veličinu planeta */
    height: 40px;
  }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-ef0466d *//* Opći stilovi (desktop default) */
.ego-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(180deg, #250037, #6a006b);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.ego-content {
    max-width: 1200px;
    width: 100%;
    padding: 20px;
}

.ego-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 15px;
    animation: glowEffect 3s infinite;
}

@keyframes glowEffect {
    0%, 100% {
        text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700, 0 0 30px #FFAA00;
    }
    50% {
        text-shadow: 0 0 20px #FFD700, 0 0 40px #FFD700, 0 0 60px #FFAA00;
    }
}

.pulsating-circle {
    margin: 20px auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.8), transparent);
    animation: pulseEffect 3s infinite;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.planets-info {
    display: flex;
    flex-wrap: wrap; /* Omogućuje prilagodljiv raspored */
    justify-content: space-around; /* Ravnomjeran raspored planeta */
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.planet {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 30%; /* Svaka planetna sekcija zauzima 30% širine */
}

.planet-image {
    width: 60px;
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.planet-image:hover {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
}

.planet h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #FFD700;
    margin: 10px 0;
}

.planet p {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #FFFFFF;
    margin: 0 auto;
}

/* Fusnote */
.fusnote {
    margin-top: 40px;
    padding: 20px;
    border: 1px solid #FFD700;
    border-radius: 10px;
    background: rgba(255, 215, 0, 0.1);
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: gentlePulse 6s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Responzivni dizajn */
@media (max-width: 1024px) {
    .planets-info {
        gap: 10px;
    }

    .planet {
        max-width: 45%; /* Svaka sekcija zauzima do 45% širine */
    }

    .ego-content h2 {
        font-size: 2rem; /* Smanji naslov za tablete */
    }
}

@media (max-width: 768px) {
    .planets-info {
        flex-direction: column; /* Vertikalni prikaz planeta */
        align-items: center;
    }

    .planet {
        max-width: 100%; /* Planeti zauzimaju punu širinu */
    }

    .ego-content h2 {
        font-size: 1.8rem; /* Dodatno smanjenje naslova */
    }

    .pulsating-circle {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .ego-content h2 {
        font-size: 1.5rem; /* Još manje na vrlo malim ekranima */
    }

    .planet h3 {
        font-size: 1.2rem;
    }

    .planet p {
        font-size: 0.9rem;
    }

    .pulsating-circle {
        width: 80px;
        height: 80px;
    }
}
/* Stilizacija teksta ispod naslova */
.planets-info p:first-of-type {
    font-size: 1.1rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9); /* Blagi sjaj */
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6); /* Sjajni efekt */
    margin-bottom: 10px; /* Razmak između naslova i teksta */
}

/* Animirani rub i unutrašnjost fusnote */
.fusnote {
    margin-top: 40px;
    padding: 20px;
    border: 2px solid transparent; /* Početni rub */
    border-radius: 10px;
    background: rgba(255, 215, 0, 0.1); /* Suptilni unutrašnji sjaj */
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;

    /* Animacija ruba */
    background-image: linear-gradient(to right, rgba(255, 69, 0, 1), rgba(255, 215, 0, 1));
    background-clip: padding-box;
    -webkit-background-clip: text; /* Efekt unutrašnjeg sjaja */
    animation: fieryBorder 3s infinite;
}

.fusnote::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.4), transparent 70%);
    border-radius: 50%;
    animation: pulseAura 5s infinite; /* Animacija aure */
    z-index: -1; /* Iza sadržaja */
}

@keyframes pulseAura {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes fieryBorder {
    0% {
        border-color: rgba(255, 69, 0, 0.6); /* Početni rub */
        box-shadow: 0 0 10px rgba(255, 69, 0, 0.8);
    }
    50% {
        border-color: rgba(255, 215, 0, 1); /* Vatreno žuto */
        box-shadow: 0 0 20px rgba(255, 215, 0, 1);
    }
    100% {
        border-color: rgba(255, 69, 0, 0.6); /* Povratak na crveno-narančasto */
        box-shadow: 0 0 10px rgba(255, 69, 0, 0.8);
    }
}
.fusnote {
    position: relative;
    margin-top: 40px;
    padding: 20px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: rgba(255, 215, 0, 0.1);
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
    font-size: 1rem;
    color: #FFD700;
    animation: borderGlow 4s infinite;
}

.fusnote::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: conic-gradient(
        from 0deg,
        rgba(255, 69, 0, 0.1),
        rgba(255, 215, 0, 0.4),
        rgba(255, 69, 0, 0.1)
    );
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    animation: rotateInnerColors 6s linear infinite;
    z-index: -1; /* Iza sadržaja */
    opacity: 0.5;
}

@keyframes borderGlow {
    0% {
        border-color: rgba(255, 69, 0, 0.6);
        box-shadow: 0 0 10px rgba(255, 69, 0, 0.8);
    }
    50% {
        border-color: rgba(255, 215, 0, 1);
        box-shadow: 0 0 20px rgba(255, 215, 0, 1);
    }
    100% {
        border-color: rgba(255, 69, 0, 0.6);
        box-shadow: 0 0 10px rgba(255, 69, 0, 0.8);
    }
}

@keyframes rotateInnerColors {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.ego-content p {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.ego-content h2 {
    font-size: 3rem;
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 165, 0, 0.5);
    animation: glowEffect 3s infinite;
}
/* Svemirska sablja */
.glow-wave {
    position: absolute;
    bottom: 10px; /* Postavljanje blizu dna kontejnera */
    left: 0;
    width: 100%; /* Prolazi kroz cijeli kontejner */
    height: 10px;
    background: linear-gradient(
        90deg,
        rgba(255, 215, 0, 0) 0%,
        rgba(255, 215, 0, 0.8) 50%,
        rgba(255, 215, 0, 0) 100%
    );
    animation: waveEffect 2.5s linear infinite; /* Pokret vala */
    filter: blur(3px);
    z-index: -1; /* Iza sadržaja */
}

/* Animacija vala */
@keyframes waveEffect {
    0% {
        transform: translateX(-100%); /* Početak izvan kontejnera */
    }
    100% {
        transform: translateX(100%); /* Završetak izvan kontejnera */
    }
}

/* Eksplozija na kraju vala */
.glow-wave::after {
    content: '';
    position: absolute;
    right: 0; /* Eksplozija na kraju vala */
    bottom: 0;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255, 215, 0, 1), rgba(255, 215, 0, 0.3));
    border-radius: 50%; /* Eksplozija u obliku kruga */
    animation: explode 0.5s ease-out infinite;
    opacity: 0; /* Skriveno dok eksplodira */
}

/* Animacija eksplozije */
@keyframes explode {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Zadržavanje vala unutar kontejnera */
.ego-container {
    overflow: hidden; /* Sprečava da val izađe izvan kontejnera */
}
.glow-wave {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(
    90deg,
    rgba(255, 215, 0, 0) 0%,
    rgba(255, 215, 0, 0.8) 50%,
    rgba(255, 215, 0, 0) 100%
  );
  animation: waveEffect 2.5s linear infinite;
  filter: blur(3px);
  z-index: 2;
}

@keyframes waveEffect {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.planet-image {
    width: 60px; /* Prilagodba veličine slike */
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    animation: floatEffect 4s ease-in-out infinite; /* Animacija lebdenja */
}

@keyframes floatEffect {
    0%, 100% {
        transform: translateY(0); /* Početni i završni položaj */
    }
    50% {
        transform: translateY(-10px); /* Lagano podizanje */
    }
}

.planet-image:hover {
    transform: scale(1.2) translateY(-10px); /* Povećanje uz lebdenje */
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8)); /* Sjaj na hover */
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-4f8cbae *//* Glavni kontejner */
.environment-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(180deg, #1a002e, #330044); /* Tamno ljubičasta s dodirom svemira */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  text-align: center;
  overflow: hidden;
}

/* Naslov */
.environment-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: #ff69b4; /* Ružičasto inspiriran Venerom */
  margin-bottom: 20px;
  animation: glowEffect 4s infinite;
}

/* Uvodni tekst */
.environment-content p {
  font-family: 'Lato', sans-serif;
  font-size: 1.2rem;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Sekcije (Venera, Mars) */
.environment-sections {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
}

.section {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  flex: 1;
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
}

/* Ikone u sekcijama */
.environment-icon {
  width: 80px;
  height: auto;
  margin-top: 20px;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.environment-icon:hover {
  transform: scale(1.2) rotate(15deg);
  filter: drop-shadow(0 0 15px rgba(255, 105, 180, 0.8));
}

/* Naslovi sekcija */
.section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #ff69b4;
  margin-bottom: 10px;
}

/* Tekst u sekcijama */
.section p {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.5;
}

/* Animacija naslova */
@keyframes glowEffect {
  0%, 100% {
    text-shadow: 0 0 10px #ff69b4, 0 0 20px #ff1493, 0 0 30px #ff69b4;
  }
  50% {
    text-shadow: 0 0 20px #ff69b4, 0 0 40px #ff1493, 0 0 60px #ff69b4;
  }
}

/* Fusnota */
.fusnote {
  margin-top: 40px;
  padding: 20px;
  border: 1px solid #ff69b4;
  border-radius: 15px;
  background: rgba(255, 105, 180, 0.1);
  max-width: 700px;
  margin: 40px auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.fusnote::before,
.fusnote::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 105, 180, 0.3), transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: fusnoteGlow 4s infinite;
}

@keyframes fusnoteGlow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
}

/* Odgovarajući dizajn za manje uređaje */
@media (max-width: 768px) {
  .environment-sections {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .section {
    max-width: 100%;
  }

  .environment-content h2 {
    font-size: 2.2rem;
  }

  .environment-content p {
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
    .environment-sections .section {
        margin-bottom: 30px; /* Povećavamo razmak između kartica */
    }
}
/* Efekti na karticama - lebdenje i sjena */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 6px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Animacija naslova "Okolina" */
.okolina-title {
    font-size: 2.5rem;
    color: #FFC0CB; /* Suptilna ružičasta boja */
    animation: glowTitle 3s infinite;
}

@keyframes glowTitle {
    0%, 100% {
        text-shadow: 0 0 10px #FF99CC, 0 0 20px #FF99CC, 0 0 30px #FF6699;
    }
    50% {
        text-shadow: 0 0 20px #FF99CC, 0 0 30px #FF6699, 0 0 40px #FF3366;
    }
}

/* Pulsiranje ikona planeta */
.environment-icon {
    animation: planetPulse 2.5s infinite ease-in-out;
    transform-origin: center; /* Centrirano skaliranje */
}


@keyframes planetPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.4));
    }
    50% {
        transform: scale(1.2);
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
    }
}

/* Boja fusnote */
.fusnote {
    background: linear-gradient(90deg, rgba(255, 255, 0, 0.2), rgba(255, 0, 255, 0.2));
    border: 2px solid #FF99CC;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    animation: glowFusnote 5s infinite alternate;
}

@keyframes glowFusnote {
    0% {
        box-shadow: 0 0 10px rgba(255, 192, 203, 0.6), 0 0 20px rgba(255, 182, 193, 0.5);
    }
    100% {
        box-shadow: 0 0 15px rgba(255, 182, 193, 0.8), 0 0 25px rgba(255, 192, 203, 0.7);
    }
}
.venera .spacer {
  height: 23px; /* Prilagodi visinu prema potrebi */
  visibility: hidden; /* Nevidljiv razmak za poravnanje */
}

/* Disko kugla */
.venera-glow {
  position: absolute;
  top: 8%; /* Podignuto iznad naslova */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 223, 186, 1), rgba(255, 223, 186, 0.1));
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.7), 0 0 50px rgba(255, 223, 186, 0.5);
  animation: veneraPulse 3s infinite;
  overflow: visible;
}

/* Pulsiranje disko kugle */
@keyframes veneraPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 223, 186, 0.4);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 223, 186, 0.6);
  }
}

/* Zlatna prašina */
.venera-glow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 0, 0.3), transparent 70%);
  animation: dustSpread 5s infinite ease-in-out;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0.5;
}

@keyframes dustSpread {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Poravnanje kartica */
.section.venera .spacer {
  height: 20px; /* Prilagodba visine za poravnanje */
  visibility: hidden; /* Osigurava da se razmak ne vidi */
}
.environment-content {
  margin-top: 60px; /* Pomakni cijeli tekst dolje */
}
.environment-content h2 {
  margin-top: 100px; /* Pomakni naslov dolje */
}
@media (max-width: 768px) {
  .venera-glow {
    top: 12%; /* Prilagođeno za mobilne uređaje */
  }
}

@media (max-width: 480px) {
  .venera-glow {
    top: 5%; /* Još više pomaknuto za manje ekrane */
  }
}
/* Kontejner za točkice */
.sparkle-container {
  position: absolute;
  top: 50%; /* Podešavanje pozicije točkica */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px; /* Veličina područja emitiranja */
  height: 150px;
  pointer-events: none; /* Točkice ne ometaju klikove */
  overflow: hidden;
}

/* Svaka točkica */
.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: sparkleAnim 3s infinite ease-in-out;
  opacity: 0;
}

/* Animacija točkica */
@keyframes sparkleAnim {
  0% {
    transform: translate(0, 0) scale(0.5);
    opacity: 0;
  }
  50% {
    transform: translate(calc(75px - 150px * random()), calc(75px - 150px * random())) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(0, 0) scale(0.5);
    opacity: 0;
  }
}
/* Kontejner za srca */
.heart-container {
  position: absolute;
  top: 50%; /* Središte kugle */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px; /* Ista veličina kao kugla */
  height: 150px;
  pointer-events: none;
  overflow: visible;
}

/* Stil srca */
.heart {
  position: absolute;
  width: 16px;
  height: 16px;
  animation: heartFly 3s infinite ease-in-out;
  opacity: 0;
}

/* Animacija srca */
@keyframes heartFly {
  0% {
    transform: translate(0, 0) scale(0.8);
    opacity: 0;
  }
  50% {
    transform: translate(calc(-50px + 100px * random()), calc(-50px + 100px * random())) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(0, -150px) scale(0.5);
    opacity: 0;
  }
}
/* Kontejner za Marsov plamen */
.mars-flame-container {
  position: absolute;
  bottom: 0 px; /* Postavljeno pri dnu stranice */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px; /* Razmak između plamenova */
  z-index: 1; /* Plamen je iznad ostatka pozadine */
}

/* Pojedini plamen */
.mars-flame {
  position: relative;
  width: 20px;
  height: 40px;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.8), transparent 70%);
  border-radius: 50%;
  animation: marsFlameAnim 2s infinite ease-in-out;
  opacity: 0.8;
}

/* Animacija plamena */
@keyframes marsFlameAnim {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-20px) scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Dodavanje nasumične varijacije */
.mars-flame:nth-child(1) {
  animation-delay: 0s;
}

.mars-flame:nth-child(2) {
  animation-delay: 0.2s;
}

.mars-flame:nth-child(3) {
  animation-delay: 0.4s;
}

/* Iskrice iz plamena */
.mars-spark {
  position: absolute;
  bottom: 40px; /* Iznad plamena */
  width: 5px;
  height: 5px;
  background: rgba(255, 140, 0, 0.8);
  border-radius: 50%;
  animation: marsSparkAnim 1.5s ease-out forwards;
}

/* Animacija iskrica */
@keyframes marsSparkAnim {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-60px) scale(0.5);
    opacity: 0;
  }
}
.mars-warrior-symbol {
  position: absolute;
  bottom: 10px; /* Pozicija blizu dna stranice */
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  animation: warriorGlow 3s infinite alternate;
  z-index: 1;
}

.mars-warrior-symbol img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 69, 0, 0.6));
}

/* Animacija crvenog svjetlucanja */
@keyframes warriorGlow {
  0% {
    filter: drop-shadow(0 0 10px rgba(255, 69, 0, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(255, 69, 0, 1));
  }
  100% {
    filter: drop-shadow(0 0 10px rgba(255, 69, 0, 0.6));
  }
}
.mars-warrior-symbol {
  position: absolute;
  bottom: 20px; /* Smjestite na dno stranice */
  left: 50%;
  transform: translateX(-50%);
  animation: glowEffect 2s infinite alternate ease-in-out;
}

.mars-warrior-symbol img {
  width: 80px; /* Veličina mača */
  filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.7));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.mars-warrior-symbol:hover img {
  transform: scale(1.1); /* Povećanje pri hoveru */
  filter: drop-shadow(0 0 15px rgba(255, 0, 0, 1));
}

/* Efekt svjetlucanja */
@keyframes glowEffect {
  0% {
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.5));
  }
  100% {
    filter: drop-shadow(0 0 20px rgba(255, 0, 0, 1));
  }
}
.mars-warrior-symbol {
  margin-top: 20px; /* Razmak između mača i teksta */
  display: flex;
  justify-content: center; /* Centriranje unutar fusnote */
  align-items: center;
  position: relative; /* Omogućuje lakšu manipulaciju */
}

.mars-warrior-symbol img {
  width: 70px; /* Prilagodba veličine mača */
  height: auto;
  animation: glowSword 2s infinite alternate; /* Blagi sjaj */
}

/* Efekt sjaja za mač */
@keyframes glowSword {
  0% {
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.6));
  }
  100% {
    filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.9));
  }
}
.jupiter .spacer {
  height: 40px !important; /* Razmak za desktop */
  visibility: hidden; /* I dalje nevidljivo */
}

@media (max-width: 768px) {
  .jupiter .spacer {
    height: 20px !important; /* Razmak za tablet */
  }
}

@media (max-width: 480px) {
  .jupiter .spacer {
    height: 15px !important; /* Razmak za mobitel */
  }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-3e5135c *//* Glavni kontejner */
.society-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(180deg, #002b5c, #404040); /* Plava prema sivoj */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  text-align: center;
  overflow: hidden;
}

/* Naslov */
.society-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: #ffd700; /* Zlatna boja za Jupiter */
  text-shadow: 0 0 10px #ffd700, 0 0 20px #b0b0b0; /* Zlatni sjaj */
  margin-bottom: 20px;
}

/* Tekst */
.society-header p {
  font-family: 'Lato', sans-serif;
  font-size: 1.2rem;
  color: #ffffff;
  max-width: 800px;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Sekcije */
.society-sections {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
}

.section {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  flex: 1;
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #ffd700;
  margin-bottom: 10px;
}

.section p {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.5;
}

.society-icon {
  width: 80px;
  height: auto;
  margin-top: 20px;
  animation: planetPulse 3s infinite ease-in-out;
}

/* Animacija ikona */
@keyframes planetPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
  }
}

/* Fusnota */
.society-fusnote {
  margin-top: 40px;
  padding: 20px;
  border: 1px solid #ffd700;
  border-radius: 15px;
  background: rgba(255, 215, 0, 0.1);
  max-width: 700px;
  text-align: center;
  color: #ffffff;
}
/* Aura za Jupiter */
.jupiter-icon {
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(255, 165, 0, 0.6), 0 0 40px rgba(255, 140, 0, 0.4);
}

/* Aura za Saturn */
.saturn-icon {
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(135, 206, 250, 0.6), 0 0 40px rgba(70, 130, 180, 0.4);
}
/* Kontejner za čestice */
.society-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* Čestice iza sadržaja */
  overflow: hidden; /* Sakrij čestice koje izlaze izvan ekrana */
  pointer-events: none; /* Spriječi interakciju s česticama */
}

/* Svaka čestica */
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: floatParticle 10s linear infinite;
  opacity: 0;
}

/* Animacija čestica */
@keyframes floatParticle {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(calc(-50px + 100px * random()));
    opacity: 0;
  }
}
/* Zvjezdice (Čestice) unutar Society Container */
.society-container .particle {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: floatSociety 10s linear infinite; /* Plutajuća animacija */
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6); /* Blagi sjaj */
  z-index: 1; /* Kako bi ostale iza teksta i ikona */
}

/* Animacija plutanja čestica */
@keyframes floatSociety {
  from {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  to {
    transform: translateY(-100vh) scale(0.8); /* Plutanje prema gore */
    opacity: 0.5;
  }
}
.society-fusnote {
  margin-top: 60px; /* Dodatni razmak od kartica */
  padding: 20px;
  border: 2px solid rgba(255, 215, 0, 0.8); /* Istaknuti rub */
  border-radius: 15px;
  background: linear-gradient(90deg, #ffdd87, #ffb74d, #ff8a65, #ffab40, #ffd54f);
  background-size: 400% 400%;
  animation: smoothGradient 9s ease infinite;
  max-width: 700px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 165, 0, 0.4); /* Blagi sjaj */
}

/* Nova animacija prelijevanja */
@keyframes smoothGradient {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 50% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.society-sections {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
}
.society-sections {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.section {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  flex: 1;
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.spacer {
  height: 40px; /* Visina razmaka, prilagodi prema potrebi */
  visibility: hidden; /* Nevidljiv razmak */
}
.orbit {
  position: relative;
  width: 100px;
  height: 100px;
  border: 1px dashed rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: orbitRotate 8s linear infinite;
}

@keyframes orbitRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.orbit-dot {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transform: translateX(-50%);
}
.jupiter .spacer {
  display: block;
  height: 40px !important; /* Desktop razmak */
  visibility: hidden;
}

@media (max-width: 768px) {
  .jupiter .spacer {
    height: 20px !important; /* Tablet razmak */
  }
}

@media (max-width: 480px) {
  .jupiter .spacer {
    height: 15px !important; /* Mobitel razmak */
  }
}
.jupiter-icon, .saturn-icon {
  animation: rotatePlanet 10s linear infinite; /* 10 sekundi rotacija */
}

@keyframes rotatePlanet {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-d9ef7be *//* Glavni kontejner */
.destiny-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(180deg, #000428, #004e92); /* Duboko plava */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  text-align: center;
  overflow: hidden;
}

/* Naslov */
.destiny-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: #ffd700;
  text-shadow: 0 0 10px #ffd700, 0 0 20px #b0b0b0;
  margin-bottom: 20px;
}

/* Kartice */
.destiny-sections {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
}

.section {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

/* Ikone */
.destiny-icon {
  width: 80px;
  height: auto;
  margin-top: 20px;
  animation: planetPulse 3s infinite ease-in-out;
}

/* Fusnota */
.destiny-fusnote {
  margin-top: 40px;
  padding: 20px;
  border: 2px solid #ffd700;
  background: rgba(255, 215, 0, 0.1);
  max-width: 700px;
  color: #ffffff;
}

/* Kozmički završetak */
.cosmic-ending {
  width: 100%;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
  animation: cosmicPulse 5s infinite ease-in-out;
}
/* Poravnanje i dizajn kartica */
.section .spacer {
  height: 30px;
  visibility: hidden;
}

.uran-icon {
  animation: rotatePlanet 10s linear infinite;
}

.neptun-icon {
  animation: pulsePlanet 4s infinite ease-in-out;
}

.pluto-icon {
  animation: shakePlanet 3s infinite ease-in-out;
}

/* Animacije planeta */
@keyframes rotatePlanet {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulsePlanet {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes shakePlanet {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
}

/* Kozmički završetak */
.cosmic-ending {
  width: 100%;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
  animation: cosmicEffect 6s infinite alternate;
}

@keyframes cosmicEffect {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
.mystic-effect {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.mystic-planet {
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, #4b0082, #00008b);
  border-radius: 50%;
  animation: rotatePlanet 12s linear infinite;
  box-shadow: 0 0 20px rgba(75, 0, 130, 0.7), 0 0 40px rgba(0, 0, 139, 0.5);
}
.cosmic-ending {
  position: relative;
  width: 100%;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
  overflow: hidden;
}

.floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  animation: moveParticles 10s linear infinite;
  background: url('https://www.transparenttextures.com/patterns/stardust.png'); /* Besplatni uzorak zvijezda */
  opacity: 0.7;
}

@keyframes moveParticles {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50px);
  }
}
.section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}
.destiny-header p {
  font-size: 1.2rem; /* Povećanje fonta */
  color: #ffffff; /* Bijela boja za bolji kontrast */
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6); /* Blaga sjena za čitljivost */
  margin-top: 10px;
  max-width: 800px;
  line-height: 1.6;
}
.floating-particles {
  background-size: 200px; /* Povećavamo veličinu čestica za bolju vidljivost */
  opacity: 1; /* Jača vidljivost */
}

@media (max-width: 768px) {
  .floating-particles {
    background-size: 250px; /* Još veće čestice na mobilnim uređajima */
    opacity: 0.9; /* Malo slabija prozirnost */
  }
}
.floating-particles {
  background-size: 200px; /* Veličina čestica */
  opacity: 0.8; /* Jača vidljivost */
  animation: moveParticles 10s linear infinite, pulseParticles 3s infinite ease-in-out; /* Kretanje i svjetlucanje */
  filter: brightness(1.5); /* Pojačavamo sjaj */
}

/* Nova animacija svjetlucanja */
@keyframes pulseParticles {
  0%, 100% {
    opacity: 0.7;
    filter: brightness(1.2);
  }
  50% {
    opacity: 1;
    filter: brightness(2);
  }
}

/* Na mobilnim uređajima dodatno prilagodimo čestice */
@media (max-width: 768px) {
  .floating-particles {
    background-size: 250px; /* Veće čestice na mobilnim uređajima */
    opacity: 1; /* Maksimalna vidljivost */
    filter: brightness(1.7); /* Još malo jače svjetlucanje */
  }
}
.cosmic-ending::before {
  content: '';
  position: absolute;
  top: -150%;
  left: 50%;
  width: 3px; /* Tanja linija */
  height: 200%;
  background: linear-gradient(to bottom, transparent, rgba(255, 69, 0, 0.5), rgba(255, 69, 0, 1));
  transform: translateX(-50%);
  animation: verticalLightStreak 3s infinite ease-in-out;
}

/* Animacija svjetlosnog efekta */
@keyframes verticalLightStreak {
  0% {
    top: -150%;
    opacity: 0.3;
  }
  50% {
    top: 50%;
    opacity: 0.7;
  }
  100% {
    top: 150%;
    opacity: 0;
  }
}/* End custom CSS */