/* ==========================================
   SPOTIK Mini App - Styles
   Light Theme (Default) & Dark Theme
   ========================================== */

/* Hanson Bold Font */
@font-face {
    font-family: 'Hanson';
    src: url('hanson-bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Futurica ExtraBlack Font */
@font-face {
    font-family: 'Futurica';
    src: url('a_FuturicaExtraBlack.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    /* Улучшенный рендеринг шрифтов */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

:root {
    /* Light Theme Colors */
    --bg-gradient-1: #FFF0F5;
    --bg-gradient-2: #FFE4EC;
    --bg-gradient-3: #F8E1F4;
    
    --primary: #FF6B9D;
    --primary-light: #FF8FB8;
    --primary-dark: #E84A7F;
    
    --accent: #FFB6C1;
    --accent-2: #DDA0DD;
    
    --card-bg: rgba(255, 255, 255, 0.75);
    --card-border: rgba(255, 182, 193, 0.3);
    --card-shadow: rgba(255, 107, 157, 0.15);
    
    --text-primary: #2D2D3A;
    --text-secondary: #6B6B80;
    --text-muted: #9999AA;
    
    --success: #4ADE80;
    --warning: #FBBF24;
    
    /* Sizes */
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-full: 50%;
}

/* Dark Theme */
.dark-theme {
    --bg-gradient-1: #121218;
    --bg-gradient-2: #1a1a24;
    --bg-gradient-3: #15151d;
    
    --primary: #A78BFA;
    --primary-light: #C4B5FD;
    --primary-dark: #8B5CF6;
    
    --accent: #DDD6FE;
    --accent-2: #A78BFA;
    
    --card-bg: rgba(26, 26, 36, 0.9);
    --card-border: rgba(167, 139, 250, 0.15);
    --card-shadow: rgba(0, 0, 0, 0.3);
    
    --text-primary: #E8E4F0;
    --text-secondary: #B8A8D0;
    --text-muted: #7A6B8A;
}

/* ==========================================
   Base Styles
   ========================================== */

html, body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 50%, var(--bg-gradient-3) 100%);
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background 0.5s ease;
}

/* 3D Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Mascot */
.mascot {
    position: fixed;
    bottom: 100px;
    right: -30px;
    width: 150px;
    height: 150px;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    display: none;
    transition: opacity 0.3s, transform 0.5s;
}

.mascot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Glass Effect */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 32px var(--card-shadow);
    transition: all 0.3s ease;
}

/* App Container */
.app {
    position: relative;
    z-index: 10;
    max-width: 480px;
    margin: 0 auto;
    padding: 16px;
    padding-bottom: 120px;
    min-height: 100vh;
}

/* ==========================================
   Header
   ========================================== */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo {
    font-family: 'Hanson', 'Comfortaa', sans-serif;
    font-size: 26px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    text-transform: uppercase;
}

/* Theme Toggle Switch */
.theme-switch {
    position: relative;
    width: 70px;
    height: 34px;
    cursor: pointer;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-switch .slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 34px;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px var(--card-shadow);
}

.theme-switch .slider::before {
    content: '';
    position: absolute;
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 3px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    transition: transform 0.4s ease;
    z-index: 2;
}

.theme-switch input:checked + .slider::before {
    transform: translateX(36px);
}

.theme-switch .icon {
    font-size: 14px;
    z-index: 1;
    transition: opacity 0.3s;
}

.theme-switch .light-icon {
    opacity: 1;
}

.theme-switch .dark-icon {
    opacity: 0.4;
}

.dark-theme .theme-switch .light-icon {
    opacity: 0.4;
}

.dark-theme .theme-switch .dark-icon {
    opacity: 1;
}

/* ==========================================
   Navigation
   ========================================== */

.nav {
    display: flex;
    gap: 8px;
    padding: 8px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    margin-bottom: 12px;
}

.nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 8px;
    border: none;
    background: transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.nav-btn svg {
    width: 22px;
    height: 22px;
}

.nav-btn span {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-btn:hover {
    color: var(--primary);
    background: rgba(255, 107, 157, 0.1);
}

.nav-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.4);
}

