/*
Theme Name: Zocker-Loge
Description: Steam-inspired gaming community template
Version: 1.0
*/

/* ==================== VARIABLES & RESET ==================== */
:root {
    --steam-deep: #1b2838;
    --steam-dark: #171a21;
    --steam-blue: #66c0f4;
    --steam-green: #5c7e10;
    --steam-text: #c7d5e0;
    --steam-text-dim: #8f98a0;
    --steam-border: #2a475e;
    --steam-hover: #1a9fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Motiva Sans", Arial, Helvetica, sans-serif;
    background: var(--steam-deep);
    color: var(--steam-text);
    line-height: 1.6;
}

a {
    color: var(--steam-blue);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--steam-hover);
}

/* ==================== LAYOUT STRUCTURE ==================== */
.site-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Fixed Sidebar Navigation */
.sidebar-nav {
    width: 260px;
    background: var(--steam-dark);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid var(--steam-border);
    z-index: 1000;
}

.sidebar-nav::-webkit-scrollbar {
    width: 8px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: var(--steam-deep);
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--steam-blue);
    border-radius: 4px;
}

.site-branding {
    padding: 20px;
    border-bottom: 1px solid var(--steam-border);
}

.site-title {
    font-size: 24px;
    color: var(--steam-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-navigation ul {
    list-style: none;
}

.main-navigation li {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.main-navigation a {
    display: block;
    padding: 15px 20px;
    color: var(--steam-text);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    background: linear-gradient(90deg, transparent, rgba(102, 192, 244, 0.1));
    color: var(--steam-blue);
    padding-left: 30px;
}

/* User Info Widget */
.user-widget {
    padding: 20px;
    background: linear-gradient(135deg, #1a3c52, #1b2838);
    border-bottom: 1px solid var(--steam-border);
}


.user-name {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.user-points {
    text-align: center;
    font-size: 14px;
    color: var(--steam-green);
    font-weight: 700;
}

.user-points::before {
    content: "💎 ";
}

/* Main Content Area */
.site-content {
    flex: 1;
    margin-left: 260px;
    padding: 40px;
    max-width: 1400px;
}

/* ==================== GAME CARDS ==================== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.game-card {
    background: var(--steam-dark);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid transparent;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: var(--steam-blue);
}

.game-card-image {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.game-card-content {
    padding: 15px;
}

.game-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--steam-text);
}

.game-card-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.game-tag {
    background: rgba(102, 192, 244, 0.2);
    color: var(--steam-blue);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.game-card-excerpt {
    font-size: 13px;
    color: var(--steam-text-dim);
    line-height: 1.5;
    margin-bottom: 15px;
}

.game-card-actions {
    display: flex;
    gap: 10px;
}

/* ==================== BUTTONS ==================== */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(to right, var(--steam-blue), #4a9fd8);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--steam-hover), var(--steam-blue));
    box-shadow: 0 5px 15px rgba(102, 192, 244, 0.4);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(to right, var(--steam-green), #7ba51e);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(to right, #7ba51e, var(--steam-green));
    box-shadow: 0 5px 15px rgba(92, 126, 16, 0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--steam-text);
    border: 1px solid var(--steam-border);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--steam-blue);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ==================== SINGLE GAME PAGE ==================== */
.game-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    margin: -40px -40px 40px;
    display: flex;
    align-items: flex-end;
}

.game-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, var(--steam-deep), transparent);
}

.game-hero-content {
    position: relative;
    z-index: 1;
    padding: 40px;
    width: 100%;
}

.game-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    margin-bottom: 10px;
}

.game-subtitle {
    font-size: 18px;
    color: var(--steam-text-dim);
}

.game-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.game-main {
    background: var(--steam-dark);
    padding: 30px;
    border-radius: 4px;
}

.game-sidebar {
    background: var(--steam-dark);
    padding: 20px;
    border-radius: 4px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

/* Media Slider */
.media-slider {
    margin: 30px 0;
}

.media-slider-main {
    width: 100%;
    height: 400px;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.media-slider-main img,
.media-slider-main iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.media-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.media-thumb {
    width: 100px;
    height: 60px;
    object-fit: cover;
    border-radius: 3px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    border: 2px solid transparent;
}

.media-thumb:hover,
.media-thumb.active {
    opacity: 1;
    border-color: var(--steam-blue);
}

/* Game Info Box */
.game-info-box {
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--steam-text-dim);
    font-size: 13px;
}

.info-value {
    color: var(--steam-text);
    font-weight: 600;
}

/* Platform Icons */
.platform-icons {
    display: flex;
    gap: 10px;
}

.platform-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.3s;
}

.platform-icon:hover {
    background: var(--steam-blue);
}

/* User Actions */
.user-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

/* ==================== RADAR RATING SYSTEM ==================== */
.rating-section {
    background: var(--steam-dark);
    padding: 30px;
    border-radius: 4px;
    margin: 30px 0;
}

.rating-header {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--steam-blue);
}

.radar-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.radar-chart {
    position: relative;
    width: 300px;
    height: 300px;
}

.rating-inputs {
    flex: 1;
}

.rating-input-group {
    margin-bottom: 20px;
}

.rating-input-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--steam-text);
}

