/* Tamamen yeni minimal tasarım */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Stili */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    margin-bottom: 50px;
}

.logo-container {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.logo-img {
    height: 150px;
    width: auto;
    margin-right: 20px;
}

.logo-text h1 {
    font-size: 38px;
    font-weight: 700;
    color: #333;
}

.logo-text p {
    font-size: 22px;
    color: #666;
}

/* Navigasyon */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #5D6BF8;
    transition: width 0.3s;
}

nav ul li a:hover::after, 
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: #5D6BF8;
}

/* Ana İçerik */
.hero {
    text-align: center;
    margin: 50px 0 100px;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Butonlar */
.buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #5D6BF8;
    color: white;
}

.btn-primary:hover {
    background-color: #4a59e5;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

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

/* Small Button Style */
.btn-small {
    padding: 6px 12px;
    font-size: 14px;
}

/* Nasıl Oynanır ve Hakkında sayfaları */
.instruction-steps {
    margin: 30px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.instruction-step {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.instruction-step:last-child {
    border-bottom: none;
}

.instruction-step h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #5D6BF8;
}

.about-content {
    margin: 30px auto;
    max-width: 800px;
    text-align: left;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-content h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: #5D6BF8;
}

.back-button {
    margin-top: 20px;
}

/* Oyun Yükleniyor Ekranı */
.game-loading {
    text-align: center;
    padding: 40px 0;
}

.loading-animation {
    margin: 30px auto;
    width: 100px;
    height: 100px;
    position: relative;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(93, 107, 248, 0.2);
    border-top: 5px solid #5D6BF8;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.game-loading p {
    color: #666;
    margin-bottom: 30px;
}

.back-to-home {
    margin-top: 20px;
}

/* Oyun Arayüzü */
.game-interface {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.game-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-size: 18px;
    font-weight: 600;
}

.progress-bar-container {
    width: 100px;
    height: 10px;
    background-color: #eee;
    border-radius: 10px;
    margin: 0 5px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #5D6BF8, #3498db);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 12px;
    min-width: 30px;
    text-align: right;
}

.progress-container {
    font-weight: bold;
    margin: 5px 10px;
    display: flex;
    align-items: center;
}

.game-stats {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    margin-top: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stats-header {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.stats-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.stat-item {
    flex: 1;
    min-width: 120px;
    padding: 10px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.stat-value {
    font-weight: bold;
    color: #5D6BF8;
    font-size: 16px;
}

.score, .time {
    color: #5D6BF8;
    font-weight: 700;
}

.game-board {
    margin-bottom: 40px;
}

.word-display {
    min-height: 100px;
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s;
    overflow-wrap: break-word;
}

.word-display.error {
    border-color: #ff5252;
    background-color: rgba(255, 82, 82, 0.05);
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.word-placeholder {
    color: #aaa;
    font-style: italic;
}

.selected-morpheme {
    display: inline-block;
    padding: 8px 12px;
    background-color: #5D6BF8;
    color: white;
    border-radius: 5px;
    margin: 3px;
    overflow-wrap: break-word;
    word-break: break-all;
    max-width: 100%;
}

.success-message {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: #4CAF50;
    font-weight: bold;
    animation: fadeUp 1.5s forwards;
}

.error-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ff5252;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@keyframes fadeUp {
    0% { opacity: 0; top: 50%; }
    20% { opacity: 1; }
    80% { opacity: 1; top: -20px; }
    100% { opacity: 0; top: -30px; }
}

.level-up-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFD700;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
    z-index: 100;
    animation: levelUp 2s forwards;
}

/* Ses Olayları Modu Stilleri */
.sound-change-info {
    background-color: #f0f8ff;
    border-left: 4px solid #5D6BF8;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sound-change-description {
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.sound-change-example {
    font-style: italic;
    color: #5D6BF8;
    font-weight: 500;
    font-size: 14px;
}

.sound-change-container {
    background-color: #5D6BF8;
    color: white;
    padding: 5px 10px;
    border-radius: 50px;
    font-weight: 600;
}

/* Yakında Gelecek Mod Kartları Stili */
.game-mode-card.coming-soon {
    opacity: 0.7;
    background-color: #f1f1f1;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.soon-badge {
    background-color: #FF9800;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    vertical-align: middle;
    display: inline-block;
}

.coming-soon:hover {
    transform: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}

/* Oyun Yönergeleri */
.game-instructions {
    background-color: #f5f9ff;
    border-radius: 8px;
    padding: 12px 15px;
    margin: 15px 0;
    font-size: 14px;
    color: #444;
    border-left: 3px solid #5D6BF8;
}

.game-instructions p {
    margin: 0;
}

.game-instructions .hint-text {
    font-style: italic;
    margin-top: 5px;
    color: #666;
    font-size: 13px;
}

/* Başarı Tahtası */
.achievement-board {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 15px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.achievement-board::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #5D6BF8, #3498db);
}

.achievement-section {
    margin-bottom: 20px;
}

.achievement-section:last-child {
    margin-bottom: 0;
}

.achievement-section h3 {
    font-size: 16px;
    color: #5D6BF8;
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.achievement-section h3::before {
    content: '🏆';
    margin-right: 8px;
    font-size: 18px;
}

.leader-list {
    list-style: none;
}

.leader-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.leader-item:last-child {
    border-bottom: none;
}

.leader-rank {
    width: 25px;
    height: 25px;
    background-color: #f5f7ff;
    color: #5D6BF8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    margin-right: 10px;
}

.leader-name {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.leader-score {
    font-weight: 600;
    color: #5D6BF8;
    font-size: 14px;
}

.no-data {
    color: #aaa;
    font-style: italic;
    font-size: 13px;
    text-align: center;
    padding: 10px 0;
}

/* Ana sayfa düzeni */
.home-content {
    display: flex;
    gap: 30px;
}

.main-column {
    flex: 1;
}

.side-column {
    width: 280px;
}

@media (max-width: 768px) {
    .home-content {
        flex-direction: column;
    }
    
    .side-column {
        width: 100%;
    }
}

@keyframes levelUp {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
    80% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
}

.morpheme-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.morpheme {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 5px;
    text-align: center;
}

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

.morpheme.selected {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.morpheme-root {
    background-color: #3498db;
}

.morpheme-suffix {
    background-color: #e74c3c;
}

.game-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Oyun Modu Seçimi */
.game-mode-selection {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.game-modes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.game-mode-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    height: 100%;
}

.game-mode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.game-mode-card.selected {
    border-color: #5D6BF8;
    background-color: rgba(93, 107, 248, 0.05);
}

.game-mode-card h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 20px;
}

.game-mode-card p {
    color: #666;
    font-size: 14px;
}

.mode-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

/* Oyun Bitti Ekranı */
.game-over {
    text-align: center;
    padding: 40px 0;
}

.game-over h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #5D6BF8;
}

.game-over p {
    font-size: 20px;
    margin-bottom: 30px;
}

.game-over-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 20px 0;
}

.game-over-stat {
    text-align: center;
    margin: 10px;
    min-width: 120px;
}

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

.stat-label {
    font-size: 0.9rem;
    color: #777;
}

.game-over-details {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 20px 0;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 15px;
}

.details-section {
    text-align: center;
    margin: 10px;
    min-width: 200px;
    flex: 1;
}

.details-section h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.details-section p {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
}

.game-over-achievement {
    margin: 30px 0;
}

.game-over-achievement h3 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.achievement-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.achievement-item {
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    margin: 5px;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background-color: rgba(var(--primary-rgb), 0.2);
    transform: translateY(-2px);
}

.achievement-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

.achievement-text {
    font-size: 0.9rem;
    color: var(--dark-color);
}

/* Achievement Notification */
.achievement-notification {
    position: fixed;
    top: 20px;
    right: -300px; /* Start off-screen */
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    max-width: 280px;
    z-index: 1000;
    transition: right 0.5s ease;
}

.achievement-notification.show {
    right: 20px; /* Slide in */
}

.achievement-notification .achievement-icon {
    font-size: 2rem;
    margin-right: 10px;
}

.achievement-notification .achievement-details {
    display: flex;
    flex-direction: column;
}

.achievement-notification .achievement-title {
    font-size: 0.8rem;
    opacity: 0.9;
}

.achievement-notification .achievement-name {
    font-size: 1.1rem;
    font-weight: bold;
}

/* Game Over Actions */
.game-over-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

/* Footer */
footer {
    margin-top: 100px;
    padding: 30px 0;
    border-top: 1px solid #eee;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.social-link:hover {
    color: #5D6BF8;
}

.social-icon {
    margin-right: 5px;
    font-size: 16px;
}

.donate-link, .subscription-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.donate-link {
    background-color: #FFDD00;
    color: #333;
}

.subscription-link {
    background-color: #5D6BF8;
    color: #fff;
}

.donate-link:hover, .subscription-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.subscription-link:hover {
    background-color: #4D5BE8;
}

.donate-link:hover {
    background-color: #FFD000;
}

.coffee-icon, .subscription-icon {
    margin-right: 5px;
}

/* Mobil Görünüm */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo-img {
        height: 120px;
    }
    
    .logo-text h1 {
        font-size: 32px;
    }
    
    .logo-text p {
        font-size: 18px;
    }
    
    nav ul {
        gap: 20px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
    }
}

/* Ekranlar */
.screen {
    display: none; /* Varsayılan olarak tüm ekranları gizle */
}

.screen.active {
    display: block; /* Aktif ekranı göster */
}

.profile-header {
    display: flex;
    flex-direction: column; /* Align items vertically */
    align-items: center; /* Center items horizontally */
    margin-bottom: 30px;
    text-align: center;
}

.profile-header h3 {
    margin-bottom: 15px; /* Add space below the name */
}

.username-edit {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
    max-width: 350px; /* Limit width of the input group */
}

/* Form Input Style */
.form-input {
    flex-grow: 1; /* Allow input to take available space */
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #5D6BF8;
    box-shadow: 0 0 0 2px rgba(93, 107, 248, 0.2);
}

.profile-stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.profile-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-stat h4 {
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 600;
}

.profile-stat p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Achievement Notification Style */
.achievement-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(40, 40, 40, 0.9);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    max-width: 300px;
}

.achievement-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.achievement-notification .achievement-icon {
    font-size: 28px;
    margin-right: 15px;
}

.achievement-notification .achievement-details {
    display: flex;
    flex-direction: column;
}

.achievement-notification .achievement-title {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 3px;
}

.achievement-notification .achievement-name {
    font-size: 15px;
    font-weight: 500;
}

/* Achievement Screen Styles (Placeholder) */
.achievements-content {
    /* Add styles when achievements are displayed */
    padding: 20px;
    text-align: center;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.achievement-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    opacity: 0.5; /* Default for locked */
    transition: opacity 0.3s, transform 0.3s;
}

.achievement-card.unlocked {
    opacity: 1;
}

.achievement-card.unlocked:hover {
    transform: translateY(-3px);
}

.achievement-card .achievement-icon {
    font-size: 36px;
    margin-right: 15px;
    min-width: 40px;
}

.achievement-card .achievement-text h4 {
    font-size: 16px;
    margin: 0 0 5px 0;
    color: #333;
}

.achievement-card .achievement-text p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* Eğer .morpheme içinde başka bir element varsa (örn. span) ona da uygulanabilir */
.morpheme span { 
    /* Veya doğrudan metni içeren element */
    display: block; /* Veya inline-block */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Zincir Modu Stilleri */
.chain-info {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    background-color: rgba(93, 107, 248, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
    color: #5D6BF8;
    font-weight: 500;
}

/* Morfem vurgu stili - zincir modunda son morfem vurgulanacak */
.morpheme.chain-highlight {
    box-shadow: 0 0 0 3px #FFD700, 0 5px 15px rgba(0,0,0,0.1);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.7), 0 5px 15px rgba(0,0,0,0.1); }
    50% { box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.5), 0 5px 15px rgba(0,0,0,0.1); }
    100% { box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.7), 0 5px 15px rgba(0,0,0,0.1); }
}

/* Yarışma Modu Stilleri */
#competition-info-container {
    background-color: #f8f4ff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-left: 4px solid #7b1fa2;
}

.competition-header {
    margin-bottom: 10px;
    text-align: center;
}

.competition-header h3 {
    font-size: 1.3rem;
    margin: 0;
    color: #7b1fa2;
}

.opponent-panel {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.opponent-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 10px;
}

.opponent-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.opponent-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

/* Rakip aktif olduğunda animasyon */
.opponent-active {
    animation: pulse 0.5s ease-in-out;
    background-color: #f0e6ff;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Önde olan ve geride olan skor renklendirmesi */
.leading {
    color: #4caf50 !important;
    font-weight: bold;
}

.trailing {
    color: #f44336 !important;
}

/* Yarışma modu kazanma/kaybetme metin stilleri */
.win-text {
    color: #4caf50;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.lose-text {
    color: #f44336;
    text-shadow: 0 0 10px rgba(244, 67, 54, 0.3);
}

/* İstatistik Ekranı Stilleri */
.stats-content-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
}

.stats-section {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.stats-section h3 {
    font-size: 1.5rem;
    color: #5D6BF8;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.stat-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.stat-card .stat-value {
    font-size: 1.6rem;
    font-weight: bold;
    color: #333;
}

/* Mod bazında istatistik kartları için */
.stats-list-small {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stats-list-small li {
    font-size: 0.9rem;
    color: #555;
    padding: 3px 0;
    display: flex;
    justify-content: space-between;
}

.stats-list-small li span {
    font-weight: 600;
    color: #5D6BF8;
}

/* Dilbilimsel istatistikler için liste */
.stats-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 150px; /* Gerekirse kaydırma çubuğu ekle */
    overflow-y: auto;
}

.stats-list li {
    font-size: 0.9rem;
    color: #555;
    padding: 4px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #eee;
}

.stats-list li:last-child {
    border-bottom: none;
}

.stats-list li span {
    font-weight: 600;
    color: #5D6BF8;
    margin-left: 10px;
}

.stat-card-large {
    grid-column: span 2; /* Geniş kartlar için */
}

@media (max-width: 600px) {
    .stat-card-large {
        grid-column: span 1; /* Küçük ekranlarda tek sütun */
    }
} 