body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: white;
}

.container {
    text-align: center;
    padding: 60px 20px;
}

h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.subtitle {
    color: #ccc;
    margin-bottom: 50px;
}

.games {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.game-card {
    text-decoration: none;
    color: white;
    width: 340px;
    height: 230px;
    background: rgba(255,255,255,0.08);
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(10px);
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.18);
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}

.game-card:hover {
    transform: scale(1.08);
    background: rgba(255,255,255,0.15);
}

.card-content h2 {
    margin-bottom: 10px;
}

.card-content p {
    color: #ddd;
    font-size: 14px;
}
.game-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));
}

.card-content {
    padding: 20px;
}
.home-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,0.35));
}
.social-area {
    margin: 35px auto 0;
    padding: 22px;
    max-width: 900px;
    min-height: 70px;
    background: rgba(0,0,0,0.18);
    border-radius: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.social-link {
    text-decoration: none;
    color: white;
    background: rgba(255,255,255,0.1);
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: bold;
    transition: 0.25s;
}

.social-link:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.2);
}

.news-section {
    background: #142f38;
    padding: 70px 20px 90px;
    color: white;
    text-align: center;
}

.news-section h2 {
    font-size: 36px;
    margin-bottom: 35px;
}

.news-list {
    max-width: 950px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.news-card {
    text-align: left;
    background: rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.12);
}

.news-card small {
    color: #ffd166;
}

.news-card h3 {
    margin: 10px 0;
}
.news-game-card {
    width: 340px;
    height: 230px;
    border-radius: 26px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.news-game-card:hover {
    transform: scale(1.05);
}
.news-section {
    background: #142f38;
    padding: 80px 20px 110px;
    color: white;
    text-align: center;
    width: 100%;
}

.news-section h2 {
    font-size: 38px;
    margin-bottom: 35px;
}

.news-list {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.news-game-card {
    width: 340px;
    height: 230px;
    border-radius: 26px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}

.news-game-card:hover {
    transform: scale(1.05);
}

.news-game-card h3 {
    font-size: 28px;
    margin: 0 0 8px;
}

.news-game-card p {
    margin: 0;
    color: #ddd;
}

.news-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9999;
    display: none;
}

.news-overlay.active {
    display: block;
}

.news-panel {
    width: min(900px, 92%);
    max-height: 88vh;
    overflow-y: auto;
    margin: 35px auto 0;
    background: #173640;
    border-radius: 0 0 28px 28px;
    padding: 28px;
    color: white;
    box-shadow: 0 25px 80px rgba(0,0,0,0.45);
    animation: slideDownNews 0.28s ease;
}

@keyframes slideDownNews {
    from {
        transform: translateY(-80px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-news-btn {
    float: right;
    border: none;
    border-radius: 12px;
    padding: 10px 15px;
    background: #ffd166;
    font-weight: bold;
    cursor: pointer;
}

.overlay-news-image {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 22px;
    margin: 20px 0 25px;
}

#overlayNewsTitle {
    font-size: 38px;
    margin: 10px 0;
}

.overlay-news-date {
    color: #ffd166;
}

.overlay-news-content {
    font-size: 18px;
    line-height: 1.8;
    white-space: pre-line;
    color: #eaeaea;
}

.overlay-news-link {
    display: inline-block;
    margin-top: 28px;
    text-decoration: none;
    background: #ffd166;
    color: #111;
    padding: 13px 20px;
    border-radius: 14px;
    font-weight: bold;
}