/* CSS Değişkenleri - Tema Sistemi */
:root {
    /* Klasik Mor Tema (Varsayılan) */
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #9b59b6;
    --text-color: #333;
    --bg-color: #f8f9ff;
    --card-bg: rgba(255, 255, 255, 0.95);
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Romantik Pembe Tema */
[data-theme="romantic"] {
    --primary-color: #ff6b9d;
    --secondary-color: #ff8fab;
    --accent-color: #ffb3d1;
    --text-color: #4a4a4a;
    --bg-color: #fff0f5;
    --card-bg: rgba(255, 255, 255, 0.95);
    --gradient: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
}

/* Doğa Yeşili Tema */
[data-theme="nature"] {
    --primary-color: #27ae60;
    --secondary-color: #2ecc71;
    --accent-color: #58d68d;
    --text-color: #2c3e50;
    --bg-color: #f0fff4;
    --card-bg: rgba(255, 255, 255, 0.95);
    --gradient: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

/* Okyanus Mavisi Tema */
[data-theme="ocean"] {
    --primary-color: #3498db;
    --secondary-color: #5dade2;
    --accent-color: #85c1e9;
    --text-color: #2c3e50;
    --bg-color: #f0f8ff;
    --card-bg: rgba(255, 255, 255, 0.95);
    --gradient: linear-gradient(135deg, #3498db 0%, #5dade2 100%);
}

/* Güneş Sarısı Tema */
[data-theme="sunset"] {
    --primary-color: #f39c12;
    --secondary-color: #e67e22;
    --accent-color: #f7dc6f;
    --text-color: #8b4513;
    --bg-color: #fff8e1;
    --card-bg: rgba(255, 255, 255, 0.95);
    --gradient: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

/* Gece Karanlığı Tema */
[data-theme="dark"] {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #5d6d7e;
    --text-color: #ecf0f1;
    --bg-color: #1a1a1a;
    --card-bg: rgba(44, 62, 80, 0.95);
    --gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--gradient);
    min-height: 100vh;
    color: var(--text-color);
    overflow-x: hidden;
    transition: all 0.3s ease;
}

/* Animasyon keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    animation: fadeInUp 0.8s ease-out;
}

.screen {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.screen.active {
    display: block;
}

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

/* Giriş Ekranı */
.login-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    margin-top: 10vh;
    animation: scaleIn 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

.heart-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: heartbeat 2s infinite;
}

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

.login-container h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.user-selection {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.user-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.user-btn:nth-child(1) { animation-delay: 0.2s; }
.user-btn:nth-child(2) { animation-delay: 0.4s; }

.user-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.user-btn:hover::before {
    left: 100%;
}

.user-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

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

/* Ana Ekran */
.header {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #667eea;
}

.logout-btn {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

/* Ana Menü */
.main-menu {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 20px;
}

.main-menu h2 {
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.menu-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.menu-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 30px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.menu-btn:nth-child(1) { animation-delay: 0.1s; }
.menu-btn:nth-child(2) { animation-delay: 0.2s; }
.menu-btn:nth-child(3) { animation-delay: 0.3s; }
.menu-btn:nth-child(4) { animation-delay: 0.4s; }
.menu-btn:nth-child(5) { animation-delay: 0.5s; }

.menu-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.menu-btn:hover::before {
    left: 100%;
}

.menu-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.menu-btn i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.menu-btn h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.menu-btn p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

.thinking-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e) !important;
    position: relative;
    overflow: hidden;
}

.thinking-btn:hover {
    background: linear-gradient(135deg, #ff5252, #ff7979) !important;
    transform: translateY(-5px) scale(1.02);
}

.thinking-counter {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.95;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: 15px;
    display: inline-block;
    text-align: center;
    line-height: 1.4;
}

.thinking-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.thinking-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    border-radius: 15px;
    border-left: 4px solid #667eea;
    font-weight: 600;
    font-size: 1.1rem;
}

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

.thinking-stat-item.total {
    background: linear-gradient(135deg, #ffe8f0, #ffd6e8);
    border-left-color: #ff6b6b;
    font-weight: 700;
}

/* Falcı Bacı Sayfası */
.fortune-container {
    background: var(--card-bg);
    border-radius: 20px;
    min-height: 500px;
    max-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

.fortune-header {
    background: var(--gradient);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    border-radius: 20px 20px 0 0;
}

.fortune-avatar {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    animation: float 3s ease-in-out infinite;
}

.fortune-info h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.fortune-info p {
    margin: 5px 0 0 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.fortune-status {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-top: 5px;
    display: inline-block;
}

.fortune-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: var(--bg-color);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.question-section h4 {
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.2rem;
}

.question-input-area {
    display: flex;
    gap: 15px;
    align-items: center;
}

#fortuneQuestion {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: white;
}

#fortuneQuestion:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.ask-button {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.ask-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.answer-section {
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

.crystal-ball {
    width: 200px;
    height: 200px;
    background: var(--gradient);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    animation: pulse 2s infinite;
}

.crystal-ball::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    border-radius: 50%;
}

.crystal-inner {
    position: relative;
    z-index: 1;
}

.answer-text {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: bounce 1s ease-out;
}

.answer-text.yes {
    color: #27ae60;
    text-shadow: 0 2px 4px rgba(39, 174, 96, 0.3);
}

.answer-text.no {
    color: #e74c3c;
    text-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
}

.answer-explanation {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-style: italic;
    color: #666;
    max-width: 400px;
    margin: 0 auto;
}

.fortune-tips {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.fortune-tips h5 {
    margin: 0 0 15px 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

.fortune-tips ul {
    margin: 0;
    padding-left: 20px;
    color: var(--text-color);
    opacity: 0.8;
}

.fortune-tips li {
    margin-bottom: 8px;
    line-height: 1.4;
}

/* iPhone için Falcı Bacı optimizasyonu */
@supports (-webkit-touch-callout: none) {
    .fortune-container {
        max-height: calc(100vh - 100px);
        margin: 10px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .fortune-content {
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
    }
    
    .question-input-area {
        flex-direction: column;
        gap: 15px;
    }
    
    .ask-button {
        width: 100%;
        justify-content: center;
    }
    
    .crystal-ball {
        width: 150px;
        height: 150px;
    }
    
    .answer-text {
        font-size: 1.5rem;
    }
    
    .fortune-tips {
        margin-bottom: 20px;
    }
}



/* Hediye Listesi */
.gift-container {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

.gift-header {
    text-align: center;
    margin-bottom: 30px;
}

.gift-header h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.gift-header p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1.1rem;
}

.gift-input-area {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

#giftInput {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    font-size: 1rem;
    background: var(--bg-color);
    color: var(--text-color);
}

#giftInput:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.add-gift-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-gift-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.gift-item {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.gift-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.gift-author {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
    font-style: italic;
}

.gift-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.gift-text {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.gift-actions {
    display: flex;
    gap: 10px;
}

.gift-btn {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
}

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

/* Aşk Hedefleri */
.goals-container {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

.goals-header {
    text-align: center;
    margin-bottom: 30px;
}

.goals-header h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.goals-header p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1.1rem;
}

.goal-input-area {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

#goalInput {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    font-size: 1rem;
    background: var(--bg-color);
    color: var(--text-color);
    min-width: 200px;
}

#goalInput:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#goalPriority {
    padding: 15px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    font-size: 1rem;
    background: var(--bg-color);
    color: var(--text-color);
    cursor: pointer;
}

#goalPriority:focus {
    outline: none;
    border-color: var(--accent-color);
}

.add-goal-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-goal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.goal-item {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.goal-item.completed {
    opacity: 0.6;
    text-decoration: line-through;
}

.goal-item.high {
    border-left-color: #f44336;
}

.goal-item.medium {
    border-left-color: #ff9800;
}

.goal-item.low {
    border-left-color: #4CAF50;
}

.goal-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.goal-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.goal-author {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
    font-style: italic;
}

.goal-text {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    flex: 1;
}

.goal-priority {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 15px;
}

.goal-priority.high {
    background: #ffebee;
    color: #f44336;
}

.goal-priority.medium {
    background: #fff3e0;
    color: #ff9800;
}

.goal-priority.low {
    background: #e8f5e8;
    color: #4CAF50;
}

.goal-actions {
    display: flex;
    gap: 10px;
}

.goal-btn {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
}

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

.goal-btn.complete {
    color: #4CAF50;
}

.goal-btn.complete:hover {
    background: #4CAF50;
    color: white;
}

/* Tema Değiştirme Sayfası */
.themes-container {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

.themes-header {
    text-align: center;
    margin-bottom: 30px;
}

.themes-header h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.themes-header p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1rem;
}

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

.theme-option {
    background: var(--card-bg);
    border: 3px solid transparent;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.theme-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.theme-option.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.theme-preview {
    width: 100%;
    height: 80px;
    border-radius: 10px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.preview-header {
    height: 30px;
    border-radius: 10px 10px 0 0;
}

.preview-content {
    height: 50px;
    border-radius: 0 0 10px 10px;
}

/* Tema Önizlemeleri */
.classic-preview .preview-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.classic-preview .preview-content {
    background: #f8f9ff;
}

.romantic-preview .preview-header {
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
}

.romantic-preview .preview-content {
    background: #fff0f5;
}

.nature-preview .preview-header {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.nature-preview .preview-content {
    background: #f0fff4;
}

.ocean-preview .preview-header {
    background: linear-gradient(135deg, #3498db, #5dade2);
}

.ocean-preview .preview-content {
    background: #f0f8ff;
}

.sunset-preview .preview-header {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.sunset-preview .preview-content {
    background: #fff8e1;
}

.dark-preview .preview-header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

.dark-preview .preview-content {
    background: #1a1a1a;
}

.theme-option h4 {
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.theme-option p {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
}

.theme-info {
    background: var(--bg-color);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.theme-info h4 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.theme-info ul {
    margin: 0;
    padding-left: 20px;
    color: var(--text-color);
}

.theme-info li {
    margin-bottom: 8px;
    line-height: 1.4;
}

/* iPhone için Tema Sayfası optimizasyonu */
@supports (-webkit-touch-callout: none) {
    .themes-container {
        padding: 20px;
        margin: 10px;
    }
    
    .themes-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .theme-option {
        padding: 15px;
    }
    
    .theme-preview {
        height: 60px;
    }
}

/* Admin Panel Stilleri */
.admin-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.admin-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease-out;
}

.admin-container {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s ease-out;
}

.admin-header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.close-admin {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-admin:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.admin-content {
    padding: 30px;
}

.admin-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #3498db;
}

.admin-section h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-section p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.admin-action-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.admin-action-btn.danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.admin-action-btn.warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.admin-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.admin-info {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.admin-info p {
    margin: 8px 0;
    color: #333;
    font-size: 0.9rem;
}

.admin-info strong {
    color: #2c3e50;
}

/* Modal Stilleri */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    animation: fadeIn 0.3s ease-out;
}

.modal-container {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s ease-out;
}

.modal-header {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    text-align: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modal-content {
    padding: 30px;
}

.modal-content input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 20px;
    outline: none;
    transition: all 0.3s ease;
}

.modal-content input:focus {
    border-color: #9b59b6;
    box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.1);
}

.modal-buttons {
    display: flex;
    gap: 10px;
}

.modal-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-btn.primary {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.modal-btn.secondary {
    background: #ecf0f1;
    color: #7f8c8d;
}

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

/* iPhone için Admin Panel optimizasyonu */
@supports (-webkit-touch-callout: none) {
    .admin-container {
        width: 95%;
        margin: 10px;
    }
    
    .admin-content {
        padding: 20px;
    }
    
    .admin-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .modal-container {
        width: 95%;
        margin: 10px;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
}

/* Psikolog Sayfası - YENİ TASARIM */
.psychologist-container {
    background: white;
    border-radius: 20px;
    height: calc(100vh - 200px);
    min-height: 500px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.psychologist-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    border-radius: 20px 20px 0 0;
}

.psychologist-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.psychologist-info h3 {
    font-size: 1.2rem;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.psychologist-info p {
    font-size: 0.9rem;
    margin: 0 0 5px 0;
    opacity: 0.8;
}

.online-status {
    color: #4CAF50;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(76, 175, 80, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.messages-container {
    flex: 1;
    padding: 20px;
    background: #f8f9ff;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message-item {
    display: flex;
    width: 100%;
    animation: fadeInUp 0.5s ease-out;
}

.message-item.psychologist {
    justify-content: flex-start;
}

.message-item.user {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 70%;
    background: white;
    border-radius: 18px;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.message-item.psychologist .message-bubble {
    border-bottom-left-radius: 4px;
}

.message-item.user .message-bubble {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-text {
    font-size: 0.95rem;
    line-height: 1.4;
    word-wrap: break-word;
    word-break: break-word;
    margin: 0;
}

.message-time {
    font-size: 0.75rem;
    color: #999;
    margin-top: 5px;
    text-align: right;
}

.message-item.user .message-time {
    color: rgba(255, 255, 255, 0.7);
}

.message-input-area {
    padding: 20px;
    background: white;
    border-radius: 0 0 20px 20px;
}

.input-container {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #f8f9ff;
    border-radius: 25px;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

.input-container:focus-within {
    border-color: #667eea;
}

.input-container input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    color: #333;
}

.input-container input::placeholder {
    color: #999;
}

.send-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.send-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    color: #667eea;
    font-style: italic;
    font-size: 0.9rem;
    background: white;
    border-radius: 18px;
    margin: 10px 0 0 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.typing-indicator i {
    animation: typing 1.4s infinite;
    font-size: 0.6rem;
}

.typing-indicator i:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator i:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        opacity: 0.3;
    }
    30% {
        opacity: 1;
    }
}

/* Sayfa Geçişleri */
.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.page-header {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.back-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.page-header h2 {
    color: #667eea;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

/* Ana İçerik */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.write-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.time-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 15px;
    font-weight: 500;
}

.time-info i {
    font-size: 1.2rem;
}

.entry-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#entryText {
    width: 100%;
    min-height: 120px;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    resize: vertical;
    transition: all 0.3s ease;
}

#entryText:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.char-count {
    text-align: right;
    color: #666;
    font-size: 0.9rem;
}

/* Ruh Hali Seçimi */
.mood-selection {
    margin: 20px 0;
}

.mood-selection > label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    color: #667eea;
    font-size: 1.1rem;
}

.mood-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    justify-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.mood-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 80px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    padding: 10px;
    animation: scaleIn 0.5s ease-out;
    animation-fill-mode: both;
}

.mood-option:nth-child(1) { animation-delay: 0.1s; }
.mood-option:nth-child(2) { animation-delay: 0.2s; }
.mood-option:nth-child(3) { animation-delay: 0.3s; }
.mood-option:nth-child(4) { animation-delay: 0.4s; }
.mood-option:nth-child(5) { animation-delay: 0.5s; }
.mood-option:nth-child(6) { animation-delay: 0.6s; }
.mood-option:nth-child(7) { animation-delay: 0.7s; }
.mood-option:nth-child(8) { animation-delay: 0.8s; }

.mood-option i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.mood-option span {
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.mood-option:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mood-option input[type="radio"] {
    display: none;
}

.mood-option input[type="radio"]:checked + label,
.mood-option:has(input:checked) {
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Ruh Hali Renkleri */
.mood-option.happy {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
}

.mood-option.excited {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: #fff;
}

.mood-option.peaceful {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    color: #fff;
}

.mood-option.loved {
    background: linear-gradient(135deg, #FF69B4, #FF1493);
    color: #fff;
}

.mood-option.nostalgic {
    background: linear-gradient(135deg, #8A2BE2, #9370DB);
    color: #fff;
}

.mood-option.grateful {
    background: linear-gradient(135deg, #32CD32, #228B22);
    color: #fff;
}

.mood-option.sad {
    background: linear-gradient(135deg, #87CEEB, #4682B4);
    color: #fff;
}

.mood-option.tired {
    background: linear-gradient(135deg, #A9A9A9, #696969);
    color: #fff;
}

.mood-option:has(input:checked) {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.save-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-end;
}

.save-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.save-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Günlük Fotoğraf Dozu */
.photo-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.photo-upload {
    margin-bottom: 30px;
}

.photo-upload-area {
    border: 3px dashed #667eea;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
}

.photo-upload-area:hover {
    border-color: #764ba2;
    background: linear-gradient(135deg, #e8f0ff, #d8e8ff);
    transform: translateY(-2px);
}

.upload-content i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 15px;
    display: block;
}

.upload-content p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 10px;
}

.upload-content small {
    color: #666;
    font-size: 0.9rem;
}

.photo-preview {
    text-align: center;
    margin-top: 20px;
}

.photo-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.photo-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.remove-btn {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.remove-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.photos-gallery h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: #667eea;
    font-size: 1.3rem;
}

.photos-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.photo-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.photo-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.photo-info {
    padding: 15px;
}

.photo-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #667eea;
}

.photo-author i {
    font-size: 0.9rem;
}

.photo-date {
    color: #666;
    font-size: 0.9rem;
}

/* Günlük Kayıtları */
.entries-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.entries-section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: #667eea;
    font-size: 1.5rem;
}

.entries-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.entry-item {
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    border-radius: 15px;
    padding: 20px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.entry-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.entry-author {
    font-weight: 600;
    color: #667eea;
    display: flex;
    align-items: center;
    gap: 8px;
}

.entry-author i {
    font-size: 0.9rem;
}

.entry-date {
    color: #666;
    font-size: 0.9rem;
}

.entry-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.entry-mood {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 10px;
    color: white;
}

.entry-mood i {
    font-size: 1rem;
}

/* Ruh Hali Renkleri - Kayıtlarda */
.entry-mood.happy {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.entry-mood.excited {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
}

.entry-mood.peaceful {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
}

.entry-mood.loved {
    background: linear-gradient(135deg, #FF69B4, #FF1493);
}

.entry-mood.nostalgic {
    background: linear-gradient(135deg, #8A2BE2, #9370DB);
}

.entry-mood.grateful {
    background: linear-gradient(135deg, #32CD32, #228B22);
}

.entry-mood.sad {
    background: linear-gradient(135deg, #87CEEB, #4682B4);
}

.entry-mood.tired {
    background: linear-gradient(135deg, #A9A9A9, #696969);
}

/* Mesajlar */
.message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.message.show {
    transform: translateX(0);
}

.message.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.message.error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .login-container {
        padding: 30px 20px;
        margin-top: 5vh;
    }
    
    .login-container h1 {
        font-size: 2rem;
    }
    
    .user-selection {
        flex-direction: column;
        align-items: center;
    }
    
    .user-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .write-section,
    .entries-section {
        padding: 20px;
    }
    
    .mood-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 100%;
    }
    
    .mood-option {
        width: 100px;
        height: 70px;
        padding: 8px;
    }
    
    .mood-option span {
        font-size: 0.7rem;
    }
    
    .message {
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
    }
    
    .message.show {
        transform: translateY(0);
    }
    
    .menu-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .menu-btn {
        padding: 25px;
    }
    
    .menu-btn i {
        font-size: 2.5rem;
    }
    
    .menu-btn h3 {
        font-size: 1.3rem;
    }
    
    .page-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* İstatistikler */
.stats-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.stats-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: #667eea;
    font-size: 1.5rem;
}

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

.stat-card {
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 15px;
}

.stat-info h4 {
    color: #667eea;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

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

.mood-stat-item {
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border-left: 4px solid #667eea;
}

.mood-stat-item .mood-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.mood-stat-item .mood-name {
    font-weight: 600;
    color: #667eea;
    margin-bottom: 5px;
}

.mood-stat-item .mood-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.monthly-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.monthly-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.monthly-label {
    font-weight: 500;
    color: #667eea;
}

.monthly-value {
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
}

.interaction-section {
    text-align: center;
}

.interaction-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto 20px;
}

.interaction-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

.thinking-counter {
    font-size: 1.2rem;
    color: #667eea;
    font-weight: 600;
}

/* Günlük Kayıt Etkileşimleri */
.entry-actions {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.like-btn, .comment-btn {
    background: none;
    border: 2px solid #e0e0e0;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.like-btn:hover, .comment-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.like-btn.liked {
    background: #ff6b6b;
    border-color: #ff6b6b;
    color: white;
}

.comments-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.comment-input {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.comment-input input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    font-size: 0.9rem;
}

.comment-input input:focus {
    outline: none;
    border-color: #667eea;
}

.add-comment-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-comment-btn:hover {
    background: #5a6fd8;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-item {
    background: #f8f9ff;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.comment-author {
    font-weight: 600;
    color: #667eea;
    margin-bottom: 5px;
}

.comment-text {
    color: #333;
}

/* Boş durum */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ccc;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: #999;
}

.empty-state p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* iPhone Optimizasyonu */
@supports (-webkit-touch-callout: none) {
    /* iPhone Safari için özel stiller */
    body {
        -webkit-overflow-scrolling: touch;
        -webkit-text-size-adjust: 100%;
    }
    
    .container {
        padding: 10px;
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
    
    .main-menu {
        padding: 20px 15px;
    }
    
    .menu-options {
        gap: 15px;
    }
    
    .menu-btn {
        padding: 20px 15px;
        min-height: 80px;
    }
    
    .mood-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 15px;
    }
    
    .mood-option {
        width: 100%;
        height: 70px;
        padding: 8px;
    }
    
    .mood-option i {
        font-size: 1.3rem;
        margin-bottom: 3px;
    }
    
    .mood-option span {
        font-size: 0.75rem;
        line-height: 1.1;
    }
    
    .entry {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .entry-text {
        font-size: 1rem;
        line-height: 1.5;
        padding: 15px;
    }
    
    .photo-upload-area {
        padding: 25px 15px;
        margin: 15px 0;
    }
    
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .psychologist-container {
        height: calc(100vh - 120px);
        margin: 10px;
    }
    
    .messages-container {
        padding: 15px;
        gap: 12px;
    }
    
    .message-bubble {
        max-width: 85%;
        padding: 12px 14px;
    }
    
    .message-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .input-container {
        padding: 12px 15px;
    }
    
    .input-container input {
        font-size: 1rem;
    }
    
    .send-button {
        width: 36px;
        height: 36px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .mood-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .mood-option {
        width: 100px;
        height: 70px;
    }
    
    .mood-option i {
        font-size: 1.2rem;
    }
    
    .mood-option span {
        font-size: 0.7rem;
    }
    
    .entry {
        padding: 15px;
    }
    
    .entry-mood {
        font-size: 0.8rem;
    }
    
    .photo-upload-area {
        padding: 30px 20px;
    }
    
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .photo-item {
        padding: 10px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .mood-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .monthly-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .thinking-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    /* Psikolog sayfası mobile */
    .psychologist-container {
        height: calc(100vh - 150px);
        margin: 10px;
    }
    
    .psychologist-header {
        padding: 15px;
        gap: 12px;
    }
    
    .psychologist-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .psychologist-info h3 {
        font-size: 1.1rem;
    }
    
    .psychologist-info p {
        font-size: 0.8rem;
    }
    
    .messages-container {
        padding: 15px;
        gap: 12px;
    }
    
    .message-bubble {
        max-width: 85%;
    }
    
    .message-text {
        font-size: 0.9rem;
    }
    
    .message-input-area {
        padding: 15px;
    }
    
    .input-container {
        padding: 10px 15px;
    }
    
    .input-container input {
        font-size: 0.9rem;
    }
    
    .send-button {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

/* Casino Stilleri */
.money-info {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.money-info i {
    font-size: 1rem;
}

.casino-container {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

.casino-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 15px;
    color: white;
}

.money-display {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}

.money-display i {
    font-size: 1.5rem;
    color: #f39c12;
}

.daily-bonus {
    display: flex;
    align-items: center;
}

.bonus-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.bonus-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.bonus-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.games-selection {
    text-align: center;
    margin-bottom: 30px;
}

.games-selection h3 {
    color: var(--text-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.game-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 25px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.game-btn:nth-child(1) { animation-delay: 0.1s; }
.game-btn:nth-child(2) { animation-delay: 0.2s; }
.game-btn:nth-child(3) { animation-delay: 0.3s; }

.game-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.game-btn:hover::before {
    left: 100%;
}

.game-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.game-btn i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.game-btn h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.game-btn p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

.game-area {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
    margin: 20px auto;
    max-width: 800px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    max-height: 90vh;
    overflow-y: auto;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.game-header h3 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin: 0;
}

.back-to-games {
    background: #95a5a6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.back-to-games:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

/* Slot Makinesi */
.slot-machine {
    text-align: center;
}

.slot-reels {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.reel {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    border: 3px solid #667eea;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.reel:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.slot-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.bet-selection {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bet-selection label {
    font-weight: 600;
    color: var(--text-color);
}

.bet-selection select {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    color: var(--text-color);
    cursor: pointer;
}

.bet-selection select:focus {
    outline: none;
    border-color: #667eea;
}

.spin-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.spin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.slot-result {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.slot-result-content h4 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.slot-result-content p {
    color: #27ae60;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Rulet */
.roulette-table {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: start;
}

.roulette-wheel {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.1s ease;
    border: 4px solid #f39c12;
}

.roulette-wheel::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid #f39c12;
    border-radius: 50%;
    background: conic-gradient(
        #e74c3c 0deg 10deg,
        #2c3e50 10deg 20deg,
        #e74c3c 20deg 30deg,
        #2c3e50 30deg 40deg,
        #e74c3c 40deg 50deg,
        #2c3e50 50deg 60deg,
        #e74c3c 60deg 70deg,
        #2c3e50 70deg 80deg,
        #e74c3c 80deg 90deg,
        #2c3e50 90deg 100deg,
        #e74c3c 100deg 110deg,
        #2c3e50 110deg 120deg,
        #e74c3c 120deg 130deg,
        #2c3e50 130deg 140deg,
        #e74c3c 140deg 150deg,
        #2c3e50 150deg 160deg,
        #e74c3c 160deg 170deg,
        #2c3e50 170deg 180deg,
        #e74c3c 180deg 190deg,
        #2c3e50 190deg 200deg,
        #e74c3c 200deg 210deg,
        #2c3e50 210deg 220deg,
        #e74c3c 220deg 230deg,
        #2c3e50 230deg 240deg,
        #e74c3c 240deg 250deg,
        #2c3e50 250deg 260deg,
        #e74c3c 260deg 270deg,
        #2c3e50 270deg 280deg,
        #e74c3c 280deg 290deg,
        #2c3e50 290deg 300deg,
        #e74c3c 300deg 310deg,
        #2c3e50 310deg 320deg,
        #e74c3c 320deg 330deg,
        #2c3e50 330deg 340deg,
        #e74c3c 340deg 350deg,
        #2c3e50 350deg 360deg
    );
}

.wheel-center {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ball {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border-radius: 50%;
    position: absolute;
    top: 20px;
    left: 20px;
    transition: transform 0.1s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid #d35400;
    z-index: 10;
}

.wheel-numbers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.wheel-number {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: #2c3e50;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    border: 1px solid #bdc3c7;
    transform-origin: 0 0;
}

.roulette-bets {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bet-section h4 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.bet-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bet-btn {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.bet-btn.red {
    border-color: #e74c3c;
    color: #e74c3c;
}

.bet-btn.black {
    border-color: #2c3e50;
    color: #2c3e50;
}

.bet-btn.green {
    border-color: #27ae60;
    color: #27ae60;
}

.bet-btn:hover,
.bet-btn.selected {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.bet-btn.red:hover,
.bet-btn.red.selected {
    background: #e74c3c;
    color: white;
}

.bet-btn.black:hover,
.bet-btn.black.selected {
    background: #2c3e50;
    color: white;
}

.bet-btn.green:hover,
.bet-btn.green.selected {
    background: #27ae60;
    color: white;
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    max-width: 300px;
}

.number-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-btn:hover,
.number-btn.selected {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: scale(1.1);
}

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

.bet-amount {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bet-amount label {
    font-weight: 600;
    color: var(--text-color);
}

.bet-amount input {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    width: 120px;
}

.bet-amount input:focus {
    outline: none;
    border-color: #667eea;
}

.roulette-result {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.roulette-result-content h4 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.roulette-result-content p {
    font-weight: 600;
    font-size: 1.1rem;
}

.roulette-result-content .win-text {
    color: #27ae60;
}

.roulette-result-content .lose-text {
    color: #e74c3c;
}

/* Blackjack */
.blackjack-table {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dealer-area,
.player-area {
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border-left: 4px solid #667eea;
}

.dealer-area h4,
.player-area h4 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.card {
    width: 50px;
    height: 70px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.card.hidden {
    background: #667eea;
    color: white;
}

.hand-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
}

.blackjack-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.game-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.game-action-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.game-action-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.game-action-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.game-action-btn.double-down {
    background: linear-gradient(135deg, #e67e22, #d35400);
}

.game-action-btn.double-down:hover:not(:disabled) {
    background: linear-gradient(135deg, #d35400, #c0392b);
    transform: translateY(-2px);
}

.blackjack-result {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.blackjack-result-content h4 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.blackjack-result-content p {
    color: #27ae60;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Liderlik Tablosu */
.leaderboard {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.leaderboard h3 {
    color: var(--text-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: center;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    border-radius: 15px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.rank {
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 60px;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.user-money {
    font-size: 1.1rem;
    font-weight: 700;
    color: #27ae60;
}

.user-stats {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: right;
}

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

/* Mobile Responsive - Casino */
@media (max-width: 768px) {
    .casino-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .game-btn {
        padding: 20px;
    }
    
    .game-btn i {
        font-size: 2rem;
    }
    
    .game-btn h4 {
        font-size: 1.1rem;
    }
    
    .slot-reels {
        gap: 10px;
    }
    
    .reel {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .slot-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .roulette-table {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .roulette-wheel {
        width: 150px;
        height: 150px;
    }
    
    .wheel-center {
        width: 45px;
        height: 45px;
    }
    
    .ball {
        width: 15px;
        height: 15px;
        top: 15px;
        left: 15px;
    }
    
    .number-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 200px;
    }
    
    .number-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .bet-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .blackjack-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .game-buttons {
        justify-content: center;
    }
    
    .leaderboard-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .user-stats {
        text-align: center;
    }
}

/* Multiplayer Oyunlar */
.multiplayer-section {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.multiplayer-section h3 {
    color: white;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.game-btn.multiplayer {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border: 2px solid #ff5252;
}

.game-btn.multiplayer:hover {
    background: linear-gradient(135deg, #ee5a24, #d63031);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.multiplayer-game {
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
}

.multiplayer-waiting {
    text-align: center;
    padding: 40px 20px;
}

.waiting-content h4 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.waiting-content p {
    color: #7f8c8d;
    margin-bottom: 30px;
}

.bet-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.bet-section label {
    font-weight: 600;
    color: #2c3e50;
}

.bet-section select {
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
}

.start-game-btn {
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.start-game-btn:hover {
    background: linear-gradient(135deg, #00a085, #00a085);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 184, 148, 0.3);
}

.multiplayer-gameplay {
    display: none;
}

.game-info {
    text-align: center;
    margin-bottom: 30px;
}

.game-info h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.game-info p {
    color: #7f8c8d;
    font-size: 1rem;
}

.player-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.vs-section {
    text-align: center;
    margin: 20px 0;
}

.vs-section h2 {
    color: #e74c3c;
    font-size: 2rem;
    font-weight: bold;
}

.player-choice {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, #ddd, #bbb);
    color: #2c3e50;
    font-weight: bold;
}

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

.choice-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 100px;
}

.choice-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.choice-btn i {
    font-size: 1.5rem;
}

.choice-btn.red {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.choice-btn.black {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

.choice-btn.blue {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.guess-section {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.guess-section input {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    width: 150px;
    text-align: center;
}

.submit-guess-btn {
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-guess-btn:hover {
    background: linear-gradient(135deg, #00a085, #00a085);
    transform: translateY(-2px);
}

.guesses-display {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
}

.guess-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: #2c3e50;
}

.coin-section {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.coin {
    width: 120px;
    height: 120px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s;
}

.coin-side {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
    backface-visibility: hidden;
}

.coin-side.heads {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.coin-side.tails {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    transform: rotateY(180deg);
}

.dice-section {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.dice-container {
    display: flex;
    gap: 30px;
}

.dice {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border: 3px solid #ddd;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.roll-section {
    text-align: center;
    margin: 30px 0;
}

.roll-dice-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.roll-dice-btn:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.color-section {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.color-wheel {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 5px solid #2c3e50;
}

.color-segment {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
}

.color-segment.red {
    background: #e74c3c;
    clip-path: polygon(50% 50%, 100% 0%, 100% 100%);
}

.color-segment.black {
    background: #2c3e50;
    clip-path: polygon(50% 50%, 0% 0%, 100% 0%);
}

.color-segment.blue {
    background: #3498db;
    clip-path: polygon(50% 50%, 0% 0%, 0% 100%);
}

.speed-click-section {
    text-align: center;
    margin: 30px 0;
}

.countdown {
    font-size: 4rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 20px;
}

.click-button {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.click-button.ready {
    background: linear-gradient(135deg, #00b894, #00a085);
}

.click-button.clicked {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.results-display {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
}

.result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: #2c3e50;
}

.game-result {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.game-result h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.game-result p {
    color: #7f8c8d;
    font-size: 1rem;
}

/* Multiplayer Mobile */
@media (max-width: 768px) {
    .choice-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .choice-btn {
        min-width: auto;
        width: 100%;
    }
    
    .guesses-display {
        flex-direction: column;
        gap: 20px;
    }
    
    .dice-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .coin {
        width: 100px;
        height: 100px;
    }
    
    .color-wheel {
        width: 150px;
        height: 150px;
    }
    
    .click-button {
        width: 150px;
        height: 150px;
        font-size: 1.2rem;
    }
}
