/* Daily Cat Vibes - Frontend Styles */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --priFont: "Papyrus LET Bold";
    --secFont: "Open Sans", sans-serif;


    /* Color */
    --priColor: #3232A8;
    --secColor: #D4AF37;
    --textColor: #4B5563;
    --whiteColor: #fff;
    --btnColor: linear-gradient(40deg,rgba(254, 243, 199, 1) 0%, rgba(253, 230, 138, 1) 100%);
    --bgColor: #FFFDEE;

    /* Others */
    --lHeight: 1.5;
    --fSize: 1.2rem;
    --radious: 1rem;
}


.subtitle { font-size: clamp(1.2rem, 1.1368rem + 0.2807vw, 1.4rem); margin: 0 0 3rem;}
.subtitle span { font-size: clamp(2.3rem, 2.1421rem + 0.7018vw, 2.8rem);color: var(--priColor);}
strong { font-weight: 600; }

body { line-height: 1.5;  -webkit-font-smoothing: antialiased; font-family: var(--priFont); color: var(--thirdColor);width: 1920px;margin: 0 auto;position: relative;padding: 0;overflow-x: hidden; max-width: 100%;}
.wrapper {width: 1400px; max-width: 100%; position: relative; margin: 0 auto;}
ol, ul { list-style: none; }
li { color: var(--textColor); font-size: 1.2rem; }
.bullet { margin: 0 0 1.2rem; }
.bullet li { list-style: disc; margin: 0 0 0 3rem; line-height: 1.8rem; font-family: var(--secFont); }
a {text-decoration: none; cursor: pointer;}
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; color: var(--whiteColor); font-weight: 600;}
h1 {font-size: clamp(2.4rem, 2.2737rem + 0.5614vw, 2.8rem); margin: 0 0 3rem;}
h2 {font-size: clamp(2rem, 2.1421rem + 0.7018vw, 2.5rem); margin: 0 0 2rem;}
h3 { font-size: clamp(1.3rem, 1.1875rem + 0.5vw, 1.5rem); margin: 0 0 1.5rem;}
h4 { font-size: clamp(1.15rem, 1.1026rem + 0.2105vw, 1.3rem); margin: 0 0 1.5rem;}
h5 { font-size: 1.05rem; margin: 0 0 1.5rem;}
span { display: block; font-family: var(--secFont);}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; font-family: var(--priFont);}
p { font-family: var(--secFont); color: var(--textColor); font-size: 1.2rem;font-weight: 300;line-height: 1.5;padding: 0 0 1.2rem;}
.button:hover { background: var(--priColor); color: #fff; }
.button { background: var(--btnColor); padding: 1rem 2.5rem; cursor: pointer; border: unset; color: var(--textColor); font-size: 1.2rem; clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);}


/* Main Container */
.dcv-container { display: flex; gap: 30px; }

.main-content p:last-of-type { margin: 0 ;}

/* Main Content Area */
.dcv-main-content {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Today's Vibe Section */
.dcv-todays-vibe {
    background: linear-gradient(40deg,rgb(254, 243, 199) 0%, rgb(253, 230, 138) 100%);
    border-radius: 20px;
    padding: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 4px solid rgba(206, 154, 42, 0.27);
}


.dcv-todays-vibe > * {
    position: relative;
    z-index: 2;
}

.dcv-vibe-header {
    margin-bottom: 25px;
}
.dcv-date { color: #4B5563; }

.dcv-section-title {
    font-size: 2.2em;
    font-weight: 300;
    text-align: center;
    letter-spacing: 1px;
    color: #3232A8;
    margin: 0;
}

.dcv-vibe-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.9em;
    opacity: 0.9;
}

.dcv-vibe-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.dcv-vibe-image {
    flex: 0 0 400px;
}

.dcv-cat-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.dcv-placeholder-image {
    width: 100%;
    height: 250px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    backdrop-filter: blur(10px);
}

.dcv-vibe-details {
    flex: 1;
}

.dcv-vibe-title {
    font-size: 1.8em;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #2c3e50;
}

.dcv-vibe-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #34495e;
}

.dcv-vibe-actions {
    display: flex;
    gap: 15px;
}

.dcv-action-btn {
color: #4B5563;
  padding: 1rem 2.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.95em;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
  border: unset;
  background: #FFFDEE;
  display: flex;
  gap: .5rem;
}

.dcv-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Past Vibes Section */
.dcv-past-vibes {
    margin-top: 20px;
}

.dcv-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.dcv-section-header .dcv-section-title {
    font-size: 1.8em;
    color: #2c3e50;
    margin: 0;
    text-align: left;
}

