/* ===== FIXED ALIGNMENT - NOT CENTERED ===== */
:root {
    /* Pure Red Colors */
    --red-main: #FF0000;
    --red-dark: #CC0000;
    --red-bright: #FF3333;
    --red-accent: #FF1A1A;
    --red-neon: #FF0033;
    
    /* Background Colors */
    --bg-black: #050505;
    --bg-dark: #0A0A0A;
    --bg-card: #0F0F0F;
    --bg-surface: #131313;
    
    /* Text Colors */
    --text-white: #FFFFFF;
    --text-light: #E8E8E8;
    --text-gray: #6B6B6B;
    --text-muted: #505050;
    
    /* Borders & Shadows */
    --border-red: rgba(255, 0, 0, 0.5);
    --border-light: rgba(255, 0, 0, 0.26);
    --shadow-red: 0 8px 32px rgba(255, 0, 0, 0.15);
    --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.4);
    --glow-red: 0 0 20px rgba(255, 0, 0, 0.5);
    
    /* Spacing */
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 20px;
    --space-lg: 28px;
    --space-xl: 40px;
    --space-2xl: 60px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 10px;
    --radius-xl: 18px;
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'Rubik', -apple-system, sans-serif;
    background: #070707;
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* ===== BACKGROUND ===== */
.background-red {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    background: #070707;
}

/* Invisible - pure clean background */
.background-red::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0;
}

@keyframes smoothFlow {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
}

/* Corner accents removed - clean background only */
.background-red .corner-accent-tl,
.background-red .corner-accent-br,
.background-red .corner-accent-tr {
    display: none;
}

/* ===== MAIN CONTAINER ===== */
.main-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-lg);
    position: relative;
    z-index: 2;
    flex: 1;
}

/* ===== HEADER - BOLD REDESIGN ===== */
.site-header {
    padding: var(--space-lg);
    border: 1px solid rgba(255,0,0,0.1);
    margin: var(--space-lg) 0 var(--space-2xl) 0;
    width: 100%;
    position: relative;
    border-radius: var(--radius-lg);
    background: rgba(255,0,0,0.01);
    box-shadow: none;
}

.site-header::before {
    display: none;
}

.site-header::after {
    display: none;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    position: relative;
    z-index: 1;
    padding: 0;
    gap: var(--space-lg);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex: 1;
}

.logo-symbol {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.logo-symbol .site-logo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(255,0,0,0.24), 0 0 20px rgba(255,0,0,0.12);
    border: 2px solid rgba(255,0,0,0.16);
    display: block;
    position: relative;
    z-index: 2;
}

.logo-symbol .logo-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    background: linear-gradient(135deg, var(--red-dark), var(--red-main));
    border-radius: 14px;
    z-index: 1;
    box-shadow: 0 12px 32px rgba(255,0,0,0.24);
}

.logo-text-area {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.logo-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.red-emphasis {
    color: var(--red-main);
    text-shadow: 0 0 16px rgba(255,0,0,0.3);
}

.logo-sub {
    color: var(--text-gray);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.header-action {
    display: flex;
    align-items: center;
    align-self: stretch;
}

/* ===== VOUCHES SECTIONS LAYOUT - VERTICAL STACK ===== */
.vouches-sections-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    width: 100%;
}

.wdemon-section {
    background: rgba(255, 0, 0, 0.01);
    border: 1px solid rgba(255, 0, 0, 0.1);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: none;
    order: 1;
}

.wdemon-section .vouches-grid-container {
    margin-top: var(--space-md);
}

.community-section {
    background: rgba(255, 0, 0, 0.01);
    border: 1px solid rgba(255, 0, 0, 0.1);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: none;
    order: 2;
}

.wdemon-section .section-heading::before {
    content: '';
    height: 28px;
    width: 4px;
    background: var(--red-main);
    border-radius: 2px;
    display: inline-block;
    margin-right: 12px;
}

.join-discord {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 12px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,0,0,0.16), rgba(255,0,0,0.08));
    border: 1.5px solid rgba(255,0,0,0.12);
    font-weight: 500;
    transition: all 0.28s cubic-bezier(0.16,1,0.3,1);
}

