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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 20px;
}

.container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 450px;
    width: 100%;
    text-align: center;
}

/* ============================================ */
/* 🎯 LOGO - 400x120px DÜZENLEMESİ             */
/* ============================================ */
.logo {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 400px;          /* Tam genişlik */
    max-width: 100%;       /* Taşmayı önle */
    height: auto;          /* Orantılı */
    max-height: 120px;     /* Maksimum yükseklik */
    object-fit: contain;   /* Logo bozulmadan sığsın */
    display: block;
}

/* ============================================ */

h1 {
    font-size: 24px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 25px;
}

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

input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 18px;
    text-align: center;
    letter-spacing: 3px;
    transition: all 0.3s;
    text-transform: uppercase;
}

input:focus {
    outline: none;
    border-color: #ee5a24;
    background: rgba(255, 255, 255, 0.1);
}

input::placeholder {
    color: #555;
    letter-spacing: 1px;
    font-size: 14px;
}

button {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ee5a24, #ff6b6b);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(238, 90, 36, 0.3);
}

.error-message {
    background: rgba(255, 0, 0, 0.15);
    border: 1px solid #ff6b6b;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 20px;
    color: #ff6b6b;
    font-size: 14px;
}

.info-note {
    margin-top: 25px;
    color: #666;
    font-size: 13px;
}

/* ============================================ */
/* Dashboard Sayfası                           */
/* ============================================ */
.dashboard .success-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.device-info {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
}

.device-info p {
    margin: 0;
    color: #ccc;
}

.subscription-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.subscription-card h3 {
    color: #ccc;
    font-size: 16px;
    margin-bottom: 15px;
}

.dates p {
    margin: 8px 0;
    color: #ccc;
}

.days {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logout {
    display: inline-block;
    margin-top: 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.logout:hover {
    color: #fff;
}

/* ============================================ */
/* 📱 Mobil Uyumluluk                          */
/* ============================================ */

/* Orta ekran (tablet) */
@media (max-width: 768px) {
    .container {
        max-width: 400px;
        padding: 30px;
    }
    
    .logo img {
        width: 350px;
        max-height: 105px;
    }
}

/* Küçük ekran (telefon) */
@media (max-width: 480px) {
    .container {
        padding: 25px;
        max-width: 100%;
        margin: 10px;
    }
    
    .logo img {
        width: 280px;
        max-height: 84px;
    }
    
    .input-group {
        flex-direction: column;
        gap: 12px;
    }
    
    button {
        width: 100%;
        padding: 14px;
    }
    
    input {
        font-size: 16px;
        padding: 14px;
        letter-spacing: 2px;
    }
    
    h1 {
        font-size: 20px;
    }
    
    .days {
        font-size: 32px;
    }
    
    .subscription-card {
        padding: 20px;
    }
}

/* Çok küçük ekran */
@media (max-width: 360px) {
    .container {
        padding: 18px;
    }
    
    .logo img {
        width: 220px;
        max-height: 66px;
    }
    
    h1 {
        font-size: 18px;
    }
    
    .days {
        font-size: 28px;
    }
    
    .subscription-card h3 {
        font-size: 14px;
    }
}