:root {
    --bg-color: #050510;
    --bg-alt-color: #0b0b1a;
    --text-color: #f5f5f5;
    --muted-text-color: #b0b0c3;
    --accent-color: #ff007a;
    --accent-color-alt: #00e1ff;
    --card-bg: #111122;
    --border-color: #22223a;
    --danger-color: #ff4b5c;
    --success-color: #28c76f;
    --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.35s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.5);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.7);
}

* {
    box-sizing: border-box;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

body {
    margin: 0;
    font-family: var(--font-family);
    background: radial-gradient(circle at top, #16163a 0, var(--bg-color) 55%, #000 100%);
    background-attachment: fixed;
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
}

html, body {
    overscroll-behavior: none;
    overflow-x: hidden;
}

a {
    color: var(--accent-color-alt);
    text-decoration: none;
    transition: all var(--transition-fast);
}

a:hover,
a:focus {
    text-decoration: underline;
    color: #fff;
}

header.site-header {
    padding: 1.5rem 1.5rem 1rem;
    background: linear-gradient(180deg, rgba(22,22,58,0.9) 0%, rgba(5,5,16,0.3) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideInRight 0.4s ease;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

.logo svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(255,0,122,0.5));
    transition: transform var(--transition-normal);
}

.logo:hover svg {
    transform: rotate(360deg) scale(1.1);
}

.brand-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-alt));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.site-subtitle {
    color: var(--muted-text-color);
    font-size: 0.85rem;
    font-weight: 500;
}

.header-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #1877f2, #0d5dbf);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(24,119,242,0.4);
    transition: all var(--transition-normal);
}

.header-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24,119,242,0.6);
    text-decoration: none;
}

.header-contact-btn i {
    font-size: 1.1rem;
}

.header-subtitle-mobile {
    display: none;
    width: 100%;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--muted-text-color);
    font-size: 0.8rem;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 2rem;
    animation: fadeInUp 0.5s ease;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    margin: 1.5rem 0 2rem;
    padding: 1.25rem;
    background: rgba(17,17,34,0.4);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

.gallery-filters label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--muted-text-color);
    font-weight: 500;
}

.gallery-filters input[type="text"],
.gallery-filters select {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: rgba(5,5,21,0.8);
    color: var(--text-color);
    font-size: 0.9rem;
    min-width: 180px;
    transition: all var(--transition-normal);
}

.gallery-filters input[type="text"]:focus,
.gallery-filters select:focus {
    outline: none;
    border-color: var(--accent-color-alt);
    box-shadow: 0 0 0 3px rgba(0,225,255,0.1);
}

.gallery-filters button[type="submit"] {
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-alt));
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.gallery-filters button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,0,122,0.4);
}

.gallery-filters button[type="submit"]:active {
    transform: translateY(0);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.account-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(0,0,0,0.8));
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    animation: fadeInUp 0.5s ease backwards;
    animation-fill-mode: backwards;  
    transform: translateY(0);  
}

.account-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,0,122,0.1), rgba(0,225,255,0.1));
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
    border-radius: 16px;
}

.account-card:hover {
    transform: translateY(-12px) scale(1.02) !important;  
    border-color: rgba(255,0,122,0.5);
    box-shadow: 0 24px 60px rgba(255,0,122,0.3), 0 0 40px rgba(0,225,255,0.2);
}

.account-card:hover::before {
    opacity: 1;
}

.account-card:nth-child(1) { animation-delay: 0.05s; }
.account-card:nth-child(2) { animation-delay: 0.1s; }
.account-card:nth-child(3) { animation-delay: 0.15s; }
.account-card:nth-child(4) { animation-delay: 0.2s; }
.account-card:nth-child(5) { animation-delay: 0.25s; }
.account-card:nth-child(6) { animation-delay: 0.3s; }

.account-thumb-wrapper {
    position: relative;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    border: none;
    width: 100%;
    padding: 0;
    display: block;
}

.account-thumb-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,0,122,0.3), rgba(0,225,255,0.2));
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    z-index: 2;
}

.account-thumb-wrapper::after {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0) scale(0.5);
    transform: translate3d(-50%, -50%, 0) scale(0.5);
    font-size: 3rem;
    color: #fff;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 3;
    text-shadow: 0 4px 16px rgba(0,0,0,0.9);
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.3));
}

