* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.game-container {
    width: 70%;

}

.hater-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}
.celebration-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}
.hater-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: #ff4757;
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(255, 71, 87, 0.3);
}

.profile-pic {
    width: 120px;
    height: 120px;
    background: #f1f2f6;
    border-radius: 50%;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 8px solid #ffeaa7;
}

.angry-emoji {
    font-size: 50px;
    animation: shake 0.5s infinite;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

h2 {
    text-align: center;
    color: #2d3436;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #636e72;
    margin-bottom: 30px;
    font-size: 0.9em;
}

.choice-buttons {
    margin: 20px 0;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.choice-btn {
    padding: 15px 40px;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.choice-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.choice-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.choice-btn.tek {
    background: #26de81;
    color: white;
}
/* Modal için görsel boyutu ayarları */

.comment-image {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    object-fit: contain;
}

#expandedImage {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
}


.choice-btn.cift {
    background: #45aaf2;
    color: white;
}

.btn-text {
    font-weight: 600;
    font-size: 1.1em;
}

.btn-emoji {
    font-size: 1.5em;
}

.comment-container {
    width: 100%;
    padding: 20px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.hater-name {
    font-weight: 600;
    color: #2d3436;
}

.comment-time {
    color: #636e72;
    font-size: 0.9em;
}



.result-message {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
}

.result-message.success {
    background: #26de81;
    color: white;
}

.result-message.failure {
    background: #ff4757;
    color: white;
}

.hidden {
    display: none;
}

/* Konfeti animasyonu */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background-color: #f0f;
    position: absolute;
    top: -10px;
    animation: confetti-fall 3s linear infinite;
}

@keyframes confetti-fall {
    0% { transform: translateY(-10px) rotate(0deg); }
    100% { transform: translateY(100vh) rotate(720deg); }
}
.score-badge {
    position: absolute;
    top: 20px;
    left: 30px;
    background: #ffd700;
    color: #2d3436;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    z-index: 10;
}

.emoji-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.happy-emoji, .sad-emoji, .default-emoji {
    position: absolute;
    font-size: 50px;
    transition: all 0.3s ease;
}

.happy-emoji {
    transform: scale(0);
}

.sad-emoji {
    transform: scale(0);
}

.hidden {
    display: none !important;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-30px);}
    60% {transform: translateY(-15px);}
}

@keyframes shake {
    0%, 100% {transform: translateX(0);}
    25% {transform: translateX(-10px);}
    75% {transform: translateX(10px);}
}

.bounce {
    animation: bounce 1s;
}

.shake {
    animation: shake 0.5s;
}
.admin-link {
    position: absolute;
    top: 60px;
    left: 20px;
    z-index: 10;
    text-decoration: none;
}

.admin-button {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(46, 204, 113, 0.3);
}

.admin-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
    background: #27ae60;
}
.modal {
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-button {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #636e72;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2d3436;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 2px solid #dfe6e9;
    border-radius: 8px;
    font-size: 16px;
}

.submit-btn {
    background: #00b894;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #00a187;
    transform: translateY(-2px);
}

#uploadMessage {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

#uploadMessage.success {
    background: #55efc4;
    color: #00b894;
}

#uploadMessage.error {
    background: #ff7675;
    color: #d63031;
}

.hidden {
    display: none !important;
}
.rank-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.rank-row {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.rank-row.current-user {
    background: #f0f9ff;
    font-weight: bold;
}

.pagination {
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.page-btn {
    min-width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}
.page-btn:hover {
    background: #f0f0f0;
}
.page-btn.active {
    background: #0084ff;
    color: white;
    border-color: #0084ff;
}
.page-dots {
    padding: 0 5px;
    color: #666;
}
.page-nav {
    font-size: 18px;
    font-weight: bold;
}
.score-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 20px;
}

.score-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}
.score-text {
    font-size: 2em;
    font-weight: bold;
    margin: 15px 0;
}
.username-text {
    font-size: 1.2em;
    margin: 10px 0;
}

.play-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.play-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}
.answer-reveal {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.answer-label {
    text-align: center;
    font-weight: bold;
    color: #2d3436;
    margin: 15px 0;
    font-size: 1.4em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.share-btn {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: none;
    border-radius: 8px;
    background: #0084ff;
    color: white;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
}
/* Modal görsel için özel stiller */
.image-modal-content {
    padding: 10px;
    width: 95%;
    max-width: 800px;
    background: transparent;
    position: relative;

}

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}


.comment-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.comment-content img:hover {
    transform: scale(1.02);
}

/* Görsel modalı için arka plan daha koyu olsun */
#imageModal {
    background-color: rgba(0, 0, 0, 0.9);
}

#imageModal .close-button {
    position: absolute;
    right: 15px;
    top: 5px;
    color: white;
    font-size: 32px;
    cursor: pointer;
    z-index: 10000;
}
.share-btn:hover {
    background: #0066cc;
    transform: translateY(-2px);
}
#imageModal .close-button:hover {
    color: #ddd;
}
.game-over {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    margin: 20px 0;
}

.game-over h2 {
    color: #2d3436;
    margin-bottom: 15px;
}
/* Sadece görsel modalı için özel CSS */
.comment-image-modal .comment-modal-content {
    width: 95%;
    max-width: 90vw;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.comment-modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}


.comment-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.comment-modal-close:hover {
    color: #ccc;
}


.comment-content img:hover {
    opacity: 0.9;
}
.game-over p {
    color: #636e72;
    margin-bottom: 10px;
}

.rank-row {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
}

.rank-row:hover {
    background-color: #f8f9fa;
}

.current-user {
    background-color: #e3f2fd;
    font-weight: bold;
}

.rank-number {
    width: 50px;
    color: #666;
}

.rank-username {
    flex: 1;
    margin: 0 10px;
}

.rank-score {
    width: 100px;
    text-align: right;
    color: #0084ff;
    font-weight: 600;
}
.login-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    text-align: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.login-card h2 {
    font-size: 24px;
    color: #2d3436;
    margin-bottom: 30px;
}

.login-card .form-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.login-card input {
    padding: 15px;
    border: 2px solid #dfe6e9;
    border-radius: 12px;
    font-size: 16px;
    width: 100%;
    transition: border-color 0.3s ease;
}

.login-card input:focus {
    outline: none;
    border-color: #0084ff;
}

.start-btn {
    background: #0084ff;
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 80%;
    margin: 0 auto;
}

.start-btn:hover {
    transform: translateY(-2px);
    background: #0074e0;
    box-shadow: 0 5px 15px rgba(0, 132, 255, 0.3);
}
/* style.css'e ekleyin */
.firework {
    position: fixed;
    pointer-events: none;
    z-index: 999;
}

.firework-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: explode 1.5s ease-out forwards, flicker 0.1s infinite;
    transform-origin: center;
}

@keyframes explode {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(1);
        opacity: 0;
    }
}
@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.confetti {
    position: fixed;
    animation: confettiFall 3s linear infinite;
    z-index: 1000;
    transform-origin: center;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-10vh) rotate(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(50vh) rotate(360deg) scale(1.5);
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) rotate(720deg) scale(1);
        opacity: 0;
    }
}
/* Yıldız animasyonu */
.star {
    position: absolute;
    animation: star-fall 1.5s ease-out forwards;
    color: gold;
    font-size: 20px;
    pointer-events: none;
}

@keyframes star-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .comment-container {
        padding: 10px;
    }
    
    .choice-btn {
        padding: 12px 30px;
        font-size: 1em;
    }
    
    .answer-label {
        font-size: 1.2em;
        margin: 10px 0;
    }
}