.rating-slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    outline: none;
}

.rating-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--steam-blue);
    border-radius: 50%;
    cursor: pointer;
}

.rating-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--steam-blue);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.rating-value {
    display: inline-block;
    margin-left: 10px;
    font-weight: 700;
    color: var(--steam-green);
}

/* ==================== POINT SHOP ==================== */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.shop-item {
    background: var(--steam-dark);
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.shop-item:hover {
    border-color: var(--steam-blue);
    transform: scale(1.05);
}

.shop-item-preview {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.shop-item-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.shop-item-price {
    color: var(--steam-green);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.shop-item-price::before {
    content: "💎 ";
}

/* ==================== PROFILE PAGE ==================== */
.profile-header {
    background: linear-gradient(135deg, #1a3c52, #1b2838);
    padding: 40px;
    border-radius: 4px;
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

.profile-avatar-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid var(--steam-blue);
}

.profile-info h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.profile-stats {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.profile-stat {
    text-align: center;
}

.profile-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--steam-blue);
}

.profile-stat-label {
    font-size: 14px;
    color: var(--steam-text-dim);
    text-transform: uppercase;
}

.profile-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--steam-border);
}

.profile-tab {
    padding: 15px 25px;
    background: transparent;
    border: none;
    color: var(--steam-text-dim);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.profile-tab:hover,
.profile-tab.active {
    color: var(--steam-blue);
    border-bottom-color: var(--steam-blue);
}

/* ==================== CARDS SHOWCASE ==================== */
.cards-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.trading-card {
    background: linear-gradient(135deg, #1a3c52 0%, #1b2838 100%);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    border: 2px solid var(--steam-border);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.trading-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255,255,255,0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.5s;
}

.trading-card:hover::before {
    left: 100%;
}

.trading-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-rarity-common { border-color: #8f98a0; }
.card-rarity-rare { border-color: #4169e1; }
.card-rarity-epic { border-color: #9b30ff; }
.card-rarity-legendary { 
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.card-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.card-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.card-rarity {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--steam-blue);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .sidebar-nav {
        width: 200px;
    }
    
    .site-content {
        margin-left: 200px;
        padding: 20px;
    }
    
    .game-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar-nav {
        width: 100%;
        position: static;
        height: auto;
    }
    
    .site-content {
        margin-left: 0;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .game-hero {
        height: 250px;
        margin: -20px -20px 20px;
    }
    
    .game-title {
        font-size: 32px;
    }
    
    .radar-container {
        flex-direction: column;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ==================== UTILITY CLASSES ==================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.p-20 { padding: 20px; }

.steam-box {
    background: var(--steam-dark);
    padding: 20px;
    border-radius: 4px;
    border: 1px solid var(--steam-border);
}

.steam-gradient {
    background: linear-gradient(135deg, #1a3c52, #1b2838);
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(102, 192, 244, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(102, 192, 244, 0); }
    100% { box-shadow: 0 0 0 0 rgba(102, 192, 244, 0); }
}
.text-blue { color: var(--steam-blue); }
.text-green { color: var(--steam-green); }
.text-dim { color: var(--steam-text-dim); }

/* ==================== AVATAR FRAMES (SHOP ITEMS) ==================== */

/* Basis-Klasse für alle Avatare */
.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 4px; /* Steam-Style: Leicht abgerundetes Quadrat statt Kreis */
    border: 2px solid transparent; /* Platzhalter für Rahmen */
    display: block;
    margin: 0 auto 10px;
    transition: all 0.3s ease;
    object-fit: cover;
}

/* Blue Glow Rahmen (Dein Kauf!) */
.avatar-frame-blue {
    border: 3px solid #00c3ff !important;
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.8), inset 0 0 10px rgba(0, 195, 255, 0.5);
}

/* Gold Elite Rahmen */
.avatar-frame-gold {
    border: 3px solid #ffca00 !important;
    box-shadow: 0 0 15px rgba(255, 202, 0, 0.8), inset 0 0 10px rgba(255, 202, 0, 0.5);
}

/* Animated Pulse Rahmen (VIP / Shop) */
.avatar-frame-animated {
    border: 3px solid #66c0f4 !important;
    animation: avatar-pulse-glow 2s infinite;
}

/* Regenbogen Rahmen */
.avatar-frame-rainbow {
    border: 3px solid transparent !important;
    background: linear-gradient(#1b2838, #1b2838) padding-box, 
                linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet) border-box;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

@keyframes avatar-pulse-glow {
    0% { box-shadow: 0 0 5px rgba(102, 192, 244, 0.5); border-color: #66c0f4; }
    50% { box-shadow: 0 0 18px rgba(102, 192, 244, 1); border-color: #ffffff; }
    100% { box-shadow: 0 0 5px rgba(102, 192, 244, 0.5); border-color: #66c0f4; }
}

/* Vergrößerter Avatar für die Profilseite */
.profile-avatar-large.avatar-frame-blue {
    border-width: 5px !important;
    box-shadow: 0 0 25px rgba(0, 195, 255, 0.8);
}