.account-thumb-wrapper:hover::before {
    opacity: 1;
}

.account-thumb-wrapper:hover::after {
    opacity: 1;
    -webkit-transform: translate3d(-50%, -50%, 0) scale(1);
    transform: translate3d(-50%, -50%, 0) scale(1);
}

.account-thumb-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0) scale(1);
    transform: translate3d(0, 0, 0) scale(1);
    position: relative;
    z-index: 1;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.account-thumb-wrapper:hover img {
    -webkit-transform: translate3d(0, 0, 0) scale(1.12);
    transform: translate3d(0, 0, 0) scale(1.12);
    filter: brightness(0.7) contrast(1.1);
}

.account-game-tag {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.25);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.account-body {
    padding: 1rem 1.2rem 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: relative;
}

.account-description {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.5;
    min-height: 3em;
}

.account-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--muted-text-color);
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.account-price {
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent-color-alt);
    text-shadow: 0 0 10px rgba(0,225,255,0.3);
}

.account-footer {
    margin-top: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.btn-contact {
    flex: 1 1 auto;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #ff007a, #ff8a00);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 8px 25px rgba(255,0,122,0.45);
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255,0,122,0.6);
    text-decoration: none;
}

.btn-contact:active {
    transform: translateY(0);
}

.btn-view-full {
    flex: 0 0 auto;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.03);
    color: var(--muted-text-color);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-weight: 500;
}

.btn-view-full:hover {
    border-color: var(--accent-color-alt);
    background: rgba(0,225,255,0.1);
    color: #fff;
    transform: translateY(-2px);
}

.empty-state {
    margin: 3rem 0;
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--muted-text-color);
    background: rgba(17,17,34,0.3);
    border-radius: 12px;
    border: 1px dashed rgba(255,255,255,0.1);
    font-size: 1rem;
}

.pagination {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination a {
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-normal);
    background: rgba(17,17,34,0.3);
    min-width: 40px;
    text-align: center;
}

.pagination a:hover {
    border-color: var(--accent-color-alt);
    background: rgba(0,225,255,0.1);
    transform: translateY(-2px);
}

.pagination a.active {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-alt));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255,0,122,0.4);
}

footer.site-footer {
    padding: 2rem 1.5rem;
    margin-top: 2rem;
    color: var(--muted-text-color);
    font-size: 0.8rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(180deg, rgba(5,5,16,0) 0%, rgba(5,5,16,0.8) 100%);
}

.lightbox-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    animation: fadeInUp 0.3s ease;
}

.lightbox-backdrop.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.9);
    animation: fadeInUp 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255,0,122,0.9);
    border-color: var(--accent-color);
    transform: rotate(90deg) scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    padding: 0 1rem;
}

.lightbox-nav button {
    pointer-events: all;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav button:hover {
    background: rgba(0,225,255,0.9);
    border-color: var(--accent-color-alt);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    header.site-header {
        padding: 1rem;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .logo {
        width: 42px;
        height: 42px;
    }

    .site-title {
        font-size: 1.5rem;
    }

    .header-contact {
        width: 100%;
    }

    .header-contact-btn {
        width: 100%;
        justify-content: center;
        padding: 0.7rem 1rem;
    }

    .header-subtitle-mobile {
        display: block;
    }

    .gallery-filters {
        padding: 1rem;
    }

    .gallery-filters label {
        width: 100%;
    }

    .gallery-filters input[type="text"],
    .gallery-filters select {
        width: 100%;
        min-width: auto;
    }

    .gallery-filters button[type="submit"] {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 1rem 1.5rem;
    }

    .account-thumb-wrapper img {
        height: 180px;
    }

    .account-body {
        padding: 1rem;
    }

    .account-footer {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-contact,
    .btn-view-full {
        width: 100%;
        text-align: center;
    }

    .lightbox-content img {
        max-height: 90%;
        max-width: 90%;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .lightbox-nav {
        padding: 0 0.5rem;
    }

    .lightbox-nav button {
        width: 42px;
        height: 42px;
        font-size: 1.4rem;
    }

    .pagination {
        gap: 0.35rem;
    }

    .pagination a {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
        min-width: 36px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .account-card:active {
        transform: scale(0.98);
    }

    .btn-contact:active,
    .btn-view-full:active,
    .header-contact-btn:active {
        transform: scale(0.95);
    }
}