/**
 * FounderDiscover.com Custom Styles & Podium Animations
 */

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

:root {
    --primary-50: #eef2ff;
    --primary-100: #e0e7ff;
    --primary-600: #4f46e5;
    --primary-700: #4338ca;
    --accent-emerald: #10b981;
    --accent-gold: #f59e0b;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================
 * TOP 10 PODIUM — 3D STAIRCASE STYLING (v2)
 * ========================================================== */

/* Right-side 3D face illusion on each bar */
.podium-bar-3d::after {
    content: '';
    position: absolute;
    top: 4px;
    right: -5px;
    bottom: 0;
    width: 6px;
    background: rgba(0,0,0,0.28);
    border-radius: 0 2px 2px 0;
    transform: skewY(0deg);
    pointer-events: none;
}

/* Left highlight for 3D depth */
.podium-bar-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: rgba(255,255,255,0.18);
    border-radius: 8px 0 0 0;
    pointer-events: none;
}

/* ==========================================================
 * COUNTRY FLAG ICONS (3x2 SVG - catamphetamine/country-flag-icons)
 * ========================================================== */
.country-flag-icon {
    display: inline-block;
    vertical-align: -0.1em;
    width: 16px;
    height: 11px;
    aspect-ratio: 3 / 2;
    border-radius: 2px;
    box-shadow: 0 0.5px 1.5px rgba(0, 0, 0, 0.18);
    object-fit: cover;
    flex-shrink: 0;
}

.flag-badge-pill {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #ffffff;
    border: 1.5px solid #ffffff;
    border-radius: 9999px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    z-index: 10;
}

.flag-badge-pill .country-flag-icon {
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    object-fit: cover;
    box-shadow: none;
}

.flag-badge-pill.flag-sm {
    width: 16px;
    height: 16px;
    bottom: -1px;
    right: -1px;
}

.flag-badge-pill.flag-md {
    width: 19px;
    height: 19px;
    bottom: -2px;
    right: -2px;
}

.flag-badge-pill.flag-lg {
    width: 24px;
    height: 24px;
    bottom: -2px;
    right: -2px;
    border-width: 2px;
}


.vertical-cta-panel {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    border-radius: 16px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px 14px;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vertical-cta-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -5px rgba(16, 185, 129, 0.5);
}

.vertical-cta-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ==========================================================
 * FOUNDER & PRODUCT HORIZONTAL CARDS
 * ========================================================== */

.founder-card {
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
}

.founder-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.upvote-btn {
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.upvote-btn:hover {
    transform: translateY(-2px);
}

.upvote-btn:active {
    transform: scale(0.92);
}

.upvote-btn.upvoted {
    background-color: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #4f46e5 !important;
}

/* Micro-badge glow */
.verified-glow {
    filter: drop-shadow(0 0 4px rgba(59, 130, 246, 0.5));
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
