/* Global styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: black;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Typography */
h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    color: #cccccc;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
}

p, li {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.6;
}

strong {
    color: white;
}

/* Layout components */
.container {
    width: 100%;
    padding: 2rem;
    text-align: left;
}

.padded-container {
    padding: 2rem;
}

.centered-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
}

.limited-width-text {
    max-width: 700px;
}

/* Components */
.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.play-now {
    display: inline-flex;
    align-items: center;
    background-color: #000;
    border: 2px solid #A6A6A6;
    border-radius: 12px;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    box-sizing: border-box;
    height: 85px;
    width: 283px;
    margin: 20px;
}

.icon {
    font-size: 50px;
    margin-right: 16px;
}

.text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.line1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 200;
    font-size: 16px;
    align-self: flex-start;
}

.line2 {
    font-family: 'Poppins', sans-serif;
    font-size: 34px;
    font-weight: 600;
}

/* Links and navigation */
.back-link {
    display: inline-block;
    margin: 1rem 0;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.back-link:hover {
    color: #cccccc;
}

/* Social links */
.socials {
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.socials a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.socials a:hover {
    color: #303843;
}

.socials-home {
    margin-bottom: 6rem;
    display: grid;
    width: 100%;
    max-width: 800px; /* Controls maximum width of the entire container */
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    margin-top: 2rem;
}

/* 4x1 layout for larger screens */
@media (min-width: 768px) {
    .socials-home {
        grid-template-columns: repeat(4, auto);
        column-gap: clamp(2rem, 8vw, 8rem); /* Min 2rem, max 8rem gap */
        justify-content: space-between;
    }
}

/* 2x2 layout for smaller screens */
@media (max-width: 767px) {
    .socials-home {
        grid-template-columns: repeat(2, auto);
        grid-template-rows: repeat(2, auto);
        gap: clamp(2rem, 5vw, 5rem);
        justify-content: space-evenly;
    }
}

.socials-home a {
    font-size: 3rem;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    margin-top: auto;
    margin-bottom: 2rem;
    padding: 1rem;
    font-size: 0.9rem;
    color: white;
    text-align: center;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

footer a {
    color: white;
    text-decoration: underline;
}

/* Lists */
ul {
    margin-bottom: 1.5rem;
}

/* Add this to your styles.css file */
.home-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1 0 auto;
    min-height: 75vh; /* Ensures it takes enough vertical space */
}