.hero {
    position: relative;
    height: calc(100vh - 65px);
    background: linear-gradient(180deg, #0d0d1f 0%, #1a1a2e 100%);
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
    padding: 0 20px;
}
.hero-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30vh;
    overflow: hidden;
    z-index: 0;
}
.hero-bg svg {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}
.hero h1,
.hero p,
.hero .cta-button {
    z-index: 2;
    position: relative;
}
.hero h1 {
    font-size: 3rem;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero .bg {
    position: absolute;
    width: 100vw;
    height: 100vh;
    margin-left: -20px;
}

.cta-button {
    display: inline-block;
    background: #4c4cff;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
    max-width: 100%;
    align-self: center;
}
.cta-button:hover {
    background: #3737d7;
}


/* Games Section */
.games {
    background-color: #1a1a2e;
    padding: 60px 20px;
    text-align: center;
}

.games h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.game-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    cursor: pointer;
    background-color: #2c2c4a;
    padding: 20px;
    border-radius: 15px;
    width: 280px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #fff;
    margin-bottom: 10px;
}

.card p {
    color: #ccc;
}


.latest-news {
    padding: 40px 20px;
    background-color: #1f1f3d;
    color: white;
    text-align: center;
}

.latest-news h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.news-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.news-card {
    background-color: #2a2a40;
    border-radius: 16px;
    overflow: hidden;
    width: 350px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
    text-align: left;
}

.news-meta {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 8px;
}

.news-card h3 {
    font-size: 1.4rem;
    margin: 10px 0;
}

.news-desc {
    font-size: 1rem;
    margin-bottom: 16px;
    color: #ccc;
}

.read-more {
    color: #4c4cff;
    font-weight: bold;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}
