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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100vh;
    color: #333;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    background: transparent;
    color: white;
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: -30px;
    right: 0;
    z-index: 1000;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80px;
    box-sizing: border-box;
}

/* Mobile Header */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem;
    background: transparent;
    align-items: center;
    justify-content: space-between;
}

.mobile-header .logo {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-header .logo-image {
    
    object-fit: contain;
}

.mobile-header .title {
    color: white;
    font-family: 'Irish Grover', cursive;
    font-weight: 400;
    font-size: 1.2rem;
    text-align: center;
    flex: 1;
    margin: 0 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.mobile-header .hamburger-btn {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mobile-header .hamburger-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
    transform: translateY(-20px);
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu .nav-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.mobile-menu .nav-link {
    color: white !important;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 1002;
    position: relative;
}

.mobile-menu .nav-link:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
    color: #FFD700 !important;
}

/* Mobile Menu Overlay - Removed */

.header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin: 0 2rem;
    min-width: 300px;
    max-width: 400px;
}

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

.logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

.logo-image {
    height: 60px;
    width: auto;
    min-width: 120px;
    object-fit: contain;
}

/* Nav Link Styles */
.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    padding: 0.5rem 0.8rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
}

.nav-link:hover {
    color: #FFD700;
    transform: translateY(-1px);
}

.nav-left {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    min-width: 200px;
    max-width: 250px;
    justify-content: flex-start;
    flex-shrink: 0;
}

.nav-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    min-width: 200px;
    max-width: 250px;
    justify-content: flex-end;
    flex-shrink: 0;
}

.header-icon {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
}

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



/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    padding-top: 6rem;
    padding-bottom: 4rem;
    box-sizing: border-box;
}

/* Scroll barını gizle ama scroll özelliğini koru */
body {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Team Setup sayfası için */
.team-setup {
    background: transparent;
    padding: 2rem;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

/* Welcome Screen */
.welcome-screen {
    text-align: center;
    padding: 2rem 1rem;
    max-width: 800px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.welcome-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.main-title {
    font-family: 'Irish Grover', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: #FFD700;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}

.play-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1.5rem 4rem;
    font-size: 1.4rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    width: 200px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    margin: 0 auto;
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}



.setup-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #FFD700;
    font-family: 'Poppins', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.settings-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.team-count-section,
.round-time-section {
    flex: 0 0 180px;
    max-width: 180px;
    min-width: 180px;
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.round-time-section {
    display: flex;
    flex-direction: column;
}

.round-time-section label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #FFD700;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.round-time-section input {
    padding: 0.7rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.round-time-section input:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.round-time-section input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.team-names-section {
    margin-bottom: 2rem;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    width: 100%;
}

#teamInputs {
    display: flex;
    gap: 0.8rem;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: center;
}

.team-count-section label,
.setting-item label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #FFD700;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.team-count-section select,
.round-time-section input,
.setting-item input {
    width: 100%;
    padding: 0.7rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    height: 45px;
    box-sizing: border-box;
}

.team-count-section select option,
.round-time-section select option {
    background: #333;
    color: white;
}

.team-count-section select:focus,
.round-time-section input:focus,
.setting-item input:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.team-input {
    flex: 0 0 180px;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 180px;
    max-width: 180px;
    width: 180px;
}

.team-blue {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2), rgba(0, 86, 179, 0.1));
    border-color: rgba(0, 123, 255, 0.3);
}

.team-red {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(139, 0, 0, 0.1));
    border-color: rgba(220, 53, 69, 0.3);
}

.team-purple {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(88, 28, 135, 0.1));
    border-color: rgba(147, 51, 234, 0.3);
}

.team-green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(21, 128, 61, 0.1));
    border-color: rgba(34, 197, 94, 0.3);
}

.team-input label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: #FFD700;
    font-size: 0.85rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.team-input input {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.team-input input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.team-input input:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.2);
}

