*{
    zoom:1.02;
}
@font-face {
    font-family: "GG Sans";
    src: url("images/fonts/gg sans Normal.ttf") format("truetype");
    font-weight: 400;
}
body {
    background: url("images/bg.png");
    font-family: "GG Sans", sans-serif;
    display: flex;
    justify-content: center;
    padding: 40px;
    color: white;
}

.profile-card {
    width: 420px;
    background: black;
    border: 2px solid #404040;
    border-radius: 20px;
    overflow: visible;
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.banner {
    height: 140px;
    background: url("images/bannerdavid.gif") center/cover no-repeat;
    filter: brightness(0.6);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.avatar {
    position: absolute;
    top: 80px;
    left: 20px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 6px solid black;
}

.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.username {
    margin-top: 40px;
    font-size: 26px;
    font-weight: 700;
    padding-left: 20px;
}

.tag {
    padding-left: 20px;
    font-size: 14px;
    opacity: 0.7;
}

.badges {
    padding: 10px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.badge-link {
    text-decoration: none;
    display: inline-block;
}
.badge img{
    width: 25px;
    height: 25px;
}
.badgep {
    width: 25px;
    height: 20px;
}
.badgep1 {
    width: 20px;
    height: 20px;
}
.badgep2 {
    width: 13px;
    height: 10px;
}
.badge {
    width:25px;
    height:25px;
    font-size: 20px;
    position: relative;
    display: inline-block;
    transition: transform 0.2s ease;
}

.badge:hover {
    transform: scale(1.1);
}

.button-container {
    position: relative;
    margin: 10px 20px;
}

.friend-btn {
    padding: 10px 15px;
    width: 100%;
    background: #151515;
    border: 1px solid #202020;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    cursor: pointer;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.friend-btn:hover {
    background: #1a1a1a;
    border-color: #757575;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(117, 117, 117, 0.3);
}

.friend-btn:active {
    transform: translateY(0) scale(0.98);
    background: #757575;
    transition: all 0.1s ease;
}

.friend-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(117, 117, 117, 0.1), transparent);
    transition: left 0.6s;
}

.friend-btn:hover::before {
    left: 100%;
}

.section {
    padding: 10px 20px;
}

.section h3 {
    font-family: "GG Sans", sans-serif;
    font-size: 14px;
    opacity: 0.6;
    margin-bottom: 5px;
}
.lsoo4 {
    opacity: 0.9;
    margin-bottom: -10px;
    font-size: 15px;
}
.roles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.role {
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid gray;
    font-size: 13px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.purple { background: #6d28d9; }
.white { background: #1E90FF; }
.black{ background: #131313; }
.blue{ background: #4169E1; }

p{
    display: flex;
    align-items: center;
}
a{
    color: white;
   text-decoration: none;
}
.tooltip {
    visibility: hidden;
    opacity: 0;
    width: 100px;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 8px;
    border-radius: 15px;
    font-size: 15px;
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s;
    pointer-events: none;
}

.badge:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.role:hover {
    border-color: #757575;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(117, 117, 117, 0.3);
}

.role:active {
    transform: translateY(0) scale(0.98);
    transition: all 0.1s ease;
}

.role::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(117, 117, 117, 0.1), transparent);
    transition: left 0.6s;
}

.role:hover::before {
    left: 100%;
}

.status{
    background: black;
    border-radius: 50%;
    width: 20px;
    height: 20px;
}
.znak{
    width: 20px;
    height: 20px;
    position: absolute;
    left: 85px;
    top: 140px;
    border: 6px solid black;
    border-radius: 50%;
}

/* ==================== MINI SLOT POPUP ==================== */

.slot-popup {
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    z-index: 200;
    display: none;
    opacity: 0;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.slot-popup.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.slot-machine {
    width: 240px;
    background: #111214;
    border: 2px solid #3a3a3a;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.55);
    overflow: hidden;
}

.slot-window {
    position: relative;
    padding: 12px 12px 8px 12px;
}

.slot-reels {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

/* Окно барабана */
.reel {
    width: 66px;
    height: 52px; /* ВИДИМАЯ ВЫСОТА = ITEM_H */
    border-radius: 12px;
    background: #0b0c0e;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.6);
}

/* Лента внутри (вот ее мы крутим) */
.reel-strip {
    will-change: transform;
    transform: translateY(-20px); /* ← финальный микросдвиг вверх */
}

/* Элемент ленты */
.reel-item {
    height: 52px; /* ITEM_H */
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.slot-icon{
    width: 34px;
    height: 34px;
    object-fit: contain;
    image-rendering: auto;

}

.slot-result {
    padding: 8px 12px 12px 12px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    min-height: 18px;
    opacity: 0.92;
}

.slot-shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.slot-shine.shine-win {
    opacity: 1;
    background: radial-gradient(120px 60px at 50% 50%, rgba(117,117,117,0.25), rgba(0,0,0,0));
}

.slot-shine.shine-jackpot {
    opacity: 1;
    background: radial-gradient(140px 80px at 50% 50%, rgba(255, 215, 0, 0.28), rgba(0,0,0,0));
}

.slot-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: #111214;
    filter: drop-shadow(0 2px 0 rgba(0,0,0,0.35));
}

/* ==================== ЗАЩИТА КОНТЕНТА ==================== */

.profile-card, .username, .tag, .section p, .soon-text {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
}

.avatar img, .status img, .symbol img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

.badge img {
    pointer-events: auto;
}

body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
}

/* Кнопка "Хочу такое же био" */
.want-bio-btn {
    position: fixed;
    bottom: 30px;
    right: 40px;
    padding: 36px 80px;
    background: #151515;
    border: 2px solid #2e2e2e;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-family: "GG Sans", sans-serif;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.want-bio-btn:hover {
    background: #1a1a1a;
    border-color: #757575;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(117, 117, 117, 0.4);
}

.want-bio-btn:active {
    transform: translateY(0) scale(0.98);
    background: #757575;
    transition: all 0.1s ease;
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.want-bio-btn {
    animation: slideInUp 0.5s ease-out;
}

.badge-link .badge:hover {
    transform: scale(1.15);
    transition: transform 0.2s ease;
}

.badge-link .badge img {
    pointer-events: auto;
}
