:root {
    --primary-color: #FFAA00;
    --success-color: #34C759;
    --warning-color: #FF9500;
    --danger-color: #FF3B30;
    --background-color: #F5F5F7;
    --card-background: #FFFFFF;
    --text-color: #1D1D1F;
    --secondary-text: #86868B;
    --border-radius: 16px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem;
    margin-top: 80px;  /* Header'ın yüksekliği + biraz boşluk */
}

.game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

/* Menu Styles */
#menu {
    text-align: center;
    padding: 2.5rem;
    background: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), #FF8800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

/* Slider Container Styles */
.slider-container {
    background: var(--card-background);
    padding: 1.5rem;
    margin: 1.5rem 0 2.5rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.slider-container:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.slider-container label {
    font-size: 1rem;
    color: var(--secondary-text);
    margin-bottom: 1rem;
    font-weight: 500;
}

#word-count {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: #E5E5EA;
    border-radius: 2px;
    outline: none;
}

#word-count::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#word-count::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(255, 170, 0, 0.3);
}

#word-count-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Game Card Styles */
.game-card {
    position: relative;
    background: var(--card-background);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 600px;
    max-width: 90vw;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0 2rem 0;
    flex-direction: row;
    align-items: center;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
    gap: 1rem;
}

.timer-container {
    position: relative;
    margin-left: 0;
}

.score-container {
    position: relative;
    margin-right: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--card-background);
    padding: 0.45rem 0.9rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(255, 170, 0, 0.15);
    border: 1.5px solid var(--primary-color);
    transition: all 0.3s ease;
}

/* Timer Styles */
.timer-circle {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-background);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px #E5E5EA;
}

.timer-circle .stat-value {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--warning-color);
}

/* Animasyonlu timer'ı kaldır */
.timer-svg, .timer-background, .timer-progress {
    display: none;
}

/* Score Styles */
.score-icon {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
}

.score-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.score-container .stat-label {
    font-size: 0.6rem;
    color: var(--secondary-text);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0;
}

.score-container .stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin: 0;
}

/* Kelime bölümü için sabit yükseklik */
.word-section {
    position: relative;
    text-align: center;
    margin: 2rem 0 2rem 0;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
}

.word-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin: 0;
    padding: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-align: center;
    position: relative;
}

#definition {
    margin-top: 10px;
    font-size: 1.2em;
    color: #666;
}

/* Yasaklı kelimeler bölümü */
.forbidden-section {
    text-align: center;
    margin: 1.5rem 0;
    width: 100%;
}

.forbidden-title {
    color: var(--secondary-text);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.forbidden-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
}

.forbidden-word {
    background: rgba(255, 59, 48, 0.1);
    color: var(--danger-color);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 1.1rem;
    text-align: center;
    width: 100%;
    max-width: 500px;
    word-wrap: break-word;
    font-weight: 500;
}

/* Buttons */
#start-button, .control-btn {
    border: none;
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

#start-button {
    background: var(--primary-color);
    color: white;
    width: auto;
    min-width: 200px;
}

#start-button:hover {
    background: #FF8800;
    transform: translateY(-2px);
}

.game-controls {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 1rem;
    margin-top: 2rem;
}

.control-btn {
    padding: 0.75rem;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

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

.correct-btn {
    background: var(--success-color);
    color: white;
}

.pass-btn {
    background: var(--warning-color);
    color: white;
}

.taboo-btn {
    background: var(--danger-color);
    color: white;
}

/* Results Screen Styles */
.results-card {
    background: var(--card-background);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.results-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-color), #FF8800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.final-score {
    margin-bottom: 2rem;
}

#final-score-value {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.score-label {
    font-size: 1.5rem;
    color: #666;
    margin-left: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-box {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.stat-box.correct {
    background: rgba(52, 199, 89, 0.1);
}

.stat-box.pass {
    background: rgba(255, 149, 0, 0.1);
}

.stat-box.taboo {
    background: rgba(255, 59, 48, 0.1);
}

.stat-box.taboo .stat-number {
    color: var(--danger-color);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-box.correct .stat-number {
    color: var(--success-color);
}

.stat-box.pass .stat-number {
    color: var(--warning-color);
}

.accuracy-section {
    margin-bottom: 2rem;
}

.accuracy-label {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
}

.accuracy-bar {
    height: 8px;
    background: #E5E5EA;
    border-radius: 4px;
    margin: 0.5rem 0;
    overflow: hidden;
}

#accuracy-fill {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.5s ease;
}

#accuracy-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

#play-again {
    background: var(--primary-color);
    color: white;
    width: 80%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#play-again i {
    font-size: 1rem;
}

#play-again:hover {
    background: #FF8800;
    transform: translateY(-2px);
}

