/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo h1 {
    font-family: 'Audiowide', cursive;
    font-size: 2rem;
    background: linear-gradient(135deg, #f0e919, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: 'Michroma', sans-serif;
}

.nav-links a:hover {
    background: linear-gradient(135deg, #6a11cb, #d125fc);
    transform: translateY(-2px);
}

.login-btn {
    background: linear-gradient(135deg, #f0e919, #ff6b6b);
    color: #000 !important;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Makes video cover the entire section */
    z-index: -1; /* Moves video to the background */
}

.hero-content {
    position: relative;
    z-index: 1; /* Ensures text appears above the video */
    backdrop-filter: blur(3px); /* Optional: Adds a subtle blur effect */
    padding: 20px;
    border-radius: 10px;
}

.main-title {
    font-family: 'Michroma', sans-serif;
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: glow 2s ease-in-out infinite alternate;
}

.subtitle {
    font-size: 1.5rem;
    font-family: 'Audiowide', cursive;
    color: #f0e919;
}

/* Game Categories */
.game-categories {
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.7);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, #6a11cb, #d125fc);
}

.category-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #f0e919;
}

/* Featured Games */
.featured-games {
    padding: 4rem 2rem;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-card {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px);
}

.game-image {
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-info {
    padding: 1.5rem;
    text-align: center;
}

.play-btn {
    background: linear-gradient(135deg, #6a11cb, #d125fc);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-family: 'Michroma', sans-serif;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #f0e919;
    margin-bottom: 1rem;
    font-family: 'Michroma', sans-serif;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #f0e919;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6a11cb, #d125fc);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes glow {
    from {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #f0e919, 0 0 20px #f0e919;
    }
    to {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #f0e919, 0 0 40px #f0e919;
    }
}