@font-face {
    font-family: 'Berry Rotunda';
    src: url('Berry_Rotunda.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@keyframes textColorChange {

    0%,
    50% {
        color: white;
    }

    25%,
    75% {
        color: black;
    }
}

body {
    font-family: 'Berry Rotunda', sans-serif;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    z-index: -1;
}

.background video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding-top: 5vh;
    font-family: 'Berry Rotunda', sans-serif;
    animation: textColorChange 5s steps(1) infinite;
}

.tint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 20, 20, 0.5);
    z-index: 1;
}

.members-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 100px;
    min-height: 100vh;
    margin-bottom: 50px;
    transform: translateY(-80px);
    padding: 0 20px;
    box-sizing: border-box;
}

.kacper {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 700px;
    width: 450px;
    border-radius: 3px;
    border: 2px solid rgba(30, 30, 30, 0.9);
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    padding-top: 200px;
    padding-bottom: 30px;
    box-sizing: border-box;
}

.kacper>img {
    width: 125px;
    height: auto;
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

.kacper p {
    margin-top: 10px;
}

.minio {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 700px;
    width: 450px;
    border-radius: 3px;
    border: 2px solid rgba(30, 30, 30, 0.9);
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    padding-top: 200px;
    padding-bottom: 30px;
    box-sizing: border-box;
}

.minio>img {
    width: 125px;
    height: auto;
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

.minio p {
    margin-top: 10px;
}

.dyrt {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 700px;
    width: 450px;
    border-radius: 3px;
    border: 2px solid rgba(30, 30, 30, 0.9);
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    padding-top: 200px;
    padding-bottom: 30px;
    box-sizing: border-box;
}

.dyrt>img {
    width: 125px;
    height: auto;
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

.dyrt p {
    margin-top: 10px;
}

.kawoshii {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 700px;
    width: 450px;
    border-radius: 3px;
    border: 2px solid rgba(30, 30, 30, 0.9);
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    padding-top: 200px;
    padding-bottom: 30px;
    box-sizing: border-box;
}

.kawoshii>img {
    width: 125px;
    height: auto;
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

.kawoshii p {
    margin-top: 10px;
}

.footer-heart {
    text-align: center;
    font-family: open sans, sans-serif;
    color: white;
    position: relative;
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
}

.footer-heart a {
    border-bottom: 1px solid #ba4cff;
    color: #ba4cff;
    padding-bottom: .25em;
    text-decoration: none;
}

.footer-heart a:hover {
    color: #4B0082;
    background-image: none;
}

.emoji {
    vertical-align: middle;
}

.white {
    color: white;
    text-align: center;
    font-size: 30px;
}

.social-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 25px;
    margin: -10px auto 0 auto;
    width: 80%;
    padding: 0;
    flex: 1;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 28px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(60, 60, 60, 0.6), rgba(30, 30, 30, 0.5));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.social-link:last-child {
    border-radius: 10px;
}

.social-link:hover {
    background: rgba(40, 40, 40, 0.6);
    border-color: rgba(80, 80, 80, 0.5);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover .social-logo {
    transform: scale(1.15);
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3));
}

.social-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.social-link span {
    font-size: 22px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-optical-sizing: auto;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.music-wrapper {
    position: fixed;
    left: 0;
    top: 5vh;
    z-index: 9999;
    display: flex;
    align-items: center;
}

.music-trigger {
    width: 38px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: none;
    border-radius: 0 10px 10px 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.music-trigger img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
    transform: rotate(-90deg);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.music-trigger:hover {
    background: rgba(50, 50, 50, 0.8);
}

.music-wrapper:hover .music-trigger img,
.music-wrapper.active .music-trigger img {
    transform: rotate(90deg);
}

.music-panel {
    order: -1;
    width: 0;
    overflow: hidden;
    opacity: 0;
    background: rgba(20, 20, 20, 0.85);
    border-radius: 0 14px 14px 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 0;
    box-sizing: border-box;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        opacity 0.4s ease,
        padding 0.4s ease,
        border 0.4s ease;
    pointer-events: none;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
    border: 1px solid transparent;
    border-left: none;
    white-space: nowrap;
}

.music-wrapper:hover .music-panel,
.music-wrapper.active .music-panel {
    width: 280px;
    opacity: 1;
    pointer-events: auto;
    padding: 20px 18px;
    border-color: rgba(255, 255, 255, 0.12);
}

.music-title {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.5px;
}

.music-progress-container {
    width: 100%;
    margin-bottom: 12px;
}

.music-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.music-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ba4cff, #7b2fbe);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.music-time {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.music-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 14px;
}

.music-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.85;
}

.music-btn:hover {
    transform: scale(1.2);
    opacity: 1;
}

.music-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.music-btn.play-pause-btn img {
    width: 28px;
    height: 28px;
}

.music-volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.music-volume-container img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.music-volume-container img:hover {
    opacity: 1;
}

.music-volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.music-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #ba4cff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(186, 76, 255, 0.5);
}

.music-volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #ba4cff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 6px rgba(186, 76, 255, 0.5);
}

