:root {
    --bg: #262627;
    --card: #333333;
    --border: #252a34;
    --text: #e6e8eb;
    --muted: #9aa4b2;
    --accent: #5865f2;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
}

span{
    color: var(--text);
}

header {
    padding: 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

header p {
    margin-top: 0.5rem;
    color: var(--muted);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

section h2 {
    margin: 0 0 1rem;
    font-size: 1.4rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

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

iframe {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    border: none;
    background: #000;
}

.discord iframe {
    height: 600px;
}

footer {
    text-align: center;
    padding: 1.5rem;
    color: var(--muted);
    font-size: 0.9rem;
}

nav {
    position: fixed;
    top: -25px;
    left: 0;
    margin: 0;
    width: 100%;
    height: 56px;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
    z-index: 2000;
}


.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    all: unset;
    color: #e6e8eb;
    background: var(--card);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
}

.dropbtn:hover {
    background: #1e2230;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 180px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    z-index: 1000;
    overflow: hidden;
    top: 100%;
    left: 0;
    margin-top: 0;
}

.dropdown-content a {
    display: flex;
    flex-direction: column;
    padding: 0.6rem 0.9rem;
    color: #e6e8eb;
    text-decoration: none;
}

.dropdown-content a:hover {
    background: #252a34;
}

.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 8px;
}

#app {
    margin-top: 56px;
}
main{
    margin-top: 35px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.game-card {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #000;
    aspect-ratio: 3 / 4;
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.game-card span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.7rem 0.9rem;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.game-card:hover img {
    transform: scale(1.05);
}
