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

html {
    color-scheme: light only !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    min-height: 100vh;
    color: #333 !important;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Dark mode override - Force light mode */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        color: #333 !important;
    }
    
    .action-btn {
        background: rgba(255, 255, 255, 0.95) !important;
    }
    
    .center-logo {
        background: rgba(255, 255, 255, 0.95) !important;
    }
    
    .feedback-section {
        background: rgba(255, 255, 255, 0.95) !important;
    }
    
    .submit-btn {
        background: linear-gradient(45deg, #667eea, #764ba2) !important;
        color: white !important;
    }
}

.container {
    width: 100%;
    max-width: 100vw;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

/* Main Layout - Logo at Center with Buttons Around */
.main-layout {
    position: relative;
    width: 100%;
    height: 373px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    border: none;
    outline: none;
}

/* Center Logo */
.center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 50%;
    width: 180px;
    height: 180px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(10px);
}

.center-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
}

.center-logo h1 {
    font-size: 1.2rem;
    color: #333;
    font-weight: 700;
    margin-top: 5px;
    text-align: center;
}

/* Buttons Circle */
.buttons-circle {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Action Buttons */
.action-btn {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(10px);
    z-index: 5;
}

.action-btn:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    z-index: 15;
}

.action-btn.top:hover {
    transform: translate(-50%, -50%) scale(1.2) translate(-10px, 10px);
}

.action-btn.top-right:hover {
    transform: translate(-50%, -50%) scale(1.2) translate(0, 10px);
}

.action-btn.right:hover {
    transform: translate(-50%, -50%) scale(1.2) translate(0, 10px);
}

.action-btn.bottom-right:hover {
    transform: translate(-50%, -50%) scale(1.2) translate(0, 10px);
}

.action-btn.bottom:hover {
    transform: translate(-50%, -50%) scale(1.2) translate(10px, 10px);
}

.action-btn:active {
    transform: translate(-50%, -50%) scale(0.9);
}

/* Button Positions - Circle Around Logo */
/* Logo at 50%, 50% (0,0) */
/* Buttons at radius 150px (distance from logo center) */
/* Angles: 180°, 135°, 90° (top), 45°, 0° */

.action-btn.top {
    /* First button: x=-10, y=0 equivalent (180°) */
    top: 50%;
    left: calc(50% - 150px);
    transform: translate(-50%, -50%);
}

.action-btn.top-right {
    /* x~-10, y~10 (135°) */
    top: calc(50% - 106px);
    left: calc(50% - 106px);
    transform: translate(-50%, -50%);
}

.action-btn.right {
    /* Top button: x=0, y=-10 (90°) - APEX */
    top: calc(50% - 150px);
    left: 50%;
    transform: translate(-50%, -50%);
}

.action-btn.bottom-right {
    /* x~10, y~10 (45°) */
    top: calc(50% - 106px);
    left: calc(50% + 106px);
    transform: translate(-50%, -50%);
}

.action-btn.bottom {
    /* Last button: x=10, y=0 (0°) */
    top: 50%;
    left: calc(50% + 150px);
    transform: translate(-50%, -50%);
}

.action-icon {
    font-size: 1.8rem;
    color: white;
}

/* Button Colors */
.action-btn.top .action-icon { color: #007bff !important; }
.action-btn.top-right .action-icon { color: #25D366 !important; }
.action-btn.right .action-icon { 
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}
.action-btn.bottom-right .action-icon { color: #EA4335 !important; }
.action-btn.bottom .action-icon { color: #4285F4 !important; }

/* Feedback Form */
.feedback-section {
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 15px;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(10px);
    margin-top: 20px;
}

.feedback-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 1.3rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

/* Rating */
.rating {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.rating input[type="radio"] {
    display: none;
}

.rating label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    transition: color 0.2s ease;
}

/* Default: all stars gray */
.rating input[type="radio"] ~ label {
    color: #ddd;
}

/* Selected: stars up to checked radio are yellow */
.rating input[type="radio"]:checked ~ label {
    color: #ffc107;
}

/* When hovering, show stars up to hovered star (before the hovered one) */
.rating:hover label {
    color: #ffc107;
}

.rating:hover label:hover ~ label {
    color: #ddd;
}

.submit-btn {
    background: linear-gradient(45deg, #667eea, #764ba2) !important;
    color: white !important;
    border: none !important;
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    padding: 10px;
    margin-top: auto;
}

/* Success/Error Messages */
.message {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .main-layout {
        height: 400px;
        max-width: 100%;
    }
    
    .center-logo {
        width: 150px;
        height: 150px;
    }
    
    .center-logo img {
        width: 100px;
        height: 100px;
    }
    
    .center-logo h1 {
        font-size: 1rem;
    }
    
    .action-btn {
        width: 60px;
        height: 60px;
    }
    
    .action-icon {
        font-size: 1.5rem;
    }
}

/* Mobil için buton mesafeleri - 750px ve altı için radius 120px */
@media (max-width: 750px) {
    /* 120px radius için trigonometrik hesaplar */
    .action-btn.top {
        left: calc(50% - 120px);
    }
    
    .action-btn.top-right {
        top: calc(50% - 85px);
        left: calc(50% - 85px);
    }
    
    .action-btn.right {
        top: calc(50% - 120px);
    }
    
    .action-btn.bottom-right {
        top: calc(50% - 85px);
        left: calc(50% + 85px);
    }
    
    .action-btn.bottom {
        left: calc(50% + 120px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .main-layout {
        height: 350px;
    }
    
    .center-logo {
        width: 120px;
        height: 120px;
    }
    
    .center-logo img {
        width: 80px;
        height: 80px;
    }
    
    .center-logo h1 {
        font-size: 0.9rem;
        margin-top: 3px;
    }
    
    .action-btn {
        width: 50px;
        height: 50px;
    }
    
    .action-icon {
        font-size: 1.3rem;
    }
    
    .feedback-section {
        padding: 15px;
    }
}