.discord-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 450px;
    min-height: 700px;
    box-sizing: border-box;
    margin: 0 auto;
}

.discord-section iframe {
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(30, 30, 30, 0.9);
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 1200px) {
    .members-container {
        gap: 40px;
    }

    .kacper,
    .minio,
    .discord-section,
    .dyrt,
    .kawoshii {
        width: 340px;
        min-height: 600px;
    }
}

@media (max-width: 900px) {
    .members-container {
        flex-direction: column;
        height: auto;
        min-height: auto;
        gap: 50px;
        transform: none;
        padding: 30px 20px;
        margin-bottom: 0;
    }

    .content {
        padding-top: 3vh;
    }

    .content h1 {
        font-size: 1.5rem;
    }

    .kacper,
    .minio,
    .discord-section,
    .dyrt,
    .kawoshii {
        width: 85%;
        max-width: 380px;
        height: auto;
        padding-top: 180px;
        padding-bottom: 35px;
    }

    .kacper>img,
    .minio>img,
    .dyrt>img,
    .kawoshii>img {
        width: 100px;
        top: 45px;
    }

    .white {
        font-size: 24px;
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .social-container {
        gap: 24px;
        margin-top: -15px;
        width: 75%;
    }

    .social-link {
        padding: 16px 22px;
    }

    .social-link span {
        font-size: 18px;
    }

    .music-wrapper:hover .music-panel,
    .music-wrapper.active .music-panel {
        width: 240px;
        padding: 16px 14px;
    }

    .music-trigger {
        width: 32px;
        height: 50px;
    }

    .music-trigger img {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .discord-section iframe {
        width: 100%;
        max-width: 350px;
        height: 480px;
    }

    .content h1 {
        font-size: 1.2rem;
        padding: 0 10px;
    }

    .members-container {
        gap: 40px;
        padding: 20px 15px;
    }

    .kacper,
    .minio,
    .discord-section,
    .dyrt,
    .kawoshii {
        width: 90%;
        padding-top: 150px;
        padding-bottom: 30px;
    }

    .kacper>img,
    .minio>img,
    .dyrt>img,
    .kawoshii>img {
        width: 80px;
        top: 40px;
    }

    .white {
        font-size: 20px;
        margin-top: 12px;
        margin-bottom: 18px;
    }

    .social-container {
        gap: 18px;
        margin-top: -10px;
        width: 82%;
    }

    .social-link {
        padding: 14px 18px;
        gap: 10px;
    }

    .social-link span {
        font-size: 15px;
        letter-spacing: 0.5px;
    }

    .social-logo {
        width: 24px;
        height: 24px;
    }

    .footer-heart {
        font-size: 13px;
        padding: 15px 10px;
    }

    .music-wrapper:hover .music-panel,
    .music-wrapper.active .music-panel {
        width: 220px;
        padding: 14px 12px;
    }

    .music-title {
        font-size: 11px;
    }

    .music-btn img {
        width: 16px;
        height: 16px;
    }

    .music-btn.play-pause-btn img {
        width: 22px;
        height: 22px;
    }
}

/* â”€â”€â”€ Send a Beat Floating Card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.send-beat-floating-card {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 25px;
    background: rgba(30, 30, 30, 0.7);
    border: 2px solid rgba(186, 76, 255, 0.2);
    border-radius: 14px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: sendBeatPulse 3s ease-in-out infinite;
    z-index: 9000;
    max-width: 250px;
}

.send-beat-floating-card:hover {
    border-color: rgba(186, 76, 255, 0.5);
    box-shadow: 0 0 20px rgba(186, 76, 255, 0.2);
    transform: translateY(-2px);
}

.send-beat-title {
    color: white;
    font-family: 'Berry Rotunda', sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    margin: 0;
}

.send-beat-desc {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    margin: 0;
    font-weight: 400;
}

.send-beat-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #ba4cff 0%, #7b2fbe 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

@keyframes sendBeatPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 10px rgba(186, 76, 255, 0.2);
    }
    50% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 25px rgba(186, 76, 255, 0.5);
    }
}
/* ¦¦¦ Enter Overlay ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ */
.enter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.enter-overlay-text {
    color: white;
    font-family: 'Berry Rotunda', sans-serif;
    font-size: 28px;
    letter-spacing: 3px;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.95); }
}
