/* ==========================================
   FameThink - Ultra Premium Modern Style
   Color Palette:
   - Gold: #b8860b (184,134,11)
   - Dark Gold: #8a6408 (138,100,8)
   - Darker Gold: #5c4305 (92,67,5)
   - Almost Black: #2e2103 (46,33,3)
   - Black: #000000 (0,0,0)
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

:root {
    --gold: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #b8860b;
    --darker-gold: #8b7355;
    --almost-black: #0a0a0a;
    --black: #000000;
    --text-light: #ffffff;
    --text-secondary: #b8b8b8;
    --text-dim: #808080;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(212, 175, 55, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, rgba(10, 10, 10, 1) 50%),
                radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.05) 0%, rgba(10, 10, 10, 1) 50%),
                var(--black);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(212, 175, 55, 0.03) 0px,
            transparent 1px,
            transparent 2px,
            rgba(212, 175, 55, 0.03) 3px
        );
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

/* ==========================================
   Navigation - Ultra Modern Glassmorphism
   ========================================== */
.navbar {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.2rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    padding: 0.8rem 0;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.15);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.5px;
}

.navbar-brand:hover {
    transform: scale(1.03);
    filter: brightness(1.2);
}

.logo-container {
    height: 40px;
    width: 40px;
    overflow: hidden;
}

.brand-logo {
    height: 90px;
    margin-left: -18px;
    margin-top: -20px;
    width: auto;
    margin-right: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
}

.navbar-brand:hover .brand-logo {
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.5));
    transform: scale(1.05);
}

.brand-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rotate-glow 3s ease-in-out infinite;
}

@keyframes rotate-glow {
    0%, 100% { 
        transform: rotate(0deg) scale(1);
        filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
    }
    50% { 
        transform: rotate(180deg) scale(1.1);
        filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.8));
    }
}

.brand-name {
    letter-spacing: 0.5px;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: var(--black) !important;
    padding: 0.7rem 2rem !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ==========================================
   Split Screen Layout - Premium Edition
   ========================================== */
.split-container {
    display: flex;
    height: 100vh;
    padding-top: 85px;
    position: relative;
    z-index: 2;
}

.left-section {
    flex: 1;
    background: linear-gradient(135deg, 
                rgba(10, 10, 10, 0.95) 0%, 
                rgba(20, 20, 20, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    border-right: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.left-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
                rgba(212, 175, 55, 0.08) 0%, 
                transparent 50%);
    animation: rotate-gradient 20s linear infinite;
}

@keyframes rotate-gradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.left-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(212, 175, 55, 0.03) 49%, rgba(212, 175, 55, 0.03) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(212, 175, 55, 0.03) 49%, rgba(212, 175, 55, 0.03) 51%, transparent 52%);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

.left-content {
    max-width: 650px;
    z-index: 1;
    position: relative;
    border-top-width: 0px;
    border-top-style: solid;
    margin-top: 220px;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -2px;
}

.gold-text {
    background: linear-gradient(135deg, 
                var(--gold-light) 0%, 
                var(--gold) 50%, 
                var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.gold-text::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
                transparent 0%, 
                var(--gold) 50%, 
                transparent 100%);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

.questions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.question-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.question-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(212, 175, 55, 0.1), 
                transparent);
    transition: left 0.6s;
}

.question-item:hover::before {
    left: 100%;
}

.question-item:nth-child(1) { animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s backwards; }
.question-item:nth-child(2) { animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards; }
.question-item:nth-child(3) { animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s backwards; }
.question-item:nth-child(4) { animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s backwards; }
.question-item:nth-child(5) { animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s backwards; }
.question-item:nth-child(6) { animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s backwards; }

.question-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.question-item i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 45px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.question-item:hover i {
    transform: scale(1.2) rotate(5deg);
}

.question-item span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.3px;
}

.right-section {
    flex: 1;
    background: linear-gradient(135deg, 
                rgba(20, 20, 20, 0.9) 0%, 
                rgba(10, 10, 10, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.right-section::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, 
                rgba(212, 175, 55, 0.15) 0%, 
                transparent 70%);
    filter: blur(60px);
    animation: float-blur 8s ease-in-out infinite;
}

@keyframes float-blur {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -30px) scale(1.1); }
}

.right-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, 
                rgba(212, 175, 55, 0.1) 0%, 
                transparent 70%);
    filter: blur(80px);
    animation: float-blur 10s ease-in-out infinite reverse;
}