.join-discord:hover {
    background: linear-gradient(135deg, rgba(255,0,0,0.24), rgba(255,0,0,0.16));
    border-color: rgba(255,0,0,0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,0,0,0.12);
}

.header-action {
    display: flex;
    align-items: center;
}

/* ===== DISCORD BUTTON ===== */
.join-discord {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid var(--border-red);
    border-radius: var(--radius-md);
    color: var(--red-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.join-discord:hover {
    background: rgba(255, 0, 0, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
    border-color: var(--red-main);
}

/* ===== STATISTICS SECTION ===== */
.statistics-section {
    margin-bottom: var(--space-2xl);
}

.stats-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    width: 100%;
}

.stat-item {
    background: rgba(255, 0, 0, 0.02);
    border: 1px solid rgba(255, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    transition: all 0.3s ease;
    position: relative;
}

.stat-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 0, 0, 0.2);
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.08);
}

.stat-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(255, 0, 0, 0.08);
    border: 1px solid rgba(255, 0, 0, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--red-main);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon-box {
    background: rgba(255, 0, 0, 0.12);
    border-color: rgba(255, 0, 0, 0.15);
    transform: scale(1.05);
}

.stat-content {
    flex: 1;
    text-align: left;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--red-main);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-name {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SEARCH & FILTER SECTION ===== */
.search-filter-section {
    background: rgba(255, 0, 0, 0.01);
    border: 1px solid rgba(255, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.search-wrapper {
    margin-bottom: var(--space-sm);
}

.search-box-area {
    position: relative;
}

.search-box-area i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--red-main);
    font-size: 18px;
    z-index: 2;
    transition: all 0.3s ease;
}

.clear-search-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 0, 0, 0.08);
    border: 1px solid rgba(255, 0, 0, 0.18);
    color: var(--red-main);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    z-index: 3;
    position: absolute;
}

.clear-search-btn i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    line-height: 14px;
    text-align: center;
    font-size: 14px;
    pointer-events: none;
}

.clear-search-btn:hover {
    color: var(--text-white);
    background: rgba(255, 0, 0, 0.18);
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.12);
}

.clear-search-btn:active {
    background: rgba(255, 0, 0, 0.24);
    border-color: rgba(255, 0, 0, 0.32);
    box-shadow: none;
}

.search-box-area i:hover {
    color: var(--red-dark);
    transform: translateY(-50%) scale(1.1);
}

.search-box-area input {
    width: 100%;
    padding: 16px 56px 16px 50px;
    background: var(--bg-surface);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.search-box-area input:focus {
    outline: none;
    border-color: var(--red-main);
    background: var(--bg-card);
}

.search-box-area input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.clear-search-btn {
}

.filter-wrapper {
    display: flex;
    align-items: center;
}

.filter-options {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.filter-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border-red);
    border-radius: var(--radius-md);
    color: var(--text-gray);
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-option:hover {
    background: rgba(255, 0, 0, 0.1);
    color: var(--red-main);
    border-color: var(--red-main);
}

.filter-option.active {
    background: var(--red-main);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-red);
}

/* ===== VOUCHES MAIN AREA ===== */
.vouches-main-area {
    margin-bottom: var(--space-2xl);
    opacity: 1;
    transform: none;
    transition: none;
}

/* Avoid flash of all vouches before JS trims to 3 per section */
.js-loading #wdemonVouchesContainer .vouch-card-item:nth-child(n+4),
.js-loading #everyoneVouchesContainer .vouch-card-item:nth-child(n+4) {
    display: none;
}

.vouches-header-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-red);
}

.section-heading {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
}

.vouch-count-display {
    background: rgba(255, 0, 0, 0.12);
    padding: 10px 24px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    color: var(--red-main);
}


.vouch-count-display span {
    font-weight: 800;
}

/* ===== VOUCHES GRID ===== */
.vouches-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-md);
    width: 100%;
}

/* ===== VOUCH CARD ===== */
.vouch-card-item {
    background: rgba(255, 0, 0, 0.01);
    border: 1px solid rgba(255, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: all 0.3s ease;
    cursor: context-menu;
    position: relative;
    overflow: hidden;
}

.vouch-card-item.hidden-vouch {
    display: none;
}

.vouch-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vouch-card-item:hover::before {
    opacity: 1;
}

.vouch-card-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 0, 0, 0.15);
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.06);
}