.dcv-view-all {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.dcv-view-all:hover {
    color: #2980b9;
}

.dcv-past-vibes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.dcv-past-vibe-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 20px;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dcv-past-vibe-card:nth-child(2) { background: linear-gradient(135deg, #b669bf 0%, #b53949 100%); }

.dcv-past-vibe-card:nth-child(3) {
    background: linear-gradient(135deg, #3d89cc 0%, #00989f 100%);
}

.dcv-past-vibe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.dcv-past-vibe-image {
    margin-bottom: 15px;
}

.dcv-past-vibe-image img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    border-radius: 10px;
}

.dcv-placeholder {
    width: 100%;
    height: 150px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
}

.dcv-past-vibe-day {
    font-size: 1.3em;
    font-weight: 600;
    margin: 0 0 8px 0;
}
.dcv-past-vibe-info h3 { font-size: 1.8rem; font-weight: 800; }


.dcv-past-vibe-title { font-size: 1.4em; font-weight: 800; margin: 0 0 10px 0; opacity: 0.9; color: var(--secColor); font-family: var(--priColor); }
.dcv-past-vibe-excerpt {
    line-height: 1.4;
    margin-bottom: 15px;
    opacity: 0.8;
    font-size: 1.2rem;
    font-family: vaR(--secFont);
}

.dcv-past-vibe-stats {
    display: flex;
    gap: 15px;
    font-size: 0.85em;
    opacity: 0.7;
}

/* Sidebar */
.dcv-sidebar {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Cat Gallery */
.dcv-cat-gallery {
    background: var(--btnColor);
    border-radius: 20px;
    padding: 25px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dcv-sidebar-title {
    font-size: 1.4em;
    font-weight: 600;
    margin: 0 0 20px 0;
    text-align: center;
    color: var(--priColor);
}

.dcv-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.dcv-gallery-item {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.dcv-gallery-item:hover {
    transform: scale(1.05);
}

.dcv-gallery-image { width: 100%; height: 100%; object-fit: cover; color: var(--priColor); text-align: center; }

.dcv-view-more-cats {
    display: block;
    text-align: center;
    color: var(--priColor);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.dcv-view-more-cats:hover {
    color: white;
}

/* Did You Know Section */
.dcv-did-you-know {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    border-left: 5px solid #3498db;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dcv-did-you-know .dcv-sidebar-title {
    color: #2c3e50;
    text-align: left;
}

.dcv-fact-content p {
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95em;
}

/* Legacy class support for existing plugin structure */
.daily-cat-vibes-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.todays-vibe-section {
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.todays-vibe-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 216, 155, 0.9) 0%, rgba(25, 84, 123, 0.9) 100%);
    z-index: 1;
}

.todays-vibe-section > * {
    position: relative;
    z-index: 2;
}

.todays-vibe-header {
    text-align: center;
    margin-bottom: 30px;
}

.todays-vibe-title {
    font-size: 2.5em;
    font-weight: 300;
    margin: 0 0 10px 0;
    color: white;
    letter-spacing: 1px;
}

.todays-vibe-subtitle {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.vibe-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.vibe-image {
    flex: 0 0 300px;
}

.vibe-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.vibe-details {
    flex: 1;
}

.vibe-title {
    font-size: 1.8em;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: white;
}

.vibe-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.vibe-actions {
    display: flex;
    gap: 15px;
}

.vibe-action {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-block;
}

.vibe-action:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Past Vibes */
.past-vibes-section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-title {
    font-size: 1.8em;
    color: #2c3e50;
    margin: 0;
}

.view-all-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #2980b9;
}

.past-vibes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.past-vibe-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 20px;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.past-vibe-card:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.past-vibe-card:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.past-vibe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.past-vibe-image {
    margin-bottom: 15px;
}

.past-vibe-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.past-vibe-day {
    font-size: 1.3em;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.past-vibe-title {
    font-size: 1.1em;
    font-weight: 500;
    margin: 0 0 10px 0;
    opacity: 0.9;
}

.past-vibe-excerpt {
    font-size: 0.9em;
    line-height: 1.4;
    margin-bottom: 15px;
    opacity: 0.8;
}

/* Gallery Section */
.gallery-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 20px;
    padding: 25px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 25px;
}

.gallery-title {
    font-size: 1.4em;
    font-weight: 600;
    margin: 0 0 20px 0;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.view-more-link {
    display: block;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-more-link:hover {
    color: white;
}

/* Responsive Design */

@media (max-width: 1300px) {
    .dcv-vibe-content { flex-direction: column; }
    .dcv-vibe-image { flex: 0; margin: 0 auto; }
}

@media (max-width: 768px) {
    .dcv-container,
    .daily-cat-vibes-container {
        flex-direction: column;
        padding: 15px;
        gap: 20px;
    }
    
    .dcv-sidebar {
        flex: none;
    }
    
    .dcv-vibe-content,
    .vibe-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .dcv-vibe-image,
    .vibe-image {
        flex: none;
    }
    
    .dcv-past-vibes-grid,
    .past-vibes-grid {
        grid-template-columns: 1fr;
    }
    
    .dcv-section-title,
    .todays-vibe-title {
        font-size: 1.8em;
    }
    
    .dcv-vibe-actions,
    .vibe-actions {
        flex-direction: row;
        gap: 10px;
    }
    
    .dcv-action-btn,
    .vibe-action {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .dcv-container,
    .daily-cat-vibes-container { padding: 0; }
    .dcv-vibe-actions { flex-direction: column; align-items: center; }
    
    .dcv-todays-vibe,
    .todays-vibe-section {
        padding: 20px;
    }
    
    .dcv-section-title,
    .todays-vibe-title {
        font-size: 1.5em;
    }
    
    .dcv-vibe-title,
    .vibe-title {
        font-size: 1.4em;
    }
    
    .dcv-gallery-grid,
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

/* Animation for interactive elements */
.dcv-gallery-item,
.dcv-past-vibe-card,
.dcv-action-btn,
.gallery-item,
.past-vibe-card,
.vibe-action {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus states for accessibility */
.dcv-action-btn:focus,
.dcv-gallery-item:focus,
.dcv-view-all:focus,
.dcv-view-more-cats:focus,
.vibe-action:focus,
.gallery-item:focus,
.view-all-link:focus,
.view-more-link:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .dcv-sidebar,
    .dcv-vibe-actions,
    .vibe-actions {
        display: none;
    }
    
    .dcv-container,
    .daily-cat-vibes-container {
        max-width: none;
        margin: 0;
        padding: 0;
    }
    
    .dcv-todays-vibe,
    .todays-vibe-section {
        background: #f8f9fa !important;
        color: #333 !important;
        box-shadow: none;
    }
}