:root {
    /* --dark-gold: rgb(199, 129, 22); */ /* Default gold color */
    --dark-gold: rgb(229, 161, 19); /* Default gold color */
    --bright-gold: rgb(251, 214, 35); /* Brighter gold color for hover */
    --submenu-text: white; /* Default submenu text color */
	 --max-width: 1400px; /* Set your desired max-width for the entire page */
}


/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: auto; /* Allow it to grow with content height */
    min-height: 100%; /* Ensure it starts at full viewport height */
    background-repeat: no-repeat;
    background-attachment: fixed; /* Keeps the gradient attached to the viewport for aesthetics */
}

body {
    margin: 0;
    padding: 0;
    min-height: 100%; /* Ensure the body spans the viewport height */
    display: flex; /* Flexbox layout for consistent positioning */
    flex-direction: column; /* Stack content vertically */
    font-family: 'Lexend Deca', sans-serif;
    color: white;
    line-height: 1.6;
    background: linear-gradient(to bottom, #1e2a47, #0c1a2e); /* Attach gradient to the body */
/*    background: linear-gradient(to bottom, #110000, #ff0000); */ /* Attach gradient to the body */
    background-repeat: no-repeat;
}


.layout {
    display: flex; /* Enable flexbox layout */
    flex-direction: column; /* Stack header, content, and footer vertically */
    min-height: 100vh; /* Ensure it spans at least the viewport height */
    position: relative; /* Maintain positioning for child elements if needed */
}

.page-container {
    max-width: var(--max-width); /* Constrain content width */
    margin: 0 auto; /* Center horizontally */
    padding: 0 20px; /* Optional horizontal padding */
    flex: 1; /* Allow this section to grow and fill space as needed */
}

#content {
    flex: 1; /* Push the footer to the bottom if there's not enough content */
	margin: 0;
}


/* Header */
.main-header {
	width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #0c1a2e;
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 20px; /* Adds space below the header */
}

.header-content {
	width:100%;
    max-width: var(--max-width); /* Constrain content to the global max-width */
    margin: 0 auto; /* Center the content horizontally */
    /* padding: 10px 20px; *//* Optional padding for spacing */
    display: flex; /* Ensure proper layout */
    justify-content: space-between;
    align-items: center;
}

.main-header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-header nav ul li {
    position: relative;
}

.main-header nav ul li a {
	font-size: 1.2rem;
    text-decoration: none;
    color: var(--dark-gold); /* Use gold variable when not moused over */
/*    color: white; */
    font-weight: bold;
    padding: 5px 10px;
	transition: color 0.2s ease; /* Smooth transition for hover effects */
}

.main-header nav ul li:hover > a {
    background: #1e2a47;
    border-radius: 5px;
    color: var(--bright-gold); /* Brighter gold on hover */
}

.main-header nav ul .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1e2a47;
    padding: 10px;
    list-style: none;
    border-radius: 5px;
    min-width: 200px; /* Set a minimum width for the dropdown */
}

.main-header nav ul .dropdown li a {
    font-size: 0.9rem; /* Smaller font size for submenus */
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    white-space: nowrap; /* Prevent text from wrapping at all */
    transition: color 0.2s ease; /* Smooth transition for hover effects */
}

.main-header nav ul .dropdown li a:hover {
    color: var(--bright-gold); /* Gold color when moused over */
}

.main-header .logo {
    display: flex; /* Ensures proper layout */
    justify-content: center; /* Centers the image horizontally */
    align-items: center; /* Centers the image vertically */
}

.main-header .logo a {
    text-decoration: none; /* Remove underline from the link */
    display: inline-block; /* Ensure the link wraps around the logo */
}

.main-header .logo img {
	width: auto; /* Prevents horizontal stretching */
    height: auto; /* Maintains aspect ratio */
    max-height: 60px;
}


.main-header nav ul li:hover .dropdown {
    display: block;
}