.vouch-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.user-info-area {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex: 1;
}

.user-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-red);
    transition: all 0.3s ease;
}

.vouch-card-item:hover .user-avatar-img {
    border-color: var(--red-main);
}

.user-details-area {
    text-align: left;
}

.user-name {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--text-white);
    letter-spacing: 0.2px;
}

.vouch-date-area {
    color: var(--text-gray);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rating-area {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.star-rating {
    display: flex;
    gap: 2px;
}

.star-rating i {
    font-size: 16px;
    color: var(--text-muted);
}

.star-rating i.active-star {
    color: #FFD700;
}

.rating-value {
    background: linear-gradient(135deg, var(--red-main) 0%, var(--red-dark) 100%);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.6);
}

.vouch-message-area {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05) 0%, rgba(255, 0, 0, 0.02) 100%);
    border-left: 2px solid var(--red-main);
    padding: var(--space-md);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: var(--space-md);
    text-align: left;
}

.vouch-message-area p {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.6;
    font-size: 14.5px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.vouch-footer-area {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 0, 0, 0.15);
}

.seller-tag-area {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: rgba(20, 20, 20, 0.6);
    border: 1.2px solid rgba(255, 0, 0, 0.2);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.seller-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.2px solid rgba(255, 0, 0, 0.25);
}

.seller-tag-area i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 0, 0.12);
    color: rgba(255, 0, 0, 0.6);
    font-size: 11px;
}

.seller-tag-area:hover {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.16) 0%, rgba(255, 0, 0, 0.1) 100%);
    border-color: rgba(255, 0, 0, 0.25);
}

/* ===== LOADING INDICATOR ===== */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl) var(--space-xl);
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.8) 0%, rgba(19, 19, 19, 0.6) 100%);
    border: 1px solid rgba(255, 0, 0, 0.6);
    border-radius: var(--radius-lg);
    gap: var(--space-lg);
    animation: fadeInUp 0.5s ease-out;
    transition: opacity 0.3s ease;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 0, 0, 0.6);
    border-top-color: var(--red-main);
    border-radius: 50%;
    animation: spinnerRotate 0.8s linear infinite;
}

@keyframes spinnerRotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-indicator p {
    color: var(--text-light);
    font-size: 14px;
    letter-spacing: 0.3px;
    font-weight: 400;
    margin: 0;
}

/* ===== EMPTY STATE ===== */
.empty-vouches {
    grid-column: 1 / -1;
    padding: var(--space-2xl);
    background: var(--bg-card);
    border: 2px dashed var(--border-red);
    border-radius: var(--radius-xl);
    text-align: center;
}

.empty-icon-area {
    font-size: 64px;
    color: var(--red-main);
    margin-bottom: var(--space-lg);
    opacity: 0.5;
}

.empty-vouches h3 {
    font-size: 28px;
    margin-bottom: var(--space-sm);
    color: var(--text-white);
}

.empty-vouches p {
    color: var(--text-gray);
    margin-bottom: var(--space-xl);
    font-size: 16px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(180deg, rgba(255,0,0,0.02) 0%, transparent 100%), var(--bg-dark);
    border-top: 1.2px solid rgba(255,0,0,0.2);
    margin-top: auto;
    padding: var(--space-lg) var(--space-lg);
    width: 100%;
    position: relative;
    z-index: 3;
    box-shadow: none;
}

.site-footer::before {
    display: none;
}

.footer-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.footer-top-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-brand-area {
    display: flex;
    align-items: flex-start;
}

.footer-logo-display {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--border-red);
    box-shadow: var(--shadow-red);
}

.footer-logo-fallback {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid var(--border-red);
    color: var(--red-main);
}

.footer-logo-display i {
    font-size: 36px;
    color: var(--red-main);
}

.footer-text-area {
    text-align: left;
}

.footer-text-area h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.footer-text-area p {
    color: var(--text-gray);
    font-size: 14px;
}

.footer-info-area {
    display: flex;
    align-items: center;
}

.footer-info-content {
    text-align: center;
}

.footer-info-content p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: var(--space-md);
}

