/* Google Fonts Import Link */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap");

/* Genel stil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Roboto', sans-serif;
}

body {
    background: #2c3e50;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-size: 18px;
    padding: 20px;
    overflow: hidden;
}

/* Navbar yerleşimi */
/* Sayfa Değiştirme Butonları */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 50px;
}

.page-button {
    background-color: #2c7a50;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-button:hover {
    background-color: #34efdf;
    transform: translateY(-3px);
}

.page-button.active {
    background-color: #34efdf;
    font-weight: bold;
}

.page-button:focus {
    outline: none;
}

/* Navbar styling */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    background: #2c7a50;
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 10px;
}

.nav-links li a {
    position: relative;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #34efdf;
}

.nav-links li a:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: #34efdf;
    border-radius: 12px;
    transition: all 0.4s ease;
}

.nav-links li a:hover:before {
    width: 100%;
}

/* Game box styling */
.game-box {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    margin: 20px;
    background: #fff;
}

.game-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.game-box img {
    width: 100%;
    border-bottom: 2px solid #f4f4f4;
}

.game-box p {
    padding: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Request Box Styling */
.request-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    text-align: center;
    transition: all 0.3s ease;
}

.request-box h5 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.request-box textarea {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    resize: none;
}

.request-box button {
    background-color: #34efdf;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.request-box button:hover {
    background-color: #2c7a50;
}

/* Background Blur Effect */
.blur-background {
    filter: blur(5px);
    pointer-events: none;
}

/* Success Alert */
.alert-success {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #34efdf;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.alert-success.active {
    display: block;
}

/* Konteyner */
.container {
    background: rgba(0, 0, 0, 0.8);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2));
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: slideUp 0.7s forwards;
}

/* Konteyner Animasyonu */
@keyframes slideUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Başlık */
h1 {
    font-size: 2.5em;
    color: #76ff03;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

/* Form */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

/* Textarea ve inputlarda gelişmiş stil */
textarea,
input[type="password"],
button {
    border-radius: 12px;
    padding: 14px 18px;
    border: 1px solid #ddd;
    font-size: 16px;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

textarea {
    height: 250px;
    resize: vertical;
}

input[type="password"] {
    height: 45px;
}

/* Button */
button {
    background-color: #76ff03;
    color: black;
    border: none;
    padding: 14px 28px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: #64dd17;
    transform: translateY(-2px);
}

button:active {
    animation: pulse 0.5s ease;
}

/* Seçim Kutusu (Custom Select) */
.custom-select {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.selected-option {
    padding: 14px;
    border-radius: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    font-size: 16px;
    text-align: left;
    position: relative;
    transition: background-color 0.3s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.selected-option:hover {
    background-color: #f0f0f0;
}

.options {
    display: none;
    position: absolute;
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #ddd;
    z-index: 1;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.option {
    padding: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.option:hover {
    background-color: #f0f0f0;
}

.custom-select.open .options {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Sonuç Boxları */
.response-box {
    padding: 30px;
    margin-top: 40px;
    border-radius: 15px;
    font-size: 16px;
    animation: fadeInBox 0.5s ease-in-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s ease;
    background: rgba(255, 255, 255, 0.05);
}

.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.error {
    background-color: #ffebee;
    color: #d32f2f;
    border: 1px solid #ffccd5;
}

.success a,
.error a {
    display: inline-block;
    padding: 14px 22px;
    background-color: #76ff03;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.success a:hover,
.error a:hover {
    background-color: #64dd17;
}

/* Tema değiştirme simgesi */
.theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    padding: 10px;
    background-color: #34efdf;
    color: white;
    border: none;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.theme-toggle:hover {
    background-color: #2c7a50;
}