/*
====================================
BE RIGHT BACK - 4eSport
Black & White Animated Theme
====================================
*/

:root {
    --black: #000000;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 1920px;
    height: 1080px;
    background-color: transparent;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ================== MAIN CONTAINER ================== */
.beback-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================== ANIMATED GRID BACKGROUND ================== */
.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 40px,
            rgba(255, 255, 255, 0.03) 40px,
            rgba(255, 255, 255, 0.03) 41px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 40px,
            rgba(255, 255, 255, 0.03) 40px,
            rgba(255, 255, 255, 0.03) 41px
        );
    animation: gridScroll 20s linear infinite;
    z-index: 1;
}

@keyframes gridScroll {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

/* ================== CONTENT ================== */
.beback-content {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* ================== LOGO WITH RINGS ================== */
.brb-logo-container {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brb-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    z-index: 3;
    animation: logoBreathe 3s ease-in-out infinite;
}

@keyframes logoBreathe {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.6));
    }
}

.logo-ring {
    position: absolute;
    border: 2px solid var(--white);
    border-radius: 50%;
    opacity: 0;
    animation: ringPulse 3s ease-out infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    animation-delay: 0s;
}

.ring-2 {
    width: 230px;
    height: 230px;
    animation-delay: 1s;
}

.ring-3 {
    width: 260px;
    height: 260px;
    animation-delay: 2s;
}

@keyframes ringPulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* ================== TITLE ================== */
.brb-title {
    font-size: 72px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 10px;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
    animation: titleFlicker 4s ease-in-out infinite;
}

@keyframes titleFlicker {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
    }
    50% {
        opacity: 0.95;
        text-shadow: 0 0 60px rgba(255, 255, 255, 0.8);
    }
}

/* ================== ANIMATED DOTS ================== */
.brb-dots {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    height: 30px;
}

.dot {
    width: 15px;
    height: 15px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    animation: dotBounce 1.5s ease-in-out infinite;
}

.dot-1 { animation-delay: 0s; }
.dot-2 { animation-delay: 0.3s; }
.dot-3 { animation-delay: 0.6s; }

@keyframes dotBounce {
    0%, 60%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

/* ================== CLOCK ================== */
.brb-clock {
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 8px;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    padding: 20px 50px;
    border: 3px solid var(--white);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    animation: clockPulse 2s ease-in-out infinite;
}

@keyframes clockPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 1);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 255, 255, 0.4);
        border-color: rgba(255, 255, 255, 0.8);
    }
}

/* ================== MESSAGE ================== */
.brb-message {
    font-size: 28px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    animation: messageFade 3s ease-in-out infinite;
}

@keyframes messageFade {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* ================== SOCIAL BAR ================== */
.brb-social-bar {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    padding: 20px 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    animation: socialBarSlide 1.5s ease-out 0.5s backwards;
}

@keyframes socialBarSlide {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-item-brb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 1px;
}

.social-icon-brb {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.social-divider {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.4);
}

/* ================== CORNER DECORATIONS ================== */
.brb-corner {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 4px solid var(--white);
    z-index: 5;
    animation: cornerPulse 4s ease-in-out infinite;
}

@keyframes cornerPulse {
    0%, 100% {
        opacity: 0.4;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    }
}

.corner-tl {
    top: 30px;
    left: 30px;
    border-right: none;
    border-bottom: none;
    animation-delay: 0s;
}

.corner-tr {
    top: 30px;
    right: 30px;
    border-left: none;
    border-bottom: none;
    animation-delay: 1s;
}

.corner-bl {
    bottom: 30px;
    left: 30px;
    border-right: none;
    border-top: none;
    animation-delay: 2s;
}

.corner-br {
    bottom: 30px;
    right: 30px;
    border-left: none;
    border-top: none;
    animation-delay: 3s;
}

/* ================== PARTICLES ================== */
.brb-particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--white);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
    animation: particleFloat 18s ease-in-out infinite;
    z-index: 2;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0.5);
    }
    10% {
        opacity: 1;
        transform: translateY(-100px) translateX(30px) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(-980px) translateX(-30px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-1080px) translateX(0) scale(0.5);
    }
}

.particle-1 { left: 8%; bottom: 0; animation-delay: 0s; }
.particle-2 { left: 23%; bottom: 0; animation-delay: 2s; }
.particle-3 { left: 38%; bottom: 0; animation-delay: 4s; }
.particle-4 { left: 53%; bottom: 0; animation-delay: 6s; }
.particle-5 { left: 68%; bottom: 0; animation-delay: 8s; }
.particle-6 { left: 83%; bottom: 0; animation-delay: 10s; }
.particle-7 { left: 15%; bottom: 0; animation-delay: 12s; }
.particle-8 { left: 75%; bottom: 0; animation-delay: 14s; }
