/* General Styling */
.cg-section {
    font-family: 'Georgia', 'Times New Roman', serif;
    max-width: auto;
    margin: 0 auto;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.cg-review-section {
    position: relative;
}

.cg-section-title {
    font-size: 2.8em;
    color: #1a202c;
    text-align: center;
    margin-bottom: 45px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.cg-section-title span:first-child {
    font-size: 1.3em;
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(5deg); }
}

/* Review Intro */
.cg-review-intro {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 35px;
    border-left: 6px solid #ff6b6b;
    border-radius: 12px;
    margin-bottom: 35px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.cg-review-intro::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
}

.cg-review-intro p {
    font-size: 1.15em;
    line-height: 1.9;
    color: #2d3748;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Summary Box */
.cg-review-summary-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 35px;
    border-radius: 18px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cg-review-summary-box:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.cg-review-summary-box h3 {
    font-size: 1.7em;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cg-review-summary-box p {
    font-size: 1.08em;
    line-height: 1.8;
    margin-bottom: 15px;
}

.cg-review-summary-box p:last-child {
    margin-bottom: 0;
}

/* Section Headers */
h3 {
    font-size: 1.9em;
    color: #1a202c;
    font-weight: 700;
    border-bottom: 4px solid #4299e1;
    padding-bottom: 12px;
    display: inline-block;
    margin-bottom: 25px;
}

/* Review Grid */
.cg-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.cg-review-card {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #2d3748;
    padding: 28px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(250, 112, 154, 0.35);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.cg-review-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    transition: all 0.5s ease;
    opacity: 0;
}

.cg-review-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 35px rgba(250, 112, 154, 0.5);
}

.cg-review-card:hover::before {
    opacity: 1;
    top: -20%;
    right: -20%;
}

.cg-review-card strong {
    display: block;
    font-size: 1.25em;
    margin-bottom: 14px;
    border-bottom: 2px solid rgba(45, 55, 72, 0.3);
    padding-bottom: 10px;
    font-weight: 700;
}

/* Life Lessons List */
ul[style*="background: #fff"] {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%) !important;
    padding: 30px 45px !important;
    border: none !important;
    border-left: 5px solid #48bb78 !important;
    border-radius: 12px !important;
    margin-bottom: 35px !important;
    line-height: 1.9 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
}

ul[style*="background: #fff"] li {
    font-size: 1.08em;
    color: #2d3748;
    margin-bottom: 15px;
}

ul[style*="background: #fff"] li:last-child {
    margin-bottom: 0;
}

ul[style*="background: #fff"] strong {
    color: #2f855a;
    font-weight: 700;
}

/* Audience Flex Container */
.cg-audience-flex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.cg-audience-col {
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.cg-audience-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.cg-audience-good {
    background: linear-gradient(135deg, #d4fc79 0%, #96e6a1 100%);
    border-left: 6px solid #166534;
}

.cg-audience-bad {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    border-left: 6px solid #991b1b;
}

.cg-audience-col h4 {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 18px;
    font-weight: 700;
}

.cg-audience-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cg-audience-col ul li {
    padding-left: 25px;
    margin-bottom: 12px;
    position: relative;
    font-size: 1.05em;
    line-height: 1.6;
    color: #2d3748;
}

.cg-audience-col ul li:last-child {
    margin-bottom: 0;
}

.cg-audience-good ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #166534;
    font-weight: 900;
    font-size: 1.2em;
}

.cg-audience-bad ul li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #991b1b;
    font-weight: 900;
    font-size: 1.2em;
}

/* Rating Table */
.cg-review-table {
    width: 100%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    margin-bottom: 40px;
    border-collapse: separate;
    border-spacing: 0;
}

.cg-review-table tr {
    transition: background 0.3s ease;
}

.cg-review-table tr:hover {
    background: #f7fafc;
}

.cg-review-table th {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    padding: 22px 25px;
    text-align: left;
    font-size: 1.1em;
    font-weight: 700;
    width: 32%;
}

.cg-review-table td {
    padding: 22px 25px;
    color: #2d3748;
    font-size: 1.05em;
    line-height: 1.7;
    border-bottom: 1px solid #e2e8f0;
}

.cg-review-table tr:last-child td {
    border-bottom: none;
}

.cg-review-table td strong {
    color: #e53e3e;
    font-size: 1.2em;
    font-weight: 700;
}

.cg-review-table td em {
    color: #805ad5;
    font-style: italic;
}

/* FAQ Section */
.cg-review-faq {
    background: white;
    margin-bottom: 22px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cg-review-faq:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    border-color: #fbbf24;
    transform: translateX(5px);
}

.cg-review-q {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a202c;
    padding: 20px 28px;
    font-weight: 800;
    font-size: 1.12em;
    letter-spacing: 0.3px;
}

.cg-review-a {
    padding: 22px 28px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    color: #4a5568;
    font-size: 1.06em;
    line-height: 1.8;
}

.cg-review-a strong {
    color: #e53e3e;
    font-weight: 700;
}

/* Quote Box */
.cg-review-quote {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 40px 50px;
    border-radius: 18px;
    font-size: 1.35em;
    font-style: italic;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 10px 35px rgba(79, 172, 254, 0.5);
    position: relative;
    line-height: 1.7;
}

.cg-review-quote::before {
    content: '"';
    font-size: 5em;
    position: absolute;
    top: -15px;
    left: 25px;
    opacity: 0.25;
    font-family: Georgia, serif;
    font-weight: 700;
}

.cg-review-quote::after {
    content: '"';
    font-size: 5em;
    position: absolute;
    bottom: -50px;
    right: 25px;
    opacity: 0.25;
    font-family: Georgia, serif;
    font-weight: 700;
}

.cg-review-quote span {
    display: block;
    margin-top: 15px;
}

/* Verdict Box */
.cg-verdict-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.cg-verdict-item {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    color: white;
    padding: 28px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(161, 140, 209, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.cg-verdict-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.5s ease;
}

.cg-verdict-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(161, 140, 209, 0.6);
}

.cg-verdict-item:hover::before {
    opacity: 1;
    top: -10%;
    left: -10%;
}

.cg-verdict-item div:first-child {
    font-size: 0.95em;
    opacity: 0.95;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.cg-verdict-item div:last-child {
    font-size: 1.5em;
    font-weight: 800;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Author Context Section */
div[style*="margin-top: 40px"] {
    margin-top: 45px !important;
    padding: 35px !important;
    border-top: 3px solid #cbd5e0 !important;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%) !important;
    border-radius: 15px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
}

div[style*="margin-top: 40px"] h3 {
    color: #1a202c !important;
    margin-bottom: 25px !important;
}

div[style*="margin-top: 40px"] p {
    font-size: 1.08em;
    line-height: 1.85;
    color: #4a5568;
    margin-bottom: 20px;
}

div[style*="margin-top: 40px"] p:last-child {
    margin-bottom: 0;
}

div[style*="margin-top: 40px"] strong {
    color: #2d3748;
    font-weight: 700;
    font-size: 1.12em;
}

div[style*="margin-top: 40px"] em {
    color: #805ad5;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cg-section {
        padding: 30px 20px;
    }
    
    .cg-section-title {
        font-size: 2.2em;
        gap: 10px;
    }
    
    .cg-review-grid {
        grid-template-columns: 1fr;
    }
    
    .cg-audience-flex {
        grid-template-columns: 1fr;
    }
    
    .cg-verdict-box {
        grid-template-columns: 1fr;
    }
    
    .cg-review-table th,
    .cg-review-table td {
        padding: 18px 20px;
        font-size: 1em;
    }
    
    .cg-review-table th {
        width: auto;
    }
    
    .cg-review-quote {
        padding: 30px 25px;
        font-size: 1.2em;
    }
    
    ul[style*="background: #fff"] {
        padding: 25px 30px !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .cg-section {
        background: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
    }
    
    .cg-section-title {
        font-size: 2.2em;
        gap: 10px;
    }
    
    .cg-review-intro,
    .cg-review-summary-box {
        padding: 25px;
        width: 95%;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cg-review-grid {
        grid-template-columns: 1fr;
    }
    
    .cg-audience-flex {
        grid-template-columns: 1fr;
    }
    
    .cg-verdict-box {
        grid-template-columns: 1fr;
    }
    
    .cg-review-table th,
    .cg-review-table td {
        padding: 18px 20px;
        font-size: 1em;
    }
    
    .cg-review-table th {
        width: auto;
    }
    
    .cg-review-quote {
        padding: 30px 25px;
        font-size: 1.2em;
    }
    
    ul[style*="background: #fff"] {
        padding: 25px 30px !important;
    }
}

@media (max-width: 480px) {
    .cg-section {
        background: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
    }
    
    .cg-section-title {
        font-size: 1.8em;
        flex-direction: column;
        gap: 5px;
    }
    
    .cg-review-intro,
    .cg-review-summary-box {
        padding: 25px;
        width: 95%;
        max-width: 95%;
    }
    
    h3 {
        font-size: 1.5em;
    }
}