/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    background-color: #2c3e50; /* Fallback color */
}

/* Background Handling */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Sử dụng link ảnh bạn cung cấp */
    background-image: url('https://i.ytimg.com/vi/pHUqhYslji4/maxresdefault.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: blur(4px) brightness(0.6); /* Làm mờ và tối nền để nổi bật text */
    transform: scale(1.1); /* Tránh viền trắng khi blur */
}

/* Main Container - Glassmorphism Effect */
.container {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 20px;
    width: 90%;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    margin: 20px 0;
}

/* Typography */
h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #ffcc00; /* Stardew Valley Logo Colorish */
}

.subtitle {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #e0e0e0;
}

.badge-new {
    display: inline-block;
    background: #ff4757;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
}

/* Game Info Grid */
.game-info-card {
    display: flex;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-item .label {
    font-size: 0.8rem;
    color: #aaa;
    text-transform: uppercase;
}

.info-item .value {
    font-weight: bold;
    font-size: 1rem;
    color: #fff;
}

/* MAIN DOWNLOAD BUTTON */
.download-btn {
    display: block;
    background: linear-gradient(to bottom, #2ecc71, #27ae60);
    color: white;
    text-decoration: none;
    padding: 20px 30px;
    border-radius: 12px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    border-bottom: 5px solid #1e8449;
    transition: transform 0.1s;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.download-btn:active {
    transform: translateY(4px);
    border-bottom: 1px solid #1e8449;
}

.btn-subtext {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 5px;
    opacity: 0.9;
    font-family: 'Roboto', sans-serif;
}

/* Pulse Animation for Button */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(46, 204, 113, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Content Section */
.content-section {
    text-align: left;
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 15px;
}

.content-section h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #ffcc00;
}

.content-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #ddd;
}

.features-list {
    list-style: none;
    margin-bottom: 20px;
}

.features-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* Secondary Button */
.secondary-btn {
    display: block;
    text-align: center;
    background: #3498db;
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: background 0.3s;
}

.secondary-btn:hover {
    background: #2980b9;
}

/* Footer */
footer {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #888;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    .download-btn { font-size: 1.2rem; padding: 15px 20px; }
    .game-info-card { flex-wrap: wrap; gap: 10px; justify-content: center; }
    .info-item { min-width: 30%; align-items: center; }
}