@font-face {
    font-family: 'Funnel Display';
    src: url('FunnelDisplay-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
*::-webkit-scrollbar { display: none; }
* { -ms-overflow-style: none; scrollbar-width: none; }

body {
    min-height: 100vh;
    background: #0a0a0f;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Funnel Display', sans-serif;
    user-select: none;
    cursor: default;
}

img { user-select: none; pointer-events: none; }
button, .btn, .perk, .playlist-item, .audio-btn, .modal-close, .perk-modal-close, input[type="range"] { cursor: pointer; }

#pointCloud { position: fixed; inset: 0; z-index: -1; }

.ver { color: rgb(0, 225, 255); text-shadow: 0 0 10px rgba(0, 225, 255, 0.6); }

.content-top {
    font-size: 25px;
    width: 100%;
    position: absolute;
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    color: white;
}

.content-main-1 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    min-height: 60vh;
    padding: 120px 40px;
    padding-top: 180px;
    gap: 30px;
}

.info, .columns {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}


.info { padding: 32px 40px; max-width: 750px; text-align: center; }
.columns { padding: 24px 28px; width: 100%; max-width: 750px; }

.center-content { display: flex; flex-direction: column; align-items: center; gap: 24px; }

.side-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    width: 320px;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-height: 550px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.side-panel-header {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    padding: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgb(0, 225, 255);
    text-shadow: 0 0 10px rgba(0, 225, 255, 0.5);
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1;
    flex-shrink: 0;
}

.side-panel-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}
.side-panel-list li {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border-left: 3px solid rgba(0, 225, 255, 0.4);
    transition: all 0.2s;
}
.side-panel-list li:hover {
    background: rgba(0, 0, 0, 0.4);
    border-left-color: rgb(0, 225, 255);
}
.side-panel-list li b { color: rgb(0, 225, 255); font-weight: 600; }

.main-title { display: block; font-size: 28px; font-weight: 700; margin-bottom: 20px; letter-spacing: 2px; }
.main-title-2 { display: block; font-size: 18px; font-weight: 600; margin-bottom: 16px; letter-spacing: 1px; text-align: center; color: rgba(255, 255, 255, 0.7); }
.main-text { font-size: 16px; line-height: 1.6; margin-bottom: 12px; color: rgba(255, 255, 255, 0.85); }
.main-text:last-child { margin-bottom: 0; }

