/* Kazandıran Çark Sayfası - Yeniden Tasarlandı */

/* Main Wheel Section */
.wheel-main-section {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
    margin: 60px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.wheel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.wheel-wrapper {
    position: relative;
    width: 450px;
    height: 450px;
    margin: 0 auto;
    background: #1a1a2e;
    border-radius: 50%;
    border: 10px solid #ffd700;
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.5), 
        0 0 30px rgba(255, 215, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

#wheel-canvas {
    width: 100%;
    height: 100%;
}

.wheel-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 60px;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    background: linear-gradient(180deg, #ffeb3b, #ffd700);
    z-index: 15;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.5));
    border-radius: 5px;
}

.wheel-pointer::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.wheel-controls {
    text-align: center;
}

.spin-button {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    border: none;
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 25px rgba(255, 107, 107, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
    min-width: 250px;
    min-height: 70px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

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

.spin-button:hover:not(:disabled)::before {
    left: 100%;
}

.spin-button:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 35px rgba(255, 107, 107, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.spin-button:disabled {
    background: linear-gradient(45deg, #6c757d, #8e9297);
    cursor: not-allowed;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
    transform: none;
}

.countdown-timer {
    display: block;
    font-size: 14px;
    margin-top: 8px;
    color: #ffd700;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Wheel Stats Below Wheel */
.wheel-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 450px;
}

.stat-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

.stat-number {
    font-size: 24px;
    font-weight: 900;
    color: #ffd700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 12px;
    color: #e5e7eb;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Right Sidebar */
.wheel-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.prize-pool-card, .rules-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.9), rgba(17, 24, 39, 0.9));
    border-radius: 20px;
    padding: 25px;
    border: 2px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.prize-pool-card::before, .rules-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: all 0.6s ease;
}

.prize-pool-card:hover::before, .rules-card:hover::before {
    left: 100%;
}

.prize-pool-card:hover, .rules-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.2);
}

.card-header {
    margin-bottom: 20px;
}

.card-header h3 {
    color: #3b82f6;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Prize Pool */
.total-pool {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.pool-amount {
    font-size: 28px;
    font-weight: 900;
    color: #ffd700;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pool-label {
    font-size: 12px;
    color: #e5e7eb;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.prize-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.prize-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.prize-icon {
    font-size: 18px;
}

.prize-name {
    color: #e5e7eb;
    font-weight: 600;
    flex: 1;
    text-align: left;
    margin-left: 10px;
    font-size: 14px;
}

.prize-chance {
    color: #10b981;
    font-weight: 700;
    font-size: 14px;
}

/* Rules List */
.rules-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.rule-item:hover {
    background: rgba(16, 185, 129, 0.2);
    transform: translateX(5px);
}

.rule-icon {
    font-size: 16px;
    width: 24px;
    text-align: center;
}

.rule-item span:last-child {
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 500;
}

/* Recent Winners Section */
.recent-winners-section {
    margin: 60px 0;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.5), rgba(17, 24, 39, 0.5));
    padding: 40px;
    border-radius: 25px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

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

.section-header h2 {
    color: #3b82f6;
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.live-indicator {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.update-badge {
    font-size: 12px;
    color: #10b981;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

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

.winner-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.winner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

.winner-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
}

.winner-info {
    flex: 1;
}

.winner-name {
    color: #e5e7eb;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 16px;
}

.winner-time {
    color: #9ca3af;
    font-size: 13px;
}

.winner-prize {
    color: #ffd700;
    font-weight: 900;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Recommended Sites Section */
.recommended-section {
    margin: 60px 0;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.5), rgba(17, 24, 39, 0.5));
    padding: 40px;
    border-radius: 25px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.site-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border-radius: 20px;
    padding: 25px;
    border: 2px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.site-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transition: all 0.6s ease;
}

.site-card:hover::before {
    left: 100%;
}

.site-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.site-logo {
    width: 80px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.site-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.site-info h4 {
    color: #10b981;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.site-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.rating-value {
    color: #10b981;
    font-weight: 900;
    font-size: 16px;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #374151;
    font-size: 12px;
}

.star.filled {
    color: #10b981;
}

.site-bonus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    margin-bottom: 20px;
    font-size: 14px;
    color: #10b981;
    font-weight: 600;
}

.bonus-icon {
    font-size: 16px;
}

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

.site-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-btn.primary {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    border: 2px solid #10b981;
}

.site-btn.secondary {
    background: transparent;
    color: #10b981;
    border: 2px solid #10b981;
}

.site-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

/* FAQ Section */
.faq-section {
    margin: 60px 0;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.5), rgba(17, 24, 39, 0.5));
    padding: 40px;
    border-radius: 25px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

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

.faq-item {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.1));
    border-radius: 15px;
    border: 2px solid rgba(139, 92, 246, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(139, 92, 246, 0.4);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(139, 92, 246, 0.05);
}

.faq-question:hover {
    background: rgba(139, 92, 246, 0.1);
}

.faq-question span:first-child {
    color: #e5e7eb;
    font-weight: 600;
    font-size: 16px;
    flex: 1;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(139, 92, 246, 0.05);
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 20px;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
    background: #8b5cf6;
    color: white;
}

.faq-answer p {
    color: #e5e7eb;
    line-height: 1.6;
    margin: 0;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.5s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header h2 {
    color: #ffd700;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.prize-animation {
    font-size: 80px;
    margin: 25px 0;
    animation: bounce 1s infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

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

.modal-body p {
    color: #e5e7eb;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 500;
}

.modal-close-btn {
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-close-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(45deg, #2563eb, #1e40af);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .wheel-main-section {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .wheel-sidebar {
        max-width: 600px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .wheel-wrapper {
        width: 350px;
        height: 350px;
    }
    
    .spin-button {
        padding: 15px 35px;
        font-size: 16px;
        min-width: 200px;
        min-height: 60px;
    }
    
    .wheel-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .wheel-sidebar {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sites-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .winners-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 24px;
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .wheel-wrapper {
        width: 300px;
        height: 300px;
    }
    
    .spin-button {
        padding: 12px 25px;
        font-size: 14px;
        min-width: 180px;
        min-height: 50px;
    }
    
    .prize-pool-card, .rules-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .pool-amount {
        font-size: 24px;
    }
    
    .site-card {
        padding: 20px;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-question span:first-child {
        font-size: 14px;
    }
    
    .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .prize-animation {
        font-size: 60px;
    }
}
