/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --danger-color: #f59e0b;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--gray-800);
    overflow-x: hidden;
}

/* Ana Sayfa Stilleri */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* OAuth Login Stilleri */
.oauth-login-group {
    margin: 20px 0;
}

.kick-oauth-btn {
    background: linear-gradient(135deg, #1db954 0%, #1ed760 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.kick-oauth-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #1ed760 0%, #1db954 100%);
}

.kick-oauth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.kick-logo {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.login-description {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.oauth-info {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.oauth-info h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 18px;
}

.oauth-info ul {
    list-style: none;
    padding: 0;
}

.oauth-info li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

header {
    margin-bottom: 40px;
    color: white;
}

.top-theme-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.top-theme-selector select {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.9rem;
    color: var(--dark-color);
    backdrop-filter: blur(10px);
}

header {
    text-align: center;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

.login-section {
    display: flex;
    justify-content: center;
}

.login-box {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 100%;
    backdrop-filter: blur(10px);
}

.login-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--gray-800);
    font-weight: 600;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#kickChannelUrl {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.2s ease;
}

#kickChannelUrl:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgb(99 102 241 / 0.1);
}

#connectBtn {
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

#connectBtn:hover:not(:disabled) {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

#connectBtn:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    transform: none;
}

.status-message {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
    font-weight: 500;
}

.status-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.status-message.success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.status-message.info {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

/* Dashboard Layout */
.dashboard-layout {
    min-height: 100vh;
    background: var(--gray-100);
}

.top-nav {
    background: var(--white);
    padding: 16px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-200);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.connection-indicator .status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-100);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--danger-color);
    animation: pulse 2s infinite;
}

.status-dot.connected {
    background: var(--success-color);
    animation: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.nav-actions {
    display: flex;
    gap: 12px;
}

/* Buton Stilleri */
.btn-primary, .btn-secondary, .btn-danger, .btn-success, .btn-warning {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

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

.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-300);
}

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

.btn-danger:hover {
    background: #d97706;
}

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

.btn-success:hover {
    background: #059669;
}

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

.btn-warning:hover {
    background: #d97706;
}

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

.btn-info:hover {
    background: #2563eb;
}



@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Ana Dashboard */
.main-dashboard {
    display: grid;
    grid-template-columns: 250px 2fr 280px;
    gap: 0;
    padding: 0;
    min-height: calc(100vh - 80px);
    width: 100vw;
    margin: 0;
    grid-template-areas: "left-panel game-zone right-panel";
}

/* Sol Panel */
.left-panel {
    background: var(--white);
    border-radius: 0 16px 16px 0;
    box-shadow: var(--shadow);
    overflow: hidden;
    grid-area: left-panel;
    margin-right: 20px;
}

.panel-section {
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.panel-section:last-child {
    border-bottom: none;
}

.panel-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--gray-800);
}

.game-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.game-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.game-card:not(.disabled):hover {
    background: var(--gray-50);
    transform: translateY(-1px);
}

.game-card.active {
    background: rgb(99 102 241 / 0.1);
    border-color: var(--primary-color);
}

.game-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.game-icon {
    font-size: 2rem;
}

.game-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--gray-800);
}

.game-info p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

.info-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-item div {
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Oyun Alanı */
.game-zone {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    grid-area: game-zone;
    margin: 20px 0;
}

.game-container {
    padding: 24px;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.game-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-800);
}

.game-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.status-indicator {
    color: var(--success-color);
}

.setup-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.setup-group label {
    font-weight: 600;
    color: var(--gray-700);
    white-space: nowrap;
    font-family: inherit;
}

.setup-group select {
    padding: 8px 12px;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    background: white;
    font-size: 14px;
    font-family: inherit;
    min-width: 100px;
}

.game-controls {
    display: flex;
    gap: 12px;
    font-family: inherit;
}

.current-word-display {
    margin-bottom: 20px;
}

.word-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.word-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-right: 8px;
}

