:root {
    --primary-color: #6C63FF;
    --secondary-color: #FF6584;
    --success-color: #4CAF50;
    --warning-color: #FFC107;
    --danger-color: #F44336;
    --text-color: #333;
    --bg-color: #f5f5f5;
    --card-bg: #fff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
    text-align: center;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.number-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.number-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-btn:hover {
    transform: scale(1.1);
}

.number-input input {
    width: 4rem;
    text-align: center;
    padding: 0.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    font-size: 1.1rem;
}

.preset-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.5rem;
}

.preset-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.preset-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.start-button, .end-game-button {
    background-color: #000 !important;
    color: white;
}

.start-button:hover, .end-game-button:hover {
    background-color: #333 !important;
    transform: translateY(-2px);
}

/* Menu Styles */
.menu-button {
    position: relative;
    margin-top: 2rem;
}

.menu-toggle {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-toggle:hover {
    background: var(--secondary-color);
}

.menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    display: none;
    min-width: 200px;
    z-index: 100;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.menu-item:hover {
    background: var(--bg-color);
}

/* Word Grid Styles */
.word-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
}

.word-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.word-card:hover {
    transform: translateY(-5px);
}

.word-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.word-header h3 {
    color: var(--primary-color);
    margin: 0;
}

.category-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.9rem;
}

.word-image {
    height: 200px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    border-radius: 0.5rem;
    overflow: hidden;
}

.word-image img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-color);
    opacity: 0.7;
    height: 100%;
    width: 100%;
    background-color: var(--bg-color);
    border-radius: 0.5rem;
}

.no-image i {
    font-size: 2rem;
}

.no-image span {
    font-size: 1rem;
}

.forbidden-words {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.forbidden-word {
    background: var(--danger-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.9rem;
}

.word-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Game Stats Styles */
.game-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.stat-card p {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Game Controls Styles */
.game-controls {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1rem;
    width: 100%;
    max-width: 1200px;
    margin-top: auto;
}

.game-controls .button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    justify-content: center;
    gap: 0.75rem;
    border-radius: 0.75rem;
}

.game-controls .success-button {
    background: #2E7D32;
}

.game-controls .warning-button {
    background: #FF9800;
}

.game-controls .danger-button {
    background: #D32F2F;
}

.game-controls .end-game-button {
    background: #000;
}

.game-controls .success-button:hover {
    background: #1B5E20;
}

.game-controls .warning-button:hover {
    background: #F57C00;
}

.game-controls .danger-button:hover {
    background: #C62828;
}

.game-controls .end-game-button:hover {
    background: #333;
}

/* Game Over Styles */
.game-over {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 90%;
    max-width: 800px;
    z-index: 1000;
}

.game-over h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.final-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.final-stats .stat-card {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.final-stats .stat-card:hover {
    transform: translateY(-5px);
}

.final-stats .stat-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.final-stats .stat-card h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.final-stats .stat-card p {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Oyun bitti ekranı için overlay */
.game-over-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999;
}

/* Stats Page */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stats-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.stats-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.stats-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--bg-color);
}

.stats-label {
    color: var(--text-color);
    opacity: 0.8;
}

.stats-value {
    font-weight: bold;
    color: var(--primary-color);
}

.stats-category {
    margin-bottom: 1rem;
}

.stats-category h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.word-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.word-item {
    background: var(--card-bg);
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.word-item.disabled {
    opacity: 0.7;
}

.word-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.word-info .category {
    color: var(--primary-color);
    font-weight: bold;
}

.word-info .name {
    font-size: 1.1rem;
}

/* Add Word Page */
.add-word-form {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.add-word-form .form-group {
    margin-bottom: 1.5rem;
}

.add-word-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.add-word-form input[type="text"],
.add-word-form input[type="url"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: var(--transition);
}

.add-word-form input[type="text"]:focus,
.add-word-form input[type="url"]:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    width: 100%;
}

.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    text-align: center;
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.1);
    color: #2E7D32;
    border: 1px solid #4CAF50;
}