.floating-profiles {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating Profile Circles - Ultra Premium */
.profile-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--gold);
    overflow: visible;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                border-color 0.3s ease, 
                box-shadow 0.3s ease,
                border-width 0.3s ease;
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.3),
                inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: float-gentle 6s ease-in-out infinite;
    background: var(--black);
    will-change: transform;
}

.profile-circle-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.profile-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(212, 175, 55, 0.3),
        transparent 30%
    );
    animation: rotate-border 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
    z-index: -1;
}

.profile-circle:hover::before {
    opacity: 1;
}

@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.profile-circle:hover {
    border-width: 3px;
    border-color: var(--gold-light);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.4),
                0 0 40px rgba(212, 175, 55, 0.2);
    z-index: 100 !important;
}

.profile-circle:hover .profile-circle-inner {
    transform: scale(1.08);
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: grayscale(20%);
}

.profile-circle:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1.1);
}

/* Info tooltip - Premium Glass */
.profile-info-tooltip {
    position: absolute;
    bottom: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--gold);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    min-width: 200px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease, 
                transform 0.3s ease;
    pointer-events: none;
    z-index: 300;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8),
                0 0 40px rgba(212, 175, 55, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.profile-circle:hover .profile-info-tooltip {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.profile-info-tooltip .name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.profile-info-tooltip .profession {
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Different sizes for profiles */
.profile-circle.large {
    width: 200px;
    height: 200px;
}

.profile-circle.medium {
    width: 160px;
    height: 160px;
}

.profile-circle.small {
    width: 120px;
    height: 120px;
}

/* Floating animation */
@keyframes float-gentle {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    50% {
        transform: translateY(-8px) rotate(-2deg);
    }
    75% {
        transform: translateY(-20px) rotate(1deg);
    }
}

.profile-circle:nth-child(even) {
    animation: float-gentle 7s ease-in-out infinite;
    animation-delay: -2s;
}

.profile-circle:nth-child(3n) {
    animation: float-gentle 8s ease-in-out infinite;
    animation-delay: -4s;
}

/* Fade in animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================
   Responsive Design - Premium Edition
   ========================================== */
@media (max-width: 1200px) {
    .main-title {
        font-size: 4rem;
    }
    
    .profile-circle.large {
        width: 170px;
        height: 170px;
    }
    
    .profile-circle.medium {
        width: 140px;
        height: 140px;
    }
    
    .profile-circle.small {
        width: 110px;
        height: 110px;
    }
}

@media (max-width: 992px) {
    .split-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .left-section,
    .right-section {
        flex: none;
        min-height: 50vh;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .right-section {
        border-bottom: none;
    }
    
    .main-title {
        font-size: 3.5rem;
    }
    
    .questions-list {
        gap: 0.8rem;
    }
    
    .question-item {
        padding: 1.2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.8rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .question-item {
        gap: 1rem;
        padding: 1rem 1.3rem;
    }
    
    .question-item i {
        font-size: 1.6rem;
    }
    
    .question-item span {
        font-size: 1rem;
    }
    
    .profile-circle.large {
        width: 140px;
        height: 140px;
    }
    
    .profile-circle.medium {
        width: 120px;
        height: 120px;
    }
    
    .profile-circle.small {
        width: 90px;
        height: 90px;
    }
    
    .left-section,
    .right-section {
        padding: 2.5rem 1.5rem;
    }
    
    .profile-info-tooltip {
        min-width: 180px;
        padding: 0.9rem 1.3rem;
    }
    
    .profile-info-tooltip .name {
        font-size: 1.1rem;
    }
    
    .profile-info-tooltip .profession {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .split-container {
        padding-top: 75px;
    }
    
    .main-title {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .question-item {
        padding: 1rem;
    }
    
    .profile-info-tooltip {
        min-width: 160px;
        padding: 0.8rem 1.2rem;
    }
    
    .profile-info-tooltip .name {
        font-size: 1rem;
    }
    
    .profile-info-tooltip .profession {
        font-size: 0.85rem;
    }
    
    .navbar {
        padding: 0.8rem 0;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .btn-gold {
        padding: 0.6rem 1.5rem !important;
        font-size: 0.9rem;
    }
    
    .profile-circle.large {
        width: 110px;
        height: 110px;
    }
    
    .profile-circle.medium {
        width: 90px;
        height: 90px;
    }
    
    .profile-circle.small {
        width: 70px;
        height: 70px;
    }
}

/* ==========================================
   Premium Loading State
   ========================================== */
@keyframes shimmer-load {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.02) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.02) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer-load 2s infinite;
}

/* Console welcome message styling (invisible but fun) */