.dark-theme .nav-btn.active {
    box-shadow: 0 4px 20px rgba(157, 78, 221, 0.4);
}

/* ==========================================
   Content & Tabs
   ========================================== */

.tab-content {
    display: none;
    animation: fadeSlide 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   Profile Card
   ========================================== */

.profile-card {
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    margin-bottom: 16px;
}

.profile-avatar-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 8px 25px var(--card-shadow);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    color: white;
    opacity: 0.8;
}

.avatar-placeholder svg {
    width: 50px;
    height: 50px;
}

.profile-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    border: 3px solid white;
}

.profile-status.online {
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
}

.profile-name {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-age {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.profile-city {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.profile-bio {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    padding: 12px;
    background: rgba(255, 107, 157, 0.08);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    min-height: 20px;
}

.profile-bio:empty {
    display: none;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.stat-box {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Hanson', 'Comfortaa', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: 1px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    background: var(--card-border);
}

/* ==========================================
   Section & Likes
   ========================================== */

.section {
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.badge {
    font-family: 'Hanson', 'Comfortaa', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    background: var(--primary);
    color: white;
    border-radius: 20px;
}

/* Likes Preview - показываем только 3 */
.likes-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.likes-empty {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.like-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.12) 0%, rgba(255, 154, 158, 0.08) 100%);
    border: 2px solid rgba(255, 107, 157, 0.25);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.1);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.dark-theme .like-item {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 2px solid rgba(167, 139, 250, 0.25);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
}

.like-item:hover, .like-item:active {
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.2);
}

.dark-theme .like-item:hover, .dark-theme .like-item:active {
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.2);
}

.like-avatar {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: 700;
    border: 3px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
    overflow: hidden;
}

.like-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dark-theme .like-avatar {
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.like-info {
    flex: 1;
}

.like-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
}

.like-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.like-arrow {
    color: var(--text-muted);
    font-size: 18px;
    transition: transform 0.3s;
}

.like-item:hover .like-arrow {
    transform: translateX(4px);
    color: var(--primary);
}

/* Show All Button */
.btn-show-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    margin-top: 12px;
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Futurica', 'Comfortaa', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-show-all svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}

.btn-show-all:hover {
    background: var(--primary);
    color: white;
}

.btn-show-all.expanded svg {
    transform: rotate(180deg);
}

/* Full Likes List */
.likes-full-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.likes-full-list.expanded {
    max-height: 1000px;
}

/* Like Modal */
.like-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.like-modal.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.like-modal-content {
    width: 100%;
    max-width: 340px;
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--primary);
    color: white;
}

.modal-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    border: 4px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 24px rgba(255, 107, 157, 0.3);
    overflow: hidden;
}

.modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-name {
    font-family: 'Futurica', 'Comfortaa', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.modal-age {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.modal-bio {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
    padding: 0 10px;
}

.modal-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.modal-matched {
    padding: 16px;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(34, 197, 94, 0.1) 100%);
    border: 2px solid rgba(74, 222, 128, 0.3);
    border-radius: var(--radius-md);
}

.matched-text {
    font-size: 16px;
    font-weight: 700;
    color: #22C55E;
    margin-bottom: 12px;
}

.btn-write {
    display: inline-block;
    padding: 12px 24px;
    background: #22C55E;
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-family: 'Futurica', 'Comfortaa', sans-serif;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-write:hover {
    background: #16A34A;
    transform: scale(1.02);
}

/* Not Matched Block */
.modal-not-matched {
    padding: 16px;
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.15) 0%, rgba(107, 114, 128, 0.1) 100%);
    border: 2px solid rgba(156, 163, 175, 0.3);
    border-radius: var(--radius-md);
    text-align: center;
}