.alert-error {
    background-color: rgba(244, 67, 54, 0.1);
    color: #C62828;
    border: 1px solid #F44336;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .game-stats {
        grid-template-columns: 1fr;
    }

    .game-controls {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .game-controls .button {
        padding: 0.75rem;
        font-size: 1rem;
        gap: 0.5rem;
    }

    .game-controls .button i {
        font-size: 1rem;
    }

    .preset-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .preset-btn {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    .menu-dropdown {
        left: 0;
        right: 0;
    }

    .word-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .word-actions,
    .form-actions {
        flex-direction: column;
    }

    .word-actions .button,
    .form-actions .button {
        width: 100%;
    }

    .add-word-form {
        padding: 1rem;
    }

    .game-container {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .game-top-bar {
        padding: 0.5rem;
        height: auto;
        min-height: 60px;
    }

    .game-title h1 {
        font-size: 1.5rem;
    }

    .game-stats-bar {
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .stat-item {
        font-size: 0.9rem;
        padding: 0.4rem 0.75rem;
        min-width: 100px;
        gap: 0.5rem;
    }

    .stat-item i {
        font-size: 1rem;
    }

    .game-main {
        flex: 1;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .game-word {
        font-size: 2rem;
        padding: 1rem;
        margin: 0;
    }

    .game-image {
        width: 95%;
        max-width: 95%;
    }

    .game-image .no-image {
        width: 100%;
    }

    .forbidden-words {
        padding: 0.5rem;
        gap: 0.25rem;
    }

    .forbidden-word {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }

    .game-controls {
        padding: 0.5rem;
        gap: 0.5rem;
        margin-top: auto;
    }

    .button {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .button i {
        font-size: 1rem;
    }

    /* Oyun Bitti Ekranı */
    .game-over {
        width: 90%;
        padding: 1rem;
    }

    .final-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .final-stats .stat-card {
        padding: 0.75rem;
    }

    .final-stats .stat-card i {
        font-size: 1.5rem;
    }

    .final-stats .stat-card h3 {
        font-size: 0.9rem;
    }

    .final-stats .stat-card p {
        font-size: 1.2rem;
    }

    /* Popup */
    .popup-content {
        width: 90%;
        padding: 1rem;
    }

    .popup-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .popup-buttons .button {
        width: 100%;
    }

    .checkbox-label {
        min-width: 100px;
        padding: 0.5rem 1rem;
    }

    .start-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Dikey Ekran Optimizasyonu */
@media (max-height: 700px) and (orientation: portrait) {
    .game-word {
        font-size: 1.8rem;
        padding: 0.75rem;
    }

    .game-image {
        height: 35vh;
    }

    .game-controls {
        padding: 0.25rem;
    }

    .button {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
}

/* Yatay Ekran Optimizasyonu */
@media (orientation: landscape) and (max-height: 500px) {
    .game-container {
        flex-direction: row;
    }

    .game-top-bar {
        width: 20%;
        flex-direction: column;
        justify-content: flex-start;
    }

    .game-main {
        width: 80%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .game-word {
        width: 100%;
        font-size: 2rem;
    }

    .game-image {
        width: 50%;
        height: 60vh;
    }

    .forbidden-words {
        width: 50%;
        height: 60vh;
        overflow-y: auto;
    }

    .game-controls {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
}

.centered-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.game-settings {
    width: 100%;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: center;
    width: 100%;
}

.number-input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.number-input input {
    width: 80px;
    text-align: center;
    padding: 0.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    font-size: 1.1rem;
}

.preset-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.5rem;
}

.preset-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.preset-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.menu-button {
    position: relative;
    margin-top: 1rem;
}

.menu-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    display: none;
    min-width: 200px;
    z-index: 100;
}

.button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.button.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    justify-content: center;
}

.checkbox-label:hover {
    background: rgba(var(--primary-rgb), 0.1);
}

.checkbox-label input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.popup-content {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.popup-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.popup-content p {
    margin-bottom: 1.5rem;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 768px) {
    .popup-buttons {
        flex-direction: column;
    }

    .popup-buttons .button {
        width: 100%;
    }
}

/* Kategori bölümleri */
.category-section, .category-stats-section {
    margin-bottom: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.category-header {
    padding: 1rem 1.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.category-header:hover {
    opacity: 0.9;
}

.category-header h2 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-icon {
    transition: transform 0.3s ease;
}

.word-count {
    font-size: 1rem;
    opacity: 0.9;
}

/* İstatistik kartları */
.stats-section {
    margin-bottom: 2rem;
}

.stats-header {
    padding: 1rem 1.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 12px 12px 0 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 0 0 12px 12px;
}

.stats-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stats-card h3 {
    margin: 0 0 1rem 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

.stats-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Anasayfa kategori seçimi */
.checkbox-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.checkbox-label:hover {
    background: rgba(var(--primary-rgb), 0.1);
}

.checkbox-label input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Oyun sayfası ana container */
.game-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-color);
    overflow: hidden;
}

/* Üst bar stilleri */
.game-top-bar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 60px;
}

.game-title {
    display: none; /* Başlığı gizle */
}

.game-stats-bar {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 0.75rem;
    min-width: 120px;
    justify-content: center;
}

.stat-item i {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Ana oyun içeriği */
.game-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
    overflow-y: auto;
}

/* Kelime stili */
.game-word {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
    letter-spacing: 2px;
    line-height: 1.2;
    padding: 1rem;
}

/* Resim stili */
.game-image {
    width: auto;
    max-width: 90%;
    height: calc(100vh - 340px);
    min-height: 400px;
    margin: 0.5rem auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 0.5rem;
}

.game-image img {
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    width: auto;
    object-fit: contain;
    border-radius: 12px;
}

.game-image .no-image {
    width: 400px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    border-radius: 12px;
    padding: 2rem;
}

.game-image .no-image i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    opacity: 0.5;
}

.game-image .no-image span {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.7;
}

/* Yasaklı kelimeler */
.forbidden-words {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 0;
    padding: 0.5rem;
    width: 100%;
}

.forbidden-word {
    background: var(--danger-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Kontrol butonları */
.game-controls {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1rem;
    width: 100%;
    max-width: 1200px;
    margin-top: auto;
}

.game-controls .button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    justify-content: center;
    gap: 0.75rem;
}

.game-controls .success-button {
    background: #2E7D32;
}

.game-controls .warning-button {
    background: #FF9800;
}

.game-controls .danger-button {
    background: #D32F2F;
}

.game-controls .end-game-button {
    background: #000;
}

.game-controls .success-button:hover {
    background: #1B5E20;
}

.game-controls .warning-button:hover {
    background: #F57C00;
}

.game-controls .danger-button:hover {
    background: #C62828;
}

.game-controls .end-game-button:hover {
    background: #333;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .game-top-bar {
        padding: 0.5rem;
        height: auto;
        min-height: 60px;
    }

    .game-stats-bar {
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .stat-item {
        font-size: 0.9rem;
        padding: 0.4rem 0.75rem;
        min-width: 100px;
        gap: 0.5rem;
    }

    .stat-item i {
        font-size: 1rem;
    }

    .game-controls {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .game-controls .button {
        padding: 0.75rem;
        font-size: 1rem;
    }

    .checkbox-label {
        min-width: 100px;
        padding: 0.5rem 1rem;
    }

    .start-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Dikey ekran optimizasyonu */
@media (max-height: 700px) and (orientation: portrait) {
    .game-word {
        font-size: 1.8rem;
    }

    .game-image {
        height: 30vh;
    }

    .game-controls {
        gap: 0.25rem;
    }

    .button {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
}

/* Yatay ekran optimizasyonu */
@media (orientation: landscape) and (max-height: 500px) {
    .game-container {
        flex-direction: row;
    }

    .game-top-bar {
        width: 15%;
        flex-direction: column;
        justify-content: flex-start;
    }

    .game-main {
        width: 85%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .game-word {
        width: 100%;
        font-size: 2rem;
    }

    .game-image {
        width: 50%;
        height: 60vh;
    }

    .forbidden-words {
        width: 50%;
        height: 60vh;
        overflow-y: auto;
    }

    .game-controls {
        width: 100%;
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .centered-content {
        padding: 0.5rem;
    }

    .game-settings {
        padding: 1rem;
    }

    .number-input {
        gap: 0.25rem;
    }

    .number-input input {
        width: 60px;
        font-size: 1rem;
    }

    .preset-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 769px) {
    .preset-buttons {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Genel buton stili */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.button i {
    font-size: 1.1rem;
}

.success-button {
    background: #2E7D32;
}

.warning-button {
    background: #FF9800;
}

.danger-button {
    background: #D32F2F;
}

.success-button:hover {
    background: #1B5E20;
}

.warning-button:hover {
    background: #F57C00;
}

.danger-button:hover {
    background: #C62828;
}

.start-button, .end-game-button {
    background: #000 !important;
}

.start-button:hover, .end-game-button:hover {
    background: #333 !important;
}

@media (max-width: 768px) {
    .button {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        gap: 0.5rem;
    }

    .button i {
        font-size: 1rem;
    }
}

