:root {
    --primary-color: #a0c4e8;
    --primary-rgb: 160, 196, 232;
    --primary-glow: rgba(160, 196, 232, 0.15);
    --primary-border: rgba(160, 196, 232, 0.12);
    --primary-bright: #c0daf5;
}

[data-theme="red"] {
    --primary-color: #e8a0a0;
    --primary-rgb: 232, 160, 160;
    --primary-glow: rgba(232, 160, 160, 0.15);
    --primary-border: rgba(232, 160, 160, 0.12);
    --primary-bright: #f0c0c0;
}

[data-theme="purple"] {
    --primary-color: #c4a0e8;
    --primary-rgb: 196, 160, 232;
    --primary-glow: rgba(196, 160, 232, 0.15);
    --primary-border: rgba(196, 160, 232, 0.12);
    --primary-bright: #d8c0f5;
}

[data-theme="green"] {
    --primary-color: #a0e8c4;
    --primary-rgb: 160, 232, 196;
    --primary-glow: rgba(160, 232, 196, 0.15);
    --primary-border: rgba(160, 232, 196, 0.12);
    --primary-bright: #c0f5da;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 180vh;
    background: #040408;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 32px;
    height: 56px;
    background: linear-gradient(180deg, rgba(6,6,12,0.95) 0%, rgba(6,6,12,0.88) 100%);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.06);
    z-index: 100;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* ===== NAV BRAND ===== */
.nav-brand {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 2px;
    text-decoration: none;
    flex-shrink: 0;
    color: rgba(var(--primary-rgb), 0.85);
    user-select: none;
    position: relative;
    transition: all 0.25s ease;
}
.nav-brand span {
    color: rgba(var(--primary-rgb), 0.35);
    transition: color 0.25s ease;
}
.nav-brand:hover {
    color: rgba(var(--primary-rgb), 1);
    text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
}
.nav-brand:hover span {
    color: rgba(var(--primary-rgb), 0.55);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}


.duration-filter-bar {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px 40px;
    background: linear-gradient(135deg, rgba(15, 15, 20, 0.9), rgba(25, 25, 30, 0.9));
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 99;
}

.duration-filter-btn {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.8), rgba(40, 40, 45, 0.8));
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 10px 24px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    text-align: center;
}

.duration-filter-btn:hover {
    border-color: var(--primary-color);
    color: #fff;
}

.duration-filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), rgba(0, 180, 220, 0.8));
    border-color: var(--primary-color);
    color: #fff;
}

@media (max-width: 768px) {
    .duration-filter-bar {
        gap: 8px;
        padding: 12px 20px;
    }
    
    .duration-filter-btn {
        padding: 8px 16px;
        font-size: 13px;
        min-width: 70px;
    }
}

.nav-left {
    display: flex;
    gap: 2px;
    align-items: center;
}

.nav-btn {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s ease, background 0.2s ease;
    padding: 7px 16px;
    position: relative;
    border-radius: 8px;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

/* Subtle bg on hover */
.nav-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: rgba(var(--primary-rgb), 0.08);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

/* Bottom indicator line */
.nav-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px 2px 0 0;
    transition: width 0.2s cubic-bezier(.4,0,.15,1), left 0.2s cubic-bezier(.4,0,.15,1), opacity 0.2s ease;
    opacity: 0;
}

.nav-btn:hover {
    color: rgba(255,255,255,0.9);
}
.nav-btn:hover::before {
    opacity: 1;
}
.nav-btn:hover::after {
    width: 20px;
    left: calc(50% - 10px);
    opacity: 0.5;
}

.nav-btn.active {
    color: #fff;
    font-weight: 600;
}
.nav-btn.active::before {
    opacity: 1;
    background: rgba(var(--primary-rgb), 0.1);
}
.nav-btn.active::after {
    width: 20px;
    left: calc(50% - 10px);
    opacity: 1;
    background: var(--primary-color);
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.5), 0 -2px 10px rgba(var(--primary-rgb), 0.15);
}

.nav-right {
    display: flex;
    align-items: center;
}

.steam-login img {
    height: 35px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.steam-login:hover img {
    filter: brightness(1.1);
}

/* ===== HOME LAYOUT (normal flow) ===== */
.home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 18vh;
    width: 100%;
}

