/* ==========================================================================
   Bogotá Distrito Beyblade (BDB) - Main Stylesheet
   Author: Sebastián Ariza (https://sebastiandeveloper.website/)
   ========================================================================== */

:root {
    --bg-dark-1: #021a30;
    --bg-dark-2: #052441;
    --bg-dark-3: #030b14;
    --bg-glow: #0a4d7a;
    
    --accent-cyan: #00f0ff;
    --accent-cyan-glow: rgba(0, 240, 255, 0.4);
    --accent-blue: #0b7bb1;
    --accent-blue-hover: #1493d1;
    
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.78);
    --text-muted: #88a3ba;

    --insta-grad: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
    --insta-glow: rgba(221, 42, 123, 0.35);

    --whatsapp-grad: linear-gradient(135deg, #25d366, #128c7e);
    --whatsapp-glow: rgba(37, 211, 102, 0.35);

    --card-bg: rgba(6, 21, 38, 0.75);
    --card-border: rgba(0, 240, 255, 0.18);
    --card-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(0, 240, 255, 0.08);

    --font-heading: 'Outfit', 'Montserrat', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

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

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

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, var(--bg-glow) 0%, var(--bg-dark-2) 45%, var(--bg-dark-3) 100%);
    background-size: 200% 200%;
    animation: ambientShift 12s ease-in-out infinite alternate;
    position: relative;
    padding: 1.5rem;
}

@keyframes ambientShift {
    0% {
        background-position: 25% 25%;
    }
    50% {
        background-position: 75% 65%;
    }
    100% {
        background-position: 30% 80%;
    }
}

/* Pointer Light / Glow Effect */
#custom-cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    box-shadow: 0 0 10px var(--accent-cyan), 0 0 20px var(--accent-cyan);
    transition: width 0.2s, height 0.2s, opacity 0.2s;
}

#cursor-glow {
    position: fixed;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, rgba(11, 123, 177, 0.05) 45%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Layout & Main Card */
.main-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 520px;
    display: flex;
    justify-content: center;
}

.content-card {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 28px;
    box-shadow: var(--card-shadow);
    padding: 3rem 2.2rem 2.6rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0.7;
}

/* Central BDB Logo */
.logo-wrapper {
    position: relative;
    width: 190px;
    height: 190px;
    margin: 0 auto 1.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.35) 0%, rgba(11, 123, 177, 0.15) 55%, transparent 75%);
    filter: blur(14px);
    z-index: 1;
    animation: pulseGlow 3.5s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.94);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.bdb-logo {
    position: relative;
    z-index: 2;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 240, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 240, 255, 0.25);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.content-card:hover .bdb-logo {
    transform: scale(1.03) rotate(1deg);
    border-color: var(--accent-cyan);
}

/* Brand Text */
.brand-text-group {
    margin-bottom: 2.2rem;
}

.brand-badge {
    display: inline-block;
    padding: 0.28rem 0.85rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    color: var(--accent-cyan);
    margin-bottom: 0.9rem;
    text-transform: uppercase;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.brand-subtitle {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 400px;
    margin: 0 auto;
}

/* Action Buttons */
.action-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.95rem 1.6rem;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* 1. Calendar Button */
.btn-calendar {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #03527e 100%);
    color: #ffffff;
    border: 1px solid rgba(0, 240, 255, 0.4);
    box-shadow: 0 10px 25px rgba(11, 123, 177, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-calendar:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--accent-blue-hover) 0%, #066fa6 100%);
    border-color: var(--accent-cyan);
    box-shadow: 0 14px 32px rgba(0, 240, 255, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.btn-calendar:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(11, 123, 177, 0.3);
}

/* 2. WhatsApp Button */
.btn-whatsapp {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: var(--whatsapp-grad);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.btn-whatsapp svg,
.btn-whatsapp span {
    position: relative;
    z-index: 2;
    transition: transform 0.2s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 211, 102, 0.6);
    box-shadow: 0 12px 30px var(--whatsapp-glow);
    color: #ffffff;
}

.btn-whatsapp:hover::before {
    opacity: 1;
}

.btn-whatsapp:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.3);
}

/* 3. Instagram Button */
.btn-instagram {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-instagram::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: var(--insta-grad);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.btn-instagram svg,
.btn-instagram span {
    position: relative;
    z-index: 2;
    transition: transform 0.2s ease;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    border-color: rgba(221, 42, 123, 0.6);
    box-shadow: 0 12px 30px var(--insta-glow);
    color: #ffffff;
}

.btn-instagram:hover::before {
    opacity: 1;
}

.btn-instagram:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(221, 42, 123, 0.3);
}

/* Responsive adjustments */
@media (min-width: 480px) {
    .action-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .btn-calendar {
        grid-column: 1 / -1;
    }
}

@media (max-width: 420px) {
    .content-card {
        padding: 2.2rem 1.4rem 2rem;
        border-radius: 22px;
    }
    .logo-wrapper {
        width: 160px;
        height: 160px;
        margin-bottom: 1.4rem;
    }
    .bdb-logo {
        width: 150px;
        height: 150px;
    }
    .brand-title {
        font-size: 1.55rem;
    }
    .brand-subtitle {
        font-size: 0.85rem;
    }
}
