.sponsor-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    position: relative;
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, rgba(102,126,234,0) 0%, rgba(102,126,234,0.8) 50%, rgba(102,126,234,0) 100%);
    flex: 1;
    max-width: 200px;
}

.section-title {
    margin: 0 20px;
    color: #ffffff;
    font-weight: 700;
    font-size: 2.2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title-icon {
    color: #667eea;
    margin: 0 10px;
}

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

.sponsor-card {
    perspective: 1000px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
}

.sponsor-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 12px;
}

.card-front {
    background: white;
}

.card-back {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: rotateY(180deg);
    color: white;
}

.sponsor-logo {
    max-width: 100%;
    max-height: 185px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.sponsor-card:hover .sponsor-logo {
    transform: scale(1.05);
}

.card-back h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    text-align: center;
}

.card-back p {
    margin: 0 0 15px;
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.9;
}

.sponsor-btn {
    display: inline-block;
    padding: 8px 20px;
    background: white;
    color: #667eea;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.sponsor-btn:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

.external-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(102,126,234,0.2);
    color: #667eea;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.cta-card .card-front {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: white;
}

.cta-card .card-back {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.cta-btn {
    background: #2c3e50;
    color: white;
}

.sponsor-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
}

.external-link i {
    margin-left: 5px;
}

.user-avatar {
    width: 100%;
    border-radius: 50%;
    border: 3px solid #3d4354;
}

.user-actions .nk-btn {
    margin-bottom: 10px;
    width: 100%;
}

.toggle-password {
    cursor: pointer;
}

.password-field .input-group {
    position: relative;
}

.social-login ul {
    justify-content: center;
}

.login-links a {
    display: block;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .sponsor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .sponsor-card {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .sponsor-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
}
