﻿/* Minimalist Brutal Style */
body {
    --page-side-gif-space: 0px;
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
    padding-top: 72px;
    line-height: 1.6;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #000 transparent;
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background: transparent;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background-color: #000;
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

header {
    position: fixed;
    top: 0;
    left: 10%;
    right: 10%;
    background-color: #111;
    padding: 2px;
    border-radius: 12px;
    text-align: center;
    z-index: 1100;
}


nav {
    position: relative;
    margin-top: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0;
    font-weight: bold;
}

nav a:first-child {
    position: absolute;
    left: 10%;
    display: inline-flex;
    align-items: center;
}

.logo {
    display: block;
    width: auto;
    height: 30px;
}

nav a:hover {
    color: #b10000;
}

main {
    max-width: min(1200px, calc(100% - (var(--page-side-gif-space) * 2)));
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

section {
    margin-bottom: 2rem;
    width: 100%;
}

#home-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

#home-info h2 {
    margin-bottom: 0;
}

#home-info h3 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.2rem;
}

#top-skins {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 1240px;
}

main:has(#top-skins) {
    max-width: min(1320px, calc(100% - (var(--page-side-gif-space) * 2)));
}

#top-skins-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.6rem;
    justify-content: initial;
    overflow: visible;
    padding-bottom: 0.2rem;
}

.skin-card.top-skin-card {
    width: 100%;
    min-width: 0;
    padding: 0.45rem;
}

.skin-card.top-skin-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
}

.skin-card.top-skin-card h3 {
    font-size: 0.85rem;
}

.skin-card.top-skin-card p {
    font-size: 0.8rem;
}

.skin-card.top-skin-card .skin-float-pattern-row {
    padding: 0 6%;
}

.skin-card.top-skin-card .skin-float,
.skin-card.top-skin-card .skin-pattern {
    font-size: 0.66rem;
}

.market-wrapper {
    --market-filter-width: 280px;
    --market-right-gif-space: 205px;
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-start;
}

