/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
    overflow-x: auto;
    min-width: 1200px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: #333;
    min-height: 100vh;
    min-width: 1200px;
}


/* Header */
.header {
    background: rgba(0, 0, 0, 0.2);
    color: white;
    padding: 2rem 0;
    backdrop-filter: blur(10px);
    position: relative;
}

.container {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}


/* Content Wrapper - 3 Column Layout */
.content-wrapper {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: flex-start;
    width: 100%;
    min-height: calc(100vh - 200px);
}

/* Left Navigation */
.side-nav {
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
    position: sticky;
    top: 2rem;
    height: fit-content;
}

/* Main Content Area */
.main-content {
    flex: 1;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}


/* Search Sidebar */
.search-sidebar {
    width: 360px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-shrink: 0;
}

.search-widget {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.search-widget h3 {
    color: #cc5200;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    background: rgba(204, 82, 0, 0.1);
    border-color: rgba(204, 82, 0, 0.3);
    box-shadow: 0 0 0 2px rgba(204, 82, 0, 0.1);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.6rem 0.8rem;
    color: #cccccc;
    font-size: 0.9rem;
    outline: none;
}

.search-input::placeholder {
    color: #888888;
}

.search-btn {
    background: rgba(204, 82, 0, 0.8);
    border: none;
    color: white;
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.search-btn:hover {
    background: rgba(204, 82, 0, 1);
    transform: scale(1.02);
}

.widget-placeholder {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.widget-placeholder h4 {
    color: #cc5200;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.widget-placeholder p {
    color: #888888;
    font-size: 0.85rem;
    margin: 0;
}

/* GameTracker Widget */
.gametracker-widget {
    background: #2a2a2a;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.gametracker-widget iframe {
    border-radius: 8px;
    max-width: 100%;
    height: 536px;
    min-height: 536px;
}

/* Discord Widget */
.discord-widget {
    background: #2a2a2a;
    padding: 0.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.discord-widget iframe {
    border-radius: 8px;
    max-width: 100%;
    height: 500px;
    min-height: 500px;
}


.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    color: #cccccc;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid transparent;
}

.nav-link:hover:not(.disabled) {
    background: rgba(204, 82, 0, 0.2);
    color: #f0f0f0;
    transform: translateX(5px);
    border-left-color: rgba(204, 82, 0, 0.5);
}

.nav-link.active {
    background: rgba(204, 82, 0, 0.3);
    color: #f0f0f0;
    border-left: 4px solid #cc5200;
    box-shadow: 0 2px 8px rgba(204, 82, 0, 0.3);
    transform: translateX(5px);
}

.nav-link.disabled {
    color: #666666;
    cursor: not-allowed;
    opacity: 0.6;
}

.nav-link.disabled:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: none;
    border-left-color: transparent;
}

.nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}


.nav-link {
    justify-content: flex-start;
}

.nav-count {
    color: #cc5200;
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: auto;
}

/* Corner Logos */
.corner-logo {
    position: absolute;
    top: 20px;
    height: 80px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.corner-logo:hover {
    opacity: 1;
}

.corner-logo-left {
    left: 20px;
}

.corner-logo-right {
    right: 20px;
}

/* Filters */
.filters {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}


.filter-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #555;
    background: #1a1a1a;
    color: #cccccc;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: #cc5200;
    color: #f0f0f0;
    border-color: #cc5200;
}



/* Loading */
.loading {
    text-align: center;
    padding: 3rem;
    color: white;
}

.loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
}


/* Hide content initially */
.main-content {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.main-content.loaded {
    opacity: 1;
}