.update-info-area {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: var(--radius-xl);
    color: var(--red-main);
    font-size: 14px;
    font-weight: 500;
    animation: syncPulse 2s ease-in-out infinite;
}

@keyframes syncPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.update-info-area i {
    animation: rotateSpin 3s linear infinite;
}

@keyframes rotateSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.footer-action-area {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-discord-btn {
    background: #FF0000;
    color: white;
}

.footer-bottom-section {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,0,0,0.2);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.footer-copyright {
    color: var(--text-gray);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-copyright p {
    margin: 0;
}

.footer-credit {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-credit a {
    color: var(--red-main);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid rgba(255, 0, 0, 0.3);
}

.footer-credit a:hover {
    color: var(--red-bright);
    border-bottom-color: var(--red-main);
}

.creator-id {
    font-weight: 500;
    letter-spacing: 0.3px;
}

.footer-links-area {
    display: flex;
    gap: var(--space-xl);
}

.footer-links-area a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links-area a:hover {
    color: var(--red-main);
}

/* ===== SMOOTH PAGE ENTRANCE ===== */
@media (prefers-reduced-motion: no-preference) {
    .site-header,
    .statistics-section,
    .search-filter-section,
    .vouches-main-area,
    .site-footer {
        animation: gentleLift 0.6s ease both;
    }

    .statistics-section { animation-delay: 0.05s; }
    .search-filter-section { animation-delay: 0.1s; }
    .vouches-main-area { animation-delay: 0.15s; }
    .site-footer { animation-delay: 0.2s; }
}

@keyframes gentleLift {
    from {
        transform: translateY(8px);
    }
    to {
        transform: translateY(0);
    }
}

/* ===== SKELETON LOADING ===== */
.skeleton-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-md);
    width: 100%;
    grid-column: 1 / -1;
}

.skeleton-card {
    background: rgba(255, 0, 0, 0.01);
    border: 1px solid rgba(255, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    animation: skeletonPulse 1.5s ease-in-out infinite;
    opacity: 0;
    animation: skeletonSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.skeleton-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.skeleton-user {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex: 1;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.1) 25%, rgba(255, 0, 0, 0.2) 50%, rgba(255, 0, 0, 0.1) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-info {
    flex: 1;
}

.skeleton-name {
    width: 120px;
    height: 16px;
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.1) 25%, rgba(255, 0, 0, 0.2) 50%, rgba(255, 0, 0, 0.1) 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    margin-bottom: 8px;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-date {
    width: 80px;
    height: 12px;
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.08) 25%, rgba(255, 0, 0, 0.15) 50%, rgba(255, 0, 0, 0.08) 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.skeleton-stars {
    width: 80px;
    height: 16px;
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.1) 25%, rgba(255, 0, 0, 0.2) 50%, rgba(255, 0, 0, 0.1) 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-score {
    width: 40px;
    height: 20px;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2) 0%, rgba(255, 0, 0, 0.3) 100%);
    border-radius: var(--radius-xl);
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-message {
    height: 40px;
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.05) 25%, rgba(255, 0, 0, 0.1) 50%, rgba(255, 0, 0, 0.05) 75%);
    background-size: 200% 100%;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-footer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 150px;
    height: 32px;
    background: linear-gradient(90deg, rgba(20, 20, 20, 0.6) 25%, rgba(255, 0, 0, 0.1) 50%, rgba(20, 20, 20, 0.6) 75%);
    background-size: 200% 100%;
    border-radius: var(--radius-md);
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

/* Full page skeleton loading */
.skeleton-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    width: 100%;
}

.skeleton-stat-item {
    background: rgba(255, 0, 0, 0.02);
    border: 1px solid rgba(255, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    animation: skeletonPulse 1.5s ease-in-out infinite;
}

.skeleton-stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.08) 25%, rgba(255, 0, 0, 0.15) 50%, rgba(255, 0, 0, 0.08) 75%);
    background-size: 200% 100%;
    border-radius: var(--radius-md);
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-stat-content {
    flex: 1;
}

