/* ==========================================================================
   Beybursters - Main Stylesheet
   Developed by: Sebastián Ariza (https://sebastiandeveloper.website/)
   ========================================================================== */

:root {
    --bg-color-1: #022845;
    --bg-color-2: #0b7bb1;
    --bg-color-3: #032a45;
    --bg-color-4: #0a5c8f;
    --accent: #0b7bb1;
    --accent-glow: rgba(11, 123, 177, 0.4);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: var(--font-family);
    color: var(--text-primary);
    overflow: hidden;
    background-color: var(--bg-color-1);
}

/* Background Radial Gradient with Circular Motion (Darker Tones) */
body {
    background: radial-gradient(circle at center, var(--bg-color-4) 0%, var(--bg-color-1) 55%, var(--bg-color-3) 100%);
    background-size: 220% 220%;
    background-position: center;
    animation: circularGradientShift 8s ease-in-out infinite alternate;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

@keyframes circularGradientShift {
    0% {
        background-size: 170% 170%;
        background-position: 35% 35%;
    }
    50% {
        background-size: 250% 250%;
        background-position: 65% 65%;
    }
    100% {
        background-size: 200% 200%;
        background-position: 40% 70%;
    }
}

/* Custom Pointer Light Effect (Spotlight & Custom Cursor) */
#custom-cursor {
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.9), 0 0 20px var(--accent);
    transition: transform 0.1s ease, width 0.25s ease, height 0.25s ease, background-color 0.25s ease;
}

#custom-cursor.hovered {
    width: 52px;
    height: 52px;
    background-color: rgba(11, 123, 177, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

#cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 123, 177, 0.35) 0%, rgba(10, 92, 143, 0.15) 45%, rgba(2, 40, 69, 0) 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
    transition: width 0.3s ease, height 0.3s ease;
}

/* Apply Custom Cursor on Fine Pointer Devices */
@media (hover: hover) and (pointer: fine) {
    body {
        cursor: none;
    }
    a, button, img, .main-container, h1, .loader-wrapper {
        cursor: none !important;
    }
}

/* Disable Custom Cursor on Mobile / Touch */
@media (max-width: 1024px) {
    #custom-cursor, #cursor-glow {
        display: none !important;
    }
    body {
        cursor: auto !important;
    }
}

/* Main Container Centered Layout */
.main-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem;
    max-width: 600px;
    width: 90%;
}

/* Clean Content Card Wrapper */
.content-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 1rem;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.content-card:hover {
    transform: translateY(-4px);
}

/* Logo Styling */
.logo-wrapper {
    position: relative;
    width: 190px;
    height: 190px;
    margin-bottom: 2rem;
    border-radius: 100%;
    padding: 4px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(11, 123, 177, 0.2));
    box-shadow: 0 10px 30px rgba(2, 40, 69, 0.6), 0 0 40px var(--accent-glow);
    animation: floatLogo 6s ease-in-out infinite;
}

.logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100%;
    display: block;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Title h1 */
h1.brand-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-shadow: 0 4px 18px rgba(2, 40, 69, 0.8), 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Loader 'Coming soon...' */
.loader-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.dots {
    display: inline-flex;
    margin-left: 2px;
}

.dots span {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    animation: dotPulse 1.4s infinite ease-in-out both;
}

.dots span:nth-child(1) {
    animation-delay: 0s;
}

.dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%, 80%, 100% {
        opacity: 0.15;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateY(-4px);
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .content-card {
        padding: 2.5rem 1.5rem;
    }
    .logo-wrapper {
        width: 150px;
        height: 150px;
        margin-bottom: 1.5rem;
    }
    h1.brand-title {
        font-size: 2.25rem;
        letter-spacing: 1px;
    }
    .loader-wrapper {
        font-size: 1.1rem;
    }
}