/* Carousel */
.carousel-container {
    position: relative;
    overflow: hidden;
    width: 1072px; /* Fixed width for the carousel */
    height: 630px; /* Fixed height for the carousel */
    margin: 0 auto; /* Center the carousel horizontally */
    /* margin: 20px auto; */ /* Center the carousel horizontally */
}

/* General Button Styling */
.carousel-container .btn {
    display: inline-block; /* Makes the button behave like a block for styling */
    padding: 15px 30px; /* Adjust padding to make it look like an oval */
    font-size: 1.2rem; /* Adjust font size */
    font-weight: bold; /* Make the text bold */
    text-align: center; /* Center the text */
    text-decoration: none; /* Remove underline (for anchor links) */
    color: white; /* White text color */
    background-color: #007bff; /* Blue background */
    border: none; /* Remove default borders */
    border-radius: 30px; /* Make the button oval-shaped */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Add a soft shadow */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%; /* Ensure it matches the container's height */
    max-width: none; /* Remove any constraints */
}


.slide {
	position: relative; /* Make .slide the reference for its children */
    flex-shrink: 0; /* Prevent shrinking */
    width: 100%; /* Allow the slide to take the full container width */
    height: 100%; /* Ensure it matches the carousel's height */
    max-width: none; /* Ensure clean transitions */
    overflow: hidden; /* Prevent clipping of child elements */
    background-size: cover; /* Ensure the background image covers the slide */
    display: block; /* Replace flexbox layout to avoid alignment conflicts */
    text-align: center; /* Retain text centering, if necessary */
    border-radius: 15px; /* Preserve rounded corners */
}

.slide-content {
    position: absolute;
    display: flex;
    flex-direction: column; /* Stack text and buttons vertically */
    gap: 10px; /* Space between elements */
    max-width: 90%; /* Allow the text box to be 90% of the parent’s width */
    width: auto; /* Allow dynamic sizing */
    left: 0%; /* Position the at the center of the parent */
    top: 50%; /* Adjust vertical position */
    overflow: visible; /* Prevent content from being clipped */
}

/* Alignment modifiers */
.left-justify {
    align-items: flex-start; /* Align items to the left */
    text-align: left; /* Left-align text */
    left: 20px; /* Offset from the left edge */
}

.center-align {
    align-items: center; /* Center items horizontally */
    text-align: center; /* Center-align text */
}

.right-justify {
    align-items: flex-end; /* Align items to the right */
    text-align: right; /* Right-align text */
    right: 20px; /* Offset from the right edge */
}

/* Text Styling */
.slide-title {
    font-size: 5rem; /* Adjust size for larger titles */
    font-weight: bold;
    color: white;
    margin: 0;
}

.slide-text {
    font-size: 1.8rem; /* Adjust size for main text */
    color: white;
    margin: 0;
	line-height: 1.2;
}

.highlight {
    color: var(--dark-gold); /* Gold color */
    font-weight: bold; /* Optional: Make the text bold */
    background: none; /* Optional: Ensure no background */
}

/* Background Options */
.dark-background {
    background: rgba(0, 0, 0, 0.6); /* Transparent dark background */
    padding: 20px; /* Add space around the text */
    border-radius: 10px; /* Optional rounded corners */
}

.outlined-text {
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.8); /* Subtle black outline */
}

.shadow-text {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 1.0); /* Drop shadow on text */
}

.slide img {
    width: 100%;
    height: 100%; /* Match the dimensions of the slide container */
    object-fit: cover; /* Ensure the image fills the container without distortion */
	max-width: none;
}

.carousel-nav {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-nav .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #888;
    cursor: pointer;
}

.carousel-nav .dot.active {
    background: #fff;
}


/* overall stuff */
h2 {
    font-size: 2rem; /* Large for emphasis */
    font-weight: bold; /* Prominent */
    margin: 20px 0 5px; /* Add space around */
    text-align: left; /* Default alignment */
    color: white; /* Default color */
}