.filter-panel {
    position: fixed;
    left: 0;
    top: 3.5rem;
    bottom: 2rem;
    width: var(--market-filter-width);
    background-color: #111;
    border: 1px solid #444;
    padding: 1rem;
    box-sizing: border-box;
    overflow-y: auto;
    z-index: 999;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.filter-panel::-webkit-scrollbar {
    display: none;
}

.filter-panel {
    scrollbar-width: none;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.filter-card {
    border: 1px solid #444;
    margin-bottom: 1rem;
    background-color: #222;
}

.filter-card summary {
    padding: 0.5rem;
    cursor: pointer;
    background-color: #333;
    border-bottom: 1px solid #444;
    font-weight: bold;
    list-style: none;
}

.filter-card summary:hover {
    background-color: #444;
}

.filter-card[open] summary {
    border-bottom: none;
}

.filter-card > div {
    padding: 0.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.filter-group input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
}

.wear-toggle-group {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.wear-toggle {
    cursor: pointer;
}

.wear-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.wear-toggle-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 0.35rem 0.6rem;
    border: 1px solid #555;
    border-radius: 999px;
    background-color: #1a1a1a;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.wear-toggle:hover .wear-toggle-pill {
    border-color: #888;
    background-color: #252525;
}

.wear-toggle input[type="checkbox"]:checked + .wear-toggle-pill {
    background-color: #b10000;
    border-color: #ff3b3b;
    color: #fff;
}

.price-range-inputs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.price-input-wrap {
    position: relative;
    flex: 1;
}

.price-currency-prefix {
    position: absolute;
    left: 0.65rem;
    top: 35%;
    transform: translateY(-50%);
    color: #fff;
    pointer-events: none;
    font-weight: 700;
}

.price-range-input {
    width: 100%;
    box-sizing: border-box;
    padding-left: 1.45rem;
    text-align: center;
}

.filter-toggle {
    position: fixed;
    top: 3.5rem;
    left: calc(var(--market-filter-width) - 40px);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: left 0.25s ease, border-color 0.3s ease, background-color 0.3s ease;
    z-index: 1000;
    font-size: 1.1rem;
    font-weight: bold;
}

.market-wrapper.filters-closed .filter-panel {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.market-wrapper.filters-closed .filter-toggle {
    left: 0;
    background-color: #111;
    border: 1px solid #444;
}

.market-content {
    margin-left: calc(var(--market-filter-width) + 10px);
    margin-right: var(--market-right-gif-space);
    flex: 1;
    min-width: 0;
    padding: 1rem;
    padding-top: 2rem;
    transition: margin-left 0.25s ease;
}

.market-wrapper.filters-closed .market-content {
    margin-left: 50px;
}

.gif-slot {
    position: fixed;
    right: 1rem;
    top: 10%;
    bottom: 10%;
    width: 170px;
    height: auto;
    transform: none;
    background-color: #111;
    border-left: 0px solid #444;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 999;
}

.gif-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gif-slot-left {
    left: 1rem;
    right: auto;
}

main:has(.market-wrapper) {
    max-width: 100%;
    padding: 0;
    min-height: unset;
}

#skins-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.6rem;
}

.skin-card {
    position: relative;
    background-color: #111;
    border: 1px solid #444;
    border-radius: 12px;
    padding: 0.6rem;
    box-sizing: border-box;
    text-align: center;
    transition: border-color 0.2s ease;
    overflow: hidden;
}

.skin-card:hover {
    border-color: #b10000;
}

.skin-card.rarity-consumer {
    border-color: #7E7E7E;
    box-shadow: 0 0 10px rgba(60, 58, 59, 0.55), 0 0 18px rgba(60, 58, 59, 0.35);
}

.skin-card.rarity-industrial {
    border-color: #506493;
    box-shadow: 0 0 10px rgba(56, 66, 91, 0.55), 0 0 18px rgba(56, 66, 91, 0.35);
}

.skin-card.rarity-mil-spec {
    border-color: #4A4698;
    box-shadow: 0 0 10px rgba(49, 46, 102, 0.55), 0 0 18px rgba(49, 46, 102, 0.35);
}

.skin-card.rarity-restricted {
    border-color: #4A0D8A;
    box-shadow: 0 0 10px rgba(56, 29, 96, 0.55), 0 0 18px rgba(56, 29, 96, 0.35);
}

.skin-card.rarity-classified {
    border-color: #601F7C;
    box-shadow: 0 0 10px rgba(77, 20, 96, 0.55), 0 0 18px rgba(77, 20, 96, 0.35);
}

.skin-card.rarity-covert {
    border-color: #593333;
    box-shadow: 0 0 10px rgba(82, 45, 50, 0.55), 0 0 18px rgba(82, 45, 50, 0.35);
}

.skin-card.rarity-gold {
    border-color: #A68E42;
    box-shadow: 0 0 10px rgba(87, 78, 49, 0.6), 0 0 18px rgba(87, 78, 49, 0.4);
}

.skin-card.rarity-consumer:hover,
.skin-card.rarity-industrial:hover,
.skin-card.rarity-mil-spec:hover,
.skin-card.rarity-restricted:hover,
.skin-card.rarity-classified:hover,
.skin-card.rarity-covert:hover,
.skin-card.rarity-gold:hover {
    filter: brightness(1.05);
}

.skin-card.rarity-consumer:hover {
    box-shadow: 0 0 14px rgba(60, 58, 59, 0.7), 0 0 26px rgba(60, 58, 59, 0.45);
}

.skin-card.rarity-industrial:hover {
    box-shadow: 0 0 14px rgba(56, 66, 91, 0.7), 0 0 26px rgba(56, 66, 91, 0.45);
}

.skin-card.rarity-mil-spec:hover {
    box-shadow: 0 0 14px rgba(49, 46, 102, 0.7), 0 0 26px rgba(49, 46, 102, 0.45);
}

.skin-card.rarity-restricted:hover {
    box-shadow: 0 0 14px rgba(56, 29, 96, 0.7), 0 0 26px rgba(56, 29, 96, 0.45);
}

.skin-card.rarity-classified:hover {
    box-shadow: 0 0 14px rgba(77, 20, 96, 0.7), 0 0 26px rgba(77, 20, 96, 0.45);
}

.skin-card.rarity-covert:hover {
    box-shadow: 0 0 14px rgba(82, 45, 50, 0.7), 0 0 26px rgba(82, 45, 50, 0.45);
}

.skin-card.rarity-gold:hover {
    box-shadow: 0 0 14px rgba(87, 78, 49, 0.75), 0 0 26px rgba(87, 78, 49, 0.5);
}

.skin-card .buy-buttons {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, auto);
    grid-template-rows: 1fr;
    gap: 0.35rem;
    justify-content: center;
    align-items: center;
    align-content: center;
    background: rgba(0, 0, 0, 0.78);
    opacity: 0;
    transition: opacity 0.2s ease;
    margin-top: 0;
}

.skin-card:hover .buy-buttons {
    opacity: 1;
}

.buy-button {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border: 1px solid #444;
    border-radius: 8px;
    background-color: #111;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.buy-button:hover {
    border-color: #b10000;
    background-color: #222;
    transform: translateY(-2px);
}

.buy-button img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

#skin-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skin-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background-color: #111;
    border: 1px solid #444;
    padding: 0.75rem;
    border-radius: 8px;
    flex-wrap: wrap;
}

