/* /home/cosplay.black/public_html/wp-content/themes/king/layouts/cosplay-block.css */

:root {
    --primary-dark: #1a1a1a;
    --secondary-dark: #1a1a1a;
    --accent-color: #ff2d55;
    --text-primary: #ffffff;
    --text-secondary: #86868b;
    --glass-bg: rgba(28, 28, 30, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
}

.cosplay-block {
    background-color: var(--primary-dark);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
}


.cosplay-block .verified-badge {
    color: var(--accent-color);
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.cosplay-block .social-btn {
    transition: all 0.3s ease;
    border-radius: 20px;
    padding: 8px 15px;
    border: none;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    width: 100%;
    margin: 0;
    font-size: 0.9rem;
    white-space: nowrap;
    min-height: 36px;
    max-width: 200px;
    color: white;
    margin: 0 auto;
}

.cosplay-block .social-btn i {
    font-size: 1.1rem;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cosplay-block .social-btn span {
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    font-size: 0.9rem;
}

.cosplay-block .social-btn.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.cosplay-block .social-btn.twitter {
    background: linear-gradient(45deg, #1DA1F2, #14171A);
}

.cosplay-block .social-btn.youtube {
    background: linear-gradient(45deg, #FF0000, #CC0000);
}

.cosplay-block .social-btn.patreon {
    background: linear-gradient(45deg, #F96854, #E6461A);
}

.cosplay-block .social-btn.onlyfans {
    background: linear-gradient(45deg, #00AFF0, #0078FF);
}

.cosplay-block .social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.cosplay-block .main-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.cosplay-block .main-image {
    position: relative;
    width: 100%;
    max-width: 650px;
    aspect-ratio: 3/4;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}



.cosplay-block .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background-color: transparent;
}

.cosplay-block .image-overlay-icons {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 2;
}

.cosplay-block .overlay-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid color-mix(in srgb, var(--accent-color) 50%, transparent);
}

.cosplay-block .overlay-icon:hover {
    background: var(--accent-color);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 45, 85, 0.5);
}

.cosplay-block .platform-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    padding: 0 10px;
}

.cosplay-block .platform-stat {
    flex: 0 0 calc((100% - 45px) / 4); /* 4 ítems con 15px entre cada uno */
    max-width: 140px;
    min-width: 120px;
    aspect-ratio: 1 / 1;
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.cosplay-block .platform-stat i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cosplay-block .platform-stat h4 {
    margin: 5px 0;
    font-size: 1.5rem;
}

.cosplay-block .platform-stat small {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cosplay-block .tag {
    display: inline-block;
    padding: 8px 16px;
    margin: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.cosplay-block .design-4 {
    background: var(--primary-dark);
    padding: 30px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.cosplay-block .social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 20px auto;
    padding: 0;
    max-width: 500px;
}

.cosplay-block .social-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid var(--glass-border);
}

.cosplay-block .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
}

.cosplay-block .section-title i {
    color: var(--accent-color);
    font-size: 1.4rem;
}

.cosplay-block .section-title::before,
.cosplay-block .section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        var(--accent-color) 20%,
        var(--accent-color) 80%,
        transparent
    );
}

.cosplay-block .achievements-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.cosplay-block .achievement-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 15px;
    border: 1px solid var(--glass-border);
    width: 100%;
    box-sizing: border-box;
}

.cosplay-block .achievement-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.cosplay-block .achievement-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    box-sizing: border-box;
}

.cosplay-block .achievement-item:last-child {
    border-bottom: none;
}

.cosplay-block .achievement-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.cosplay-block .achievement-title {
    font-weight: 500;
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-primary);
}

.cosplay-block .achievement-value {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.8rem;
}

.cosplay-block .section-title {
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cosplay-block .section-title i {
    color: var(--accent-color);
    font-size: 1rem;
}

.cosplay-block .actions-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 15px;
    margin: 20px 0;
    border: 1px solid var(--glass-border);
}

.cosplay-block .stats-bar {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    gap: 20px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 12px;
}

