/* comms.css - Estilos para a seção Comissões */

/* Container principal */
.comms-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Tabela de Preços */
.pricing-section {
    background:
        linear-gradient(150deg, rgba(255,204,204,0.18), rgba(255,247,183,0.16), rgba(173,223,255,0.14), rgba(225,176,255,0.16)),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.06), rgba(255,255,255,0.06) 1px, transparent 1px, transparent 16px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.04) 1px, transparent 1px, transparent 20px),
        #151515;
    background-blend-mode: screen, normal, normal, normal;
    border-radius: 24px 18px 24px 12px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow:
        0 25px 55px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 250%;
    height: 250%;
    background:
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.12), transparent 24%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.08), transparent 26%);
    pointer-events: none;
    animation: paperShimmer 10s ease-in-out infinite;
}

.pricing-section::after {
    content: '';
    position: absolute;
    bottom: -16px;
    right: 2rem;
    width: 180px;
    height: 84px;
    background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 58%);
    border-radius: 0 0 22px 22px;
    transform: rotate(-6deg);
    opacity: 0.34;
    pointer-events: none;
}

.pricing-section h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

/* Grid de Preços */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: #222;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #444;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border-color: #ff4444;
}

.card-header {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 3px solid #444;
}

.card-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
}

.card-content {
    padding: 1.8rem;
    display: flex;
    gap: 1.8rem;
    flex: 1;
    min-height: 320px;
}

.prices-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding-right: 1.5rem;
    border-right: 2px solid #444;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s;
    border: 1px solid #333;
}

.price-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(8px);
    border-color: #444;
}

.price-type {
    color: #ccc;
    font-size: 1.2rem;
    font-weight: 500;
}

.price-value {
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.price-currency {
    font-size: 1rem;
    opacity: 0.9;
    display: inline-block;
}

/* Remove duplicação de sifrões */
.price-value::before {
    display: none;
}

/* Garantir que só mostre um sifrão */
.price-item .price-value .price-currency:first-child {
    display: inline;
}

.price-item .price-value .price-currency:not(:first-child) {
    display: none;
}

.example-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.example-section h4 {
    color: #aaa;
    margin: 0 0 1rem 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    text-align: center;
}

.example-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    transition: all 0.4s;
    position: relative;
    border: 3px solid #444;
}

