﻿
/* CSS Styling */
:root {
    --primary-color: #0d1a26;
    --secondary-color: #00aaff;
    --accent-color: #ffc400;
    --text-color: #e0f7fa;
    --glow-color: rgba(0, 170, 255, 0.7);
    --container-bg: rgba(13, 26, 38, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background-image: url('https://www.therockmanexezone.com/gallery/albums/userpics/10001/image23~0.jpg'); /* Background Image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 960px;
    background: var(--container-bg);
    border: 2px solid var(--secondary-color);
    border-radius: 15px;
    box-shadow: 0 0 25px var(--glow-color);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid var(--secondary-color);
}

.title h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--accent-color);
    text-shadow: 0 0 5px var(--accent-color), 0 0 10px #fff;
}

.datetime {
    text-align: right;
    font-family: 'Orbitron', sans-serif;
}

#clock {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 0 5px var(--glow-color);
}

#date-day {
    font-size: 1rem;
    color: var(--text-color);
}

nav {
    display: flex;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}

nav a {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-color);
    text-decoration: none;
    padding: 15px 25px;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s, background-color 0.3s;
}

nav a:hover {
    color: var(--accent-color);
    background-color: rgba(0, 170, 255, 0.1);
}

nav a.active {
    color: var(--accent-color);
    font-weight: 700;
    background-color: rgba(0, 170, 255, 0.2);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

main#content-area {
    padding: 30px;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

main#content-area.fade-out {
    opacity: 0;
}

.content-wrapper {
    display: flex;
    gap: 30px;
}

.content-image {
    flex-shrink: 0;
    width: 300px;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 15px var(--glow-color);
}

.content-text h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--secondary-color);
    padding-bottom: 10px;
}

.content-text p, .content-text li {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* --- NEW CLAN MEMBER STYLES --- */
.leadership-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.member-card {
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-bottom: 3px solid var(--secondary-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.member-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.member-card.leader, .member-card.sub-leader {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
}

.member-card.leader h3, .member-card.sub-leader h3 {
    color: var(--accent-color);
    text-shadow: 0 0 5px var(--accent-color);
}

.member-card span {
    display: block;
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 5px;
}

.games-list {
    list-style: none;
    padding-left: 0;
}

.games-list li {
    background-color: rgba(0,0,0,0.3);
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 5px 5px 0;
}

.games-list li strong {
    color: var(--accent-color);
}
/* --- NEWS ARTICLE STYLES --- */
.news-article {
    background-color: rgba(0,0,0,0.2);
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 0 8px 8px 0;
}

.news-article h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.news-article .date {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 15px;
    font-style: italic;
}

/* --- APPLY BUTTON STYLE --- */
.apply-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
    text-align: center;
    border: 1px solid var(--accent-color);
}

.apply-btn:hover {
    background-color: var(--secondary-color);
    box-shadow: 0 0 15px var(--glow-color);
    transform: scale(1.05);
    color: #fff;
    border-color: var(--secondary-color);
}



footer {
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
    color: #aaa;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid #222;
}

/* Back to Top Button Styles */
#back-to-top-btn {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 100;
    border: 2px solid var(--secondary-color);
    background-color: var(--container-bg);
    color: var(--accent-color);
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 18px;
    transition: opacity 0.4s, background-color 0.3s, color 0.3s;
    opacity: 0;
    box-shadow: 0 0 15px var(--glow-color);
}

#back-to-top-btn.show {
    display: block;
    opacity: 1;
}

#back-to-top-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}


/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .datetime {
        text-align: center;
    }
    .title h1 {
        font-size: 2rem;
    }
    nav {
        flex-wrap: wrap;
    }
    .content-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .content-image {
        width: 100%;
        max-width: 300px;
    }
}

