* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', 'Russo One', 'Impact', sans-serif;
    position: relative;
    min-height: 100vh;
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    gap: 25px;
    color: #ffb400;
}

nav a {
    text-decoration: none;
    color: #ffb400;
    font-size: 1.3em;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
}

nav a:hover {
    background: rgba(6, 212, 198, 0.486);
    transform: scale(1.1);
}

/* Video Background Styles */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Dark overlay to make text more readable */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Container Styles */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Navigation Styles */
nav {
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 30px;
    backdrop-filter: blur(0px);
}

nav h1 {
    color: #ffb400;
    font-size: 24px;
    margin-right: auto;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav a {
    color: #ffb400;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Content Styles */
h1 {
    color: #ffb400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h2 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-section {
    padding: 20px;
    border-radius: 8px;
    margin: 18px 0;
    margin-top: 30px; /* Reduced top margin to move it closer to top */
    background: rgba(0, 0, 0, 0.351); /* semi-transparent black */
    backdrop-filter: blur(7px);
}

.about-section p {
    font-size: 25px;
    line-height: 1.6;
    color: #ffb400;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Make h1 and h2 inside about-section use the same gold color */
.about-section h1
 {
    color: #ffb400;
    font-size: 25px;
    line-height: 1.6;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-align: center;
}

.about-section h2 {
    color: #ffb400;
    font-size: 25px;
    line-height: 1.6;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-align: center;
}

.about-section h3 {
    color: #ffb400;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-align: center;
}

/* Game Logo Styles */
.game-logo {
    display: block;
    margin: 5px auto 0;
    max-width: 350px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 180, 0, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.game-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(255, 180, 0, 0.5));
}
/* Projects Grid */
.projects-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 50px 20px;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.project {
    text-align: center;
    max-width: 300px;
}

.project img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.project img:hover {
    transform: scale(1.05);
}

.project-description {
    margin-top: 10px;
    font-size: 1em;
}

/* ── Product card: image fills the top border area ── */
        .product-card {
            display: flex;
            flex-direction: column;
            overflow: hidden;           /* image stays inside the border */
            border-radius: 10px;        /* match whatever border-radius you use */
            text-decoration: none;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .product-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.5);
        }

        /* Image fills full width, fixed height, cropped if needed */
        .product-card .product-image {
            width: 100%;
            height: 200px;
            overflow: hidden;
            flex-shrink: 0;
        }
        .product-card .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;      /* fills the box, crops excess */
            display: block;
        }

        /* Text area sits below the image */
        .product-card .product-info {
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
            padding: 0.75rem 1rem;
        }
        .product-card .product-name {
            font-weight: bold;
            color: #fff;
        }
        .product-card .product-price {
            color: #4ade80;
        }
        .product-card .product-order {
            color: #888;
            font-size: 0.8rem;
        }