.word-text {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Canvas Alanı */
.canvas-area {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
    margin-left: 40px;
}

.canvas-left-info {
    flex: 0 0 200px;
    background: var(--white);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.canvas-left-info .info-section h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

.canvas-left-info .info-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.canvas-left-info .info-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px;
    background: var(--gray-50);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.canvas-left-info .info-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.canvas-left-info .info-item div {
    font-size: 13px;
    line-height: 1.4;
}

.canvas-and-tools {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.canvas-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    width: fit-content;
}

#drawingCanvas {
    display: block;
    background: var(--white);
    border: 2px solid var(--gray-200);
    width: 1200px !important;
    height: 800px !important;
    cursor: crosshair;
}

.canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.overlay-content {
    text-align: center;
    color: var(--gray-600);
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--gray-200);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 12px;
}

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

.drawing-tools {
    display: flex;
    gap: 20px;
    align-items: center;
    background: var(--gray-50);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    max-width: 600px;
    justify-content: center;
}

.tool-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.color-input {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.range-input {
    width: 100px;
    height: 6px;
    border-radius: 3px;
    background: var(--gray-200);
    outline: none;
    cursor: pointer;
}

.range-value {
    min-width: 24px;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.tool-btn {
    padding: 8px 12px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.tool-btn:hover {
    background: var(--gray-50);
}

.tool-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Sağ Panel */
.right-panel {
    background: var(--white);
    border-radius: 16px 0 0 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    grid-area: right-panel;
    margin-left: 20px;
}

.scoreboard {
    background: var(--white);
}

.score-header {
    display: grid;
    grid-template-columns: 50px 1fr 60px;
    gap: 12px;
    padding: 12px 16px;
    background: var(--gray-50);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
}

.score-list {
    max-height: 300px;
    overflow-y: auto;
}

.score-item {
    display: grid;
    grid-template-columns: 50px 1fr 60px;
    gap: 12px;
    padding: 12px 16px;
    align-items: center;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.2s ease;
}

.score-item:hover:not(.empty) {
    background: var(--gray-50);
}

.score-item.empty {
    color: var(--gray-500);
    font-style: italic;
}

.rank {
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.score-item:first-child .rank {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: var(--gray-800);
}

.score-item:nth-child(2) .rank {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    color: var(--gray-800);
}

.score-item:nth-child(3) .rank {
    background: linear-gradient(135deg, #cd7f32, #daa560);
    color: white;
}

.username {
    font-weight: 500;
    color: var(--gray-800);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.score {
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
}

/* Chat Mesajları */
.chat-messages {
    height: 600px;
    overflow-y: auto;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.chat-message {
    margin-bottom: 8px;
    padding: 8px;
    border-radius: 6px;
    background: var(--gray-50);
    border-left: 3px solid var(--primary-color);
    font-size: 0.875rem;
    animation: fadeInChat 0.3s ease;
}

.chat-message.system {
    border-left-color: var(--info-color);
    background: rgb(59 130 246 / 0.1);
}

.chat-message.correct-guess {
    border-left-color: var(--success-color);
    background: rgb(16 185 129 / 0.1);
}

.chat-user {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 6px;
}

.chat-message.system .chat-user {
    color: var(--info-color);
}

.chat-message.correct-guess .chat-user {
    color: var(--success-color);
}

/* Kullanıcı renkleri */
.chat-user.user-color-0 { color: #ff6b6b; }
.chat-user.user-color-1 { color: #4ecdc4; }
.chat-user.user-color-2 { color: #45b7d1; }
.chat-user.user-color-3 { color: #96ceb4; }
.chat-user.user-color-4 { color: #feca57; }
.chat-user.user-color-5 { color: #ff9ff3; }
.chat-user.user-color-6 { color: #54a0ff; }
.chat-user.user-color-7 { color: #5f27cd; }
.chat-user.user-color-8 { color: #00d2d3; }
.chat-user.user-color-9 { color: #ff9f43; }
.chat-user.user-color-10 { color: #10ac84; }
.chat-user.user-color-11 { color: #ee5253; }
.chat-user.user-color-12 { color: #0abde3; }
.chat-user.user-color-13 { color: #006ba6; }
.chat-user.user-color-14 { color: #f368e0; }
.chat-user.user-color-15 { color: #ff3838; }

.chat-text {
    color: var(--gray-700);
    word-wrap: break-word;
}

@keyframes fadeInChat {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chat scrollbar */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* Coming Soon */
.coming-soon {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-600);
}

.coming-soon h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

/* Karışık Harfler Oyunu Stilleri */
.scramble-game-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.scramble-instructions {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    color: white;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    order: 2;
}

.scramble-instructions h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.instructions-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.instruction-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.step-number {
    background: #fff;
    color: #667eea;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.instruction-text {
    font-size: 0.9rem;
    line-height: 1.3;
}

.scramble-word-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    order: 1;
}

.scramble-word-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--border-color);
    text-align: center;
    min-width: 500px;
    transition: all 0.3s ease;
}

.scramble-word-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.word-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scrambled-letters-display {
    font-size: 3.2rem;
    font-weight: bold;
    margin: 30px 0;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

.letter-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 15px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 2.8rem;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    transform: rotate(-2deg);
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 70px;
    text-align: center;
}

.letter-box:nth-child(even) {
    transform: rotate(2deg);
}

.letter-box:hover {
    transform: rotate(0deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.timer-display {
    font-size: 1.3rem;
    font-weight: 600;
    color: #4CAF50;
    margin-top: 20px;
    padding: 12px 25px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .scramble-game-area {
        padding: 15px;
    }
    
    .scramble-word-card {
        min-width: auto;
        padding: 25px 15px;
    }
    
    .scrambled-letters-display {
        font-size: 2.2rem;
        gap: 8px;
    }
    
    .letter-box {
        padding: 12px 18px;
        font-size: 2rem;
        min-width: 50px;
    }
    
    .instructions-content {
        gap: 10px;
    }
    
    .instruction-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Film/Dizi Tahmin Oyunu Stilleri */
.movie-game-area, .image-game-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.movie-instructions, .image-instructions {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border-radius: 12px;
    padding: 20px;
    color: white;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    order: 2;
}

.movie-instructions h3, .image-instructions h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.movie-display-container, .image-display-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    order: 1;
}

.movie-card, .image-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--border-color);
    text-align: center;
    min-width: 500px;
    transition: all 0.3s ease;
}

.movie-card:hover, .image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.movie-title, .image-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.emoji-display {
    font-size: 4rem;
    margin: 30px 0;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

.emoji-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 40px;
    border-radius: 20px;
    font-size: 3.5rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

.emoji-text:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.movie-hint {
    background: var(--input-bg);
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 15px 20px;
    margin: 20px 0;
    animation: hintGlow 2s ease-in-out infinite alternate;
}

@keyframes hintGlow {
    from { box-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
    to { box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); }
}

.hint-label {
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.hint-text {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.4;
}

/* Resim Tahmin Oyunu */
.blurred-image {
    min-height: 300px;
    max-height: 400px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    overflow: hidden;
    background: var(--input-bg);
    border: 3px solid var(--border-color);
    position: relative;
}

.placeholder-text {
    color: var(--text-color);
    font-size: 1.2rem;
    opacity: 0.7;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

.blurred-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: filter 0.5s ease;
}

.blur-level-5 { filter: blur(15px) brightness(0.4); }
.blur-level-4 { filter: blur(12px) brightness(0.5); }
.blur-level-3 { filter: blur(8px) brightness(0.6); }
.blur-level-2 { filter: blur(4px) brightness(0.8); }
.blur-level-1 { filter: blur(2px) brightness(0.9); }
.blur-level-0 { filter: none; }

/* Responsive tasarım */
@media (max-width: 768px) {
    .movie-game-area, .image-game-area {
        padding: 15px;
    }
    
    .movie-card, .image-card {
        min-width: auto;
        padding: 25px 15px;
    }
    
    .emoji-display {
        font-size: 3rem;
    }
    
    .emoji-text {
        font-size: 2.5rem;
        padding: 20px 25px;
    }
    
    .blurred-image {
        min-height: 200px;
        max-height: 250px;
    }
}

/* Debug Panel */
.debug-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 400px;
    max-height: 300px;
    background: var(--gray-900);
    color: var(--gray-100);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    overflow: hidden;
}

.debug-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--gray-800);
    border-bottom: 1px solid var(--gray-700);
}

.debug-header h4 {
    font-size: 0.875rem;
    margin: 0;
}

.debug-header button {
    background: none;
    border: none;
    color: var(--gray-300);
    cursor: pointer;
    padding: 4px;
}

.debug-content {
    padding: 12px;
    font-size: 0.75rem;
    line-height: 1.4;
    max-height: 240px;
    overflow-y: auto;
}

/* Toast Bildirimleri */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    background: var(--white);
    border-left: 4px solid var(--primary-color);
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    max-width: 300px;
    animation: slideIn 0.3s ease;
}

.toast.success { border-left-color: var(--success-color); }
.toast.error { border-left-color: var(--danger-color); }
.toast.warning { border-left-color: var(--warning-color); }

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

/* Kelime Kamera Alanı */
.current-word-camera {
    text-align: center;
    margin-bottom: 20px;
}

.word-card-camera {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.word-card-camera::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #f9ca24, #f0932b, #eb4d4b);
    border-radius: 12px;
    z-index: -1;
    animation: gradientBorder 3s ease infinite;
}

@keyframes gradientBorder {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.05); }
}

.word-label-camera {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.word-text-camera {
    font-size: 2.2rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: wordPulse 2s ease-in-out infinite;
    line-height: 1.2;
    margin-top: 8px;
}

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

/* Tema Seçici */
.theme-selector {
    position: relative;
}

.theme-selector select {
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    background: var(--white);
    color: var(--gray-700);
    font-size: 14px;
    cursor: pointer;
    outline: none;
    min-width: 140px;
}

.theme-selector select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgb(99 102 241 / 0.1);
}

/* Dark Tema */
[data-theme="dark"] {
    --primary-color: #8b5cf6;
    --secondary-color: #a78bfa;
    --success-color: #10b981;
    --danger-color: #f59e0b;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --gray-100: #1f2937;
    --gray-200: #374151;
    --gray-300: #4b5563;
    --gray-400: #6b7280;
    --gray-500: #9ca3af;
    --gray-600: #d1d5db;
    --gray-700: #e5e7eb;
    --gray-800: #f9fafb;
    --gray-900: #ffffff;
    --white: #111827;
    --light-color: #1f2937;
}

[data-theme="dark"] body {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

[data-theme="dark"] .dashboard-layout {
    background: var(--gray-100);
}

/* Colorful Tema */
[data-theme="colorful"] {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --success-color: #55efc4;
    --danger-color: #fd79a8;
    --warning-color: #fdcb6e;
    --info-color: #74b9ff;
}

[data-theme="colorful"] body {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
}

[data-theme="colorful"] .word-card-camera {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
}

/* Gaming Tema */
[data-theme="gaming"] {
    --primary-color: #00ff88;
    --secondary-color: #00ccff;
    --success-color: #00ff88;
    --danger-color: #ff0088;
    --warning-color: #ffaa00;
    --info-color: #00ccff;
    --gray-100: #0a0a0a;
    --gray-200: #1a1a1a;
    --gray-300: #2a2a2a;
    --gray-400: #3a3a3a;
    --gray-500: #4a4a4a;
    --gray-600: #5a5a5a;
    --gray-700: #6a6a6a;
    --gray-800: #8a8a8a;
    --gray-900: #ffffff;
    --white: #111111;
    --light-color: #0a0a0a;
}

[data-theme="gaming"] body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #00ff88;
}

[data-theme="gaming"] .dashboard-layout {
    background: var(--gray-100);
}

[data-theme="gaming"] .word-card-camera {
    background: linear-gradient(135deg, #00ff88, #00ccff);
    color: #000000;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

[data-theme="gaming"] .game-zone,
[data-theme="gaming"] .left-panel,
[data-theme="gaming"] .right-panel {
    border: 1px solid #00ff8844;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.1);
}

/* Amasya Teması */
[data-theme="amasya"] {
    --primary-color: #DC143C;
    --secondary-color: #FF6347;
    --success-color: #228B22;
    --danger-color: #8B0000;
    --warning-color: #FF8C00;
    --info-color: #FF7F50;
    --dark-color: #8B0000;
    --light-color: #FFEEE6;
    --gray-100: #FFEEE6;
    --gray-200: #FFD4C4;
    --gray-300: #FF9966;
    --gray-400: #FF7F50;
    --gray-500: #FF6347;
    --gray-600: #DC143C;
    --gray-700: #B22222;
    --gray-800: #8B0000;
    --gray-900: #4B0000;
}

[data-theme="amasya"] body {
    background: url('../assets/amasya-1.jpg') center/cover no-repeat, linear-gradient(135deg, #DC143C 0%, #FF6347 50%, #FF8C00 100%);
    background-attachment: fixed;
}

[data-theme="amasya"] .dashboard-layout {
    background: rgba(245, 245, 220, 0.15);
    backdrop-filter: blur(10px);
}

[data-theme="amasya"] .top-nav {
    background: rgba(139, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid #FF8C00;
}

[data-theme="amasya"] .game-zone,
[data-theme="amasya"] .left-panel,
[data-theme="amasya"] .right-panel {
    background: rgba(255, 238, 230, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 140, 0, 0.4);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.2);
}

[data-theme="amasya"] .panel-section {
    background: rgba(255, 238, 230, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.3);
}

[data-theme="amasya"] .chat-messages {
    background: rgba(255, 238, 230, 0.15);
    border: 1px solid rgba(255, 140, 0, 0.4);
}

[data-theme="amasya"] .chat-message {
    background: rgba(255, 238, 230, 0.2);
    border-left: 3px solid #FF6347;
    color: #8B0000;
}

[data-theme="amasya"] .word-card-camera {
    background: linear-gradient(135deg, #DC143C, #FF6347, #FF8C00);
    color: #FFEEE6;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

[data-theme="amasya"] .word-card-camera::before {
    content: '🍎 ';
    font-size: 16px;
}

[data-theme="amasya"] .game-title h2::before {
    content: '🍎 ';
}

[data-theme="amasya"] .panel-section h3::before {
    content: '🍎 ';
}

[data-theme="amasya"] .score-header::before {
    content: '🍎 ';
}

[data-theme="amasya"] .nav-brand h1 {
    color: #FFEEE6 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

[data-theme="amasya"] header h1 {
    color: #FFEEE6 !important;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 15px rgba(255,140,0,0.6);
}

/* Amasya Teması - Aloske Animasyonu */
[data-theme="amasya"] .dashboard-layout::before,
[data-theme="amasya"] .container::before,
[data-theme="amasya"] body::before {
    content: '';
    position: fixed;
    width: 60px;
    height: 60px;
    background: url('../assets/aloske.jpeg') center/cover no-repeat;
    border-radius: 50%;
    opacity: 0.7;
    z-index: 1000;
    pointer-events: none;
    animation: aloskeFloat 15s infinite linear;
}

@keyframes aloskeFloat {
    0% {
        left: -60px;
        top: 10%;
        transform: rotate(0deg);
    }
    25% {
        left: 70%;
        top: 5%;
        transform: rotate(90deg);
    }
    50% {
        left: 100%;
        top: 60%;
        transform: rotate(180deg);
    }
    75% {
        left: 20%;
        top: 85%;
        transform: rotate(270deg);
    }
    100% {
        left: -60px;
        top: 10%;
        transform: rotate(360deg);
    }
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .main-dashboard {
        grid-template-columns: 220px 2fr 260px;
        gap: 0;
        padding: 0;
    }
    
    .left-panel {
        margin-right: 15px;
    }
    
    .right-panel {
        margin-left: 15px;
    }
    
    .game-zone {
        margin: 15px 0;
    }
}

@media (max-width: 968px) {
    .main-dashboard {
        grid-template-columns: 200px 2fr 240px;
        gap: 0;
        padding: 0;
    }
    
    .left-panel {
        margin-right: 12px;
    }
    
    .right-panel {
        margin-left: 12px;
    }
    
    .game-zone {
        margin: 12px 0;
    }
    
    .drawing-tools {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    #drawingCanvas {
        width: 100% !important;
        height: auto !important;
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .top-nav {
        padding: 12px 16px;
        flex-direction: column;
        gap: 12px;
    }
    
    .nav-brand {
        width: 100%;
        justify-content: space-between;
    }
    
    .main-dashboard {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr;
        padding: 0;
        gap: 12px;
    }
    
    .left-panel, .right-panel {
        order: 2;
        border-radius: 16px;
        margin: 12px;
    }
    
    .left-panel {
        margin-right: 12px;
    }
    
    .right-panel {
        margin-left: 12px;
    }
    
    .game-zone {
        order: 1;
        margin: 12px;
    }
    
    .game-container, .panel-section {
        padding: 16px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .drawing-tools {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tool-group {
        justify-content: space-between;
    }
    
    /* VIP Mesaj Mobil Optimizasyonu */
    .chat-message.vip-message {
        padding: 4px 6px !important;
        margin: 2px 0 !important;
    }
    
    .vip-message-content {
        font-size: 10px;
        gap: 2px;
    }
    
    .vip-user-section {
        gap: 2px;
        margin-bottom: 1px;
    }
    
    .vip-title {
        font-size: 5px;
    }
    
    .vip-username {
        font-size: 9px;
    }
    
    .vip-message-text {
        font-size: 10px;
        line-height: 1.2;
    }
    
    .vip-timestamp {
        font-size: 8px;
    }
}

/* VIP Mesaj Stilleri - omegacyr İçin */
.chat-message.vip-message {
    margin: 3px 0 !important;
    padding: 6px 8px !important;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%) !important;
    border: 1px solid transparent !important;
    border-image: linear-gradient(45deg, #ffd700, #ff6b6b, #4ecdc4, #ffd700) 1 !important;
    box-shadow: 
        0 0 5px rgba(255, 215, 0, 0.2),
        inset 0 0 5px rgba(255, 255, 255, 0.05) !important;
    position: relative !important;
    overflow: hidden !important;
    animation: vipGlow 4s ease-in-out infinite !important;
    transform: scale(1) !important;
    z-index: 999 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

.vip-message-content {
    padding: 0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 400;
    text-shadow: 0 0 2px rgba(255,255,255,0.2);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.vip-user-section {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-wrap: nowrap;
    width: 100%;
    margin-bottom: 1px;
}

.vip-title {
    font-size: 6px;
    font-weight: 400;
    color: #ffd700;
    text-shadow: 0 0 2px rgba(255, 215, 0, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.vip-username {
    font-size: 10px;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.vip-message-text {
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
    text-shadow: 0 0 2px rgba(255,255,255,0.2);
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
    max-width: 100%;
    display: block;
}

.vip-timestamp {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-left: auto;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: flex-end;
}

/* VIP Animasyonları */
@keyframes vipGlow {
    0% { 
        box-shadow: 
            0 0 5px rgba(255, 215, 0, 0.2),
            inset 0 0 5px rgba(255, 255, 255, 0.05);
    }
    25% { 
        box-shadow: 
            0 0 6px rgba(255, 107, 107, 0.2),
            inset 0 0 5px rgba(255, 255, 255, 0.05);
    }
    50% { 
        box-shadow: 
            0 0 7px rgba(78, 205, 196, 0.2),
            inset 0 0 5px rgba(255, 255, 255, 0.05);
    }
    75% { 
        box-shadow: 
            0 0 6px rgba(150, 206, 180, 0.2),
            inset 0 0 5px rgba(255, 255, 255, 0.05);
    }
    100% { 
        box-shadow: 
            0 0 5px rgba(255, 215, 0, 0.2),
            inset 0 0 5px rgba(255, 255, 255, 0.05);
    }
}


/* VIP Parçacık Efekti */
.vip-message.vip-particles::before {
    content: '✨💎✨';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    animation: sparkle 2s ease-in-out infinite;
    z-index: 3;
}

.vip-message.vip-particles::after {
    content: '👑';
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 24px;
    animation: crownFloat 3s ease-in-out infinite;
    z-index: 3;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) translateY(0px); }
    50% { opacity: 1; transform: translateX(-50%) translateY(-5px); }
}

@keyframes crownFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-8px) rotate(-5deg); }
    66% { transform: translateY(-3px) rotate(5deg); }
}

/* VIP Glow Efekti */
.vip-message.vip-glow {
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.8),
        0 0 60px rgba(255, 215, 0, 0.6),
        0 0 90px rgba(255, 215, 0, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.2) !important;
}

/* Özel VIP Class */
.omegacyr-vip-message {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%) !important;
    animation: vipGlow 3s ease-in-out infinite, vipPulse 2s ease-in-out infinite alternate, omegaSpecial 4s ease-in-out infinite !important;
}

@keyframes omegaSpecial {
    0% { filter: hue-rotate(0deg) saturate(1.2); }
    25% { filter: hue-rotate(90deg) saturate(1.4); }
    50% { filter: hue-rotate(180deg) saturate(1.6); }
    75% { filter: hue-rotate(270deg) saturate(1.4); }
    100% { filter: hue-rotate(360deg) saturate(1.2); }
}

/* Havai Fişek Animasyonları */
@keyframes firework-particle {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--end-x), var(--end-y)) scale(0);
        opacity: 0;
    }
}

/* Twemoji Emoji Boyutları */
.chat-user img.emoji {
    width: 12px !important;
    height: 12px !important;
    vertical-align: middle !important;
    margin: 0 1px !important;
}

.vip-username img.emoji {
    width: 12px !important;
    height: 12px !important;
    vertical-align: middle !important;
    margin: 0 1px !important;
}

.chat-text img.emoji {
    width: 14px !important;
    height: 14px !important;
    vertical-align: middle !important;
    margin: 0 1px !important;
}

.vip-message-text img.emoji {
    width: 14px !important;
    height: 14px !important;
    vertical-align: middle !important;
    margin: 0 1px !important;
}

/* 3D Ball Physics Game Styles */
.physics-game-area {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 25px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    max-width: 1800px;
    margin: 0 auto;
}

.physics-instructions {
    background: var(--gray-50);
    border-radius: 8px;
    padding: 15px;
    max-width: 600px;
}

.physics-instructions h3 {
    font-size: 14px;
    margin-bottom: 8px;
}

.physics-instructions .instructions-content {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.physics-instructions .instruction-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}

.physics-instructions .step-number {
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* Physics Main Area - Layout for player list + canvas */
.physics-main-area {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.player-list-panel {
    width: 200px;
    background: var(--white);
    border-radius: 12px;
    padding: 15px;
    box-shadow: var(--shadow-md);
    height: fit-content;
    flex-shrink: 0;
}

.player-list-panel h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: var(--gray-700);
}

.players-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 8px;
}

.players-list.eliminated {
    max-height: 150px;
}

.no-players {
    color: var(--gray-500);
    font-size: 12px;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

.player-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 13px;
    margin-bottom: 4px;
}

.player-item:hover {
    background: var(--gray-50);
}

.player-item.active {
    background: var(--primary-color);
    color: white;
}

.player-item.eliminated {
    opacity: 0.6;
    background: var(--gray-100);
}

.player-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid var(--gray-300);
    flex-shrink: 0;
}

.player-status {
    font-size: 11px;
    color: var(--gray-500);
    margin-left: auto;
}

.physics-canvas-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 950px;
    height: 950px;
    background: var(--gray-100);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    position: relative;
    flex: 1;
    width: 100%;
    max-width: none;
    overflow: hidden;
}

.physics-canvas-container canvas {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    background: #87CEEB;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border: none;
    outline: none;
}

.canvas-placeholder {
    color: var(--gray-500);
    font-size: 18px;
    text-align: center;
    padding: 40px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

/* 3D Game Loading State */
.physics-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--gray-600);
}

.physics-loading .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-300);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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



/* Admin Panel & Setup Groups */
.setup-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.setup-group label {
    min-width: 100px;
    font-weight: 500;
}

.setup-group select,
.setup-group input {
    flex: 1;
    padding: 8px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-size: 14px;
}

/* Yakında Sayfası Stilleri */
.coming-soon-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 40px 20px;
}

.coming-soon-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    text-align: center;
    max-width: 800px;
    width: 100%;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-section {
    margin-bottom: 40px;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.3rem;
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: 0;
}

.coming-soon-content {
    margin-top: 40px;
}

.coming-soon-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.coming-soon-description {
    font-size: 1.2rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-preview {
    background: var(--gray-50);
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    border: 2px solid var(--gray-100);
}

.features-preview h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    text-align: left;
}

.features-list li {
    font-size: 1.1rem;
    color: var(--gray-700);
    padding: 12px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.features-list li:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.launch-info {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
}

.launch-text {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.progress-indicator {
    max-width: 400px;
    margin: 0 auto;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    height: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    background: linear-gradient(90deg, #10b981, #34d399);
    height: 100%;
    border-radius: 25px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.2) 75%,
        transparent 75%,
        transparent
    );
    background-size: 50px 50px;
    animation: move 2s linear infinite;
}

@keyframes move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

.progress-text {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .coming-soon-container {
        padding: 30px 25px;
        margin: 20px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .coming-soon-title {
        font-size: 2rem;
    }
    
    .coming-soon-description {
        font-size: 1.1rem;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .features-list li {
        text-align: center;
    }
}