.cosplay-block .stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.cosplay-block .stat-item i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.cosplay-block .post-type {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.cosplay-block .post-type.premium {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
}

.cosplay-block .post-type.sponsored {
    background: linear-gradient(45deg, #00AFF0, #0078FF);
    color: white;
}

.cosplay-block .post-type.free {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.cosplay-block .disclaimer {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.cosplay-block .action-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cosplay-block .action-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.75rem;
    padding: 4px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.cosplay-block .action-btn:hover {
    opacity: 1;
    color: var(--accent-color);
}

.cosplay-block .bio-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid var(--glass-border);
}

.cosplay-block .cosplay-title {
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 700;
    background: linear-gradient(45deg, var(--accent-color), #ff9500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .cosplay-block .main-image {
        max-width: 98%;
    }

    .cosplay-block .achievements-container {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .cosplay-block .achievement-section {
        padding: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .cosplay-block .achievement-item {
        gap: 6px;
        padding: 3px 6px;
    }

    .cosplay-block .achievement-icon {
        width: 18px;
        height: 18px;
        font-size: 0.8rem;
    }

    .cosplay-block .achievement-title,
    .cosplay-block .achievement-value {
        font-size: 0.75rem;
    }

    .cosplay-block .section-title {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .cosplay-block .platform-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .cosplay-block .social-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .cosplay-block .cosplay-title {
        font-size: clamp(1.2rem, 4vw, 2rem);
        margin-bottom: 1rem;
    }

    .cosplay-block .verified-badge {
        font-size: clamp(1rem, 3vw, 1.2rem);
    }

    .cosplay-block .design-4 {
        max-width: 100%;
        padding: 20px 15px;
    }
}

@media (max-width: 576px) {
    .cosplay-block .main-image {
        max-width: 90%;
    }

    .cosplay-block .main-image-container {
        padding: 10px 0;
    }

    .cosplay-block .cosplay-title {
        font-size: clamp(1rem, 3.5vw, 1.5rem);
        margin-bottom: 0.5rem;
    }

    .cosplay-block .verified-badge {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
    }

    .cosplay-block .achievements-container {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0 10px;
    }

    .cosplay-block .achievement-section {
        padding: 12px;
    }

    .cosplay-block .achievement-item {
        gap: 5px;
        padding: 2px 5px;
    }

    .cosplay-block .achievement-icon {
        width: 16px;
        height: 16px;
        font-size: 0.75rem;
    }

    .cosplay-block .achievement-title,
    .cosplay-block .achievement-value {
        font-size: 0.7rem;
    }

    .cosplay-block .section-title {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }

    .cosplay-block .stats-bar {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .cosplay-block .post-type {
        grid-column: 1 / -1;
        text-align: center;
    }

    .cosplay-block .design-4 {
        padding: 15px 10px;
    }
}

@media (min-width: 769px) {
    .cosplay-block .platform-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .cosplay-block .social-links {
        grid-template-columns: repeat(3, 1fr);
        max-width: 85%;
        gap: 12px;
    }

    .cosplay-block .social-btn {
        padding: 10px 20px;
        min-height: 40px;
        max-width: 180px;
    }
}


/*MARCOS PERSONALIZADOS*/

/* Marcos Promocionados */
.frame-wrapper {
  width: 100%;
  height: 100%;
  padding: 3px;
  border-radius: 10px;
  position: relative;
  background: #333;
  box-sizing: border-box;
  overflow: hidden;
  margin-bottom: 0;
}

.frame-content {
  width: 100%;
  height: 100%;
  background-color: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.frame-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* Gradientes de Marcos */
.frame-wrapper.gradient-1 {
  --bgGradient: linear-gradient(225deg, #fc0800 5%, #ad1d1d 15%, #d51d1d 25%, #db4607 35%, #ff763b 44%, #ffd43b 54%, #f2ce61 62%, #db4607 75%, #d51d1d 85%, #ad1d1d 93%, #fc0800 100%);
  background: var(--bgGradient);
  box-shadow: 0 0 12px rgba(255, 118, 59, 0.65);
}

.frame-wrapper.gradient-2 {
  background: linear-gradient(45deg, #50ffcb 5%, #071f32 95%);
  box-shadow: 0 0 12px rgba(80, 255, 203, 0.65);
}

.frame-wrapper.gradient-3 {
  background: linear-gradient(0deg, #6f47e8 5%, #f783ac 95%);
  box-shadow: 0 0 12px rgba(247, 131, 172, 0.65);
}

.frame-wrapper.gradient-4 {
  background: linear-gradient(45deg, #f8f9fa 15%, #dae4eb 30%, #6b7b82 55%, #4a5e6a 70%, #f8f9fa 85%);
  box-shadow: 0 0 12px rgba(218, 228, 235, 0.65);
}

.frame-wrapper.gradient-5 {
  background: linear-gradient(135deg, #046307 10%, #e4a11b 90%);
  box-shadow: 0 0 12px rgba(4, 99, 7, 0.65);
}

.frame-wrapper.gradient-6 {
  background: linear-gradient(45deg, #dc143c 10%, #111111 90%);
  box-shadow: 0 0 12px rgba(220, 20, 60, 0.65);
}

.frame-wrapper.gradient-7 {
  background: linear-gradient(225deg, #4169e1 10%, #c0c0c0 90%);
  box-shadow: 0 0 12px rgba(65, 105, 225, 0.65);
}

.frame-wrapper.gradient-8 {
  background: linear-gradient(0deg, #ff69b4 10%, #00ffff 90%);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.65);
}

.frame-wrapper.gradient-9 {
  background: linear-gradient(135deg, #DAA520 10%, #111111 90%);
  box-shadow: 0 0 12px rgba(218, 165, 32, 0.65);
}

.frame-wrapper.gradient-10 {
  background: linear-gradient(45deg, #e6e6fa 10%, #b0c4de 90%);
  box-shadow: 0 0 12px rgba(176, 196, 222, 0.65);
}

.frame-wrapper.gradient-11 {
  background: linear-gradient(225deg, #228b22 10%, #8b4513 90%);
  box-shadow: 0 0 12px rgba(34, 139, 34, 0.65);
}

.frame-wrapper.gradient-12 {
  background: linear-gradient(0deg, #ffa500 10%, #ffffff 90%);
  box-shadow: 0 0 12px rgba(255, 165, 0, 0.65);
}

.frame-wrapper.gradient-13 {
  background: linear-gradient(135deg, #36454f 10%, #7df9ff 90%);
  box-shadow: 0 0 12px rgba(125, 249, 255, 0.65);
}

.frame-wrapper.gradient-14 {
  background: linear-gradient(90deg, #ff0000, #ff8000, #ffff00, #00ff00, #00ffff, #0000ff, #8000ff);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
}

/* Ajuste para el título en imágenes con marco */
.frame-wrapper + .titulo-imagen {
  margin-top: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

