body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: #c9d1d9;
    background: radial-gradient(circle at top left, rgba(240, 185, 11, 0.18), transparent 25%), radial-gradient(circle at bottom right, rgba(235, 116, 7, 0.12), transparent 20%), #020617;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.35;
    pointer-events: none;
    z-index: -2;
}

body::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 15%, rgba(240, 185, 11, 0.22), transparent 0.45rem), radial-gradient(circle at 80% 18%, rgba(64, 156, 255, 0.16), transparent 0.35rem), radial-gradient(circle at 65% 72%, rgba(46, 189, 133, 0.14), transparent 0.5rem);
    filter: blur(70px);
    opacity: 0.65;
    pointer-events: none;
    z-index: -3;
}

#background-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    pointer-events: none;
    z-index: -4;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 25%, rgba(2,6,23,0.48), transparent 28%), radial-gradient(circle at 80% 20%, rgba(2,6,23,0.48), transparent 18%), linear-gradient(180deg, rgba(2,6,23,0.35), rgba(2,6,23,0.55));
    pointer-events: none;
    z-index: -1;
}

.pulse-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 0 24px rgba(240, 185, 11, 0.8);
    background: #f0b90b;
    animation: pulse 2.8s ease-in-out infinite;
    opacity: 0.9;
    pointer-events: none;
}

.dot1 { top: 14%; left: 12%; }
.dot2 { top: 42%; right: 10%; animation-delay: 0.8s; background: #2ebd85; box-shadow: 0 0 28px rgba(46, 189, 133, 0.8); }
.dot3 { bottom: 18%; left: 24%; animation-delay: 1.4s; background: #3b82f6; box-shadow: 0 0 30px rgba(59, 130, 246, 0.8); }

@keyframes pulse {
    0%, 100% { transform: scale(0.85); opacity: 0.85; }
    50% { transform: scale(1.35); opacity: 1; }
}

/* Advisor Page Specific Styles */
.advisor-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    position: relative;
    z-index: 1;
}

.page-header {
    max-width: 760px;
    background: rgba(10, 14, 28, 0.7);
    border: 1px solid rgba(240, 185, 11, 0.18);
    border-radius: 22px;
    padding: 2rem 2.2rem;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(14px);
}

.page-header h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.page-header p {
    margin: 0;
    color: #c9d1d9;
    font-size: 1rem;
    line-height: 1.8;
}

.advisor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advisor-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.advisor-card:hover {
    transform: translateY(-8px);
    border-color: #f0b90b; /* Using the Binance Yellow as an accent */
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    overflow: hidden;
    position: relative;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.avatar.blue { background: #3b82f6; color: #fff; }
.avatar.green { background: #2ebd85; color: #fff; }
.avatar.yellow { background: #f0b90b; color: #000; }
.avatar.purple { background: #8b5cf6; color: #fff; }

.badge {
    font-size: 0.75rem;
    background: #21262d;
    padding: 4px 10px;
    border-radius: 20px;
    color: #8b949e;
}

.advisor-card h3 {
    margin: 0.5rem 0;
    font-size: 1.4rem;
}

.specialty {
    color: #f0b90b;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #8b949e;
    margin-bottom: 1rem;
}

.bio {
    font-size: 0.9rem;
    color: #c9d1d9;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.book-btn {
    width: 100%;
    background: transparent;
    border: 1px solid #f0b90b;
    color: #f0b90b;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.book-btn:hover {
    background: #f0b90b;
    color: #000;
}

.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.85);
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 1.5rem;
}

.modal-backdrop.open {
    display: flex;
}

.modal-card {
    width: min(520px, 100%);
    background: #0b1221;
    border: 1px solid rgba(240, 185, 11, 0.18);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.4);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 50%;
    color: #c9d1d9;
    font-size: 1.25rem;
    cursor: pointer;
}

.modal-card h2 {
    margin: 0 0 0.5rem;
    color: #fff;
}

.modal-card p {
    margin: 0 0 1.5rem;
    color: #8b949e;
}

.modal-card label {
    display: block;
    margin-bottom: 1rem;
    color: #c9d1d9;
    font-size: 0.95rem;
}

.modal-card input,
.modal-card textarea {
    width: 100%;
    border: 1px solid #30363d;
    border-radius: 12px;
    background: #0f1726;
    color: #fff;
    padding: 0.9rem 1rem;
    margin-top: 0.5rem;
    font: inherit;
}

.modal-card textarea {
    resize: vertical;
}

.confirmation {
    text-align: center;
    color: #c9d1d9;
}

.confirmation h3 {
    margin-top: 0;
    color: #f0b90b;
}

.confirmation p {
    margin: 0.75rem 0 0;
}