/* ===== HOME LOGO ===== */
.home-logo {
    text-align: center;
    margin-bottom: 56px;
}
.home-logo-text {
    font-size: clamp(42px, 8vw, 80px);
    font-weight: 900;
    letter-spacing: 6px;
    color: transparent;
    -webkit-text-stroke: 2px rgba(var(--primary-rgb), 0.85);
    text-stroke: 2px rgba(var(--primary-rgb), 0.85);
    user-select: none;
    line-height: 1;
    white-space: nowrap;
}
.home-logo-text span {
    -webkit-text-stroke: 2px rgba(var(--primary-rgb), 0.35);
    text-stroke: 2px rgba(var(--primary-rgb), 0.35);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: calc(100% - 48px);
    max-width: 780px;
    margin-bottom: 36px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(20, 20, 25, 0.95), rgba(30, 30, 35, 0.95));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 32px 16px;
    text-align: center;
}

.stat-value {
    font-size: 42px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.stat-card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.stat-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
}

.stat-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    line-height: 1.6;
    padding: 0 10px;
}

.features-section {
    position: absolute;
    top: 90vh;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    z-index: 10;
    text-align: center;
}

.features-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 20px;
}

@media (max-width: 1200px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-card {
        min-width: 250px;
    }
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 20, 25, 0.6);
    padding: 8px 15px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease;
    position: relative;
}

.user-profile:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    object-fit: cover;
}

.username {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

.logout-btn {
    color: #fff;
    text-decoration: none;
    padding: 10px 24px;
    background: rgba(180, 60, 60, 0.5);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.3s ease;
    border: 1px solid rgba(180, 60, 60, 0.3);
    margin-left: 10px;
    letter-spacing: 0.3px;
}

.logout-btn:hover {
    background: rgba(180, 60, 60, 0.7);
}

.store-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 180px 20px 50px;
}

.store-content {
    text-align: center;
    max-width: 800px;
}

.store-content h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.product-card {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: rgba(160, 196, 232, 0.25);
}

.product-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
}

.product-card p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -3;
    object-fit: cover;
    filter: brightness(0.35) blur(1px);
}

.blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 5, 10, 0.15) 0%, rgba(10, 15, 25, 0.2) 100%);
    z-index: -2;
    pointer-events: none;
}

.discord-section {
    position: absolute;
    right: 20px;
    bottom: 50px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.discord-join-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.discord-join-btn svg {
    color: white;
}

.discord-widget {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(160, 196, 232, 0.15);
}

.discord-widget iframe {
    display: block;
    border-radius: 12px;
}

.player-feed {
    position: fixed;
    right: 20px;
    top: 100px;
    width: 320px;
    max-height: 500px;
    background: rgba(10, 10, 15, 0.92);
    border: 1px solid rgba(160, 196, 232, 0.15);
    border-radius: 12px;
    padding: 20px;
    z-index: 50;
}

.feed-header {
    display: none;
}

#player-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 400px;
    overflow-y: auto;
}

#player-list::-webkit-scrollbar {
    width: 6px;
}

#player-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

#player-list::-webkit-scrollbar-thumb {
    background: rgba(160, 196, 232, 0.2);
    border-radius: 10px;
}

#player-list::-webkit-scrollbar-thumb:hover {
    background: rgba(160, 196, 232, 0.35);
}

.player-notification {
    background: rgba(20, 20, 30, 0.6);
    padding: 14px;
    border-radius: 10px;
    border: 1px solid var(--primary-border);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
    cursor: pointer;
}

.player-notification:hover {
    background: rgba(25, 25, 35, 0.8);
    border-color: var(--primary-color);
}

.player-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.player-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    object-fit: cover;
}

.player-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.player-name {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.player-status {
    font-size: 13px;
    font-weight: 500;
}

.player-status.connect {
    color: var(--primary-color);
}

.player-status.disconnect {
    color: #ff5370;
}

.admin-container {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 90px 15px 30px;
}

.admin-content {
    max-width: 1200px;
    width: 100%;
}

.admin-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
    color: var(--primary-color);
}

.admin-card {
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

.admin-card h2 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-box {
    background: rgba(20, 20, 30, 0.6);
    border: 1px solid rgba(160, 196, 232, 0.2);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: rgba(160, 196, 232, 0.4);
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 10px;
}

.stat-value {
    display: block;
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
}

.server-info p {
    color: rgba(255, 255, 255, 0.9);
    margin: 15px 0;
    font-size: 16px;
}

.server-info strong {
    color: var(--primary-color);
}

.status-active {
    color: var(--primary-color);
    font-weight: 600;
}

.webhook-url {
    color: #82aaff;
    font-family: monospace;
    font-size: 13px;
}

.notifications-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 20, 30, 0.6);
    border: 1px solid rgba(160, 196, 232, 0.15);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.notification-item:hover {
    background: rgba(25, 25, 35, 0.8);
    border-color: rgba(160, 196, 232, 0.25);
}