/* Mode Selector Styles */
.mode-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.mode-option {
    background: var(--card-background);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mode-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(255, 170, 0, 0.2);
}

.mode-option.selected {
    border-color: var(--primary-color);
    background: rgba(255, 170, 0, 0.1);
}

.mode-option h3 {
    font-size: 1rem;
    margin: 0;
    color: var(--primary-color);
}

.mode-option i {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.mode-option ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mode-option li {
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.mode-option li:before {
    content: "•";
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.mode-info-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.mode-info-btn:hover {
    background: #FF8800;
    transform: translateY(-2px);
}

.mode-info {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 170, 0, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mode-info ul {
    margin: 0;
    padding-left: 1.2rem;
}

.mode-info li {
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

/* Game Type Selector Styles */
.game-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.game-type-option {
    background: var(--card-background);
    border: 1.5px solid #E5E5EA;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.game-type-option:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.game-type-option.selected {
    border-color: var(--primary-color);
    background: rgba(255, 170, 0, 0.05);
}

.game-type-option i {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.game-type-option h3 {
    font-size: 1rem;
    margin: 0;
    color: var(--text-color);
}

/* Team Setup Styles */
.team-setup {
    margin-top: 2rem;
}

.team-count-control {
    margin: 2rem 0;
    max-width: 400px;
    margin: 1.5rem auto;
}

.team-count-control h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.team-count-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    width: 100%;
}

.team-count-btn {
    flex: 1;
    padding: 0.75rem 0;
    border: 1.5px solid #E5E5EA;
    background: var(--card-background);
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    color: var(--text-color);
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
}

.team-count-btn:hover {
    background: rgba(255, 170, 0, 0.05);
}

.team-count-btn.selected {
    background: var(--primary-color);
    color: white !important;
    border-color: var(--primary-color);
}

.team-names {
    display: grid;
    gap: 1rem;
    max-width: 400px;
    margin: 1.5rem auto;
}

.team-input input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #E5E5EA;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.team-input input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 170, 0, 0.1);
}

/* Disable pass button when no passes left */
.control-btn.pass-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    background: #ccc;
}

/* Error message styles */
.error-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--danger-color);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    animation: slideIn 0.3s ease-out;
    z-index: 1000;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Takım bilgileri için stiller */
#team-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 170, 0, 0.05);
    border-radius: var(--border-radius);
}

.current-team {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-scores-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.team-scores-list li {
    background: var(--card-background);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-weight: 500;
}

.section-title {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: 1rem;
    text-align: left;
    font-weight: 500;
}

.game-type-option, .mode-option {
    background: var(--card-background);
    border: 1.5px solid #E5E5EA;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.game-type-option:hover, .mode-option:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.game-type-option.selected, .mode-option.selected {
    border-color: var(--primary-color);
    background: rgba(255, 170, 0, 0.05);
}

/* İkon boyutlarını ayarla */
.mode-option i {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.mode-selector, .game-type-selector {
    margin-bottom: 2.5rem;
}

/* Game Top Menu Styles */
.game-top-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    width: 100%;
}

.word-header {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 0;
}

.word-header h2 {
    flex-grow: 1;
    text-align: center;
    margin: 0 1rem;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.icon-button {
    position: relative;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 2;
}

.icon-button:hover {
    background: rgba(255, 170, 0, 0.1);
    transform: scale(1.1);
}

.icon-button i {
    display: block;
    line-height: 1;
}

/* Pop-up Styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

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

.popup-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.popup-content p {
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

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

.popup-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-btn:not(.confirm) {
    background: #E5E5EA;
    color: var(--text-color);
}

.popup-btn.confirm {
    background: var(--primary-color);
    color: white;
}

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

.popup-btn:not(.confirm):hover {
    background: #D1D1D6;
}

.popup-btn.confirm:hover {
    background: #FF8800;
}

/* Score container animation */
@keyframes score-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Takım gösterimi */
.current-team-display {
    background: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
}

/* Takım Geçiş Ekranı */
.transition-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.transition-card {
    background: var(--card-background);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 90%;
    width: 500px;
}

.transition-card h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.next-team {
    font-size: 1.2rem;
    color: var(--secondary-text);
    margin: 2rem 0;
}

#continue-game {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Takım sonuçları için stiller */
.team-results-grid {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.team-result-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    text-align: left;
    position: relative;
    border: 2px solid transparent;
}

.team-result-card.first {
    border-color: var(--primary-color);
    background: rgba(255, 170, 0, 0.05);
}

.team-result-card.second {
    border-color: #C0C0C0;
    background: rgba(192, 192, 192, 0.05);
}

.team-result-card.third {
    border-color: #CD7F32;
    background: rgba(205, 127, 50, 0.05);
}

.team-rank {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-background);
    padding: 0.25rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.team-rank.first {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.team-rank.second {
    color: #808080;
    border: 2px solid #C0C0C0;
}

.team-rank.third {
    color: #8B4513;
    border: 2px solid #CD7F32;
}

.team-rank i {
    margin-right: 0.5rem;
}

.team-result-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.team-result-stat {
    text-align: center;
    padding: 0.75rem;
    border-radius: 8px;
}

.team-result-stat.correct {
    background: rgba(52, 199, 89, 0.1);
}

.team-result-stat.pass {
    background: rgba(255, 149, 0, 0.1);
}

.team-result-stat.taboo {
    background: rgba(255, 59, 48, 0.1);
}

.team-result-stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-result-stat.correct .team-result-stat-value {
    color: var(--success-color);
}

.team-result-stat.pass .team-result-stat-value {
    color: var(--warning-color);
}

.team-result-stat.taboo .team-result-stat-value {
    color: var(--danger-color);
}

.team-result-stat-label {
    font-size: 0.8rem;
    color: var(--secondary-text);
}

.team-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E5E5EA;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
}

.team-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.team-stat {
    text-align: center;
}

.team-stat-value {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-stat-label {
    font-size: 0.8rem;
    color: var(--secondary-text);
}

.winner-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.info-icon {
    position: absolute;
    left: 50%;
    top: -1.5rem;
    transform: translateX(-50%);
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.2s ease;    
    margin: 0;
    display: none;
    z-index: 10;
}

.info-icon:hover {
    transform: translateX(-50%) scale(1.1);
    opacity: 0.8;
}

.info-icon.active {
    display: block;
}

/* Açıklama popup'ı için yeni stiller */
.word-explanation {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--card-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 90%;
    z-index: 1000;
    text-align: center;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
    animation: fadeIn 0.2s ease-out;
}

.word-explanation h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.explanation-content {
    margin-bottom: 2rem;
}

.explanation-button {
    display: block;
    width: 80%;
    padding: 0.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0 auto;
}

.explanation-button:hover {
    background: #FF8800;
    transform: translateY(-2px);
}

.word-explanation-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    animation: fadeIn 0.2s ease-out;
}

.word-explanation-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--secondary-text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.word-explanation-close:hover {
    color: var(--text-color);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.word-counter {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 170, 0, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    z-index: 10;
}

/* Header Styles */
.main-header {
    background: var(--card-background);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
    width: auto;
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
}

.header-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.header-nav a:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-background);
        box-shadow: var(--shadow);
        padding: 1rem 0;
    }

    .header-nav.active {
        display: block;
    }

    .header-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .header-nav li {
        width: 100%;
    }

    .header-nav a {
        display: block;
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
    }

    .header-nav a:hover {
        background: rgba(255, 170, 0, 0.1);
    }

    .logo {
        height: 50px;
    }

    .info-icon {
        top: -1.5rem;
    }
    
    .info-icon:hover {
        transform: translateX(-50%) scale(1.1);
    }
}

@media screen and (max-width: 480px) {
    .info-icon {
        top: -1.5rem;
    }
    
    .info-icon:hover {
        transform: translateX(-50%) scale(1.1);
    }
}

#home-button {
    position: absolute;
    top: -1rem;
    left: 1rem;
    z-index: 10;
}