.skeleton-stat-number {
    width: 60px;
    height: 32px;
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.1) 25%, rgba(255, 0, 0, 0.2) 50%, rgba(255, 0, 0, 0.1) 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    margin-bottom: 8px;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-stat-name {
    width: 100px;
    height: 14px;
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.05) 25%, rgba(255, 0, 0, 0.1) 50%, rgba(255, 0, 0, 0.05) 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-header-section {
    background: rgba(255, 0, 0, 0.01);
    border: 1px solid rgba(255, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-2xl);
    animation: skeletonPulse 1.5s ease-in-out infinite;
}

.skeleton-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.1) 25%, rgba(255, 0, 0, 0.2) 50%, rgba(255, 0, 0, 0.1) 75%);
    background-size: 200% 100%;
    border-radius: 50%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-title {
    width: 200px;
    height: 32px;
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.1) 25%, rgba(255, 0, 0, 0.2) 50%, rgba(255, 0, 0, 0.1) 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    margin: var(--space-md) 0;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-subtitle {
    width: 300px;
    height: 16px;
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.05) 25%, rgba(255, 0, 0, 0.1) 50%, rgba(255, 0, 0, 0.05) 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

@keyframes skeletonPulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

@keyframes skeletonShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes skeletonSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== SMOOTH ANIMATIONS ===== */
.vouch-card-item.loaded {
    opacity: 1;
    transform: none;
}

.vouch-card-item.hidden-vouch {
    display: none !important;
}

@keyframes vouchReveal {
    0% {
        opacity: 0;
        transform: translateY(-6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation delays for skeleton cards */
.skeleton-card:nth-child(1) { animation-delay: 0.05s; }
.skeleton-card:nth-child(2) { animation-delay: 0.1s; }
.skeleton-card:nth-child(3) { animation-delay: 0.15s; }
.skeleton-card:nth-child(4) { animation-delay: 0.2s; }
.skeleton-card:nth-child(5) { animation-delay: 0.25s; }

/* Stagger animation delays for vouch cards */
.vouch-card-item:nth-child(1) { transition-delay: 0.05s; }
.vouch-card-item:nth-child(2) { transition-delay: 0.1s; }
.vouch-card-item:nth-child(3) { transition-delay: 0.15s; }
.vouch-card-item:nth-child(4) { transition-delay: 0.2s; }
.vouch-card-item:nth-child(5) { transition-delay: 0.25s; }
.vouch-card-item:nth-child(6) { transition-delay: 0.3s; }
.vouch-card-item:nth-child(7) { transition-delay: 0.35s; }
.vouch-card-item:nth-child(8) { transition-delay: 0.4s; }
.vouch-card-item:nth-child(9) { transition-delay: 0.45s; }
.vouch-card-item:nth-child(10) { transition-delay: 0.5s; }

/* Responsive skeleton adjustments */
@media (max-width: 768px) {
    .skeleton-container {
        grid-template-columns: 1fr;
    }
    
    .skeleton-stats {
        grid-template-columns: 1fr;
    }
    
    .skeleton-name {
        width: 100px;
    }
    
    .skeleton-title {
        width: 150px;
    }
    
    .skeleton-subtitle {
        width: 200px;
    }
}

/* ===== SHOW MORE BUTTON ===== */
.show-more-container {
    text-align: center;
    margin-top: var(--space-lg);
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(255, 0, 0, 0.1);
}

.show-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.08) 0%, rgba(255, 0, 0, 0.12) 100%);
    border: 2px solid rgba(255, 0, 0, 0.2);
    border-radius: var(--radius-lg);
    color: var(--red-main);
    font-family: 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.08);
}

.show-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.show-more-btn:hover::before {
    left: 100%;
}

.show-more-btn:hover {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.15) 0%, rgba(255, 0, 0, 0.2) 100%);
    border-color: var(--red-main);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.15);
    color: var(--red-dark);
}

.show-more-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 0, 0, 0.2);
}