.notif-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    object-fit: cover;
}

.notif-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.notif-info strong {
    color: #fff;
    font-size: 16px;
}

.notif-action {
    font-size: 13px;
    font-weight: 500;
}

.notif-action.connect {
    color: var(--primary-color);
}

.notif-action.disconnect {
    color: #ff5370;
}

.no-data {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 20px;
}

.site-settings {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.setting-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.setting-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 600;
}

.theme-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    
}

.theme-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(20, 20, 35, 0.7), rgba(25, 25, 40, 0.7));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(100, 200, 255, 0.15);
    border-radius: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.theme-btn:hover {
    background: linear-gradient(135deg, rgba(25, 25, 40, 0.8), rgba(30, 30, 50, 0.8));
    border-color: rgba(160, 196, 232, 0.2);
}

.theme-btn.active {
    background: rgba(100, 160, 220, 0.4);
    border-color: var(--primary-color);
    color: #fff;
}

.weather-controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    
}

.weather-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(20, 20, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.weather-btn:hover {
    background: rgba(30, 30, 40, 0.8);
    border-color: var(--primary-color);
}

.weather-btn.active {
    background: rgba(30, 30, 40, 0.9);
    border-color: var(--primary-color);
}

.weather-icon {
    font-size: 20px;
}

.weather-status {
    margin-left: auto;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 12px;
}

.rain-container,
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    display: none;
}

.rain-container.active,
.snow-container.active {
    display: block;
}

.rain-drop {
    position: absolute;
    top: -10%;
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(100, 200, 255, 0.6));
    animation: rain-fall linear infinite;
}

@keyframes rain-fall {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(110vh);
        opacity: 0.3;
    }
}

.snow-flake {
    position: absolute;
    top: -10%;
    color: #fff;
    animation: snow-fall linear infinite;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

@keyframes snow-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0.5;
    }
}

.product-form-section,
.products-list-section {
    margin-bottom: 12px;
}

.product-form-section h3,
.products-list-section h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="url"],
.form-group textarea {
    background: rgba(20, 20, 35, 0.7);
    border: 2px solid rgba(100, 200, 255, 0.15);
    border-radius: 14px;
    padding: 14px 18px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input[type="text"]:focus,
.form-group input[type="url"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(25, 25, 35, 0.8);
}

.form-group input[type="file"] {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid var(--primary-border);
    border-radius: 10px;
    padding: 12px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group input[type="file"]:hover {
    border-color: var(--primary-color);
    background: rgba(25, 25, 35, 0.9);
}

.form-group input[type="file"]::file-selector-button {
    background: var(--primary-color);
    color: #000;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.form-group input[type="file"]::file-selector-button:hover {
    opacity: 0.85;
}

.submit-btn {
    background: rgba(100, 160, 220, 0.4);
    color: #fff;
    border: 1px solid rgba(100, 160, 220, 0.3);
    border-radius: 10px;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: rgba(100, 160, 220, 0.6);
}

.admin-products-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-product-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 20, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px;
    transition: all 0.3s ease;
}

.admin-product-item:hover {
    border-color: var(--primary-color);
}

.admin-product-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 15, 20, 0.6);
    padding: 5px;
}

.admin-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.admin-product-info strong {
    color: var(--primary-color);
    font-size: 16px;
}

.admin-product-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin: 0;
}

.admin-product-info small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.delete-btn {
    background: rgba(180, 60, 60, 0.5);
    border: 1px solid rgba(180, 60, 60, 0.3);
    color: #fff;
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.delete-btn:hover {
    background: rgba(180, 60, 60, 0.7);
}

.store-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 180px 40px 50px;
}

.store-content {
    max-width: 1400px;
    width: 100%;
}

.store-content h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: rgba(18, 18, 24, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    transition: border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.product-logo {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 15, 20, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
}

.product-logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.02));
    pointer-events: none;
}

.product-logo img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.product-placeholder {
    font-size: 80px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.product-name {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 12px 0;
}

.product-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 12px;
}

