@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #fbc531;
    --primary-glow: rgba(251, 197, 49, 0.3);
    --bg-dark: #0a0a0c;
    --bg-panel: rgba(20, 20, 24, 0.85);
    --bg-card: rgba(15, 15, 20, 0.85);
    --bg-box: rgba(0, 0, 0, 0.5);
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --border-light: rgba(255, 255, 255, 0.05);
    --border-primary: rgba(251, 197, 49, 0.3);
    --glass-blur: blur(20px);
    --card-shadow: 0 15px 40px rgba(0,0,0,0.6);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg-dark: #f0f2f5;
    --bg-panel: #ffffff;
    --bg-card: #ffffff;
    --bg-box: rgba(0, 0, 0, 0.05);
    --text-main: #111111;
    --text-muted: #555555;
    --border-light: rgba(0, 0, 0, 0.1);
    --border-primary: rgba(251, 197, 49, 0.8);
    --primary-glow: rgba(251, 197, 49, 0.5);
    --card-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

[data-theme="light"] #particles-js {
    background-color: #f0f2f5;
    background-image: none;
}

#themeToggle {
    background: var(--bg-box);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

#themeToggle:hover {
    background: var(--primary);
    color: #000;
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 4px 20px var(--primary-glow);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: var(--transition);
    /* Anti-Theft CSS Protections */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Re-enable selection for input fields so users can type */
input, textarea {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #050508;
    background-image: radial-gradient(circle at center, #111 0%, #000 100%);
    background-size: cover;
    background-position: 50% 50%;
    z-index: -2;
    top: 0;
    left: 0;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.top-bar {
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border-light);
    padding: 0.4rem 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.top-bar-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-badge {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.live-badge i { font-size: 8px; animation: pulse 2s infinite; }

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

/* Header */
.header {
    background: var(--bg-panel);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.nav-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0.8rem 2rem; /* Reduced padding for thinner header */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 3rem; /* Spacing between logo and nav */
}

.logo img {
    height: 80px; /* Increased from 50px */
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    flex-grow: 1; /* Pushes button to the right */
    margin-right: 3rem; /* Spacing between nav and button */
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link i { font-size: 1rem; opacity: 0.7; }
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--primary);
    transition: var(--transition);
    box-shadow: 0 0 10px var(--primary-glow);
}
.nav-link:hover, .nav-link.active { color: var(--text-main); }
.nav-link:hover i, .nav-link.active i { color: var(--primary); opacity: 1; }
.nav-link:hover::before, .nav-link.active::before { width: 100%; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.6rem 1.5rem; /* Reduced padding for thinner button */
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #111;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 197, 49, 0.4);
    background: #ffcc00;
}

.btn-glass {
    background: var(--bg-box);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    color: var(--text-main);
}

.btn-glass:hover {
    background: rgba(251, 197, 49, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.hero-content-wrapper {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-text-side { flex: 1; }
.hero-slider-side { flex: 1; max-width: 500px; width: 100%; }

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title span {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Slider / GameTracker Card */
.gt-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    border-top: 3px solid var(--primary);
    transition: var(--transition);
}

.swiper-slide-active .gt-card {
    border-color: var(--primary);
    box-shadow: 0 10px 40px var(--primary-glow);
}

/* Hide content of inactive cards to prevent messy overlapping while keeping the glass borders */
.swiper-slide:not(.swiper-slide-active) .gt-card > * {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.swiper-slide-active .gt-card > * {
    opacity: 1;
    transition: opacity 0.4s ease 0.1s;
}

.gt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
}

.gt-title {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
}

.gt-status-badge {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

.gt-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-light);
}

.gt-label { color: var(--text-muted); font-weight: 600; font-size: 0.9rem;}
.gt-value { color: var(--text-main); font-weight: 700; }

.swiper { width: 100%; height: 100%; }
.swiper-pagination-bullet { background: var(--text-muted); }
.swiper-pagination-bullet-active { background: var(--primary); box-shadow: 0 0 10px var(--primary-glow); }

/* Tabs System */
.tabs-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

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

.tab-btn.active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.tab-content { display: none; animation: fadeIn 0.5s; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Shared Grid & Cards */
.container { max-width: 1350px; margin: 0 auto; padding: 0 2rem; }
.section-padding { padding: 5rem 0; }
.page-hero { padding: 8rem 0; text-align: center; border-bottom: 1px solid var(--border-light); background: var(--bg-box); display: flex; flex-direction: column; justify-content: center; min-height: 35vh; }
.page-title { font-size: 3rem; font-weight: 800; color: var(--primary); text-transform: uppercase; text-shadow: 0 0 20px var(--primary-glow); }

.glass-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
}
.glass-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* Footer */
.footer { background: var(--bg-panel); border-top: 1px solid var(--border-light); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }

/* Social Buttons */
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-box);
    color: var(--text-muted);
    font-size: 1.2rem;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.social-btn:hover {
    transform: translateY(-5px);
    color: #fff;
}

.social-btn.instagram:hover {
    background: #e1306c;
    border-color: #e1306c;
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
}

.social-btn.steam:hover {
    background: #171a21;
    border-color: #66c0f4;
    color: #66c0f4;
    box-shadow: 0 5px 15px rgba(102, 192, 244, 0.4);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .hero-content-wrapper { flex-direction: column; text-align: center; gap: 2rem; }
    .hero-title { font-size: 3.5rem; }
    .nav-container { padding: 0.8rem 1rem; }
    .nav-menu { display: none; } /* Hide menu on very small screens, or we can use a hamburger. For now let's just let it wrap or show compactly */
}

@media (max-width: 768px) {
    .top-bar-container { flex-direction: column; gap: 10px; text-align: center; }
    .nav-container { flex-direction: column; gap: 15px; }
    .logo { margin-right: 0; }
    .nav-menu { flex-wrap: wrap; justify-content: center; margin-right: 0; gap: 1rem; display: flex; }
    .hero-title { font-size: 2.5rem; }
    .page-title { font-size: 2rem; }
    .hero-desc { font-size: 1rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .glass-grid { grid-template-columns: 1fr; }
    .tabs-nav { flex-direction: column; }
    .tab-btn { width: 100%; }
    .btn { width: 100%; }
}

