/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

/* Enter Screen */
#enter-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: opacity 0.5s ease;
}

#enter-btn {
    padding: 20px 40px;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    border: 3px solid #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    letter-spacing: 2px;
}

#enter-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
}

/* Blur Effect */
.blurred {
    filter: blur(15px);
    transition: filter 1s ease;
}

/* Main Content Wrapper */
#main-content {
    width: 100%;
    height: 100%;
}

/* Background */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

#loader {
    display: flex;
    justify-content: center;
    align-items: center;
}

#loader .loader {
    margin: auto;
}


.loader:before,
.loader:after {
  content: '';
  border-radius: 50%;
  position: absolute;
  inset: 0;
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.3) inset;
}

.loader:after {
  box-shadow: 0 2px 0 #FF3D00 inset;
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}


/* Social Icons */
.social-icons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.icon svg {
    width: 20px;
    height: 20px;
}

.icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    color: #000;
}

/* Monkey Image */
.monkey-img {
    position: absolute;
    bottom: 0px;
    left: 300px;
    width: 500px;
    height: auto;
    z-index: 10;
    pointer-events: none;
}

/* Monkey Comments */
.monkey-comments {
    position: absolute;
    bottom: 430px;
    left: 720px;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 20px;
    padding: 20px 25px;   /* μεγαλύτερο */
    font-family: 'Comic Sans MS', 'Chalkboard SE', sans-serif;
    font-size: 1.5rem;    /* μεγαλύτερο */
    font-weight: bold;
    color: #000;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.2);
    z-index: 20;
    min-width: 250px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.monkey-comments::after {
    content: '';
    position: absolute;

    left: -25px;      /* μύτη προς τα αριστερά */
    bottom: 25px;     /* ΠΙΟ ΠΑΝΩ από τη γωνία → όχι κολλημένη */

    width: 0;
    height: 0;

    /* Τρίγωνο που δείχνει προς τα αριστερά */
    border-top: 14px solid transparent;
    border-bottom: -100px solid transparent;
    border-right: 30px solid #fff;

    /* Μαύρο περίγραμμα γύρω από τη μύτη */
    filter: drop-shadow(-2px 0px 0px #000);
}


.monkey-comments.visible {
    opacity: 1;
}



/* Center Text (CA) */
.center-text {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    z-index: 5;
    /* Behind icons but above background */
    font-family: 'Courier New', Courier, monospace;
    /* Crypto feel? Or keep Segoe UI? Let's use inherit but make it bold */
    font-family: inherit;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

/* Mute Button */
.mute-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    transition: transform 0.2s, background-color 0.2s;
    color: #333;
}

.mute-btn:hover {
    transform: scale(1.1);
    background-color: #fff;
    color: #000;
}

.mute-btn svg {
    width: 28px;
    height: 28px;
}

/* Falling Bananas */
@keyframes fallBanana {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(120vh) rotate(360deg);
        opacity: 0;
    }
}

.banana {
    position: fixed;
    top: -50px;
    pointer-events: none;
    z-index: 3000;        /* πάνω από το loader */
    animation: fallBanana 2.5s linear forwards;
    font-size: 40px;      /* default μέγεθος, θα το αλλάζουμε με JS */
}