.skin-item-select {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
}

.skin-item-select input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #e53935;
}

.skin-list-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.skin-select-all-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: #ccc;
}

.skin-select-all-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #e53935;
}

.skin-item-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.skin-item-meta img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #333;
}

.skin-item-meta h3 {
    margin: 0;
    font-size: 1rem;
}

.skin-item-meta p {
    margin: 0.25rem 0 0;
    color: #ccc;
    font-size: 0.9rem;
}

.skin-item-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.skin-item:has(.skin-item-checkbox:checked) {
    border-color: #e53935;
    background-color: #1a0d0d;
}

.admin-btn {
    appearance: none;
    border: 1px solid #444;
    background-color: #222;
    color: #fff;
    padding: 0.45rem 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.admin-btn:hover {
    border-color: #b10000;
    background-color: #111;
}

.admin-btn.delete-btn {
    border-color: #661111;
}

.admin-btn.delete-btn:hover {
    background-color: #330000;
}

.form-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.admin-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
    padding: 0.4rem 0;
}

.admin-radio-group label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: normal;
    margin-bottom: 0;
    cursor: pointer;
}

.admin-radio-group input[type="radio"],
.admin-radio-group input[type="checkbox"] {
    width: auto;
    padding: 0;
    margin: 0;
}

#cancel-edit-button {
    border-color: #666;
    background-color: #222;
    display: none;
}

#cancel-edit-button:hover {
    background-color: #333;
}

.skin-card img {
    max-width: 100%;
    height: 240px;
    object-fit: contain;
}

.skin-card h3 {
    margin: 0.3rem 0;
    font-size: 0.85rem;
}

.skin-card p {
    margin: 0.2rem 0;
    font-size: 0.8rem;
}

.skin-card .skin-price {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0.25rem 0;
}

.skin-float {
    display: block;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    margin: 0;
    text-align: left;
}

.skin-float-pattern-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 10%;
    box-sizing: border-box;
    margin: 0.1rem 0;
}

.skin-pattern {
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    margin: 0;
    text-align: right;
}

.skin-card a {
    color: #b10000;
    text-decoration: none;
    font-weight: bold;
}

.skin-card a:hover {
    text-decoration: underline;
}

#skins-buttons {
    display: flex;
    gap: 0.4rem;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
    width: 100%;
}

.skins-btn {
    background-color: #1a1a1a;
    color: #fff;
    border: 1px solid #555;
    border-radius: 8px;
    padding: 0.3rem 0.75rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.skins-btn:hover {
    background-color: #252525;
    border-color: #888;
    color: #fff;
}

.skins-btn.active {
    background-color: #b10000;
    border-color: #b10000;
    color: #fff;
}

form {
    background-color: #111;
    padding: 1rem;
    border: 1px solid #444;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    background-color: #222;
    color: #fff;
    border: 1px solid #444;
    box-sizing: border-box;
}

button {
    background-color: #b10000;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background-color: #cc0000;
}

footer {
    background-color: #111;
    padding: 2px 10%;
    position: fixed;
    bottom: 0;
    left: 10%;
    right: 10%;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    margin: 0px;
}

footer a {
    color: #b10000;
    font-weight: bold;
}

.market-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.market-top h2 {
    margin: 0;
}

.sort-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sort-label {
    font-size: 0.85rem;
    color: #aaa;
    font-weight: bold;
}

.sort-btn {
    background-color: #1a1a1a;
    color: #fff;
    border: 1px solid #555;
    border-radius: 8px;
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.sort-btn:hover {
    background-color: #252525;
    border-color: #888;
}

.sort-btn.active {
    background-color: #b10000;
    border-color: #ff3b3b;
    color: #fff;
}

#admin-login-section {
    max-width: 440px;
    margin: 0 auto 1.5rem;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background-color: #111;
    border: 1px solid #444;
    border-radius: 12px;
    padding: 1rem;
}

#admin-session-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    background-color: #111;
    border: 1px solid #444;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-sizing: border-box;
    margin-bottom: 1rem;
}

