﻿/* Tüm sayfa için temel ayarlar */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 15px;
    color: #2c3e50;
    margin: 0;
}

/* Ana içerik kutusu */
.sonuc-container {
    background: linear-gradient(145deg, #ffffff, #f2f2f2);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    text-align: center;
    width: 100%;
    max-width: 600px;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.8s ease-out;
    transition: all 0.3s ease;
    border: 1px solid rgba(52, 152, 219, 0.1);
}

    /* Holografik shimmer efekti */
    .sonuc-container::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(52, 152, 219, 0.12), transparent);
        animation: shimmer 4s infinite linear;
        pointer-events: none;
        opacity: 0.6;
        z-index: 1;
    }

    /* Mesaj stili */
    .sonuc-container p {
        font-size: clamp(24px, 5vw, 36px);
        color: #2c3e50;
        font-weight: 600;
        margin: 0;
        padding: 0;
        text-align: center;
        line-height: 1.4;
        text-shadow: 0 0 10px rgba(52, 152, 219, 0.25);
        position: relative;
        z-index: 2;
    }

        /* QR Kod ikonu için özel stil */
        .sonuc-container p::before {
            content: '📱';
            display: block;
            font-size: clamp(40px, 10vw, 60px);
            margin-bottom: 20px;
            animation: pulse 2s infinite ease-in-out;
            filter: drop-shadow(0 0 8px rgba(52, 152, 219, 0.4));
        }

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-25px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Hover efekti */
.sonuc-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22);
}

/* Küçük ekranlar için responsive ayarlar */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .sonuc-container {
        padding: 30px 20px;
        border-radius: 16px;
        margin: 10px;
    }

        .sonuc-container p {
            font-size: clamp(20px, 6vw, 28px);
        }

            .sonuc-container p::before {
                font-size: clamp(35px, 12vw, 50px);
                margin-bottom: 15px;
            }
}

/* Çok küçük ekranlar */
@media (max-width: 320px) {
    .sonuc-container {
        padding: 25px 15px;
        border-radius: 14px;
    }

        .sonuc-container p {
            font-size: 18px;
        }

            .sonuc-container p::before {
                font-size: 30px;
                margin-bottom: 12px;
            }
}

/* Tabletlere özel ayarlar */
@media (min-width: 768px) and (max-width: 1024px) {
    .sonuc-container {
        max-width: 500px;
        padding: 45px 35px;
    }

        .sonuc-container p {
            font-size: 28px;
        }
}

/* Büyük ekranlar */
@media (min-width: 1200px) {
    .sonuc-container {
        max-width: 650px;
        padding: 50px 40px;
    }

        .sonuc-container p {
            font-size: 32px;
        }

            .sonuc-container p::before {
                font-size: 65px;
                margin-bottom: 25px;
            }
}

/* Koyu tema desteği (opsiyonel) */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(145deg, #2c3e50, #34495e);
        color: #ecf0f1;
    }

    .sonuc-container {
        background: linear-gradient(145deg, #34495e, #2c3e50);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    }

        .sonuc-container p {
            color: #ecf0f1;
            text-shadow: 0 0 12px rgba(52, 152, 219, 0.5);
        }
}
