@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* Global Reset & Base Styles */
:root {
    --primary-color: #ffaa00;
    /* Adjusted to match screenshot orange */
    --primary-dark: #cc7200;
    --bg-dark: #1b1d21;
    /* Dark blue-grey background */
    --bg-darker: #050505;
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    /* Reverted to match CS2 site */
    background-color: #0a0a0b;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: url('images/bg_pattern.png');
    background-repeat: repeat;
    background-size: 512px 512px;
    /* Larger tile for concrete */
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 3rem;
    text-shadow: 0 0 10px rgba(255, 144, 0, 0.5);
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Header */
header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(27, 29, 33, 0.85);
    backdrop-filter: blur(5px);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255, 144, 0, 0.3));
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
}

.logo-text span {
    color: var(--primary-color);
}

nav ul {
    display: flex;
    gap: 15px;
    /* Spacing between tabs */
}

nav a,
.cta-button {
    display: inline-block;
    padding: 10px 25px;
    background-color: #404040;
    /* Dark background for inactive */
    color: #888;
    /* Muted text */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-decoration: none;
    position: relative;
    /* Angled corners: Top-Left and Bottom-Right cut */
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    transition: all 0.3s ease;
}

nav a::after {
    display: none;
    /* Remove previous underline */
}

nav a:hover,
nav a.active,
.cta-button {
    background-color: var(--primary-color);
    color: #fff;
    filter: drop-shadow(0 0 5px rgba(255, 144, 0, 0.5));
}

/* Main Content */
main {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height) - 100px);
    /* Adjust for footer */
    padding: 0;
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    /* Placeholder for now */
    background-size: cover;
    background-position: center;
    padding: 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    display: block;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(255, 144, 0, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: linear-gradient(45deg, #ffaa33, var(--primary-color));
}

/* Content Pages (About) */
.page-container {
    padding: 60px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(27, 29, 33, 0.85);
    /* Semi-transparent blue-grey */
    backdrop-filter: blur(5px);
    /* Glass blur effect */
    -webkit-backdrop-filter: blur(5px);
    /* Safari support */
    padding: 40px;
    border-radius: 2px;
    /* Sharper corners like screenshot */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-top: 2px solid var(--primary-color);
    /* Added top border accent similar to some gaming UIs */
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle light border for glass effect */
}

.quote-box {
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    background-color: #1a1a1a;
    font-style: italic;
    margin: 20px 0 40px;
    font-size: 1.1rem;
    color: #ddd;
}

.admin-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-tag {
    background-color: #222;
    padding: 5px 15px;
    font-size: 0.9rem;
    color: var(--primary-color);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    cursor: pointer;
}

.games-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.game-card {
    background-color: #1a1a1a;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(27, 29, 33, 0.85);
    backdrop-filter: blur(5px);
}

.footer-logo {
    margin-bottom: 20px;
    opacity: 0.7;
}

.copyright {
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .container {
        flex-direction: column;
        gap: 20px;
    }

    header {
        height: auto;
        position: relative;
        padding: 10px 0;
    }

    main {
        margin-top: 0;
    }

    nav ul {
        gap: 15px;
    }
}