#admin-session-user {
    margin: 0;
    color: #bbb;
    font-size: 0.95rem;
}

#admin-logout-button {
    max-width: 140px;
}

.admin-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.form-actions button {
    flex: 1;
    max-width: 150px;
}

.skin-search {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    background-color: #222;
    color: #fff;
    border: 1px solid #444;
    box-sizing: border-box;
    border-radius: 4px;
    font-size: 1rem;
}

.skin-search::placeholder {
    color: #888;
}

.skin-search:focus {
    outline: none;
    border-color: #b10000;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.2);
}

select,
textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    background-color: #222;
    color: #fff;
    border: 1px solid #444;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.giveaway-thumb-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #999;
}

.giveaways-hero {
    text-align: center;
    margin-bottom: 1rem;
}

.giveaways-hero h1 {
    margin: 0;
    font-size: 2rem;
}

.giveaways-hero p {
    margin: 0.5rem 0 0;
    color: #bbb;
}

.giveaways-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.giveaway-card {
    background-color: #111;
    border: 1px solid #444;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: border-color 0.25s ease;
    cursor: pointer;
}

.giveaway-card:hover {
    border-color: #b10000;
}

.giveaway-pill {
    margin: 0;
    align-self: flex-start;
    border: 1px solid #ff4d4d;
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.giveaway-card h2 {
    margin: 0;
    font-size: 1.2rem;
}

.giveaway-card p {
    margin: 0;
}

.giveaway-image {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #333;
}

.giveaway-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.giveaway-wear {
    font-size: 0.85rem;
    color: #bbbbbb;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.giveaway-skin-name {
    font-weight: 700;
    color: #f1f1f1;
    transition: color 0.25s ease;
}

.giveaway-card:hover .giveaway-skin-name {
    color: #b10000;
}

.giveaway-prize {
    font-weight: 700;
    color: #f1f1f1;
}

.giveaway-time,
.giveaway-countdown {
    color: #bbb;
    font-size: 0.9rem;
}

.giveaway-countdown {
    align-self: center;
    text-align: center;
    border: 1px solid #444;
    border-radius: 999px;
    background: #161616;
    color: #e7e7e7;
    padding: 0.3rem 0.75rem;
    margin-top: 0.2rem;
}

/* â”€â”€ Contact page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.contact-hero {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-hero h1 {
    margin: 0;
    font-size: 2rem;
}

.contact-subtitle {
    color: #bbb;
    margin: 0.5rem 0 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
    margin-bottom: 2rem;
}

.contact-card {
    background-color: #111;
    border: 1px solid #444;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: border-color 0.2s ease;
}

.contact-card:hover {
    border-color: #b10000;
}

.contact-email-card {
    grid-column: 1 / -1;
    border-color: #661111;
}

.contact-card-icon {
    font-size: 2.2rem;
    line-height: 1;
    color: #bbb;
    margin-bottom: 0.25rem;
}

.contact-icon-discord {
    color: #5865F2;
}

.contact-icon-x {
    color: #fff;
    font-size: 2rem;
}

.contact-icon-steam {
    color: #c7d5e0;
}

.contact-card h2 {
    margin: 0;
    font-size: 1.2rem;
}

.contact-card p {
    margin: 0;
    color: #bbb;
    font-size: 0.9rem;
}

.contact-note {
    font-size: 0.8rem !important;
    color: #666 !important;
}

.contact-link {
    display: inline-block;
    margin-top: 0.25rem;
    color: #ff4444;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #b10000;
    text-decoration: underline;
}

.contact-link-primary {
    font-size: 1.1rem;
}

.contact-business {
    width: 100%;
    background-color: #111;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.contact-business h2 {
    margin: 0 0 0.75rem;
}

.contact-business p {
    color: #ccc;
    margin: 0 0 0.5rem;
}

.contact-business-list {
    padding-left: 1.5rem;
    margin: 0.5rem 0 1rem;
    color: #ccc;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.contact-business-list li {
    font-size: 0.95rem;
}

.contact-inline-link {
    color: #ff4444;
    font-weight: 700;
    text-decoration: none;
}

.contact-inline-link:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-email-card {
        grid-column: 1;
    }
}

/* â”€â”€ End Contact page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* â”€â”€ Contact page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.contact-hero {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-hero h1 {
    margin: 0;
    font-size: 2rem;
}

.contact-subtitle {
    color: #bbb;
    margin: 0.5rem 0 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
    margin-bottom: 2rem;
}

.contact-card {
    background-color: #111;
    border: 1px solid #444;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: border-color 0.2s ease;
}

.contact-card:hover {
    border-color: #b10000;
}

.contact-email-card {
    grid-column: 1 / -1;
    border-color: #661111;
}

.contact-card-icon {
    font-size: 2.2rem;
    line-height: 1;
    color: #bbb;
    margin-bottom: 0.25rem;
}

.contact-icon-discord {
    color: #5865F2;
}

.contact-icon-x {
    color: #fff;
    font-size: 2rem;
}

.contact-icon-steam {
    color: #c7d5e0;
}

.contact-card h2 {
    margin: 0;
    font-size: 1.2rem;
}

.contact-card p {
    margin: 0;
    color: #bbb;
    font-size: 0.9rem;
}

.contact-note {
    font-size: 0.8rem !important;
    color: #666 !important;
}

.contact-link {
    display: inline-block;
    margin-top: 0.25rem;
    color: #ff4444;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #b10000;
    text-decoration: underline;
}

.contact-link-primary {
    font-size: 1.1rem;
}

.contact-business {
    width: 100%;
    background-color: #111;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.contact-business h2 {
    margin: 0 0 0.75rem;
}

.contact-business p {
    color: #ccc;
    margin: 0 0 0.5rem;
}

.contact-business-list {
    padding-left: 1.5rem;
    margin: 0.5rem 0 1rem;
    color: #ccc;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.contact-business-list li {
    font-size: 0.95rem;
}

.contact-inline-link {
    color: #ff4444;
    font-weight: 700;
    text-decoration: none;
}

.contact-inline-link:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-email-card {
        grid-column: 1;
    }
}

/* â”€â”€ End Contact page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* â”€â”€ Admin Accordion â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.admin-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.admin-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
}

.admin-card-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: #1a1a1a;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease;
    letter-spacing: 0.02em;
}

.admin-card-header:hover {
    background: #222;
}

.admin-card-arrow {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
    color: #888;
}

.admin-card.open .admin-card-arrow {
    transform: rotate(180deg);
}

.admin-card-body {
    display: none;
    padding: 1.25rem;
    border-top: 1px solid #2a2a2a;
}

.admin-card.open .admin-card-body {
    display: block;
}

.admin-card-body section {
    margin: 0;
}

.admin-card-body section > h2 {
    margin-top: 0;
}

/* â”€â”€ End Admin Accordion â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.gleam-embed-wrap {
    width: 100%;
    min-height: 360px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #0f0f0f;
    padding: 0.4rem;
    box-sizing: border-box;
}

.giveaway-gleam-embed {
    display: block;
    width: 100%;
}

.giveaway-fallback-btn {
    margin-top: 0.2rem;
}

.giveaway-image-clickable {
    cursor: pointer;
}

.giveaway-viewer {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.9);
}

.giveaway-viewer-overlay {
    position: absolute;
    inset: 0;
}

#giveaway-viewer-body {
    position: relative;
    z-index: 3001;
    width: min(1200px, calc(100vw - 2rem));
    height: calc(100vh - 2rem);
    margin: 1rem auto;
    border: 1px solid #444;
    background: #0f0f0f;
}

.giveaway-viewer-close.filter-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    left: auto;
    z-index: 3002;
    background-color: #111;
    border: 1px solid #444;
}

.giveaway-viewer-close.filter-toggle:hover {
    background-color: #1b1b1b;
    border-color: #666;
}

/* Page Entry Animations - Universal */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main {
    animation: fadeIn 0.5s ease-out;
}

main > section:first-of-type {
    animation: slideUp 0.6s ease-out 0.1s backwards;
}

main > section:not(:first-of-type) {
    animation: slideUp 0.5s ease-out backwards;
}

main > section:nth-child(2) {
    animation-delay: 0.2s;
}

main > section:nth-child(3) {
    animation-delay: 0.3s;
}

main > section:nth-child(4) {
    animation-delay: 0.4s;
}

/* Grid and Card Items Stagger */
#top-skins-container > div,
.contact-grid > div,
#giveaways-grid > article,
#skins-container > div {
    animation: slideUp 0.5s ease-out backwards;
}