#restart-button {
    position: absolute;
    top: -1rem;
    right: 1rem;
    z-index: 10;
}

.current-team-name {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
    padding: 5px 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
    .game-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .current-team-name {
        order: -1;
        width: 100%;
        justify-content: center;
        margin-bottom: 1rem;
    }
}

.current-team-name i {
    font-size: 1rem;
    color: var(--primary-color);
}

.team-transition-stats {
    margin: 2rem 0;
}

#next-team-message {
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 2rem 0;
    text-align: center;
}

#next-team-name {
    font-weight: 600;
    color: var(--primary-color);
}

#continue-game {
    width: 200px;
    margin: 0 auto;
}

.team-results-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.team-transition-stats .final-score {
    margin: 2rem 0;
    text-align: center;
}

.team-transition-stats .final-score #team-score-value {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.team-transition-stats .final-score .score-label {
    font-size: 1.5rem;
    color: var(--secondary-text);
    margin-left: 0.5rem;
}

/* Tur Butonları */
#round-buttons {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    gap: 15px;
    width: 100%;
}

#round-buttons .control-btn {
    flex: 1;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#round-buttons .control-btn i {
    font-size: 1rem;
}

#next-round-button {
    background: var(--primary-color);
}

#end-game-button {
    background: var(--warning-color);
}

#next-round-button:hover {
    background: #FF8800;
    transform: translateY(-2px);
}

#end-game-button:hover {
    background: #E68A00;
    transform: translateY(-2px);
}
