body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    color: #fff;
    overflow-x: hidden;
    background: url('evolve_bg.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/*body {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}*/

html {
    scroll-behavior: smooth;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}


/* Aggiungi questo al tuo CSS */
.audio-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.audio-button {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.audio-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.audio-button.muted i:before {
    content: "\f6a9";
}

.logo {
    max-width: 80%;
    animation: pulse 2s infinite;
}

.message {
    font-size: 1.5em;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 3s ease-in forwards;
}

.social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.twitter { background: #1DA1F2; }
.youtube { background: #FF0000; }
.instagram { background: #C13584; }
.tiktok { background: #000000; }
.fa-facebook-f { background: #1877F2; }
.spotify { background: #1DB954; }
.soundcloud { background: #ff5500; }

.social-icon::before {
    font-family: "Font Awesome 5 Brands";
    font-size: 24px;
}

.twitter::before { content: "\f099"; }
.youtube::before { content: "\f167"; }
.instagram::before { content: "\f16d"; }
.tiktok::before { content: "\e07b"; }
.spotify::before { content: "\f1bc"; }
.soundcloud::before { content: "\f1be"; }


.youtube-embed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.youtube-embed iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 10px;
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #000, #1a1a1a);
    position: relative;
}

.placeholder-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('music_in_progress.jpg') center/cover;
    opacity: 0.3;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-overlay {
    opacity: 1;
}

.merch-link {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 1000;
    display: none;
}

.merch-button {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.merch-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.merch-link.it { display: block; }
.merch-link.en { display: none; }

/* Aggiungi questo al tuo CSS */
.floating-button-wrapper {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    pointer-events: none;
    z-index: 99999;
}

.floating-campaign-button {
    position: fixed;
    /*bottom: 100px;*/
    /*right: 20px;*/
    width: 80px;
    height: 80px;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
    z-index: 9999;
    /*display: none;*/ 
    transition: all 3s ease-in-out;
    overflow: hidden;
    pointer-events: auto;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.3);
    /*transform: translateZ(0); */ /* Forza il rendering hardware */
    /*will-change: transform;*/
    touch-action: manipulation; /* Supporto per dispositivi mobili */
    -webkit-tap-highlight-color: transparent; /* Rimuove evidenziazione*/
}

.button-content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Gothic', sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    z-index: 2;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.button-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('path-to-fracture-smoke.png');
    background-size: cover;
    opacity: 0.6;
    mix-blend-mode: screen;
    animation: morph 10s infinite alternate;
}

.brand-video {
    width: 480px; /* Adatta alle tue esigenze */
    height: auto;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.logo-fallback {
    width: 100%;
    height: auto;
    display: none;
}

/* Effetto dissolvenza */
.fade-out {
    opacity: 0;
    pointer-events: none;
}

.fade-in {
    display: block !important; /* Mostra il bottone */	
    opacity: 1;
    pointer-events: auto;
}

.video-container.secret-video {
    position: relative;
    width: 560px;
    height: 315px;
    margin: 20px auto;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container.secret-video .placeholder-image {
    background: url('ember_placeholder.jpg') no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100%;
}

.video-container.secret-video .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.video-container.secret-video .video-overlay h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.video-container.secret-video .video-overlay p {
    font-size: 1em;
}

.video-container.secret-video .video-overlay .description {
    font-size: 0.9em;
    opacity: 0.8;
}

#phoenix-easter-egg:hover::after {
  content: "ACCESS CODE: PHX-2024";
  position: absolute;
  left: 0;
  top: -20px;
  color: #ff4500;
  font-size: 0.8em;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes morph {
    0% {
        background-image: url('fracture-smoke.jpeg');
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(180deg);
    }
    100% {
        background-image: url('ember-flame.png');
        filter: hue-rotate(360deg);
    }
}

.floating-campaign-button:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 30px rgba(255, 165, 0, 0.4),
        inset 0 0 15px rgba(255, 165, 0, 0.4);
}

.floating-campaign-button:hover .button-content {
    color: #ffa500;
}


.album-tabs {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 10px;
}
.tab {
  background: #111;
  color: #00ff88;
  border: none;
  padding: 12px 32px;
  border-radius: 5px 5px 0 0;
  font-size: 1.2em;
  cursor: pointer;
  transition: background 0.2s;
}
.tab.active {
  background: #00ff88;
  color: #111;
}
.album-content {
  animation: fadein 0.7s;
  background: rgba(0,0,0,0.7);
  padding: 30px;
  border-radius: 0 0 10px 10px;
  margin-bottom: 30px;
  min-height: 200px;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.sos-link {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 22px;
  background: #00ff88;
  color: #111;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s;
}
.sos-link:hover {
  background: #00cc6a;
}

@media (max-width: 768px) {
    .youtube-embed {
        grid-template-columns: 1fr;
    }
}

footer {
    width: 100%;
    padding: 10px;
    background: rgba(0,0,0,0.8);
    text-align: center;
    margin-top: 30px;
}

.privacy-notice {
    font-size: 0.8em;
    color: #888;
}

@media screen and (min-width: 768px) {
    .floating-campaign-button {
        bottom: 180px;
        right: 40px;
        width: 120px;
        height: 120px;
    }
}


@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@media (max-width: 1200px) {
    .youtube-embed {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
  #phoenix-easter-egg {
    font-size: 8px;
    bottom: 10px;
    right: 10px;
  }
}

@media (max-width: 768px) {
    body {
        background-position: top center;
    }
    
    .brand-video {
        width: 280px;
	margin: 15px auto;
    }

    .container {
        margin: 10px;
    }

    .logo-video {
        border-radius: 8px;
    }
    .message {
        font-size: 1.2em;
        text-align: center;
    }
}
