:root {
    --bg-color: #CADBFF;
    --text-color: #070707;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: white;
    font-family: 'Dela Gothic One', cursive;
    overflow-x: hidden;
}

/* Main Container */
.homepage-container {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    width: 100%;
    background-color: var(--bg-color);
}

/* Individual Game Cards */
.game-card {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 40px 20px;
    transition: var(--transition);
    border-right: 1px solid rgba(0,0,0,0.05);
}

.game-card:last-child {
    border-right: none;
}

/* Hover Effect: Darkens the section slightly when hovered */
.game-card:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    max-width: 100%;
}

.game-title {
    color: var(--text-color);
    font-size: clamp(24px, 4vw, 36px); /* Responsive font size */
    text-align: center;
    word-wrap: break-word;
}

/* SVG Container Logic */
.svg-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.svg-container svg {
    width: 100%;
    max-width: 300px; /* Limits size on desktop */
    height: auto;
}


/* --- Responsiveness --- */

/* For Tablets (Horizontal/Large) */
@media (max-width: 1024px) {
    .game-title {
        font-size: 28px;
    }
}

/* For Mobile Devices */
@media (max-width: 768px) {
    .homepage-container {
        flex-direction: column; /* Stack cards vertically */
    }

    .game-card {
        width: 100%;
        min-height: 33.33vh; /* Each card takes 1/3 of the screen height */
        border-right: none;
        border-bottom: 2px solid rgba(0,0,0,0.1);
    }

    .card-content {
        gap: 24px;
    }
}