@font-face {
    font-family: 'CustomFont';
    src: url('fonts/SNPro-VariableFont_wght.ttf');
}

body { 
    font-family: 'CustomFont', sans-serif; 
    text-align: center; 
    padding: 20px; 
    background-image: url('images/cloud.png');
    background-repeat: repeat;
    min-height: 100vh;
    margin: 0;
    box-sizing: border-box;
}

.title-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.title-container h1 {
    margin: 0;
}
.profile-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: transform 0.6s ease-in-out;
}
.title-container:hover .profile-pic {
    transform: rotate(360deg);
}

h1 a { text-decoration: none; color: #333; }
h2 {
    font-size: 2.5em;
    color: #134f72;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
    margin: 20px 0;
}
nav { margin-top: 20px; margin-bottom: 40px; }
.nav-btn {
    display: inline-block;
    margin: 0 10px;
    padding: 15px 30px;
    background-color: #0077be;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2em;
    box-shadow: 0 5px 0 #004b7a;
    transition: all 0.1s ease;
}
.nav-btn:hover { background-color: #0069a8; }
.nav-btn:active {
    transform: translateY(5px);
    box-shadow: 0 0 0 #004b7a;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.game-card {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    display: block;
}
.game-card:hover {
    background-color: rgba(220, 240, 255, 0.9);
}
.game-image {
    width: 100%;
    height: 150px;
    background-color: #ccc;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
}
.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.game-card h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
}

.more-games-container {
    margin: 40px 0;
    text-align: center;
}
.big-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #00a86b;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: 0 6px 0 #00754a;
    transition: all 0.1s ease;
}
.big-btn:hover {
    background-color: #00965f;
}
.big-btn:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #00754a;
}