.highlight-game { color: #ff4444; font-weight: 600; }
.highlight-strong { color: #4ade80; font-weight: 600; }
.highlight-weak { color: #f87171; }
.highlight-search { color: rgb(0, 225, 255); font-weight: 600; }

.tier-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-left: 4px solid;
    transition: transform 0.2s, background 0.2s;
}
.tier-box:last-child { margin-bottom: 0; }
.tier-box:hover { transform: translateX(4px); background: rgba(0, 0, 0, 0.5); }
.tier-box h3 { font-size: 14px; font-weight: 700; letter-spacing: 1px; min-width: 90px; }
.tier-box p { font-size: 13px; color: rgba(255, 255, 255, 0.7); }

.tier-box.excellent { border-left-color: #22c55e; }
.tier-box.excellent h3 { color: #22c55e; text-shadow: 0 0 8px rgba(34, 197, 94, 0.5); }
.tier-box.good { border-left-color: #84cc16; }
.tier-box.good h3 { color: #84cc16; text-shadow: 0 0 8px rgba(132, 204, 22, 0.5); }
.tier-box.ok { border-left-color: #eab308; }
.tier-box.ok h3 { color: #eab308; text-shadow: 0 0 8px rgba(234, 179, 8, 0.5); }
.tier-box.weak { border-left-color: #f97316; }
.tier-box.weak h3 { color: #f97316; text-shadow: 0 0 8px rgba(249, 115, 22, 0.5); }
.tier-box.debuff { border-left-color: #ef4444; }
.tier-box.debuff h3 { color: #ef4444; text-shadow: 0 0 8px rgba(239, 68, 68, 0.5); }

.buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: -100px; }

.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.btn-survivor { color: #4ade80; border-color: rgba(74, 222, 128, 0.3); }
.btn-survivor:hover { background: rgba(74, 222, 128, 0.15); border-color: rgba(74, 222, 128, 0.5); box-shadow: 0 0 25px rgba(74, 222, 128, 0.3); transform: translateY(-3px); }
.btn-killer { color: #ef4444; border-color: rgba(239, 68, 68, 0.3); }
.btn-killer:hover { background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.5); box-shadow: 0 0 25px rgba(239, 68, 68, 0.3); transform: translateY(-3px); }

.audio-control { position: fixed; top: 20px; right: 20px; z-index: 100; }

.audio-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.audio-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(0, 225, 255, 0.5); box-shadow: 0 0 15px rgba(0, 225, 255, 0.3); }
.audio-btn svg { width: 24px; height: 24px; }

.audio-menu {
    position: absolute;
    top: 58px;
    right: 0;
    width: 280px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.audio-menu.show { opacity: 1; visibility: visible; transform: translateY(0); }
.audio-menu-header { font-size: 14px; font-weight: 600; letter-spacing: 1px; color: rgb(0, 225, 255); margin-bottom: 16px; text-align: center; }

.volume-control { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: rgba(255, 255, 255, 0.8); font-size: 13px; }
.volume-control input[type="range"] { flex: 1; height: 4px; appearance: none; background: rgba(255, 255, 255, 0.2); border-radius: 2px; outline: none; }
.volume-control input[type="range"]::-webkit-slider-thumb { appearance: none; width: 16px; height: 16px; background: rgb(0, 225, 255); border-radius: 50%; box-shadow: 0 0 10px rgba(0, 225, 255, 0.6); transition: transform 0.15s; }
.volume-control input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); box-shadow: 0 0 15px rgba(0, 225, 255, 0.8); }
.volume-control input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; background: rgb(0, 225, 255); border-radius: 50%; border: none; box-shadow: 0 0 10px rgba(0, 225, 255, 0.6); }

.playlist-header { font-size: 12px; color: rgba(255, 255, 255, 0.5); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.playlist-items { max-height: 150px; overflow-y: auto; }
.playlist-item { padding: 10px 12px; margin-bottom: 4px; border-radius: 8px; background: rgba(255, 255, 255, 0.03); color: rgba(255, 255, 255, 0.7); font-size: 13px; transition: all 0.2s; }
.playlist-item:hover { background: rgba(255, 255, 255, 0.08); color: white; }
.playlist-item.active { background: rgba(0, 225, 255, 0.15); color: rgb(0, 225, 255); border-left: 3px solid rgb(0, 225, 255); }

.modal-overlay, .perk-modal-overlay, .combo-modal-overlay, .combo-result-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.perk-modal-overlay, .combo-modal-overlay, .combo-result-overlay { background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(12px); z-index: 2000; }
.combo-result-overlay { z-index: 2100; }
.modal-overlay.show, .perk-modal-overlay.show, .combo-modal-overlay.show, .combo-result-overlay.show { opacity: 1; visibility: visible; }

.modal-box, .perk-modal-box, .combo-modal-box, .combo-result-box {
    position: relative;
    width: 90%;
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.6);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s;
}
.modal-box { max-width: 1200px; max-height: 85vh; display: flex; flex-direction: column; }
.perk-modal-box { max-width: 500px; background: rgba(15, 15, 20, 0.98); }
.combo-modal-box { max-width: 700px; background: rgba(15, 15, 20, 0.98); }
.combo-result-box { max-width: 500px; background: rgba(15, 15, 20, 0.98); text-align: center; }

.modal-overlay.show .modal-box, .perk-modal-overlay.show .perk-modal-box,
.combo-modal-overlay.show .combo-modal-box, .combo-result-overlay.show .combo-result-box { transform: scale(1) translateY(0); }

.modal-close, .perk-modal-close, .combo-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.modal-close:hover, .perk-modal-close:hover, .combo-modal-close:hover { background: rgba(239, 68, 68, 0.2); border-color: rgba(239, 68, 68, 0.5); color: #ef4444; }

.modal-title, .combo-modal-title, .combo-result-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-title.survivor { color: #4ade80; text-shadow: 0 0 20px rgba(74, 222, 128, 0.5); }
.modal-title.killer { color: #ef4444; text-shadow: 0 0 20px rgba(239, 68, 68, 0.5); }
.combo-modal-title, .combo-result-title { color: rgb(0, 225, 255); text-shadow: 0 0 20px rgba(0, 225, 255, 0.5); border-bottom: none; margin-bottom: 8px; }
.combo-result-title.survivor { color: #4ade80; text-shadow: 0 0 15px rgba(74, 222, 128, 0.5); }
.combo-result-title.killer { color: #ef4444; text-shadow: 0 0 15px rgba(239, 68, 68, 0.5); }

.modal-content { flex: 1; overflow-y: auto; }

.search-container { margin-bottom: 20px; }
#searchInput {
    width: 100%;
    padding: 14px 20px;
    font-family: inherit;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    outline: none;
    transition: all 0.3s;
}
#searchInput::placeholder { color: rgba(255, 255, 255, 0.4); }
#searchInput:focus { border-color: rgb(0, 225, 255); box-shadow: 0 0 15px rgba(0, 225, 255, 0.3); }

.tierlist { display: flex; flex-direction: column; gap: 16px; }
.tier-row { display: flex; align-items: stretch; background: rgba(0, 0, 0, 0.3); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.05); }
.tier-label { min-width: 100px; padding: 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; letter-spacing: 2px; }
.tier-label.s { background: rgba(34, 197, 94, 0.2); color: #22c55e; text-shadow: 0 0 10px rgba(34, 197, 94, 0.5); }
.tier-label.b { background: rgba(132, 204, 22, 0.2); color: #84cc16; text-shadow: 0 0 10px rgba(132, 204, 22, 0.5); }
.tier-label.c { background: rgba(234, 179, 8, 0.2); color: #eab308; text-shadow: 0 0 10px rgba(234, 179, 8, 0.5); }
.tier-label.d { background: rgba(249, 115, 22, 0.2); color: #f97316; text-shadow: 0 0 10px rgba(249, 115, 22, 0.5); }
.tier-label.f { background: rgba(239, 68, 68, 0.2); color: #ef4444; text-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }
.tier-content { flex: 1; display: flex; flex-wrap: wrap; gap: 12px; padding: 16px; align-items: center; }

.perk { position: relative; width: 64px; height: 64px; border-radius: 10px; overflow: visible; transition: all 0.3s; border: 2px solid transparent; }
.perk img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.perk:hover { transform: scale(1.2); z-index: 10; }
.perk.glow-s { border-color: #22c55e; box-shadow: 0 0 15px rgba(34, 197, 94, 0.6); }
.perk.glow-s:hover { box-shadow: 0 0 25px rgba(34, 197, 94, 0.8); }
.perk.glow-b { border-color: #84cc16; box-shadow: 0 0 15px rgba(132, 204, 22, 0.6); }
.perk.glow-b:hover { box-shadow: 0 0 25px rgba(132, 204, 22, 0.8); }
.perk.glow-c { border-color: #eab308; box-shadow: 0 0 15px rgba(234, 179, 8, 0.6); }
.perk.glow-c:hover { box-shadow: 0 0 25px rgba(234, 179, 8, 0.8); }
.perk.glow-d { border-color: #f97316; box-shadow: 0 0 15px rgba(249, 115, 22, 0.6); }
.perk.glow-d:hover { box-shadow: 0 0 25px rgba(249, 115, 22, 0.8); }
.perk.glow-f { border-color: #ef4444; box-shadow: 0 0 15px rgba(239, 68, 68, 0.6); }
.perk.glow-f:hover { box-shadow: 0 0 25px rgba(239, 68, 68, 0.8); }

.perk-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 12px 14px;
    min-width: 200px;
    max-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}
.perk-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(10, 10, 15, 0.98);
}
.perk:hover .perk-tooltip { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(-4px); }
.perk-tooltip-name {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgb(0, 225, 255);
    margin-bottom: 6px;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(0, 225, 255, 0.5);
}
.perk-tooltip-desc {
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

.perk-modal-top { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.perk-modal-icon-wrapper img { width: 80px; height: 80px; border-radius: 12px; object-fit: cover; border: 3px solid rgba(255, 255, 255, 0.2); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); pointer-events: none; }
.perk-modal-title-section { flex: 1; }
.perk-modal-title-section h2 { font-size: 20px; font-weight: 700; letter-spacing: 2px; color: #4ade80; text-shadow: 0 0 15px rgba(74, 222, 128, 0.5); }
.perk-modal-title-section h2.killer { color: #ef4444; text-shadow: 0 0 15px rgba(239, 68, 68, 0.5); }

.perk-tier-badge { display: inline-block; margin-top: 8px; padding: 5px 14px; border-radius: 20px; font-size: 10px; font-weight: 700; letter-spacing: 1px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
.perk-tier-badge.tier-s { background: rgba(34, 197, 94, 0.3); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.5); }
.perk-tier-badge.tier-b { background: rgba(132, 204, 22, 0.3); color: #84cc16; border: 1px solid rgba(132, 204, 22, 0.5); }
.perk-tier-badge.tier-c { background: rgba(234, 179, 8, 0.3); color: #eab308; border: 1px solid rgba(234, 179, 8, 0.5); }
.perk-tier-badge.tier-d { background: rgba(249, 115, 22, 0.3); color: #f97316; border: 1px solid rgba(249, 115, 22, 0.5); }
.perk-tier-badge.tier-f { background: rgba(239, 68, 68, 0.3); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.5); }

.perk-modal-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding: 12px 14px; background: rgba(255, 255, 255, 0.03); border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.05); }
.perk-modal-header img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.15); pointer-events: none; }
.perk-modal-info h3 { font-size: 13px; color: rgba(255, 255, 255, 0.8); font-weight: 500; margin-bottom: 4px; }
.perk-modal-info p { font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.price-shards { color: #a64dff; font-weight: 600; }
.price-cells { color: #ffd633; font-weight: 600; }
.price-divider { color: rgba(255, 255, 255, 0.4); margin: 0 2px; }
.price-free { color: #4ade80; font-weight: 600; }

.perk-modal-body { background: rgba(0, 0, 0, 0.2); border-radius: 12px; padding: 16px; border: 1px solid rgba(255, 255, 255, 0.05); }
#perkModalDesc { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.85); text-align: left; max-height: 220px; overflow-y: auto; }

.toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 380px;
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 15px rgba(234, 179, 8, 0.15);
    z-index: 9999;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s;
    overflow: hidden;
}

.toast-notification.show { opacity: 1; transform: translateX(0); }
.toast-notification.hide { opacity: 0; transform: translateX(100%); }
.toast-content { display: flex; align-items: flex-start; gap: 14px; }
.toast-icon { flex-shrink: 0; width: 24px; height: 24px; color: #eab308; filter: drop-shadow(0 0 6px rgba(234, 179, 8, 0.5)); }
.toast-message { flex: 1; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.9); }
.toast-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: linear-gradient(90deg, #eab308, #f97316); border-radius: 0 0 12px 12px; width: 100%; transform-origin: left; transform: scaleX(0); }
.toast-notification.show .toast-progress { animation: toast-progress 5s linear forwards; }
@keyframes toast-progress { from { transform: scaleX(1); } to { transform: scaleX(0); } }

.combo-control { position: fixed; top: 20px; left: 20px; z-index: 100; }
.combo-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.combo-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(0, 225, 255, 0.5); box-shadow: 0 0 15px rgba(0, 225, 255, 0.3); }
.combo-btn svg { width: 24px; height: 24px; }

.combo-modal-subtitle { text-align: center; color: rgba(255, 255, 255, 0.6); font-size: 14px; margin-bottom: 24px; }
.combo-columns { display: flex; gap: 24px; }
.combo-column { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.combo-column-title { font-size: 14px; font-weight: 600; letter-spacing: 2px; text-align: center; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.combo-column-title.survivor { color: #4ade80; }
.combo-column-title.killer { color: #ef4444; }

.combo-build-btn {
    padding: 12px 16px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.combo-build-btn::after { content: '→'; position: absolute; right: 16px; opacity: 0; transform: translateX(-10px); transition: all 0.3s; }
.combo-build-btn:hover { padding-right: 36px; }
.combo-build-btn:hover::after { opacity: 1; transform: translateX(0); }
.combo-build-btn:active { transform: scale(0.98); }
.combo-build-btn.survivor:hover { background: rgba(74, 222, 128, 0.15); border-color: rgba(74, 222, 128, 0.4); color: #4ade80; box-shadow: 0 0 15px rgba(74, 222, 128, 0.2); }
.combo-build-btn.killer:hover { background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.4); color: #ef4444; box-shadow: 0 0 15px rgba(239, 68, 68, 0.2); }

.combo-perks { display: flex; justify-content: center; gap: 12px; margin-bottom: 20px; }
.combo-perk-slot {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    overflow: visible;
    transition: all 0.3s;
}

.combo-perk-slot:hover { transform: scale(1.15); z-index: 10; }
.combo-perk-slot.survivor-glow { border-color: #4ade80; box-shadow: 0 0 15px rgba(74, 222, 128, 0.6); }
.combo-perk-slot.survivor-glow:hover { box-shadow: 0 0 25px rgba(74, 222, 128, 0.8), 0 0 40px rgba(74, 222, 128, 0.4); }
.combo-perk-slot.killer-glow { border-color: #ef4444; box-shadow: 0 0 15px rgba(239, 68, 68, 0.6); }
.combo-perk-slot.killer-glow:hover { box-shadow: 0 0 25px rgba(239, 68, 68, 0.8), 0 0 40px rgba(239, 68, 68, 0.4); }
.combo-perk-slot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.combo-perk-slot:hover img { transform: scale(1.05); }
.combo-perk-slot.loading { animation: perkPulse 0.6s ease-in-out infinite; }
.combo-perk-slot.loaded { animation: perkAppear 0.4s ease-out; }

.combo-perk-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 12px 16px;
    min-width: 180px;
    max-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}
.combo-perk-tooltip::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 8px solid transparent; border-top-color: rgba(10, 10, 15, 0.98); }
.combo-perk-slot:hover .combo-perk-tooltip { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(-4px); }
.combo-perk-name { font-size: 14px; font-weight: 600; letter-spacing: 1px; margin-bottom: 6px; text-transform: uppercase; }
.combo-perk-name.survivor { color: #4ade80; text-shadow: 0 0 10px rgba(74, 222, 128, 0.5); }
.combo-perk-name.killer { color: #ef4444; text-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }
.combo-perk-desc { font-size: 12px; color: rgba(255, 255, 255, 0.7); line-height: 1.4; }

@keyframes perkPulse { 0%, 100% { opacity: 0.5; box-shadow: 0 0 10px rgba(0, 225, 255, 0.2); } 50% { opacity: 1; box-shadow: 0 0 20px rgba(0, 225, 255, 0.5); } }
@keyframes perkAppear { 0% { opacity: 0; transform: scale(0.8); } 50% { transform: scale(1.1); } 100% { opacity: 1; transform: scale(1); } }

.combo-result-desc { color: rgba(255, 255, 255, 0.7); font-size: 14px; line-height: 1.5; margin-bottom: 24px; }

.combo-generate-btn {
    padding: 14px 32px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 12px;
    background: rgba(0, 225, 255, 0.15);
    border: 1px solid rgba(0, 225, 255, 0.4);
    color: rgb(0, 225, 255);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.combo-generate-btn::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(0, 225, 255, 0.3); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.4s, height 0.4s; }
.combo-generate-btn:hover::before { width: 300px; height: 300px; }
.combo-generate-btn:hover { background: rgba(0, 225, 255, 0.25); box-shadow: 0 0 20px rgba(0, 225, 255, 0.3); transform: translateY(-2px); }
.combo-generate-btn:active { transform: translateY(0) scale(0.98); }
.combo-generate-btn.loading, .combo-generate-btn:disabled { pointer-events: none; opacity: 0.7; animation: btnPulse 0.6s ease-in-out infinite; }
@keyframes btnPulse { 0%, 100% { box-shadow: 0 0 15px rgba(0, 225, 255, 0.3); } 50% { box-shadow: 0 0 30px rgba(0, 225, 255, 0.6); } }

@media (max-width: 1200px) {
    .side-panel { display: none; }
    .content-main-1 { flex-direction: column; align-items: center; }
}

@media (max-width: 1024px) {
    .content-main-1 { padding: 120px 40px; padding-top: 140px; gap: 24px; }
    .info { max-width: 100%; }
    .columns { max-width: 600px; }
    .buttons { margin-top: 20px; }
    .modal-box { padding: 24px; max-width: 95%; }
    .tier-label { min-width: 70px; font-size: 20px; padding: 12px; }
    .perk { width: 52px; height: 52px; }
}

@media (max-width: 768px) {
    body { overflow-y: auto; }
    .content-top { font-size: 20px; padding: 0 20px; position: relative; }
    .content-top h1 { font-size: 22px; }
    .content-main-1 { padding: 20px; padding-top: 100px; min-height: auto; }
    .info { padding: 24px; }
    .main-title { font-size: 22px; }
    .main-text { font-size: 14px; }
    .columns { padding: 20px; }
    .tier-box { padding: 8px 12px; }
    .tier-box h3 { font-size: 12px; min-width: 70px; }
    .tier-box p { font-size: 11px; }
    .buttons { flex-direction: column; gap: 16px; margin-top: 20px; padding: 0 20px; }
    .btn { padding: 14px 32px; font-size: 16px; width: 100%; text-align: center; }
    .audio-control { top: 15px; right: 15px; }
    .audio-btn { width: 42px; height: 42px; }
    .audio-menu { width: 250px; right: -10px; }
    .modal-box { padding: 20px; max-height: 90vh; border-radius: 16px; }
    .modal-title { font-size: 22px; margin-bottom: 16px; }
    .modal-close { top: 12px; right: 12px; width: 36px; height: 36px; font-size: 24px; }
    #searchInput { padding: 12px 16px; font-size: 14px; }
    .tier-row { flex-direction: column; }
    .tier-label { min-width: 100%; padding: 10px; font-size: 18px; }
    .tier-content { padding: 12px; gap: 8px; justify-content: center; }
    .perk { width: 48px; height: 48px; }
    .perk-modal-box { padding: 20px; max-width: 95%; }
    .perk-modal-top { gap: 16px; }
    .perk-modal-icon-wrapper img { width: 64px; height: 64px; }
    .perk-modal-title-section h2 { font-size: 18px; }
    .toast-notification { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

@media (max-width: 480px) {
    .content-top { font-size: 16px; }
    .content-top h1 { font-size: 18px; line-height: 1.3; }
    .content-top p { font-size: 14px; }
    .content-main-1 { padding: 20px 16px; padding-top: 100px; }
    .info { padding: 20px; border-radius: 12px; }
    .main-title { font-size: 18px; margin-bottom: 16px; }
    .main-text { font-size: 13px; line-height: 1.5; }
    .columns { padding: 16px; border-radius: 12px; }
    .main-title-2 { font-size: 14px; }
    .tier-box { padding: 8px 10px; gap: 8px; }
    .tier-box h3 { font-size: 11px; min-width: 60px; }
    .tier-box p { font-size: 10px; }
    .buttons { gap: 12px; padding: 0 16px; }
    .btn { padding: 12px 24px; font-size: 14px; border-radius: 10px; }
    .audio-control { top: 10px; right: 10px; }
    .audio-btn { width: 38px; height: 38px; border-radius: 10px; }
    .audio-btn svg { width: 20px; height: 20px; }
    .audio-menu { width: 220px; padding: 12px; top: 48px; }
    .audio-menu-header { font-size: 12px; }
    .volume-control { font-size: 12px; }
    .playlist-item { padding: 8px 10px; font-size: 12px; }
    .modal-box { padding: 16px; border-radius: 12px; width: 95%; max-height: 85vh; }
    .modal-title { font-size: 18px; padding-bottom: 12px; margin-bottom: 12px; }
    .modal-close { top: 10px; right: 10px; width: 32px; height: 32px; font-size: 20px; }
    #searchInput { padding: 10px 14px; font-size: 13px; border-radius: 10px; }
    .tierlist { gap: 12px; }
    .tier-row { border-radius: 10px; }
    .tier-label { padding: 8px; font-size: 16px; }
    .tier-content { padding: 10px; gap: 6px; }
    .perk { width: 42px; height: 42px; border-radius: 6px; }
    .perk-modal-box { padding: 16px; border-radius: 14px; }
    .perk-modal-close { top: 10px; right: 12px; width: 32px; height: 32px; font-size: 20px; }
    .perk-modal-top { gap: 12px; margin-bottom: 16px; }
    .perk-modal-icon-wrapper img { width: 56px; height: 56px; border-radius: 10px; }
    .perk-tier-badge { padding: 4px 10px; font-size: 9px; }
    .perk-modal-title-section h2 { font-size: 16px; }
    .perk-modal-header { padding: 10px 12px; gap: 10px; }
    .perk-modal-header img { width: 36px; height: 36px; }
    .perk-modal-info h3 { font-size: 12px; }
    .perk-modal-info p { font-size: 11px; }
    .perk-modal-body { padding: 12px; }
    #perkModalDesc { font-size: 13px; max-height: 180px; }
    .toast-notification { left: 12px; right: 12px; bottom: 12px; padding: 12px 16px; border-radius: 10px; }
    .toast-icon { width: 20px; height: 20px; }
    .toast-message { font-size: 13px; }
}

@media (max-width: 360px) {
    .content-top h1 { font-size: 16px; }
    .main-title { font-size: 16px; }
    .main-text { font-size: 12px; }
    .tier-box h3 { font-size: 10px; min-width: 50px; }
    .tier-box p { font-size: 9px; }
    .btn { padding: 10px 20px; font-size: 13px; }
    .perk { width: 38px; height: 38px; }
    .modal-title { font-size: 16px; }
    .tier-label { font-size: 14px; }
}

@media (max-width: 600px) {
    .combo-columns { flex-direction: column; }
    .combo-perk-slot { width: 60px; height: 60px; }
    .combo-modal-box, .combo-result-box { padding: 24px 20px; }
}

@media (max-height: 500px) and (orientation: landscape) {
    .content-top { margin-top: 10px; font-size: 14px; }
    .content-main-1 { padding: 60px 20px; padding-top: 60px; flex-direction: row; flex-wrap: wrap; }
    .info, .columns { flex: 1; min-width: 280px; }
    .columns { margin-left: 16px; }
    .buttons { width: 100%; flex-direction: row; margin-top: 20px; }
    .btn { flex: 1; }
    .modal-box { max-height: 95vh; }
    .perk-modal-box { max-height: 95vh; overflow-y: auto; }
}

.site-footer {
    position: relative;
    margin-top: 73px;
    padding: 20px 20px 15px;
    background: rgba(10, 10, 15, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 15px;
}

.footer-section {
    flex: 1;
    min-width: 180px;
    max-width: 260px;
}

.footer-section h4 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgb(0, 225, 255);
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(0, 225, 255, 0.4);
}

.footer-section p {
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
}

.footer-section a {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 3px 0;
    transition: all 0.2s;
    pointer-events: auto;
}

.footer-section a:hover {
    color: rgb(0, 225, 255);
    text-shadow: 0 0 8px rgba(0, 225, 255, 0.5);
}

.footer-bottom {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}