#top-skins-container > div:nth-child(1),
.contact-grid > div:nth-child(1),
#giveaways-grid > article:nth-child(1),
#skins-container > div:nth-child(1) {
    animation-delay: 0.2s;
}

#top-skins-container > div:nth-child(2),
.contact-grid > div:nth-child(2),
#giveaways-grid > article:nth-child(2),
#skins-container > div:nth-child(2) {
    animation-delay: 0.3s;
}

#top-skins-container > div:nth-child(3),
.contact-grid > div:nth-child(3),
#giveaways-grid > article:nth-child(3),
#skins-container > div:nth-child(3) {
    animation-delay: 0.4s;
}

#top-skins-container > div:nth-child(n+4),
.contact-grid > div:nth-child(n+4),
#skins-container > div:nth-child(n+4) {
    animation-delay: 0.5s;
}

/* Giveaway Page Specific Overrides (already defined above but included for clarity) */
.giveaways-hero {
    animation: fadeIn 0.5s ease-out;
}

#giveaways-grid {
    animation: slideUp 0.6s ease-out 0.1s backwards;
}

.giveaway-card {
    animation: slideUp 0.5s ease-out backwards !important;
}

.giveaway-card:nth-child(1) {
    animation-delay: 0.2s !important;
}

.giveaway-card:nth-child(2) {
    animation-delay: 0.3s !important;
}

