:root {
    --bg-main: #0a0a0a;
    --bg-sec: #171717;
    --text-main: #ededed;
    --text-muted: #a3a3a3;
    --accent: #d4d4d4;
    --border: #262626;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #07010f;
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 120px, rgba(45, 10, 89, 0.07) 120px, rgba(45, 10, 89, 0.07) 122px);
    color: #ededed;
    line-height: 1.6;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    border-bottom: 1px solid #1c053a;
    background-color: transparent;
}

.logo img {
    height: 40px;
    width: auto;
    filter: invert(1) grayscale(100%) brightness(200%);
    mix-blend-mode: screen;
}

.links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.2s;
}

.links a:hover {
    color: var(--text-main);
}

section, header {
    padding: 5rem 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.hero {
    position: relative;
    text-align: center;
    padding: calc(400px + 7rem) 0 2rem 0; 
    max-width: 100%;
    margin: 0;
    background: none; 
    overflow: hidden;
}

.hero-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background: 
        radial-gradient(ellipse at center, transparent 15%, #07010f 75%) center/cover no-repeat, 
        url('banner.jpg') center/cover no-repeat;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background: 
        radial-gradient(ellipse at center, transparent 15%, #07010f 75%) center/cover no-repeat, 
        url('banner.jpg') center/cover no-repeat;
    z-index: -1;
    pointer-events: none;
}

.hero h1 {
    border: none;
    padding-top: 0;
    margin: 0 auto 1rem auto;
    text-shadow: 0 4px 30px rgba(138, 43, 226, 0.4);
}

.hero p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    padding: 0 5%;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.05em;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.hero p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-button, .faceit-link {
    display: inline-block;
    background-color: var(--text-main);
    color: var(--bg-main);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.discord-button {
    display: inline-block;
    background-color: var(--bg-sec);
    color: var(--text-main);
    border: 1px solid var(--border);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s, border-color 0.2s;
}

.discord-button:hover {
    background-color: var(--border);
    border-color: var(--text-muted);
    text-decoration: underline;
}

.cta-button:hover, .faceit-link:hover {
    opacity: 0.8;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-content a {
    color: var(--text-main);
    text-decoration: none;
    transition: none;
}

.about-content a:hover {
    color: var(--text-main);
    text-decoration: underline;
}

.about-content a:not(.discord-button) {
    color: var(--text-main);
    text-decoration: none;
}

.about-content a:not(.discord-button):hover {
    text-decoration: underline;
}

.tournament-card {
    background-color: var(--bg-sec);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.t-info h3 {
    margin-bottom: 0.5rem;
}

.t-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-muted);
}

footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

button.cta-button {
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.hidden {
    display: none;
}

.fade-in {
    display: block;
    animation: revealContent 0.8s ease-out forwards;
}

@keyframes revealContent {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}