/* ================================================
   FINAL IMPROVEMENTS
   Compact screenshots, glass notice, footer socials
   ================================================ */

/* ===== FIXED TOP BAR - LOGO + NOTICE ===== */
.top-bar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 19, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(102, 192, 244, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-logo-link {
    display: inline-block;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
}

.top-logo-link:hover {
    opacity: 0.8;
}

.top-logo-img {
    height: 60px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.top-notice-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: flex-end;
}

.globe-highlight {
    padding: 4px 8px;
    background: rgba(102, 192, 244, 0.05);
    border-radius: 4px;
    border: 1px solid rgba(102, 192, 244, 0.1);
}

.top-notice-text {
    font-size: 13px;
    color: #8f98a0;
    margin: 0;
    white-space: nowrap;
}

.terms-link {
    color: #66c0f4;
    text-decoration: none;
    transition: color 0.2s ease;
}

.terms-link:hover {
    color: #93c5fd;
}

/* ===== QUESTION LIST ICONS ===== */
.question-list .question-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 8px;
    color: #66c0f4;
}

/* Add padding to body for fixed header */
body {
    padding-top: 65px;
}

/* ===== HERO HEADER - COMPACT ===== */
.hero-header {
    padding: 30px 20px !important;
    min-height: auto !important;
}

.hero-content {
    gap: 20px !important;
}

.avatar-section .avatar {
    width: 140px !important;
    height: 140px !important;
}

.avatar-img {
    width: 140px !important;
    height: 140px !important;
}

.avatar-frame {
    width: 170px !important;
    height: 170px !important;
}

.profile-info {
    gap: 8px !important;
}

.username {
    font-size: 32px !important;
}

.fire-icon {
    width: 28px !important;
    height: 28px !important;
}

/* ===== COMPACT SCREENSHOTS ===== */
.evidence-screenshot-compact {
    position: relative;
    max-width: 350px;
    margin: 20px auto;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 192, 244, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.evidence-screenshot-compact:hover {
    transform: translateY(-2px);
    border-color: rgba(102, 192, 244, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.compact-img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.evidence-screenshot-compact:hover .compact-img {
    filter: brightness(1);
}

.click-to-enlarge,
.click-to-view {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.6) 70%,
        transparent 100%);
    color: #66c0f4;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.evidence-screenshot-compact:hover .click-to-enlarge,
.evidence-screenshot-compact:hover .click-to-view {
    opacity: 1;
    transform: translateY(0);
}

.click-to-enlarge svg,
.click-to-view svg {
    width: 18px;
    height: 18px;
}

.screenshot-caption-compact {
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
    color: #9ca3af;
    font-style: italic;
}

.evidence-gallery-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

/* ===== TRANSLATION & CONTEXT BOXES ===== */
.screenshot-info-box {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.translation-box,
.context-box {
    padding: 16px;
    border-radius: 8px;
    border-left: 3px solid;
    background: rgba(17, 24, 39, 0.7);
}

.translation-box {
    border-left-color: #10b981;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.context-box {
    border-left-color: #66c0f4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.translation-box h4,
.context-box h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: #c7d5e0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-icon {
    width: 18px;
    height: 18px;
}

.translation-box .info-icon {
    color: #10b981;
}

.context-box .info-icon {
    color: #66c0f4;
}

.translation-text,
.context-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #a0a0a0;
}

.translation-text {
    font-style: italic;
    color: #a7f3d0;
}

.context-text strong {
    color: #66c0f4;
    font-weight: 600;
}

/* ===== IMAGE MODAL ===== */
.image-modal-overlay {
    display: none;
    position: fixed;
    z-index: 10002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.image-modal-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    animation: zoomIn 0.3s ease;
}

.image-modal-content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
}

.close-image-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 50%;
}

