/* Hero Section */
.hero {
    height: 40vh;
    background: url('../images/sunseeker/sunseeker_beach_evening.webp') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 72px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
    letter-spacing: 2px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 40px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom:20px;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 18px;
}

/* Games Section */
.games {
    padding: 100px 0;
    background-color: #0e0e0e;
}

.game-card {
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.game-card-content {
    display: flex;
    padding: 40px;
}

.game-info {
    flex: 1;
    padding-right: 40px;
}

.game-screenshot {
    flex: 1;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.game-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-logo {
    max-width: 300px;
    margin-bottom: 30px;
}

.game-card p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ccc;
}

.platform-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.platform-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.platform-btn i {
    font-size: 24px;
}

.platform-btn.steam {
    background-color: #1b2838;
    color: #fff;
}

.platform-btn.epic {
    background-color: #2a2a2a;
    color: #fff;
}

.platform-btn.switch {
    background-color: #e60012;
    color: #fff;
}

.platform-btn.ps {
    background-color: #003791;
    color: #fff;
}

.platform-btn.xbox {
    background-color: #107c10;
    color: #fff;
}

.platform-btn.ios {
    background-color: #000;
    color: #fff;
}

.platform-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.game-card-link {
    display: block;
    padding: 20px;
    background-color: #252525;
    text-align: center;
    color: #f5a623;
    font-weight: 500;
    font-size: 18px;
    transition: background-color 0.3s;
}

.game-card-link:hover {
    background-color: #333;
}

/* News Preview Section */
.news-preview {
    padding: 80px 0;
    background-color: #141414;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.news-card {
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    display: block;
    color: #f5a623;
    margin-bottom: 10px;
    font-size: 14px;
}

.news-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.news-card p {
    margin-bottom: 15px;
    color: #aaa;
}

.read-more {
    color: #f5a623;
    font-weight: 500;
    display: inline-block;
    margin-top: 10px;
}

.center-button {
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .game-card-content {
        flex-direction: column;
        padding: 30px;
    }

    .game-info {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .game-screenshot {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .game-card-content {
        padding: 20px;
    }

    .game-logo {
        max-width: 200px;
    }
}