.example-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.image-placeholder {
    color: #888;
    font-size: 1rem;
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.image-placeholder i {
    font-size: 3rem;
    opacity: 0.8;
}

.example-image[data-category="sketch"] {
    background: linear-gradient(135deg, #2a2a2a, #333333);
    border-color: #666;

}

.example-sketch {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
}

.example-image[data-category="line"] {
    background: linear-gradient(135deg, #1a3a2a, #2a4a3a);
    border-color: #4CAF50;
}

.example-image[data-category="shaded"] {
    background: linear-gradient(135deg, #3a1a1a, #4a2a2a);
    border-color: #ff6b6b;
}

/* Referência OC */
.oc-reference-card {
    background: linear-gradient(135deg, #1a3a2a, #0a2a1a);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    border: 3px solid #4CAF50;
    position: relative;
    overflow: hidden;
}

.oc-reference-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.oc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.oc-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.oc-price-tag {
    background: rgba(76, 175, 80, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    border: 3px solid #4CAF50;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.oc-price {
    color: #4CAF50;
    font-size: 2.2rem;
    font-weight: bold;
}

.oc-price-tag .price-currency {
    color: #4CAF50;
    font-size: 1.5rem;
    font-weight: bold;
}

.oc-note {
    color: #aaa;
    font-size: 1.1rem;
    margin: 0;
    padding-left: 2.5rem;
    font-weight: 500;
}

/* Nota sobre personagens extras */
.extra-char-note {
    background: linear-gradient(135deg, #1a1a2a, #0a0a1a);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-top: 2rem;
    border-left: 5px solid #9C27B0;
    position: relative;
    overflow: hidden;
}

.extra-char-note::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 150px;
    height: 300px;
    background: radial-gradient(circle, rgba(156, 39, 176, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.extra-char-note p {
    color: #9C27B0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.extra-char-note i {
    font-size: 1.5rem;
    color: #9C27B0;
}

/* Grid de Informações */
.comms-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.4s;
    border: 2px solid #333;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.info-card.can-draw {
    border-top: 5px solid #4CAF50;
    background: linear-gradient(135deg, #1a2a22, #0a1a12);
}

.info-card.cannot-draw {
    border-top: 5px solid #ff4444;
    background: linear-gradient(135deg, #2a1a1a, #1a0a0a);
}

.info-card.payment {
    border-top: 5px solid #2196F3;
    background: linear-gradient(135deg, #1a1a2a, #0a0a1a);
}

.info-card h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.info-card.can-draw h3 {
    color: #4CAF50;
}

.info-card.cannot-draw h3 {
    color: #ff4444;
}

.info-card.payment h3 {
    color: #2196F3;
}

.info-card ul {
    padding-left: 1.8rem;
    color: #ccc;
    line-height: 1.7;
    list-style: none;
}

.info-card li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
    font-size: 1.1rem;
}

.info-card.can-draw li::before {
    content: "✓";
    color: #4CAF50;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.3rem;
}

.info-card.cannot-draw li::before {
    content: "✗";
    color: #ff4444;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.3rem;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.payment-method {
    background: rgba(33, 150, 243, 0.15);
    color: #2196F3;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    border: 2px solid #2196F3;
    transition: all 0.3s;
}

.payment-method:hover {
    background: rgba(33, 150, 243, 0.25);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

/* Seção de Regras */
.rules-section {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 2px solid #333;
}

.rules-section h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.rule-item {
    display: flex;
    gap: 1.5rem;
    background: linear-gradient(135deg, #222, #1a1a1a);
    padding: 1.8rem;
    border-radius: 12px;
    border-left: 5px solid #ff6b6b;
    transition: all 0.4s;
    align-items: flex-start;
    border: 2px solid #333;
}

.rule-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: #444;
}

.rule-icon {
    color: #ff6b6b;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 107, 0.15);
    border-radius: 50%;
    flex-shrink: 0;
}

.rule-content {
    flex: 1;
}

.rule-content h4 {
    color: #fff;
    margin: 0 0 0.8rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.rule-content p {
    color: #ccc;
    margin: 0;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Botões de Ação */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.4s;
    text-align: center;
    justify-content: center;
    min-width: 320px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.action-btn i {
    font-size: 1.5rem;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.action-btn:hover::before {
    left: 100%;
}

.primary-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff4444);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.primary-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.5);
}

.secondary-btn {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.secondary-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(76, 175, 80, 0.5);
}

/* Aviso Extra */
.extra-note {
    background: linear-gradient(135deg, #2a2a1a, #1a1a0a);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-top: 2rem;
    border-left: 5px solid #ffc107;
    position: relative;
    overflow: hidden;
}

.extra-note::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 150px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.extra-note p {
    color: #ffc107;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.extra-note i {
    font-size: 1.5rem;
}

/* Indicador de Idioma para Moeda */
body[data-currency="usd"] .price-currency::before {
    content: "$";
    display: none;
}

body[data-currency="brl"] .price-currency::before {
    content: "R$";
    display: none;
}

/* Responsividade */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .pricing-grid,
    .comms-info-grid {
        grid-template-columns: 1fr;
    }
    
    .card-content {
        flex-direction: column;
        gap: 2rem;
        min-height: auto;
    }
    
    .prices-section {
        border-right: none;
        border-bottom: 2px solid #444;
        padding-right: 0;
        padding-bottom: 2rem;
    }
    
    .example-section {
        min-width: auto;
        min-height: 250px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .action-btn {
        width: 100%;
        max-width: 350px;
        min-width: auto;
    }
    
    .rule-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 1rem;
    }
    
    .rule-icon {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .pricing-section,
    .rules-section {
        padding: 1.5rem;
    }
    
    .card-header,
    .oc-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .oc-price-tag {
        align-self: center;
    }
    
    .action-btn {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }
}
@keyframes paperShimmer {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}