.setup-buttons {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.start-btn {
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 180px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

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

/* Game Screen */
.game-screen {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding-bottom: 1rem;
    justify-content: flex-start;
    min-height: 80vh;
    margin-top: -2rem;
}

/* Desktop'ta tur sonu ekranını gizle */
@media (min-width: 769px) {
    .round-end-screen {
        display: none !important;
    }
}

/* Score Panel */
.score-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
    position: relative;
    min-height: 70px;
}

.teams-scores {
    display: flex;
    gap: 10.5rem;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-around;
    align-items: center;
}

.team-score {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 15px;
    text-align: center;
    min-width: 140px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.team-score.active {
    background: linear-gradient(45deg, #dc3545, #8b0000);
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.team-score h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-score .score {
    font-size: 2rem;
    font-weight: 800;
}

.timer-section {
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

.timer-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.timer {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Poppins', sans-serif;
}

.timer-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.timer-controls {
    display: none;
}

.timer-btn {
    padding: 0.6rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 1rem;
}

.timer-btn i {
    font-size: 1.2rem;
}

.timer-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.current-team {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Mobilde current-team'i gizle */
@media (max-width: 768px) {
    .current-team {
        display: none !important;
    }
}

/* Word Card Stack */
.word-card-stack {
    position: relative;
    margin: 0.3rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -0.8rem;
    margin-bottom: 0.3rem;
}

/* Word Card Overlay */
.word-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.5s ease;
}

.overlay-content {
    text-align: center;
    padding: 2rem;
}

.overlay-logo {
    height: 80px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.overlay-text {
    font-size: 1.2rem;
    color: #FFD700;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    margin: 0;
}

/* Kart tab'ı kaldırıldı */

.word-card {
    background: transparent;
    padding: 2.2rem 2rem 2rem 2rem;
    border-radius: 12px;
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.1),
        0 3px 6px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.05);
    text-align: left;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
}

/* Takım renklerini kaldır - sabit renk kullan */

.word-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: transparent;
    border-radius: 13px;
    z-index: -1;
    opacity: 0.3;
}

.main-word {
    font-size: 2.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.2rem;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.separator {
    height: 1px;
    background: #e0e0e0;
    margin: 1rem 0;
}

.forbidden-words {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.forbidden-word {
    color: white;
    padding: 0.4rem 0;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.forbidden-word:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

/* Control Buttons */
.control-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin-top: 0.3rem;
    margin-bottom: 1rem;
}

.correct-btn,
.pass-btn,
.foul-btn {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 160px;
    height: 60px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.correct-btn {
    background: #28a745;
    color: white;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.pass-btn {
    background: #ffc107;
    color: #333;
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

.foul-btn {
    background: #dc3545;
    color: white;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.pass-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.pass-count {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.correct-btn:hover,
.pass-btn:hover,
.foul-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.correct-btn:active,
.pass-btn:active,
.foul-btn:active {
    transform: translateY(-1px);
}



/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 1rem;
    color: #FFD700;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    background: transparent;
    z-index: 1000;
}

/* Game sayfasında footer'ı gizle */
.game-page .header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 2rem;
    background: transparent;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    max-width: none;
}

.game-page .main-content {
    padding-top: 4rem;
    margin-top: 0;
    max-width: none;
    width: 100vw;
}

.game-page .logo-image {
    height: 40px;
}

.game-page .header-icon {
    color: white;
    font-size: 1.2rem;
    margin-left: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.game-page .header-icon:hover {
    color: #FFD700;
}

.game-page .footer {
    display: none;
}

/* Game sayfası Settings Dropdown Menü */
.settings-dropdown {
    position: relative;
    display: inline-block;
}

.settings-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.settings-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1rem;
    min-width: 200px;
    z-index: 9999;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-top: 0.5rem;
}

.settings-menu.show {
    display: block !important;
}

.settings-menu.show {
    display: block;
}

.settings-menu-section {
    margin-bottom: 1rem;
}

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

.settings-menu-section h4 {
    color: #FFD700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 600;
}

.settings-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.menu-btn {
    padding: 0.5rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    text-align: center;
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFD700;
}

.menu-btn.active {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #333;
    border-color: #FFD700;
}

/* Settings Sayfası Stilleri */
.settings-page {
    background: transparent;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* İletişim Sayfası Stilleri */
.contact-page {
    background: transparent;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

.hidden {
    display: none;
}

/* Message popup styles */
.message-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

.message-popup.success {
    border-left: 4px solid #4CAF50;
}

.message-popup.error {
    border-left: 4px solid #f44336;
}

.message-popup.info {
    border-left: 4px solid #2196F3;
}

.message-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.message-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.message-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

/* How to Play Sayfası Stilleri */
.how-to-play-page {
    background: transparent;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

/* How to Play sayfası için main-content özel ayarları */
.main-content.how-to-play-content {
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: auto;
    height: calc(100vh - 200px);
}

.how-to-play-content h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #FFD700;
    font-family: 'Irish Grover', cursive;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.rules-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.rule-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.rule-icon {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 1rem;
}

.rule-card h3 {
    font-size: 1.3rem;
    color: #FFD700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.rule-card p {
    color: white;
    line-height: 1.6;
    font-size: 0.95rem;
}

.example-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 4rem;
}

.example-section h3 {
    font-size: 1.8rem;
    color: #FFD700;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.example-card {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.example-word, .example-forbidden {
    flex: 1;
    min-width: 280px;
}

.example-word h4, .example-forbidden h4 {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.main-word-example {
    display: block;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #333;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.forbidden-words-example {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.forbidden-word-example {
    background: rgba(244, 67, 54, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.example-tips h4 {
    color: #FFD700;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.example-tips ul {
    color: white;
    line-height: 1.8;
    margin-left: 1.5rem;
}

.example-tips li {
    margin-bottom: 0.5rem;
}

.scoring-section {
    margin-bottom: 4rem;
}

.scoring-section h3 {
    font-size: 1.8rem;
    color: #FFD700;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.scoring-cards {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.score-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    min-width: 140px;
    transition: transform 0.3s ease;
}

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

.score-card.correct {
    border-color: #4CAF50;
}

.score-card.pass {
    border-color: #FF9800;
}

.score-card.foul {
    border-color: #f44336;
}

.score-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.score-card.correct i {
    color: #4CAF50;
}

.score-card.pass i {
    color: #FF9800;
}

.score-card.foul i {
    color: #f44336;
}

.score-card h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.score-card p {
    color: #FFD700;
    font-weight: bold;
    font-size: 1.1rem;
}

.tips-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 4rem;
}

.tips-section h3 {
    font-size: 1.8rem;
    color: #FFD700;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tip-item i {
    color: #FFD700;
    font-size: 1.5rem;
    min-width: 30px;
}

.tip-item p {
    color: white;
    line-height: 1.5;
    margin: 0;
}

.how-to-play-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    width: 100%;
    flex-direction: row !important;
}

.how-to-play-buttons .back-btn,
.how-to-play-buttons .play-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 160px;
    height: 55px;
    white-space: nowrap;
    flex-shrink: 0;
}

.how-to-play-buttons .back-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.how-to-play-buttons .back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.how-to-play-buttons .play-btn {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

    .how-to-play-buttons .play-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    }
    
    /* How to Play sayfası responsive */
    @media (max-width: 768px) {
        .how-to-play-content h2 {
            font-size: 2rem;
            margin-bottom: 2rem;
        }
        
        .rules-section {
            grid-template-columns: 1fr;
            gap: 1.5rem;
            margin-bottom: 3rem;
        }
        
        .rule-card {
            padding: 1.5rem;
        }
        
        .example-section {
            padding: 2rem;
            margin-bottom: 3rem;
        }
        
        .example-card {
            flex-direction: column;
            gap: 2rem;
        }
        
        .scoring-section {
            margin-bottom: 3rem;
        }
        
        .scoring-cards {
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
        }
        
        .tips-section {
            padding: 2rem;
            margin-bottom: 3rem;
        }
        
        .tips-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        
        .tip-item {
            padding: 1.2rem;
            gap: 1rem;
        }
        
        .how-to-play-buttons {
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
            margin-top: 2rem;
            width: 100%;
        }
        
        .how-to-play-buttons .back-btn,
        .how-to-play-buttons .play-btn {
            width: 180px;
            height: 50px;
        }
    }
    
    @media (max-width: 480px) {
        .how-to-play-content h2 {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
        }
        
        .how-to-play-page {
            padding: 1rem;
        }
        
        .rule-card {
            padding: 1.2rem;
        }
        
        .rule-icon {
            font-size: 2rem;
        }
        
        .example-section {
            padding: 1.5rem;
        }
        
        .example-card {
            gap: 1.5rem;
        }
        
        .main-word-example {
            font-size: 1.3rem;
            padding: 0.8rem 1.5rem;
        }
        
        .forbidden-word-example {
            font-size: 0.8rem;
            padding: 0.4rem 0.8rem;
        }
        
        .score-card {
            min-width: 120px;
            padding: 1.5rem;
        }
        
        .tip-item {
            padding: 1rem;
            gap: 0.8rem;
        }
        
        .tip-item i {
            font-size: 1.2rem;
        }
        
        .how-to-play-buttons {
            flex-direction: row;
            justify-content: center;
            gap: 1rem;
            width: 100%;
        }
        
        .how-to-play-buttons .back-btn,
        .how-to-play-buttons .play-btn {
            width: 160px;
            height: 45px;
            font-size: 1rem;
        }
    }

.contact-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #FFD700;
    font-family: 'Irish Grover', cursive;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-section {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info h3 {
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-info p {
    color: white;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.contact-item i {
    color: #FFD700;
    font-size: 1.2rem;
    width: 20px;
}

.contact-form {
    flex: 2;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #FFD700;
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

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

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.send-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 120px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Mesaj popup stilleri */
.message-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    animation: slideIn 0.3s ease;
}

.message-content {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.message-popup.success .message-content {
    border-left: 4px solid #28a745;
}

.message-popup.error .message-content {
    border-left: 4px solid #dc3545;
}

.message-popup.info .message-content {
    border-left: 4px solid #17a2b8;
}

.message-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-close:hover {
    color: #FFD700;
}

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

/* Responsive tasarım */
@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-info,
    .contact-form {
        flex: none;
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .back-btn,
    .send-btn {
        width: 100%;
    }
}

.settings-content h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #FFD700;
    font-family: 'Irish Grover', cursive;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.settings-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
}

.setting-group h3 {
    font-size: 1.3rem;
    color: #FFD700;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0.5rem;
}

.setting-btn {
    padding: 0.8rem 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 120px;
    height: 45px;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.setting-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.setting-btn.active {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #333;
    border-color: #FFD700;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.settings-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.back-btn, .save-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    width: 120px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.back-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.save-btn {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Light Theme Stilleri (Ana sayfa teması) */
.light-theme {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.light-theme .header {
    background: transparent;
    backdrop-filter: none;
}

.light-theme .nav-link {
    color: white;
}

.light-theme .nav-link:hover {
    color: #FFD700;
}

.light-theme .settings-content h2 {
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.light-theme .setting-group h3 {
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.light-theme .setting-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.light-theme .setting-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFD700;
}

.light-theme .setting-btn.active {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #333;
}

.light-theme .back-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.light-theme .footer {
    background: transparent !important;
    color: white;
}

/* Dark Theme Stilleri (Yeni daha koyu tema) */
.dark-theme {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
}

.dark-theme .header {
    background: transparent;
    backdrop-filter: none;
}

.dark-theme .nav-link {
    color: white;
}

.dark-theme .nav-link:hover {
    color: #FFD700;
}

.dark-theme .settings-content h2 {
    color: #FFD700;
}

.dark-theme .setting-group h3 {
    color: #FFD700;
}

.dark-theme .setting-btn {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.dark-theme .setting-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFD700;
}

.dark-theme .setting-btn.active {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #333;
}

.dark-theme .back-btn {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.dark-theme .footer {
    background: transparent !important;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
        flex-direction: row;
        gap: 1rem;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .header-icon {
        font-size: 1.1rem;
        width: 35px;
        height: 35px;
    }
    
    .main-content {
        padding: 0.8rem;
        padding-top: 0.3rem;
        padding-bottom: 2rem;
    }
    
    .welcome-screen {
        padding: 1.5rem 1rem;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .play-btn {
        padding: 1.2rem 3rem;
        font-size: 1.2rem;
    }
    
    .team-setup {
        padding: 1.5rem;
    }
    
    .score-panel {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        position: relative;
        min-height: 200px;
    }
    
    .teams-scores {
        justify-content: center;
        order: 1;
        width: 100%;
        gap: 1rem;
    }
    
    .timer-section {
        order: 2;
        position: relative;
        left: auto;
        top: auto;
        transform: none;
    }
    
    .timer-container {
        gap: 0.8rem;
    }
    
    .timer-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .main-word {
        font-size: 1.8rem;
    }
    
    .forbidden-words {
        gap: 0.4rem;
    }
    
    .forbidden-word {
        font-size: 0.9rem;
    }
    
    .control-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .correct-btn,
    .pass-btn,
    .foul-btn {
        width: 100%;
        max-width: 200px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .pass-section {
        width: 100%;
        max-width: 200px;
    }
    
    .game-controls {
        flex-direction: column;
        align-items: center;
    }
    

}

@media (max-width: 480px) {
    .logo-image {
        height: 35px;
    }
    
    .header-icon {
        font-size: 1rem;
        width: 30px;
        height: 30px;
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .play-btn {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }
    
    .main-word {
        font-size: 1.5rem;
    }
    
    .timer {
        font-size: 3rem;
    }
    
    .timer-container {
        padding: 0.8rem 1.5rem;
    }
    
    .timer-container {
        gap: 0.6rem;
    }
    
    .timer-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
}

/* Other Sites Sayfası Stilleri */
.other-sites-page {
    background: transparent;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.other-sites-content h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #FFD700;
    font-family: 'Irish Grover', cursive;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.sites-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: nowrap;
}

.site-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 280px;
    width: 280px;
    flex-shrink: 0;
}

.site-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: #FFD700;
}

.site-icon {
    font-size: 3.5rem;
    color: #FFD700;
    margin-bottom: 1.2rem;
    transition: transform 0.3s ease;
}

.site-card:hover .site-icon {
    transform: scale(1.1);
}

.site-card h3 {
    font-size: 1.6rem;
    color: #FFD700;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.site-card p {
    color: white;
    line-height: 1.5;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.visit-btn {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #333;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 140px;
    height: 45px;
    justify-content: center;
    white-space: nowrap;
}

.visit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    background: linear-gradient(45deg, #FFA500, #FFD700);
}

.visit-btn i {
    font-size: 1rem;
}



/* Other Sites sayfası için main-content özel ayarları */
.main-content.other-sites-content {
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: auto;
    height: calc(100vh - 200px);
}

/* Other Sites sayfası responsive */
@media (max-width: 768px) {
    .other-sites-content h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .sites-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .site-card {
        padding: 1.8rem;
        min-height: 260px;
        width: 320px;
    }
    
    .site-icon {
        font-size: 3.2rem;
    }
    
    .site-card h3 {
        font-size: 1.5rem;
    }
    
    .visit-btn {
        width: 130px;
        height: 42px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .other-sites-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .other-sites-page {
        padding: 1rem;
    }
    
    .sites-grid {
        gap: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .site-card {
        padding: 1.5rem;
        min-height: 240px;
        width: 280px;
    }
    
    .site-icon {
        font-size: 2.8rem;
    }
    
    .site-card h3 {
        font-size: 1.3rem;
    }
    
    .site-card p {
        font-size: 0.9rem;
    }
    
    .visit-btn {
        width: 120px;
        height: 38px;
        font-size: 0.85rem;
    }
    
    /* Additional mobile header fixes for smaller screens */
    .mobile-header .logo {
        width: 25px !important;
        height: 25px !important;
    }
    
    .mobile-header .title {
        font-size: 1.1rem !important;
    }
    
    .mobile-header .hamburger-btn {
        font-size: 1.1rem !important;
        padding: 0.4rem !important;
    }
    
    /* Settings page responsive for smaller screens */
    .settings-page {
        padding: 0.8rem;
    }
    
    .settings-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .settings-section {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .setting-group h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .button-group {
        gap: 0.6rem;
        padding: 0.6rem;
    }
    
    .setting-btn {
        width: 90px;
        height: 35px;
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
    
    .settings-buttons {
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .back-btn, .save-btn {
        width: 180px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    /* Team setup page responsive for smaller screens */
    .team-setup {
        padding: 0.8rem;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .play-btn {
        width: 160px;
        height: 50px;
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
    
    .setup-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .settings-row {
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .team-names-section {
        margin-bottom: 1rem;
    }
    
    #teamInputs {
        gap: 0.8rem;
    }
    
    .team-input {
        min-width: 200px;
        max-width: 250px;
        padding: 0.6rem;
    }
    
    .team-input label {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .team-input input {
        padding: 0.4rem;
        font-size: 0.7rem;
    }
    
    .setup-buttons {
        margin-top: 1.5rem;
    }
    
    .start-btn {
        width: 180px;
        height: 45px;
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    /* Game page responsive */
    .game-screen {
        max-width: 100%;
        padding: 0.5rem;
        margin-top: 0;
        gap: 0.5rem;
    }
    
    .score-panel {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 0.3rem;
        min-height: auto;
    }
    
    .teams-scores {
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
        order: 1;
        margin-bottom: 0.5rem;
    }
    
    .team-score {
        padding: 0.8rem 1.5rem;
        min-width: 120px;
        border-radius: 12px;
    }
    
    .team-score h3 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .team-score .score {
        font-size: 1.5rem;
    }
    
    .current-team {
        order: 2;
        text-align: center;
        margin-bottom: 0.3rem;
        font-size: 1.3rem;
        font-weight: 700;
        color: #FFD700;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .timer-section {
        position: static;
        transform: none;
        order: 3;
        margin-bottom: 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        justify-content: center;
    }
    
    .timer-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    
    .timer {
        font-size: 3rem;
    }
    
    .word-card-stack {
        max-width: 100%;
        margin: 0.5rem 0;
    }
    
    .word-card {
        padding: 2rem 1.5rem;
    }
    
    .main-word {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }
    
    .forbidden-word {
        font-size: 1.1rem;
        padding: 0.4rem 0;
    }
    
    .control-buttons {
        gap: 1rem;
        margin-top: 0.8rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    
    .control-buttons .correct-btn,
    .control-buttons .foul-btn {
        flex: 0 0 auto;
    }
    
    .control-buttons .pass-section {
        flex: 0 0 100%;
        margin-top: 0.5rem;
        order: 2;
    }
    
    .correct-btn,
    .pass-btn,
    .foul-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 140px;
        height: 50px;
    }
    
    /* Tur Sonu Ekranı (Mobil) */
    .round-end-screen {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.9);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        backdrop-filter: blur(10px);
    }
    
    .round-end-content {
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 20px;
        padding: 2rem;
        text-align: center;
        max-width: 90%;
        backdrop-filter: blur(15px);
    }
    
    .round-end-title {
        font-size: 2rem;
        color: #FFD700;
        margin-bottom: 1.5rem;
        font-weight: 700;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .round-end-scores {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .round-end-score {
        padding: 1rem;
        border-radius: 15px;
        color: white;
        font-weight: 600;
        font-size: 1.1rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    .round-end-score.team-blue {
        background: linear-gradient(135deg, rgba(0, 123, 255, 0.8), rgba(0, 86, 179, 0.6));
        border: 2px solid rgba(0, 123, 255, 0.5);
    }
    
    .round-end-score.team-red {
        background: linear-gradient(135deg, rgba(220, 53, 69, 0.8), rgba(139, 0, 0, 0.6));
        border: 2px solid rgba(220, 53, 69, 0.5);
    }
    
    .round-end-score.team-purple {
        background: linear-gradient(135deg, rgba(147, 51, 234, 0.8), rgba(88, 28, 135, 0.6));
        border: 2px solid rgba(147, 51, 234, 0.5);
    }
    
    .round-end-score.team-green {
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.8), rgba(21, 128, 61, 0.6));
        border: 2px solid rgba(34, 197, 94, 0.5);
    }
    
    .next-team-btn {
        background: linear-gradient(45deg, #FFD700, #FFA500);
        color: #333;
        border: none;
        padding: 1rem 2rem;
        border-radius: 15px;
        font-size: 1.1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 1px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }
    
    .next-team-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Hide desktop header on mobile */
    .header {
        display: none !important;
    }
    
    /* Show mobile header on mobile */
    .mobile-header {
        display: flex !important;
    }
    
    /* Adjust main content for mobile header */
    .main-content {
        padding-top: 45px;
        min-height: calc(100vh - 45px);
    }
    
    /* Game screen specific adjustments */
    .game-screen {
        padding: 0.1rem;
        gap: 0.1rem;
        margin-top: -2.5rem;
    }
    
    /* Samsung S20 FE ve benzeri cihazlar için özel ayarlar */
    @media screen and (max-width: 412px) and (max-height: 915px) {
        .main-content {
            padding-top: 40px;
        }
        
        .game-screen {
            padding: 0.1rem;
            gap: 0.1rem;
            margin-top: -2.5rem;
        }
        
        .control-buttons {
            margin-top: 0.2rem;
            gap: 0.5rem;
        }
        
        .word-card {
            padding: 1rem 0.5rem;
        }
        
        .score-panel {
            gap: 0.3rem;
            margin-bottom: 0.2rem;
        }
        
        .current-team {
            display: none; /* Samsung S20 FE'de gizle */
        }
    }
    
    /* Geniş ekranlı mobil cihazlar için (Samsung S20 FE dahil) */
    @media screen and (min-width: 360px) and (max-width: 430px) and (min-height: 640px) and (max-height: 950px) {
        .main-content {
            padding-top: 35px;
        }
        
        .game-screen {
            padding: 0.1rem;
            gap: 0.1rem;
            margin-top: -3rem;
        }
        
        .control-buttons {
            margin-top: 0.1rem;
            gap: 0.3rem;
        }
        
        .word-card {
            padding: 0.8rem 0.4rem;
        }
        
        .score-panel {
            gap: 0.2rem;
            margin-bottom: 0.1rem;
        }
        
        .timer-section {
            margin-bottom: 0.1rem;
        }
        
        .current-team {
            display: none; /* Geniş ekranlı mobilde gizle */
        }
    }
    
    /* Ensure mobile header elements are properly sized */
    .mobile-header .logo {
        width: 30px !important;
        height: 30px !important;
    }
    
    .mobile-header .hamburger-btn {
        font-size: 1.2rem !important;
    }
    
    .mobile-header .title {
        font-size: 1.2rem !important;
        font-weight: 400 !important;
    }
    
    /* Game page mobile header without title */
    .game-page .mobile-header {
        justify-content: space-between;
    }
    
    .game-page .mobile-header .logo {
        flex: 0 0 auto;
    }
    
    .game-page .mobile-header .hamburger-btn {
        flex: 0 0 auto;
    }
    
    /* Settings page responsive */
    .settings-page {
        padding: 1rem;
        max-width: 100%;
    }
    
    .settings-content h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .settings-section {
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .setting-group h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .button-group {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
        padding: 0.8rem;
    }
    
    .setting-btn {
        width: 100px;
        height: 40px;
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }
    
    .settings-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .back-btn, .save-btn {
        width: 200px;
        height: 45px;
        font-size: 1rem;
    }
    
    /* Team setup page responsive */
    .team-setup {
        padding: 1rem;
        max-width: 100%;
    }
    
    .main-title {
        font-size: 2.8rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .play-btn {
        width: 180px;
        height: 60px;
        font-size: 1.2rem;
        padding: 1.2rem 3rem;
    }
    
    .setup-content h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .settings-row {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .team-count-section,
    .round-time-section {
        flex: none;
        max-width: 100%;
        width: 100%;
        min-width: auto;
    }
    
    .team-names-section {
        margin-bottom: 1.5rem;
        margin-top: 0.5rem;
    }
    
    #teamInputs {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .team-input {
        flex: none;
        min-width: 250px;
        max-width: 300px;
        width: 100%;
    }
    
    .setup-buttons {
        margin-top: 2rem;
    }
    
    .start-btn {
        width: 200px;
        height: 50px;
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
    
    /* Game page responsive for smaller screens */
    .game-screen {
        padding: 0.3rem;
        gap: 0.3rem;
    }
    
    .score-panel {
        gap: 0.6rem;
        margin-bottom: 0.3rem;
    }
    
    .teams-scores {
        gap: 0.8rem;
        order: 1;
        margin-bottom: 0.3rem;
    }
    
    .current-team {
        display: none; /* Küçük mobilde de gizle */
    }
    
    .team-score {
        padding: 0.6rem 1rem;
        min-width: 100px;
        border-radius: 10px;
    }
    
    .team-score h3 {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }
    
    .team-score .score {
        font-size: 1.3rem;
    }
    
    .timer-section {
        margin-bottom: 0.2rem;
        order: 3;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
        justify-content: center;
    }
    
    .timer {
        font-size: 2.5rem;
    }
    
    .current-team {
        display: none; /* Mobilde gizle */
    }
    
    .word-card {
        padding: 1.5rem 1rem;
    }
    
    .main-word {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .forbidden-word {
        font-size: 1rem;
        padding: 0.3rem 0;
    }
    
    .control-buttons {
        gap: 0.8rem;
        margin-top: 0.5rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    
    .control-buttons .correct-btn,
    .control-buttons .foul-btn {
        flex: 0 0 auto;
    }
    
    .control-buttons .pass-section {
        flex: 0 0 100%;
        margin-top: 0.5rem;
        order: 2;
    }
    
    .correct-btn,
    .pass-btn,
    .foul-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        width: 120px;
        height: 45px;
    }
    
    /* Tur Sonu Ekranı (Küçük Mobil) */
    .round-end-content {
        padding: 1.5rem;
        max-width: 95%;
    }
    
    .round-end-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .round-end-scores {
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .round-end-score {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .next-team-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}
