/* Main Styles - Global Variables & Reset */
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap"); /* For Everything */
@import url("https://fonts.googleapis.com/css2?family=Aldrich&display=swap"); /* Use Aldrich Font For "SAHU GAMES" and game title*/

:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --header-bg: #f8f9fa;
    --footer-bg: #1a1a1a;
    --footer-text: #ffffff;

    --accent-color: #94e21a;
    --accent-bg-color: rgba(148, 226, 26, 0.1);

    --transition-speed: 0.5s;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --header-bg: #1e1e1e;
    --footer-bg: #000000;
}

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

    transition: background-color var(--transition-speed);
}

body {
    font-family: "Quicksand", sans-serif;
    letter-spacing: 0.08rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color var(--transition-speed),
        color var(--transition-speed);
    overflow-x: hidden;
}

.logo-text {
    font-family: "Aldrich", sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: "Quicksand", sans-serif;
    cursor: pointer;
    border: none;
    outline: none;
    text-transform: uppercase; /* Capitalize button text by default */
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    min-height: 100vh; /* Fallback */
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px; /* Account for fixed header */
}

/* Button Styles */
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s, opacity 0.2s,
        background-color var(--transition-speed);
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000;
}

.btn-outline {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Common Tag Styles */
.tags-container {
    display: flex;
    gap: 10px;
    justify-content: center; /* Center tags in card */
    flex-wrap: wrap; /* Allow tags to wrap to next line */
}

.tag {
    font-size: 0.9rem;
    padding: 5px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    color: #666;
    background-color: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .tag {
    border-color: #444;
    color: #aaa;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Button Styles */
.game-btn {
    padding: 10px 10px;
    border-radius: 30px;
    /* font-size: 0.9rem; */
    font-weight: 600;
    /* text-decoration: none; */
    transition: all 0.2s, background-color var(--transition-speed);
    border: 1px solid transparent;
    /* width: 100%; */
    /* max-width: 200px; */
}

.game-btn i {
    font-size: 2rem;
}

.game-btn.active {
    background-color: var(--accent-color);
    color: #000;
    box-shadow: 0 4px 15px rgba(148, 226, 26, 0.3);
}

.game-btn.active:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(148, 226, 26, 0.4);
}

.game-btn.dull {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    opacity: 0.5;
    cursor: not-allowed;
}

[data-theme="dark"] .game-btn.dull {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Form Input Styles (Reusable) */
.form-input {
    width: 100%;
    padding: 15px;
    border: 2px solid transparent;
    border-radius: 10px;
    background-color: var(--header-bg);
    color: var(--text-color);
    font-family: "Quicksand", sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
}

.form-input:focus {
    border-color: var(--accent-color);
    background-color: var(--bg-color);
    box-shadow: 0 0 10px rgba(148, 226, 26, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}
