@font-face {
    font-family: 'Sony Sketch';
    src: url('../fonts/SonySketch.ttf') format('truetype');
}

body {
    background-color: #272737; /* Your favorite color */
    color: #ffffff;
    font-family: 'Sony Sketch', sans-serif; /* Your favorite font */
    margin: 0;
    padding: 0;
}

/* Nav */
nav {
    background: #1e1e2b;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #3d3d5c;
}

.logo { font-size: 1.5rem; color: #fff; }
.nav-links a { color: #ccc; text-decoration: none; margin-left: 15px; font-size: 1.2rem; }
.admin-link { color: #ff6b6b !important; }

/* Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 20px; }
.center-box { display: flex; justify-content: center; margin-top: 50px; }

/* Cards & Forms */
.auth-card, .card {
    background: #323246;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.auth-card { width: 100%; max-width: 400px; text-align: center; }
.upload-card { max-width: 600px; text-align: left; }

input, select, textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    background: #232333;
    border: 1px solid #4d4d66;
    color: white;
    border-radius: 6px;
    font-family: inherit; /* Keeps Sony Sketch */
    box-sizing: border-box;
}

button, .btn {
    background: #00cec9;
    color: #272737;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
}

button:hover, .btn:hover { background: #81ecec; }

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.card img { width: 100%; height: 150px; object-fit: cover; border-radius: 6px; }
.card h3 { margin: 10px 0; }

/* Details Page */
.details-container { display: flex; gap: 40px; background: #323246; padding: 30px; border-radius: 15px; margin-top: 20px; }
.large-screenshot { max-width: 350px; border-radius: 10px; }
.badge { background: #555; padding: 5px 10px; border-radius: 4px; font-size: 0.9rem; }
.download-btn { background: #6c5ce7; color: white; margin-top: 20px; padding: 15px 30px; }
.back-link { color: #aaa; text-decoration: none; }

/* Mobile */
@media (max-width: 700px) {
    .details-container { flex-direction: column; }
    .large-screenshot { width: 100%; }
}
.login-box { 
    background-color: black; 
    padding: 40px; 
    border-radius: 15px; width: 350px; 
    text-align: center; 
}