.giveaway-card:nth-child(3) {
    animation-delay: 0.4s !important;
}

body.giveaway-viewer-open {
    overflow: hidden;
}

@media (min-width: 1501px) and (min-height: 761px) {
    body {
        --page-side-gif-space: 205px;
    }
}

@media (max-width: 1200px) {
    #top-skins-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    #top-skins-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    #top-skins-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 460px) {
    #top-skins-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1500px), (max-height: 760px) {
    .gif-slot,
    .gif-slot-left {
        display: none;
    }

    .market-content {
        margin-right: 1rem;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .market-wrapper {
        --market-filter-width: 100%;
    }

    .filter-panel {
        position: fixed;
        top: 3.4rem;
        left: 0;
        right: 0;
        width: 100%;
        bottom: 2.6rem;
        max-height: none;
        border-left: none;
        border-right: none;
    }

    .filter-toggle {
        top: 3.7rem;
        left: 0.4rem;
        right: auto;
        background-color: #111;
        border: 1px solid #444;
    }

    .market-content {
        margin-left: 0;
        padding: 1rem 0.75rem;
    }

    .market-wrapper.filters-closed .market-content {
        margin-left: 0;
    }

    .market-wrapper.filters-closed .filter-toggle {
        left: 0.4rem;
        right: auto;
    }

    #skins-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .giveaways-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    nav {
        flex-wrap: wrap;
        gap: 0.75rem 1rem;
        padding: 0.6rem;
    }

    nav a:first-child {
        position: static;
    }

    #admin-session-bar {
        flex-direction: column;
        align-items: stretch;
    }

    #admin-logout-button {
        max-width: none;
        width: 100%;
    }

    .skin-card img {
        height: 80px;
    }

    .skin-card h3 {
        font-size: 0.8rem;
    }

    .skin-card .skin-price {
        font-size: 1.05rem;
    }

    #skins-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    #skins-container {
        grid-template-columns: 1fr;
    }

    main {
        padding: 1rem;
    }
}