.close-image-modal:hover {
    background: rgba(239, 68, 68, 0.4);
    transform: rotate(90deg);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== FOOTER SOCIAL ICONS - COMPACT ===== */
.footer-socials-wrapper {
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.main__socials {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
        rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(102, 192, 244, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: all 0.4s ease;
}

.social-link:hover svg {
    transform: rotate(-10deg) scale(1.1);
}

.icon-twitter {
    fill: #e5e7eb;
}

.icon-telegram {
    fill: #29b6f6;
}

.icon-instagram {
    fill: #cc39a4;
}

.icon-email {
    fill: #9ca3af;
}

.link-twitter:hover {
    transform: scale(1.15) rotate(-5deg);
    background-color: #14171A;
    box-shadow: rgba(0, 0, 0, 0.22) 0px 19px 43px,
                rgba(0, 0, 0, 0.18) 0px 15px 12px;
}

.link-twitter:hover .icon-twitter {
    fill: white;
}

.link-telegram:hover {
    transform: scale(1.1);
    background-color: #29b6f6;
}

.link-telegram:hover .icon-telegram {
    fill: white;
}

.link-instagram:hover {
    transform: scale(1.1);
    background-color: #cc39a4;
}

.link-instagram:hover .icon-instagram {
    fill: white;
}

.link-email:hover {
    transform: scale(1.1);
    background-color: #607d8b;
}

.link-email:hover .icon-email {
    fill: white;
}

/* ===== STEAM LEVEL - PROFESSIONAL DESIGN ===== */
.level_circle_premium {
    background: rgba(20, 30, 48, 0.9);
    border: 2px solid rgba(102, 192, 244, 0.3);
    position: relative;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.5),
        inset 0 1px 3px rgba(102, 192, 244, 0.1);
}

.level_circle_premium::before {
    display: none;
}

.level_circle_premium:hover {
    transform: scale(1.03);
    border-color: rgba(102, 192, 244, 0.5);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.6),
        inset 0 1px 3px rgba(102, 192, 244, 0.2);
}

/* Level number - clear and readable */
.level_number_large {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
    font-weight: 700 !important;
}

/* Steam Level Showcase */
.level_showcase_premium {
    background: rgba(17, 24, 39, 0.95) !important;
    border: 1px solid rgba(102, 192, 244, 0.2) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}

.level_showcase_premium::before {
    display: none !important;
}

.level_showcase_premium .profile_customization_header {
    background: rgba(102, 192, 244, 0.08) !important;
    border-bottom: 1px solid rgba(102, 192, 244, 0.2) !important;
    color: #c7d5e0 !important;
    text-shadow: none;
}

/* Level stats */
.level_info {
    color: #c7d5e0 !important;
}

.level_stat_label {
    color: #8f98a0 !important;
    text-shadow: none;
}

.level_stat_value {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 600 !important;
}

.level_progress_fill_premium {
    background: linear-gradient(90deg, #66c0f4 0%, #8650ac 100%);
    box-shadow: 0 0 8px rgba(102, 192, 244, 0.3);
}

/* ===== WORKSHOP SHOWCASE - KEEP ORIGINAL SIZE ===== */
/* Don't touch Workshop Showcase - it's perfect as is */

/* Only reduce CS2/Dota2 item showcases */
.item_grid:not(.workshop_grid) .showcase_item img {
    max-width: 100px !important;
    max-height: 100px !important;
}

.item_grid:not(.workshop_grid) {
    grid-template-columns: repeat(auto-fill, minmax(85px, 1fr)) !important;
    gap: 10px !important;
}

/* ===== HERO VALVE QUESTION - ANIMATED ===== */
.hero-valve-question {
    margin: 25px 0;
    padding: 0 10px;
}

.valve-question-animated {
    position: relative;
    padding: 20px 24px;
    background: linear-gradient(135deg,
        rgba(239, 68, 68, 0.12) 0%,
        rgba(220, 38, 38, 0.12) 100%);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    overflow: hidden;
    box-shadow:
        0 4px 20px rgba(239, 68, 68, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.valve-question-animated::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        transparent 0%,
        rgba(239, 68, 68, 0.08) 50%,
        transparent 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.valve-question-animated:hover {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow:
        0 8px 32px rgba(239, 68, 68, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.valve-question-animated:hover::before {
    opacity: 1;
}

.question-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    color: #fbbf24;
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.5));
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.question-text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.question-line-1,
.question-line-2 {
    font-size: 15px;
    line-height: 1.6;
    color: #fecaca;
    margin: 0;
    font-weight: 500;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.question-line-1 strong,
.question-line-2 strong {
    color: #fbbf24;
    font-weight: 700;
    text-shadow:
        0 0 12px rgba(251, 191, 36, 0.6),
        0 2px 6px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #fbbf24, #fcd34d, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: subtleShimmer 3s ease-in-out infinite;
}

@keyframes subtleShimmer {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
    .hero-valve-question {
        margin: 20px 0;
    }

    .valve-question-animated {
        padding: 16px 18px;
        gap: 12px;
    }

    .question-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
    }

    .question-line-1,
    .question-line-2 {
        font-size: 14px;
    }
}
    .top-notice-bar-glass {
        padding: 10px 15px;
    }

    .notice-content-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .notice-text-glass {
        font-size: 13px;
        text-align: center;
    }

    .globe-highlight {
        padding: 6px 10px;
    }

    .evidence-screenshot-compact {
        max-width: 100%;
    }

    .evidence-gallery-compact {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .screenshot-info-box {
        grid-template-columns: 1fr;
    }

    .translation-box,
    .context-box {
        padding: 14px;
    }

    .main__socials {
        gap: 12px;
    }

    .social-link {
        padding: 10px;
    }

    .social-link svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .hero-valve-question {
        margin: 16px 0;
    }

    .valve-question-animated {
        padding: 14px 16px;
        gap: 10px;
        flex-direction: column;
        text-align: center;
    }

    .question-icon {
        width: 26px;
        height: 26px;
        min-width: 26px;
        min-height: 26px;
    }

    .question-line-1,
    .question-line-2 {
        font-size: 13px;
        line-height: 1.5;
    }

    .notice-text-glass {
        font-size: 12px;
        flex-direction: column;
    }

    .notice-icon {
        width: 18px;
        height: 18px;
    }

    .click-to-enlarge,
    .click-to-view {
        font-size: 12px;
        padding: 10px;
    }

    .translation-box h4,
    .context-box h4 {
        font-size: 14px;
    }

    .translation-text,
    .context-text {
        font-size: 13px;
    }

    .main__socials {
        flex-wrap: wrap;
        gap: 10px;
    }

    .image-modal-content {
        max-width: 98%;
    }

    .close-image-modal {
        top: 10px;
        right: 10px;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .evidence-screenshot-compact,
    .social-link,
    .click-to-enlarge,
    .click-to-view {
        transition: opacity 0.2s ease;
    }

    .image-modal-overlay,
    .image-modal-content {
        animation: none;
    }
}
