/* GENERAL SETUP */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #191923; /* Deep Charcoal/Grayish Black */
    color: #EAEAEA; /* Off-White Text */
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: rgba(25, 25, 35, 0.95); /* Semi-transparent dark background */
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid #B697D1; /* Muted Purple Accent */
    box-shadow: 0 0 20px rgba(182, 151, 209, 0.1);
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}
nav ul { display: flex; gap: 30px; }
nav a:hover { 
    color: #B697D1; 
    text-shadow: 0 0 10px rgba(182, 151, 209, 0.7); 
}

/* HERO SECTION */
.hero {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Soft gradient matching the deep background and card color */
    background: radial-gradient(circle at center, #2C2C3E 0%, #191923 100%);
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 10px;
}

.hero span { color: #B697D1; } /* Muted Purple Accent */

.hero p {
    font-size: 1.2rem;
    color: #B697D1; /* Muted Purple Accent */
    max-width: 600px;
}

/* GAMES SECTION */
.games-section {
    padding: 80px 10%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #fff;
    border-bottom: 1px solid #2C2C3E;
    padding-bottom: 20px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* CARD DESIGN */
.game-card {
    background: #2C2C3E; /* Dark Card Background */
    border-radius: 10px;
    overflow: hidden;
    transition: 0.4s;
    border: 1px solid #191923;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: #B697D1;
    box-shadow: 0 0 25px rgba(182, 151, 209, 0.25); /* Subtle purple glow */
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #484860;
}

.game-info { padding: 20px; }

.game-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.game-desc {
    font-size: 0.9rem;
    color: #EAEAEA;
    margin-bottom: 15px;
    height: 50px;
    overflow: hidden;
}

.game-tags { margin-bottom: 20px; display: flex; gap: 8px; flex-wrap: wrap; }

.tag {
    background: #191923;
    color: #B697D1;
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 4px;
    border: 1px solid #B697D1;
}

.btn-container { display: flex; gap: 10px; }

.btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.btn-play { 
    background: #B697D1; /* Muted Purple */
    color: #191923; 
}
.btn-play:hover { background: #EAEAEA; }

.btn-video { border: 1px solid #EAEAEA; color: #fff; }
.btn-video:hover { background: #484860; border-color: #484860; }

/* FOOTER */
footer {
    text-align: center;
    padding: 40px;
    background: #0F0F1A;
    color: #B697D1;
    font-size: 0.8rem;
    margin-top: 50px;
}

/* CONTACT SECTION STYLES */
.contact-section {
    padding: 80px 10%;
    background: #1C1C28; /* Slightly lighter than body for contrast */
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 300px; /* Form and Social sidebar */
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

#contact-form {
    margin-left: 390px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact-form h3 {
    color: #B697D1;
    margin-bottom: 5px;
}

input, textarea {
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #484860;
    background: #191923;
    color: #EAEAEA;
    font-size: 1rem;
}

input:focus, textarea:focus { border-color: #B697D1; outline: none; }

.btn-submit {
    background: #B697D1;
    color: #191923;
    padding: 15px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn-submit:hover { background: #EAEAEA; }

/* SOCIAL LINKS STYLES */
.social-links h3 { 
    margin-bottom: 20px; 
    color: #B697D1;
    border-bottom: 1px solid #484860;
    padding-bottom: 10px;
}

.icon-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px; /* Spacing between icons */
    justify-content: flex-start;
}

.social-links a {
    font-size: 2.5rem;
    color: #B697D1;
    transition: 0.3s;
}

.social-links a:hover {
    color: #fff;
    transform: scale(1.1);
}

/* RESPONSIVE DESIGN FOR CONTACT */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr; /* Stack form and social links */
    }
}