.show-more-btn i {
    font-size: 16px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.show-more-btn.expanded i {
    transform: rotate(180deg);
}

.show-more-btn span {
    letter-spacing: 0.3px;
    font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .main-container {
        padding: var(--space-md) var(--space-md);
    }
    
    .logo-title {
        font-size: 28px;
    }
}

@media (max-width: 992px) {
    .header-wrapper {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .stats-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .footer-top-section {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-brand-area,
    .footer-info-area,
    .footer-action-area {
        text-align: center;
        justify-content: center;
    }
    
    .footer-logo-display {
        justify-content: center;
    }
    
    .footer-text-area {
        text-align: center;
    }
    
    .footer-bottom-section {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: var(--space-md) var(--space-md);
    }
    
    .site-header {
        padding: var(--space-md);
        margin: var(--space-md) 0 var(--space-lg) 0;
        border-width: 2px;
    }
    
    .site-footer {
        margin: var(--space-md) var(--space-md) 0 var(--space-md);
        width: calc(100% - 2 * var(--space-md));
        padding: var(--space-md);
        border-width: 2px;
    }
    
    .header-wrapper {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
    }
    
    .logo-title {
        font-size: 24px;
    }
    
    .stats-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .stat-item {
        padding: var(--space-sm);
    }
    
    .vouches-grid-container {
        grid-template-columns: 1fr;
    }
    
    .filter-options {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: var(--space-sm);
    }
    
    .filter-option {
        padding: var(--space-sm);
        font-size: 13px;
    }
    
    .vouches-header-area {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
    
    .vouch-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
    
    .wdemon-section {
        padding: var(--space-md);
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: var(--space-sm) var(--space-sm);
    }
    
    .stats-wrapper {
        grid-template-columns: 1fr;
    }
    
    .logo-title {
        font-size: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .logo-symbol {
        width: 70px;
        height: 70px;
    }
    
    .logo-symbol .site-logo {
        width: 70px;
        height: 70px;
    }
    
    .vouches-grid-container {
        grid-template-columns: 1fr;
    }
    
    .search-filter-section {
        padding: var(--space-sm);
    }
    
    .logo-area {
        gap: var(--space-md);
        flex-direction: column;
    }
    
    .footer-links-area {
        flex-direction: column;
        gap: var(--space-md);
    }
}

/* ===== ANIMATIONS ===== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: var(--shadow-card), 0 0 20px rgba(255, 0, 0, 0.6);
        border-color: var(--red-main);
    }
    50% {
        box-shadow: var(--shadow-card), 0 0 40px rgba(255, 0, 0, 0.6);
        border-color: var(--red-bright);
    }
}

@keyframes statPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vouch-card-item {
    animation: slideIn 0.4s ease forwards;
    animation-delay: calc(var(--card-index, 0) * 0.1s);
    opacity: 0;
}

.vouch-card-item.vouch-new {
    animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
              glowPulse 2s ease-in-out 0.5s 1;
    animation-delay: calc(var(--card-index, 0) * 0.15s);
    opacity: 0;
}

.stat-number {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-number.stat-update-pulse {
    animation: statPulse 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--red-main);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red-dark);
}

/* ===== NOTIFICATIONS ===== */
.notification {
    display: none;
}

/* ===== CONTEXT MENU ===== */
.context-menu {
    position: fixed;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 26, 26, 0.95) 100%);
    border: 1px solid rgba(255, 0, 0, 0.6);
    border-radius: 16px;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 1px rgba(255, 255, 255, 0.08) inset;
    z-index: 10000;
    min-width: 240px;
    overflow: hidden;
    animation: contextMenuAppear 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
}

.context-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red-main), transparent);
    opacity: 0.5;
}

@keyframes contextMenuAppear {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.context-menu-item {
    padding: 11px 16px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: 0.4px;
    position: relative;
    overflow: hidden;
}

.context-menu-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.1), transparent);
}

.context-menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--red-main);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.context-menu-item:hover::before {
    transform: scaleY(1);
}

.context-menu-item:hover {
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.1) 0%, transparent 100%);
    color: var(--red-main);
    padding-left: 20px;
}

.context-menu-item i {
    width: 14px;
    text-align: center;
    color: var(--red-main);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 12.5px;
    opacity: 0.8;
}

.context-menu-item:hover i {
    transform: scale(1.12);
    opacity: 1;
}

.context-menu-item.disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.context-menu-item.disabled:hover {
    background: transparent;
    color: var(--text-light);
    padding-left: 16px;
}

.context-menu-item.disabled:hover i {
    transform: none;
    opacity: 0.8;
}