.product-permission {
    background: rgba(200, 180, 100, 0.1);
    border: 1px solid rgba(200, 180, 100, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    color: #d4c478;
    font-size: 12px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 8px;
    width: 100%;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 12px;
    width: 100%;
}

.fake-price {
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    font-weight: 600;
    text-decoration: line-through;
    position: relative;
}

.real-price {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
}

.duration-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
    width: 100%;
}

.duration-btn {
    background: rgba(25, 25, 35, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 8px;
    cursor: pointer;
    transition: border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.duration-btn:hover {
    border-color: var(--primary-color);
}

.duration-btn.active {
    background: rgba(100, 160, 220, 0.15);
    border-color: var(--primary-color);
}

.duration-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.duration-btn.active .duration-label {
    color: var(--primary-color);
}

.duration-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.duration-fake {
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
    text-decoration: line-through;
}

.duration-real {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
}

.duration-btn.active .duration-real {
    color: var(--primary-color);
}


/* Clean Preview Modal */
.preview-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-modal.show {
    opacity: 1;
}

.preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
}

.preview-content {
    position: relative;
    z-index: 10;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    opacity: 0;
    animation: imageFadeIn 0.3s ease forwards;
}

@keyframes imageFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.preview-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(180, 60, 60, 0.7);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-close:hover {
    background: rgba(180, 60, 60, 0.9);
}

.product-actions {
    display: flex;
    gap: 8px;
    width: 100%;
    align-items: center;
    position: relative;
    z-index: 5;
}

.preview-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.preview-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.buy-btn {
    background: rgba(100, 160, 220, 0.4);
    color: #fff;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.3s ease;
    flex: 1;
    text-align: center;
    cursor: pointer;
    border: 1px solid rgba(100, 160, 220, 0.3);
    letter-spacing: 0.3px;
}

.buy-btn:hover {
    background: rgba(100, 160, 220, 0.6);
    opacity: 0.9;
}

.buy-btn.cart-animation {
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.95); }
}

.flying-cart {
    position: fixed;
    font-size: 40px;
    z-index: 10000;
    pointer-events: none;
    transition: all 0.8s ease;
    opacity: 1;
}

.flying-cart.fly {
    transform: translateY(-100vh) translateX(50px) scale(0.3);
    opacity: 0;
}


.loading-text,
.no-products,
.error-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 40px;
    font-size: 18px;
}

@media (max-width: 768px) {
    .player-feed {
        width: calc(100% - 40px);
        max-width: 320px;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
    }
    
    .theme-selector,
    .weather-controls {
        flex-direction: column;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .store-content h1 {
        font-size: 2rem;
    }
}

/* Admin Grid Layout */
.admin-grid {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 15px;
    align-items: start;
}

/* Action Section */
.action-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.action-section:last-of-type {
    border-bottom: none;
}

.action-section h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 12px;
}

