/* User Rating Management Section Styles */
.rating-system-section {
    position: relative;
    padding: 100px 0;
    background-color: #0c0c0c;
    color: #fff;
    overflow: hidden;
    margin-top: -1px;
}

.rating-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.rating-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.15;
}

.rating-system-section .glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
}

.rating-system-section .orb1 {
    top: 15%;
    right: 15%;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 0, 0, 0.15);
    animation: ratingFloat 14s ease-in-out infinite alternate;
}

.rating-system-section .orb2 {
    bottom: 10%;
    left: 10%;
    width: 400px;
    height: 400px;
    background-color: rgba(255, 0, 0, 0.1);
    animation: ratingFloat 18s ease-in-out infinite;
}

.rating-circuit-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.3), transparent);
    height: 1px;
}

.line1 {
    top: 25%;
    left: 0;
    width: 100%;
    animation: circuitGlow 8s infinite alternate;
}

.line2 {
    top: 75%;
    left: 0;
    width: 100%;
    animation: circuitGlow 10s infinite alternate-reverse;
}

.circuit-node {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 0, 0, 0.8);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
    animation: nodeFlash 4s infinite;
}

.node1 {
    top: 25%;
    left: 30%;
    animation-delay: 0.5s;
}

.node2 {
    top: 75%;
    right: 30%;
    animation-delay: 1.5s;
}

.rating-system-section .container {
    position: relative;
    z-index: 1;
}

.rating-system-section .section-header {
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.rating-system-section .section-header h2 {
    color: #fff;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 15px;
}

.rating-system-section .highlight-text {
    color: #FF0000;
    font-weight: 700;
}

.rating-system-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    font-weight: 500;
}

.rating-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.rating-intro p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0rem;
    line-height: 1.6;
}

.rating-how-it-works {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

.rating-how-it-works h3 {
    color: #fff;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.rating-how-it-works h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.7), transparent);
}

.rating-process-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.rating-visualization {
    display: flex;
    justify-content: center;
    position: relative;
    margin-bottom: 30px;
}

.rating-image-placeholder {
    width: 500px;
    height: 300px;
    background-color: rgba(40, 40, 40, 0.6);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 0, 0.2);
    background-image: url('../assets/rating-stars.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.rating-image-placeholder .image-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 0, 0, 0.2), 
        rgba(255, 255, 255, 0.1), 
        transparent
    );
    animation: ratingShine 5s infinite;
}

.rating-animation {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
}

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

.star {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #303030, #1a1a1a);
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    opacity: 0.4;
}

.star i {
    color: rgba(255, 0, 0, 0.6);
    font-size: 20px;
}

.star.active {
    background: linear-gradient(135deg, #ff3333, #cc0000);
    transform: translateY(-10px);
    opacity: 1;
}

.star.active i {
    color: #fff;
}

.star1 {
    animation: starLight 8s infinite 0.2s;
}

.star2 {
    animation: starLight 8s infinite 0.4s;
}

.star3 {
    animation: starLight 8s infinite 0.6s;
}

.star4 {
    animation: starLight 8s infinite 0.8s;
}

.star5 {
    animation: starLight 8s infinite 1s;
}

.rating-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.rating-feature {
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.6), rgba(20, 20, 20, 0.8));
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(255, 0, 0, 0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rating-feature:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.15);
}

.rating-feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff3333, #cc0000);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.rating-feature-icon i {
    font-size: 28px;
    color: #fff;
}

.rating-feature-content {
    flex: 1;
}

.rating-feature h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.rating-feature p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.rating-benefits {
    position: relative;
    z-index: 1;
}

.rating-benefits h3 {
    color: #fff;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.rating-benefits h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.7), transparent);
}

.benefits-container {
    margin-bottom: 40px;
}

.benefit-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background: linear-gradient(145deg, rgba(35, 35, 35, 0.6), rgba(15, 15, 15, 0.8));
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.2);
}

.benefit-card:hover .benefit-glow {
    opacity: 0.15;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff3333, #cc0000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.benefit-icon i {
    font-size: 32px;
    color: #fff;
}

.benefit-card h4 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.benefit-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(255, 0, 0, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.rating-conclusion {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
}

.rating-conclusion p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 500;
}

.rating-cta {
    text-align: center;
    margin-top: 30px;
}

.rating-cta .btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.rating-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}

/* Animations */
@keyframes ratingFloat {
    0% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(15px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

@keyframes circuitGlow {
    0% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        opacity: 0.1;
    }
}

@keyframes nodeFlash {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

@keyframes ratingShine {
    0% {
        left: -100%;
    }
    30% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes starLight {
    0%, 40% {
        background: linear-gradient(135deg, #303030, #1a1a1a);
        transform: translateY(0);
        opacity: 0.4;
    }
    5%, 35% {
        background: linear-gradient(135deg, #ff3333, #cc0000);
        transform: translateY(-10px);
        opacity: 1;
    }
    50%, 100% {
        background: linear-gradient(135deg, #303030, #1a1a1a);
        transform: translateY(0);
        opacity: 0.4;
    }
}

/* Responsive styles */
@media (max-width: 992px) {
    .rating-features-grid,
    .benefit-group {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rating-image-placeholder {
        width: 450px;
    }
}

@media (max-width: 768px) {
    .rating-system-section {
        padding: 70px 0;
    }
    
    .rating-system-section .section-header h2 {
        font-size: 2.2rem;
    }
    
    .rating-features-grid,
    .benefit-group {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .rating-how-it-works h3,
    .rating-benefits h3 {
        font-size: 1.8rem;
    }
    
    .rating-image-placeholder {
        width: 100%;
        max-width: 350px;
        height: 220px;
    }
    
    .rating-stars {
        gap: 5px;
    }
    
    .star {
        width: 35px;
        height: 35px;
    }
    
    .rating-feature,
    .benefit-card {
        padding: 25px 20px;
    }
    
    .rating-feature-icon,
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .rating-feature-icon i,
    .benefit-icon i {
        font-size: 24px;
    }
} 