.not-matched-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.not-matched-hint {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================
   Top / Podium
   ========================================== */

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.title-icon {
    font-size: 28px;
}

.section-title h2 {
    font-size: 22px;
    font-weight: 800;
}

.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    padding: 24px 16px;
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
}

.podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.3);
    min-width: 90px;
    transition: all 0.3s ease;
}

.dark-theme .podium-item {
    background: rgba(255, 255, 255, 0.05);
}

.podium-item.first {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 183, 77, 0.3) 100%);
    order: 2;
}

.podium-item.second {
    order: 1;
}

.podium-item.third {
    order: 3;
}

.podium-avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.podium-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-full);
}

.podium-avatar .avatar-emoji {
    font-size: 28px;
}

.podium-crown {
    font-size: 24px;
    position: absolute;
    top: -10px;
    right: -5px;
    z-index: 2;
}

.podium-name {
    font-weight: 700;
    font-size: 13px;
    color: var(--text-primary);
    text-align: center;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.podium-likes {
    font-family: 'Hanson', 'Comfortaa', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* Leaderboard */
.leaderboard-toggle {
    text-align: center;
    margin-bottom: 16px;
}

.btn-expand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.btn-expand svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-expand.expanded svg {
    transform: rotate(180deg);
}

.leaderboard {
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.leaderboard.collapsed {
    max-height: 0;
}

.leaderboard.expanded {
    max-height: 1000px;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--card-border);
}

.leaderboard-pos {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
}

.leaderboard-info {
    flex: 1;
}

.leaderboard-name {
    font-weight: 700;
    font-size: 14px;
}

.leaderboard-likes {
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================
   Stats
   ========================================== */

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.stats-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border-radius: var(--radius-lg);
}

.stats-icon {
    font-size: 32px;
}

.stats-value {
    display: block;
    font-family: 'Hanson', 'Comfortaa', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}

.stats-desc {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.gender-stats {
    padding: 20px;
    border-radius: var(--radius-lg);
}

.gender-stats h4 {
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.gender-bar {
    display: flex;
    height: 40px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gender-male {
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 13px;
    transition: width 0.5s ease;
}

.gender-female {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 13px;
    transition: width 0.5s ease;
}

/* ==========================================
   About
   ========================================== */

.about-hero {
    text-align: center;
    padding: 10px 0 20px;
}

.about-mascot {
    width: 180px;
    height: 180px;
    margin: 0 auto -30px;
    position: relative;
    z-index: 2;
}

.about-mascot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(255, 107, 157, 0.3));
}

.dark-theme .about-mascot img {
    filter: drop-shadow(0 10px 25px rgba(167, 139, 250, 0.25));
}

.about-logo {
    font-family: 'Hanson', 'Comfortaa', sans-serif;
    font-size: 38px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.about-tagline {
    font-size: 14px;
    color: var(--text-secondary);
}

.about-card {
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
}

.about-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.about-card p:last-child {
    margin-bottom: 0;
}

.highlight {
    color: var(--primary);
    font-weight: 700;
}

.about-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.about-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 107, 157, 0.1);
    border-radius: var(--radius-md);
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.about-step span:last-child {
    font-size: 13px;
    font-weight: 600;
}

.about-socials {
    text-align: center;
    margin-top: 20px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--card-shadow);
}

/* ==========================================
   Footer
   ========================================== */

.footer {
    text-align: center;
    padding: 30px 0 20px;
    margin-top: 20px;
}

.footer p {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.footer-sub {
    font-size: 10px !important;
    opacity: 0.7;
    margin-top: 4px;
}

/* ==========================================
   Dark Theme Spiders Animation
   ========================================== */

.dark-theme #bg-canvas {
    opacity: 0.8;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 380px) {
    .app {
        padding: 12px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .profile-name {
        font-size: 22px;
    }
    
    .podium-item {
        min-width: 75px;
        padding: 12px 8px;
    }
    
    .about-steps {
        grid-template-columns: 1fr;
    }
}