.admin-input {
    width: 100%;
    background: rgba(20, 20, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    font-size: 13px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.admin-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.action-btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
    margin-top: 10px;
    letter-spacing: 0.3px;
}

.kick-btn {
    background: rgba(200, 140, 80, 0.5);
    border: 1px solid rgba(200, 140, 80, 0.3);
    color: #fff;
}

.kick-btn:hover {
    opacity: 0.85;
}

.ban-btn {
    background: rgba(180, 60, 60, 0.5);
    border: 1px solid rgba(180, 60, 60, 0.3);
    color: #fff;
}

.ban-btn:hover {
    opacity: 0.85;
}

.action-result {
    display: none;
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.action-result.success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #4caf50;
}

.action-result.error {
    background: rgba(255, 83, 112, 0.2);
    border: 1px solid rgba(255, 83, 112, 0.5);
    color: #ff5370;
}

/* Players List */
.player-count {
    display: inline-block;
    background: var(--primary-color);
    color: #000;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 8px;
}

.refresh-btn {
    background: rgba(20, 20, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.refresh-btn:hover {
    background: rgba(30, 30, 40, 0.8);
    border-color: var(--primary-color);
}

.players-list {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 5px;
}

.players-list::-webkit-scrollbar {
    width: 6px;
}

.players-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.players-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.player-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(20, 20, 28, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
    transition: border-color 0.3s ease;
}

.player-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.player-info {
    flex: 1;
}

.player-name {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.player-steamid {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-family: monospace;
    margin-bottom: 6px;
}

.player-stats {
    display: flex;
    gap: 15px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.player-actions {
    display: flex;
    gap: 6px;
}

.quick-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kick-quick {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.kick-quick:hover {
    background: rgba(255, 107, 107, 0.4);
}

.ban-quick {
    background: rgba(255, 83, 112, 0.2);
    border: 1px solid rgba(255, 83, 112, 0.3);
}

.ban-quick:hover {
    background: rgba(255, 83, 112, 0.4);
}

.loading,
.no-players,
.error-message {
    text-align: center;
    padding: 30px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.error-message {
    color: #ff5370;
}

/* Responsive */
@media (max-width: 1024px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }
}

/* Web Settings Grid - Daha İyi Uyumluluk */
.web-settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.settings-card {
    min-width: 0;
}

.products-card {
    grid-column: 1 / -1;
}

/* Tablet ve Mobil */
@media (max-width: 900px) {
    .web-settings-grid {
        grid-template-columns: 1fr;
    }
    
    .products-card {
        grid-column: 1;
    }
}

/* Form Row Grid */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Floating Support Button */
.support-float-btn {
    position: fixed !important;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgba(20, 20, 30, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    transition: border-color 0.3s ease;
    z-index: 9999 !important;
    backdrop-filter: blur(10px);
}

.support-float-btn:hover {
    border-color: var(--primary-color);
}

/* Support Modal */
.support-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.support-modal.active {
    display: flex;
}

.support-modal-content {
    background: rgba(18, 18, 24, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 35px;
    max-width: 650px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
}

.support-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(160, 196, 232, 0.15);
}

.support-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.support-modal-close {
    background: rgba(180, 60, 60, 0.6);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.support-modal-close:hover {
    background: rgba(180, 60, 60, 0.8);
}

.support-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.support-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(20, 20, 28, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.support-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(25, 25, 35, 0.8);
}

.support-textarea {
    min-height: 150px;
    resize: vertical;
}

.support-submit-btn {
    padding: 14px;
    background: rgba(100, 160, 220, 0.4);
    border: 1px solid rgba(100, 160, 220, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    letter-spacing: 0.3px;
}

.support-submit-btn:hover {
    background: rgba(100, 160, 220, 0.6);
}

.support-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Support Tabs */
.support-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(160, 196, 232, 0.15);
}

.support-tab {
    padding: 12px 24px;
    background: rgba(20, 20, 28, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px 10px 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
    margin-bottom: -2px;
}

.support-tab.active {
    background: rgba(100, 160, 220, 0.12);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.support-tab:hover {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Support Tab Content */
.support-tab-content {
    display: none;
}

.support-tab-content.active {
    display: block;
}

/* Ticket List */
.ticket-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
}

.ticket-item {
    background: rgba(20, 20, 28, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.ticket-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.ticket-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ticket-subject {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.ticket-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.ticket-status.open {
    background: rgba(80, 160, 140, 0.5);
    color: #a0e8c4;
}

.ticket-status.answered {
    background: rgba(180, 140, 60, 0.4);
    color: #d4c478;
}

.ticket-status.closed {
    background: rgba(120, 120, 120, 0.4);
    color: rgba(255, 255, 255, 0.5);
}

.ticket-preview {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.ticket-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* Chat View */
.chat-view {
    display: flex;
    flex-direction: column;
    height: 500px;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(160, 196, 232, 0.15);
    margin-bottom: 15px;
}

.chat-back-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.chat-back-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.chat-ticket-info h3 {
    font-size: 18px;
    color: white;
    margin-bottom: 5px;
}

.chat-ticket-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    margin-bottom: 15px;
}

.chat-message {
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
}

.chat-message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.chat-message-content {
    flex: 1;
}

.chat-message-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.chat-message-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.chat-message-time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.chat-message-text {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 15px;
    color: white;
    font-size: 14px;
    line-height: 1.6;
}

.chat-input-area {
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(20, 20, 28, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(25, 25, 35, 0.8);
}

.chat-send-btn {
    padding: 12px 24px;
    background: rgba(100, 160, 220, 0.4);
    border: 1px solid rgba(100, 160, 220, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.chat-send-btn:hover {
    background: rgba(100, 160, 220, 0.6);
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.empty-state-text {
    font-size: 16px;
}

@media (max-width: 768px) {
    .support-float-btn {
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
        font-size: 30px;
    }
    
    .support-modal-content {
        padding: 30px 20px;
    }
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 80px;
    right: 30px;
    background: rgba(18, 18, 24, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 18px 22px;
    min-width: 320px;
    max-width: 420px;
    z-index: 10000;
    transform: translateX(500px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.toast-icon {
    font-size: 24px;
}

.toast-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

.toast-body {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.toast-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.toast-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toast-close:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .toast-notification {
        right: 15px;
        left: 15px;
        min-width: auto;
        max-width: none;
    }
}

/* Star Wars Ban List Crawl */
.star-wars-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 60px);
    overflow: hidden;
    perspective: 400px;
    perspective-origin: 50% 50%;
    margin-top: 60px;
}

.crawl-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20%;
}

.crawl {
    position: relative;
    transform-origin: 50% 100%;
    animation: crawl 120s linear infinite;
    color: #feda4a;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 2px;
    text-align: justify;
    width: 80%;
    max-width: 800px;
}

@keyframes crawl {
    0% {
        transform: rotateX(20deg) translateY(0);
    }
    100% {
        transform: rotateX(20deg) translateY(-6000px);
    }
}

.crawl-title {
    font-size: 90px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #d4c478;
    letter-spacing: 8px;
}

.ban-entry {
    background: rgba(18, 18, 24, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 180, 100, 0.2);
    border-radius: 10px;
    padding: 25px;
    margin: 40px 0;
}

.ban-entry h3 {
    font-size: 24px;
    color: #d4c478;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.ban-entry p {
    color: rgba(254, 218, 74, 0.9);
    font-size: 16px;
    margin: 8px 0;
    line-height: 1.6;
}

.ban-entry strong {
    color: #feda4a;
    font-weight: 600;
}

@media (max-width: 768px) {
    .crawl {
        font-size: 14px;
        width: 90%;
    }
    
    .crawl-title {
        font-size: 50px;
        letter-spacing: 4px;
        margin-bottom: 40px;
    }
    
    .ban-entry {
        padding: 20px;
        margin: 30px 0;
    }
    
    .ban-entry h3 {
        font-size: 22px;
    }
    
    .ban-entry p {
        font-size: 14px;
    }
}

.site-footer {
    background: rgba(10, 10, 14, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 30px 40px;
    margin-top: 80px;
    position: relative;
    z-index: 50;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.footer-link:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    text-align: center;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 25px 20px;
        margin-top: 60px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-link {
        text-align: center;
    }
}
.duration-checkboxes {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 15px;
    background: rgba(25, 25, 35, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.checkbox-label:hover {
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"]:checked + span {
    color: var(--primary-color);
    font-weight: 600;
}


/* Discord Link Button */
.discord-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #5865F2, #7289DA);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-right: 15px;
}

.discord-link-btn:hover {
    background: linear-gradient(135deg, #6875F5, #8299EA);
}

.discord-linked {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(88, 101, 242, 0.15);
    border: 1px solid rgba(88, 101, 242, 0.4);
    border-radius: 8px;
    color: #8899FF;
    font-size: 13px;
    font-weight: 500;
    margin-right: 15px;
}

.discord-linked svg {
    flex-shrink: 0;
}

/* User Panel Styles */
.user-profile-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(20, 20, 30, 0.6);
    border: 1px solid rgba(160, 196, 232, 0.15);
    border-radius: 12px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-name {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.profile-steamid {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-family: monospace;
}

.purchases-table {
    overflow-x: auto;
}

.purchases-table table {
    width: 100%;
    border-collapse: collapse;
}

.purchases-table th,
.purchases-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.purchases-table th {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

.purchases-table td {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.completed {
    background: rgba(160, 196, 232, 0.15);
    color: var(--primary-color);
}

.status-badge.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

/* Download Page Styles */
.download-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.downloads-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(20, 20, 30, 0.6);
    border: 1px solid rgba(160, 196, 232, 0.15);
    border-radius: 10px;
}

.download-icon {
    font-size: 28px;
}

.download-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.download-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.download-meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.download-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.download-actions {
    display: flex;
    gap: 10px;
}

.btn-download {
    padding: 8px 20px;
    background: rgba(100, 160, 220, 0.4);
    border: 1px solid rgba(100, 160, 220, 0.3);
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-delete {
    padding: 8px 16px;
    background: rgba(255, 71, 87, 0.2);
    border: 1px solid rgba(255, 71, 87, 0.5);
    border-radius: 8px;
    color: #ff4757;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary {
    padding: 12px 24px;
    background: rgba(100, 160, 220, 0.4);
    border: 1px solid rgba(100, 160, 220, 0.3);
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    width: fit-content;
    transition: background 0.3s ease;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .download-item {
        flex-wrap: wrap;
    }
    
    .download-actions {
        width: 100%;
        margin-top: 10px;
    }
}


/* ===== STATS FILTER TABS ===== */
.stats-filter-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 4px;
    width: fit-content;
}
.stats-tab {
    padding: 7px 20px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 7px;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
}
.stats-tab:hover {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.04);
}
.stats-tab.active {
    color: #fff;
    background: rgba(var(--primary-rgb), 0.15);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    text-shadow: 0 0 8px rgba(var(--primary-rgb), 0.3);
}

/* ===== SERVER INFO STRIP ===== */
.server-info-strip {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    width: calc(100% - 48px);
    max-width: 920px;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    overflow: hidden;
}
.sinfo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 18px 24px;
    border-right: 1px solid rgba(255,255,255,0.06);
    flex: 1;
}
.sinfo-item:last-child {
    border-right: none;
}
.sinfo-label {
    font-size: 10px;
    color: rgba(255,255,255,0.28);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}
.sinfo-value {
    font-size: 17px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
}
.sinfo-value.online {
    color: var(--primary-color);
}

/* ===== CTA ROW ===== */
.home-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.home-buy-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 36px;
    background: var(--primary-color);
    border: 1px solid rgba(var(--primary-rgb), 0.5);
    border-radius: 8px;
    color: #0a0c10;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}
.home-buy-btn svg {
    flex-shrink: 0;
    opacity: 0.7;
}
.home-buy-btn:hover {
    opacity: 0.88;
}

/* ===== IP COPY BUTTON ===== */
.ip-copy-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.ip-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 28px;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.22);
    border-radius: 8px;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.ip-copy-btn svg {
    flex-shrink: 0;
    opacity: 0.5;
}
.ip-copy-btn:hover {
    background: rgba(var(--primary-rgb), 0.15);
    border-color: rgba(var(--primary-rgb), 0.45);
    color: rgba(255,255,255,0.9);
    box-shadow: 0 0 25px rgba(var(--primary-rgb), 0.1), inset 0 0 15px rgba(var(--primary-rgb), 0.05);
}
.ip-copy-btn:hover svg {
    opacity: 0.9;
}

/* ===== PAGE ENTRANCE ANIMATIONS ===== */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

@keyframes revealScale {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes glowIn {
    from { opacity: 0; filter: blur(8px); transform: translateY(20px); }
    to   { opacity: 1; filter: blur(0); transform: translateY(0); }
}

/* Navbar entrance */
/* navbar entrance handled by page_transitions.php */

/* Staggered homepage entrance */
.home-logo {
    animation: glowIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.1s;
}

.stats-filter-tabs {
    animation: fadeSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.25s;
}

.server-info-strip {
    animation: fadeSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.35s;
}

.ip-copy-bar {
    animation: fadeSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.45s;
}

/* Scroll-triggered feature cards */
.stat-card {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.stat-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.stat-card:nth-child(1) { transition-delay: 0s; }
.stat-card:nth-child(2) { transition-delay: 0.1s; }
.stat-card:nth-child(3) { transition-delay: 0.2s; }
.stat-card:nth-child(4) { transition-delay: 0.3s; }

.features-title {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.features-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ENHANCED ANIMATIONS & EFFECTS ===== */

/* Particle background */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.2; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* Glowing pulse for primary elements */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 5px var(--primary-glow), 0 0 10px transparent; }
    50% { box-shadow: 0 0 15px var(--primary-glow), 0 0 30px var(--primary-glow); }
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 10px transparent; }
    50% { text-shadow: 0 0 20px var(--primary-glow), 0 0 40px var(--primary-glow); }
}

@keyframes borderGlow {
    0%, 100% { border-color: var(--primary-border); }
    50% { border-color: var(--primary-color); }
}

/* Smooth fade-in for page load */
@keyframes pageLoad {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes rotateGlow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Enhanced Navbar */
.navbar.scrolled {
    background: rgba(4, 4, 10, 0.98);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    border-bottom-color: rgba(var(--primary-rgb), 0.08);
}

/* Enhanced Home Logo */
.home-logo-text {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), text-shadow 0.5s ease;
    animation: textGlow 5s ease-in-out infinite;
}

.home-logo-text:hover {
    transform: scale(1.04);
    text-shadow: 0 0 30px rgba(var(--primary-rgb), 0.4), 0 0 60px rgba(var(--primary-rgb), 0.2), 0 0 100px rgba(var(--primary-rgb), 0.1);
}

/* Enhanced Server Info Strip */
.server-info-strip {
    transition: all 0.4s ease;
}

.server-info-strip:hover {
    border-color: rgba(var(--primary-rgb), 0.15);
    background: rgba(var(--primary-rgb), 0.03);
    box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.04);
}

.sinfo-item {
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.sinfo-item:hover {
    background: rgba(var(--primary-rgb), 0.06);
}

.sinfo-label {
    transition: color 0.3s ease;
}

.sinfo-item:hover .sinfo-label {
    color: rgba(var(--primary-rgb), 0.5);
}

.sinfo-value {
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
    font-variant-numeric: tabular-nums;
}

.sinfo-item:hover .sinfo-value {
    color: var(--primary-color);
    transform: scale(1.15);
    text-shadow: 0 0 12px rgba(var(--primary-rgb), 0.3);
}

.store-stat-value {
    font-variant-numeric: tabular-nums;
}

/* Enhanced IP Copy Button */
.ip-copy-btn {
    position: relative;
    overflow: hidden;
}

.ip-copy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.1), transparent);
    transition: left 0.5s ease;
}

.ip-copy-btn:hover::before {
    left: 100%;
}

/* Enhanced stat-card after visible (hover effects apply once revealed) */
.stat-card.visible {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    overflow: hidden;
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Shimmer sweep overlay */
.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.06), transparent);
    transition: none;
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-10px) !important;
    border-color: rgba(var(--primary-rgb), 0.5);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(var(--primary-rgb), 0.12), inset 0 1px 0 rgba(var(--primary-rgb), 0.1);
}

.stat-card:hover::before {
    opacity: 0.4;
}

.stat-card:hover::after {
    animation: shimmerSweep 1.2s ease-in-out;
}

@keyframes shimmerSweep {
    from { left: -100%; }
    to   { left: 200%; }
}

.stat-title {
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.stat-card:hover .stat-title {
    transform: scale(1.05);
    text-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3);
}

.stat-card:hover .stat-description {
    color: rgba(255,255,255,0.95);
}

/* Enhanced Product Cards */
.product-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 20px var(--primary-glow);
}

/* Buy Button Enhanced */
.btn-buy {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-buy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn-buy:hover::before {
    left: 100%;
}

.btn-buy:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(100, 160, 220, 0.3);
}

.btn-buy:active {
    transform: scale(0.98);
}

/* Enhanced User Profile */
.user-profile {
    transition: all 0.3s ease;
}

.user-profile:hover {
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.1);
}

.avatar {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user-profile:hover .avatar {
    transform: scale(1.1);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Enhanced Support Modal */
.support-modal {
    transition: opacity 0.3s ease;
}

.support-modal.active .support-modal-content {
    animation: scaleIn 0.3s ease;
}

.support-float-btn {
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.support-float-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-glow);
}

/* Ticket Items Staggered Animation */
.ticket-item {
    animation: slideInLeft 0.4s ease both;
    transition: all 0.3s ease;
}

.ticket-item:hover {
    transform: translateX(6px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Chat Message Animation */
.chat-message {
    animation: slideInLeft 0.3s ease both;
}

/* Enhanced Logout Button */
.logout-btn {
    position: relative;
    overflow: hidden;
}

.logout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(180, 60, 60, 0.3), transparent);
    transition: left 0.4s ease;
}

.logout-btn:hover::before {
    left: 100%;
}

/* Enhanced Admin Cards */
.admin-card {
    transition: all 0.3s ease;
}

.admin-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Store Page Enhancements */
.store-header-badge {
    animation: glowPulse 3s ease-in-out infinite;
}

.store-stat-value {
    transition: all 0.3s ease;
}

.store-stat:hover .store-stat-value {
    color: var(--primary-color);
    transform: scale(1.15);
}

/* Skeleton loading effect */
.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: 8px;
}

/* Enhanced Footer */
.site-footer {
    transition: all 0.3s ease;
}

.footer-link {
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), left 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.2);
}

.footer-link:hover::after {
    width: 100%;
    left: 0;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: rgba(var(--primary-rgb), 0.2);
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--primary-rgb), 0.4);
}

/* Selection color */
::selection {
    background: var(--primary-color);
    color: #000;
}

/* Widget styles moved to particle_widget.php */

/* Mobile responsive animations */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 768px) {
    .stat-card:hover {
        transform: translateY(-4px);
    }

    .product-card:hover {
        transform: translateY(-3px);
    }

    .nav-left {
        gap: 16px;
    }
}
