/* ============================================
   GIROS MOTO - Racing Style Edition
   ============================================ */

:root {
    --primary-blue: #0A1B5E;
    --primary-yellow: #FFF100;
    --primary-red: #FF0000;
    --bg-dark: #030718;
    --text-white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 241, 0, 0.3);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ========== BACKGROUND LAYER ========== */
.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bg-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(3, 7, 24, 0.9) 0%,
        rgba(10, 27, 94, 0.75) 50%,
        rgba(3, 7, 24, 0.95) 100%
    ), url('background.png') center/cover no-repeat;
}

/* ORBES DE LUZ */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}
.orb-1 { width: 400px; height: 400px; background: var(--primary-blue); top: -100px; left: -100px; }
.orb-2 { width: 300px; height: 300px; background: var(--primary-yellow); bottom: -100px; right: -100px; }

/* ÍCONES FLUTUANTES */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    color: rgba(255, 241, 0, 0.1);
    opacity: 0;
    animation: floatMove 20s linear infinite;
}

.icon-1 { left: 10%; font-size: 40px; animation-delay: 0s; }
.icon-2 { left: 30%; font-size: 60px; animation-delay: 5s; animation-duration: 25s; }
.icon-3 { left: 50%; font-size: 35px; animation-delay: 2s; }
.icon-4 { left: 70%; font-size: 50px; animation-delay: 7s; animation-duration: 22s; }
.icon-5 { left: 90%; font-size: 25px; animation-delay: 4s; }
.icon-6 { left: 20%; font-size: 45px; animation-delay: 9s; animation-duration: 28s; }

@keyframes floatMove {
    0% { transform: translateY(110vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(-15vh) rotate(360deg); opacity: 0; }
}

/* ========== PAGE WRAPPER ========== */
.page-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 3rem 1rem;
}

.container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ========== PROFILE SECTION (LOGO) ========== */
.profile-section {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 1s ease-out;
}

.logo-outer-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatLogo 4s ease-in-out infinite;
}

.logo-container {
    position: relative;
    width: 170px;
    height: 170px;
    background: #ffffff; /* Fundo branco para o badge redondo */
    border-radius: 50%;
    padding: 10px;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 241, 0, 0.3), inset 0 0 15px rgba(0,0,0,0.1);
    border: 3px solid var(--primary-yellow);
    animation: logoPulse 3s ease-in-out infinite alternate;
}

@keyframes logoPulse {
    from { transform: scale(1); box-shadow: 0 0 20px rgba(255, 241, 0, 0.3); }
    to { transform: scale(1.05); box-shadow: 0 0 35px rgba(255, 241, 0, 0.5); }
}

.profile-logo {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Para não cortar o logo */
    border-radius: 50%;
}

/* ANÉIS DE CORRIDA (RACING RINGS) */
.racing-ring {
    position: absolute;
    top: -8px; left: -8px; right: -8px; bottom: -8px;
    border-radius: 50%;
    z-index: 1;
    background: conic-gradient(
        var(--primary-red) 0deg,
        #fff 45deg,
        var(--primary-blue) 90deg,
        var(--primary-yellow) 135deg,
        var(--primary-red) 180deg,
        #fff 225deg,
        var(--primary-blue) 270deg,
        var(--primary-yellow) 315deg,
        var(--primary-red) 360deg
    );
    animation: spinRing 3s linear infinite;
    filter: blur(1px);
}

.racing-ring.ring-2 {
    top: -15px; left: -15px; right: -15px; bottom: -15px;
    opacity: 0.6;
    animation: spinRingReverse 4s linear infinite;
    filter: blur(2px);
}

@keyframes spinRing {
    to { transform: rotate(360deg); }
}
@keyframes spinRingReverse {
    to { transform: rotate(-360deg); }
}
@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.brand-name {
    font-family: 'Russo One', sans-serif;
    font-size: 36px;
    color: var(--primary-yellow);
    text-shadow: 2px 2px 0px rgba(0,0,0,0.5), 0 0 15px rgba(255, 241, 0, 0.4);
    font-style: italic;
    letter-spacing: 1px;
    margin-bottom: 5px;
    transform: skewX(-5deg);
}

.brand-description {
    font-size: 14px;
    font-weight: 700;
    color: #e0e0e0;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* ========== SLOGAN SECTION ========== */
.slogan-section {
    width: 100%;
    margin-bottom: 35px;
    text-align: center;
    animation: fadeIn 1.5s ease-out 0.5s both;
}

.slogan-text {
    font-weight: 600;
    font-style: italic;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin: 10px 0;
    text-shadow: 0 0 10px rgba(255, 241, 0, 0.2);
}

.slogan-line {
    width: 60%;
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--primary-yellow), transparent);
    opacity: 0.5;
}

/* ========== LINKS CONTAINER ========== */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.link-btn {
    position: relative;
    display: block;
    width: 100%;
    padding: 1.2rem 2rem;
    text-decoration: none;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out both;
}

/* Cascata de entrada */
.link-btn:nth-child(1) { animation-delay: 0.1s; }
.link-btn:nth-child(2) { animation-delay: 0.2s; }
.link-btn:nth-child(3) { animation-delay: 0.3s; }
.link-btn:nth-child(4) { animation-delay: 0.4s; }
.link-btn:nth-child(5) { animation-delay: 0.5s; }

.btn-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
    color: var(--text-white);
    font-weight: 700;
    font-size: 18px;
}

.spin-icon {
    font-size: 24px;
    color: var(--primary-yellow);
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* HOVER EFFECTS */
.link-btn:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: var(--primary-yellow);
    background: rgba(10, 27, 94, 0.4);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 15px rgba(255, 241, 0, 0.2);
}

.link-btn:hover .spin-icon {
    transform: rotate(360deg) scale(1.2);
    color: #fff;
    text-shadow: 0 0 10px var(--primary-yellow);
}

.link-btn:hover .btn-content span {
    color: var(--primary-yellow);
}

/* SCANNING LIGHT (BTN-GLOW) */
.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 241, 0, 0.4), transparent);
    transform: skewX(-25deg);
    z-index: 1;
    transition: 0.5s;
}

.link-btn:hover .btn-glow {
    left: 200%;
    transition: 0.8s ease-in-out;
}

/* ========== FOOTER ========== */
footer {
    margin-top: 4rem;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    letter-spacing: 1px;
}

/* ========== KEYFRAMES ========== */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    to { opacity: 1; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 480px) {
    .brand-name { font-size: 28px; }
    .logo-outer-wrapper { width: 140px; height: 140px; }
    .logo-container { width: 120px; height: 120px; }
    .btn-content { font-size: 16px; }
    .link-btn { padding: 1rem 1.5rem; }
}
