@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

:root {
    --primary-blue: #0098EA;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.2);
    --glass-shadow: rgba(0, 0, 0, 0.2);
}

body {
    background-color: #000;
    color: #FFF;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding-bottom: 100px;
}

.bg_svg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* HEADER */
.profile_header {
    display: flex;
    gap: 20px;
    padding: 20px 20px 10px 20px;
    align-items: baseline;
}
.ph_tab { font-size: 28px; font-weight: 900; text-transform: uppercase; cursor: pointer; text-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.ph_tab.active { color: #fff; }
.ph_tab.inactive { color: rgba(255, 255, 255, 0.4); }

/* --- STATS BOX (LIQUID GLASS) --- */
.stats_box {
    display: flex;
    /* Эффект стекла */
    background: rgba(20, 20, 20, 0.4); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); /* Для iPhone */
    border: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-highlight); /* Блик сверху */
    box-shadow: 0 4px 20px var(--glass-shadow);
    
    border-radius: 24px;
    margin: 0 20px 20px 20px;
    padding: 12px 20px;
    justify-content: center;
    gap: 20px;
    width: fit-content;
}

.stat_item { font-weight: 900; font-size: 16px; display: flex; align-items: center; gap: 5px; }
.val_ton { 
    color: var(--primary-blue); font-size: 20px; 
    text-shadow: 0 0 10px rgba(0, 152, 234, 0.5); /* Неоновое свечение */
}
.val_gifts { 
    color: #fff; font-size: 14px; 
    background: rgba(255, 255, 255, 0.1); /* Легкая подложка */
    padding: 4px 8px; border-radius: 8px; 
    border-bottom: 2px solid #bd2d2d; 
}

/* --- BUTTONS (LIQUID GLASS) --- */
.action_buttons { display: flex; gap: 12px; margin: 0 20px 20px 20px; }

.btn { 
    flex: 1; 
    border: none; 
    padding: 16px; 
    border-radius: 20px; 
    font-weight: 700; 
    font-size: 16px; 
    cursor: pointer; 
    position: relative;
    overflow: hidden;
    transition: transform 0.1s;
    color: white;
}

.btn:active {
    transform: scale(0.98);
}

/* Кнопка "Select" - Темное стекло */
.btn_dark { 
    background: rgba(255, 255, 255, 0.05); /* Почти прозрачная */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Блик сверху */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Кнопка "Withdraw" - Цветное стекло (Liquid Blue) */
.btn_blue { 
    /* Градиент с прозрачностью */
    background: linear-gradient(135deg, rgba(0, 152, 234, 0.8), rgba(0, 152, 234, 0.4));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 152, 234, 0.4), inset 0 0 10px rgba(255,255,255,0.1);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* GIFTS GRID */
.gifts_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 20px; }

.gift_card { 
    /* Тоже стекло, но темное */
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px; 
    overflow: hidden; 
}

.gift_img_wrapper { 
    background: radial-gradient(circle, #d4af84 0%, #a88256 100%); /* Более мягкий градиент */
    height: 80px; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 40px; 
    position: relative; 
    box-shadow: inset 0 -5px 10px rgba(0,0,0,0.1);
}

.plus_icon { 
    position: absolute; top: 8px; right: 8px; 
    width: 22px; height: 22px; 
    background: rgba(255,255,255,0.9); 
    border-radius: 50%; 
    color: #000; font-size: 16px; font-weight: bold; 
    display: flex; align-items: center; justify-content: center; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.gift_info { padding: 10px 5px; text-align: center; }
.g_name { font-size: 11px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.g_id { font-size: 9px; color: rgba(255,255,255,0.5); margin-bottom: 6px; }
.g_price { 
    font-size: 12px; font-weight: 900; color: var(--primary-blue); 
    text-shadow: 0 0 8px rgba(0, 152, 234, 0.3);
}

/* NAVBAR (GLASS) */
.navbar {
    position: fixed; bottom: 0; left: 0; right: 0;
    height: 86px;
    
    /* Стеклянный навбар */
    background: rgba(15, 15, 15, 0.6); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    
    border-top-left-radius: 30px; border-top-right-radius: 30px;
    display: flex; justify-content: space-around; align-items: center;
    padding-bottom: 10px; 
    z-index: 100;
}

.nav_item {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    opacity: 0.5; transition: 0.2s; cursor: pointer; color: white;
}
.nav_item.active { opacity: 1; color: var(--primary-blue); transform: translateY(-3px); filter: drop-shadow(0 0 5px rgba(0,152,234,0.5)); }
.nav_item span { font-size: 10px; font-weight: 600; }
.view { display: none; }
.view.active { display: block; animation: fadeIn 0.3s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- PLACEHOLDER (Not Implemented) --- */
.glass_placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    /* Стеклянный стиль */
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-highlight);
    box-shadow: 0 10px 30px var(--glass-shadow);
    
    border-radius: 32px;
    margin: 40px 20px;
    padding: 40px 20px;
    min-height: 300px;
}

.ph_icon {
    font-size: 64px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
    animation: float 3s ease-in-out infinite;
}

.ph_title {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.ph_desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* Легкая анимация парения иконки */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
