:root {
    --bg-color: #1a1a1a;
    --card-bg: #252525;
    --primary-orange: #ff6a00;
    --secondary-yellow: #ffaa00;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent-red: #8b0000;
}

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

body {
    font-family: 'Segoe UI', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    background-image: linear-gradient(to bottom, #1a1a1a, #0f0f0f);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
}

nav {
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 2px solid var(--primary-orange);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--secondary-yellow);
    text-shadow: 0 0 10px rgba(255, 106, 0, 0.5);
}

header {
    text-align: center;
    padding: 4rem 1rem;
    animation: fadeIn 1s ease-in;
}

.logo-img {
    max-width: 600px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 69, 0, 0.3));
}

.server-ip {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    font-family: monospace;
    font-size: 1.2rem;
    border: 1px solid var(--primary-orange);
    cursor: pointer;
}

.server-ip:active {
    background: var(--primary-orange);
    color: #000;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 80vh;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border-left: 4px solid var(--primary-orange);
    padding: 2rem;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

h2 {
    color: var(--secondary-yellow);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: grey;
    margin-right: 5px;
}

.online { background-color: #00ff00 !important; box-shadow: 0 0 10px #00ff00; }
.offline { background-color: #ff0000 !important; }

footer {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid #333;
}

.btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-orange), var(--secondary-yellow));
    color: #1a1a1a;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    margin-top: 1rem;
}

.btn:hover {
    filter: brightness(1.2);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-orange);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: transparent;
    width: 50%;
    box-sizing: border-box;
}

.t-left { left: 0; }
.t-right { left: 50%; }

.timeline-container::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-color);
    border: 4px solid var(--secondary-yellow);
    top: 25px;
    border-radius: 50%;
    z-index: 10;
}

.t-right::after {
    left: -10px;
}

.timeline-container:hover::after {
    background-color: var(--primary-orange);
    box-shadow: 0 0 15px var(--secondary-yellow);
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--card-bg);
    position: relative;
    border-radius: 8px;
    border-left: 4px solid var(--primary-orange);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.date-badge {
    display: inline-block;
    background: var(--accent-red);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.season-header {
    width: 100%;
    border-bottom: 2px solid var(--primary-orange);
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    color: var(--secondary-yellow);
}

.season-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

@media screen and (max-width: 768px) {
    .timeline::after { left: 31px; }

    .timeline-container { width: 100%; padding-left: 75px; padding-right: 25px; }

    .t-right, .t-left { left: 0%; }

    .timeline-container::after { left: 21px; }
    .t-right::after { left: 21px; }
}

.timeline-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto 0;

    border-radius: 6px;
    border: 2px solid #333;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);

    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.timeline-content img:hover {
    transform: scale(1.02);
    border-color: var(--primary-orange);
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.2);
}