h3 {
    font-size: 1.5rem; /* Smaller than H2 */
    font-weight: bold; /* Maintain prominence */
    margin: 30px 0 0px; /* Slightly smaller margin */
    color: white; /* White text for contrast */
    text-align: left; /* Optional: Align left by default */
    padding-bottom: 5px; /* Space below the text for the border */
}

/* Default link styles */
a {
    color: var(--dark-gold); /* Dark gold */
    text-decoration: none; /* Remove underline for a clean look */
    transition: color 0.2s ease; /* Smooth transition for hover effects */
}

/* Hover state */
a:hover {
    color: var(--bright-gold); /* Bright gold on hover */
}

ul {
    margin-left: 20px; /* Indent the list by 20px */
    padding-left: 20px; /* Add padding inside the list for consistency */
	margin-bottom: 0.5rem
}

p {
    margin-bottom: 0.5rem; /* Space between paragraphs */
}

p:not(:first-of-type) {
    text-indent: 2em; /* Indent first line of non-first paragraphs */
}

p.no-indent {
    text-indent: 0; /* Disable indentation for specific paragraphs */
}

/* Featured Games */
.featured-games {
    padding: 40px 20px;
}



.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.game-card {
    background: #12203a;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease-in-out;
}

.game-card img {
    width: 100%;
    display: block;
    border-bottom: 1px solid #333;
}

.game-card .game-info {
    padding: 10px;
}

.game-card .label-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff0000;
    color: white;
    font-size: 0.8rem;
    padding: 2px 5px;
    border-radius: 3px;
}

.game-card h3 {
    margin: 10px 0 5px;
}

.game-card p {
    color: #aaa;
    margin-bottom: 10px;
}

.game-card:hover {
    transform: scale(1.05);
}

/* Footer stuff */
#footer-placeholder {
    background: #0c1a2e; /* Dark background for the footer */
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}


.end-bar {
    background: #0c1a2e;
    color: white;
    padding: 2px 20px;
    font-size: 0.9rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social span {
    font-weight: bold;
    margin-right: 10px;
}

.social-icon {
    width: 30px; /* size of the circle */
    height: 30px;
    border-radius: 50%;
    display: inline-block;
    background-color: rgb(19,43,65);
    background-size: 70%; /* Size of the PNG image */
    background-repeat: no-repeat;
    background-position: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.social-icon.twitter { background-image: url('images/social-icons/twitter.png'); }
.social-icon.facebook { background-image: url('images/social-icons/facebook.png'); }
.social-icon.tiktok { background-size: 60%; background-image: url('images/social-icons/tiktok.png'); }
.social-icon.instagram { background-size: 60%; background-image: url('images/social-icons/instagram.png'); }
.social-icon.reddit { background-image: url('images/social-icons/reddit.png'); }
.social-icon.discord { background-image: url('images/social-icons/discord.png'); }
.social-icon.twitch { background-image: url('images/social-icons/twitch.png'); }
.social-icon.youtube { background-size: 60%; background-image: url('images/social-icons/youtube.png');  }

.social-icon:hover {
    background-color: rgb(31,55,74);
}

.footer-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    display: flex;
    align-items: center; /* Align text and bullet vertically */
    position: relative;
}

.footer-links li::before {
    content: '\2022'; /* Unicode for • Bullet character */
    font-family: Arial, sans-serif; /* Explicitly set a font */
    color: #999999; /* Off-white bullet color */
    font-size: 1rem; /* Size of the bullet */
    position: absolute; /* Position the bullet independently */
    left: -17px; /* Adjust based on desired spacing */
}

.footer-links li:first-child::before {
    content: ''; /* Remove bullet from the first item */
}

.footer-links a {
    text-decoration: none;
    color: white;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--bright-gold);
}

.footer-bottom {
    text-align: right; /* Align copyright to the right */
    font-size: 0.6rem;
    width: 100%; /* Ensure it spans the entire width */
    max-width: var(--max-width); /* Match the top section's width */
    margin-top: 0px; /* Add spacing between links and copyright */
}
