* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #111;
    color: #fff;
    overflow-x: hidden;
}

/* Background & Layout */
.hero-section {
    height: 100vh;
    width: 100vw;
    /* Default background image with a dark gradient overlay */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('start.jpg');
    background-size: cover;
    background-position: center;
    transition: background-image 0.6s ease-in-out;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo-us {
    font-size: 2.0em;      /* Increased to make it more prominent */
    color: #fca311;
    font-weight: 900;
    position: relative; 
    top: -0.05em;          /* Slightly adjusted to keep it vertically centered with the larger font */
    line-height: 0;        
    margin-left: -4px; 
}

/* Styling for the Award Text in the Navigation Bar */
.nav-award {
    display: flex;
    align-items: center;
    gap: 8px;              /* Spacing between the trophy and the text */
    color: #fca311;        /* Gamebreaker Orange */
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo img {
    max-height: 50px; /* Adjust this number up or down to get the perfect size */
    width: auto;      /* Keeps the image from stretching out of proportion */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fca311;
}

.nav-buttons button {
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-login {
    background: transparent;
    color: #fca311;
    margin-right: 15px;
}

.btn-login:hover {
    color: #fff;
}

.btn-signup {
    background: #fca311;
    color: #111;
}

.btn-signup:hover {
    background: #fff;
}

/* Hero Typography */
.hero-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
}

.title-white {
    font-size: 6rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.title-orange {
    font-size: 6rem;
    font-weight: 900;
    color: #fca311; /* Bright Orange */
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.subtitle {
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #d1d1d1;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 20px;
}

.btn-outline {
    text-decoration: none;
    color: #fff;
    padding: 15px 0;
    width: 200px;
    text-align: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-outline:hover {
    border-bottom-color: #fca311;
    color: #fca311;
}

/* Bottom Game Icons */
.game-icons {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.icon {
    width: 100px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.icon:hover {
    border-color: #fca311;
    background: rgba(252, 163, 17, 0.3);
    transform: translateY(-5px);
}

/* --- Devices Page Specifics --- */

/* Ensures the navbar has a background on pages without the large hero image */
.solid-nav {
    background-color: #111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Header Section */
.page-header {
    text-align: center;
    padding: 80px 20px 40px;
    background-color: #111;
}

.page-header .title-white {
    font-size: 3.5rem;
    display: inline-block;
    letter-spacing: -1px;
}

.page-header .title-orange {
    font-size: 3.5rem;
    display: inline-block;
    margin-bottom: 0;
    letter-spacing: -1px;
}

.page-header .subtitle {
    margin: 20px auto;
    font-size: 1.1rem;
}

/* Product Grid Layout */
.devices-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    padding: 0 10% 100px;
    background-color: #111;
}

/* Individual Product Cards */
.device-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.device-card:hover {
    transform: translateY(-8px);
    border-color: #fca311;
    box-shadow: 0 10px 30px rgba(252, 163, 17, 0.1);
}

/* Image Container */
.device-image-wrapper {
    width: 100%;
    height: 220px;
    background-color: #ffffff; /* White block to frame the product images cleanly */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.device-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.device-card:hover .device-image-wrapper img {
    transform: scale(1.05);
}

/* Text and Button Container */
.device-info {
    padding: 25px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.device-info h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
    text-transform: uppercase;
}

.device-info p {
    font-size: 0.9rem;
    color: #a1a1a1;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.device-info .btn-outline {
    width: 100%;
    display: block;
    padding: 12px 0;
}

/* Product Features List */
.product-features {
    color: #d1d1d1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    padding-left: 20px;
}

.product-features li {
    margin-bottom: 10px;
}

.product-features strong {
    color: #fff;
}

/* --- Individual Product Page Specifics --- */

.product-page-container {
    display: flex;
    flex-direction: column; /* Stacks the image and text vertically */
    align-items: center;    /* Centers elements horizontally */
    text-align: center;     /* Centers all typography */
    max-width: 900px;       /* Keeps text from spanning too widely across the screen */
    margin: 60px auto;
    padding: 0 5%;
    gap: 40px;
}

.product-showcase {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Uniform Image Sizing */
.product-image-large {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    
    /* These dimensions lock all 4 product boxes to the exact same size */
    width: 450px;
    height: 350px; 
}

.product-image-large img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensures images fit the box perfectly without stretching */
}

.product-info-panel {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the buttons and boxes */
    width: 100%;
}

.product-info-panel .title-white {
    font-size: 4rem;
    margin-bottom: 10px;
    line-height: 1;
}

.product-info-panel .title-orange {
    font-size: 4rem;
    margin-bottom: 25px;
    line-height: 1;
}

.product-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #d1d1d1;
    margin-bottom: 20px;
    max-width: 800px;
}

.compatibility-box {
    background: rgba(255, 255, 255, 0.05);
    border-top: 4px solid #fca311; /* Shifted from a side border to a top border for symmetry */
    padding: 20px;
    margin: 20px 0 40px;
    font-size: 0.95rem;
    color: #a1a1a1;
    line-height: 1.6;
    border-radius: 0 0 8px 8px;
    max-width: 700px;
    width: 100%;
}

.compatibility-box strong {
    color: #fff;
    letter-spacing: 1px;
}

/* Centered Product Features List */
.product-features {
    color: #d1d1d1;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    padding-left: 0;
    list-style-position: inside; /* Brings the bullet points perfectly into the center alignment */
    max-width: 800px;
}

.product-features li {
    margin-bottom: 12px;
}

.product-features strong {
    color: #fff;
}

/* Purchase Section */
.purchase-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.btn-purchase {
    background-color: #fca311;
    color: #111;
    border: none;
    padding: 18px 30px;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    width: 100%;
    max-width: 400px;
}

.btn-purchase:hover {
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(252, 163, 17, 0.3);
}

.preorder-notice {
    color: #fca311;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center; /* Centers the icon and text */
    gap: 8px;
    letter-spacing: 1px;
}
/* --- Pre-Order Modal Specifics --- */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); justify-content: center; align-items: center; }
.modal-content { background-color: #111; padding: 40px; border: 1px solid #fca311; border-radius: 12px; width: 90%; max-width: 450px; text-align: center; position: relative; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9); }
.close-btn { color: #888; position: absolute; top: 15px; right: 20px; font-size: 30px; font-weight: bold; cursor: pointer; transition: color 0.3s; }
.close-btn:hover { color: #fca311; }
.modal-content h2 { color: #fff; margin-bottom: 10px; font-weight: 900; text-transform: uppercase; font-size: 1.8rem; }
.modal-content p { color: #a1a1a1; font-size: 0.9rem; margin-bottom: 25px; line-height: 1.5; }
.preorder-form { display: flex; flex-direction: column; gap: 15px; }
.preorder-form input { padding: 16px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03); color: #fff; font-size: 1rem; font-family: 'Montserrat', sans-serif; transition: border-color 0.3s; }
.preorder-form input::placeholder { color: #666; }
.preorder-form input:focus { outline: none; border-color: #fca311; background: rgba(255, 255, 255, 0.06); }
