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

:root {
    --primary: #EF3030; /* Ay Yildiz Red */
    --primary-dark: #c0392b;
    --dark-bg: #121212;
    --dark-surface: #1e1e1e;
    --text-white: #ffffff;
    --text-gray: #b3b3b3;
    --glass: rgba(30, 30, 30, 0.85);
    --border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--dark-bg);
    color: var(--text-white);
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, section-title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

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

/* NAVBAR */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-brand img {
    height: 50px;
    width: auto;
}

.nav-brand span {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-brand span span { color: var(--primary); }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-gray);
    position: relative;
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--text-white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after { width: 100%; }

.nav-cta .btn-login {
    background: var(--dark-surface);
    border: 1px solid var(--border);
    padding: 10px 25px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-cta .btn-login:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* HERO SECTION */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://files.facepunch.com/paddy/20240104/header_january.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero h1 {
    font-size: 80px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 24px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
}

.btn {
    padding: 15px 40px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    background: var(--primary);
    border: none;
    cursor: pointer;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    transition: var(--transition);
    display: inline-block;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(239, 48, 48, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-white);
    clip-path: none;
    border-radius: 4px;
}

.btn-outline:hover {
    background: var(--text-white);
    color: var(--dark-bg);
}

/* STATS BAR */
.stats-bar {
    background: var(--dark-surface);
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 40px 0;
    transform: translateY(-50%);
    width: 80%;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* SECTIONS */
.section {
    padding: 100px 10%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* SERVERS GRID */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.server-card {
    background: var(--dark-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.server-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.server-img {
    height: 180px;
    background: url('https://files.facepunch.com/paddy/20231207/header_december.jpg') center/cover;
    position: relative;
}

.server-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #2ecc71;
    color: black;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.server-content {
    padding: 25px;
}

.server-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.server-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.server-meta i { color: var(--primary); }

/* RULES */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.rule-card {
    background: var(--dark-surface);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.rule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary);
    opacity: 0.5;
    transition: var(--transition);
}

.rule-card:hover {
    transform: translateX(5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.rule-card:hover::before {
    opacity: 1;
    width: 5px;
}

.rule-icon {
    font-size: 28px;
    color: var(--primary);
    min-width: 40px;
}

.rule-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-white);
}

.rule-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* STAFF */
.staff-card {
    background: var(--dark-surface);
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid var(--border);
    max-width: 400px;
    margin: 0 auto;
}

.staff-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid var(--primary);
    object-fit: cover;
}

.staff-name {
    font-size: 24px;
    font-weight: 700;
}

.staff-role {
    color: var(--primary);
    font-size: 14px;
    letter-spacing: 2px;
    margin-top: 5px;
    text-transform: uppercase;
}

/* FOOTER */
footer {
    background: black;
    padding: 80px 10% 40px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-links a {
    display: block;
    color: var(--text-gray);
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-links a:hover { color: var(--primary); padding-left: 5px; }

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #666;
    font-size: 14px;
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 48px; }
    .stats-bar {
        flex-direction: column;
        gap: 30px;
        width: 90%;
        position: relative;
        transform: none;
        margin-top: -50px;
    }
}
