/*
Theme: Custom Vegamovies Style - Enhanced
*/
:root {
    --global-palette1: #181c1f;
    --global-palette3: #eef425;
    --global-palette4: #fff;
    --global-palette5: #aaa;
    --global-palette6: #888;
    --global-palette7: #2a2a2a;
    --global-palette-highlight: #20ff00;
    --global-md-spacing: 1.5rem;
    --global-sm-spacing: 0.5rem;
    --global-lg-spacing: 2rem;
}

body {
    background: var(--global-palette1);
    color: var(--global-palette4);
    font-family: 'ABeeZee', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
.site-header {
    background: #23272b;
    border-bottom: 2.5px solid #20ff00;
    padding: 0;
    text-align: left;
}
.site-header-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}
.site-header img.custom-logo {
    height: 60px;
    margin: 10px 0;
}
#primary-menu.menu {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
#primary-menu.menu > li {
    position: relative;
}
#primary-menu.menu > li > a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 4px;
    transition: background 0.2s;
    display: block;
}
#primary-menu.menu > li > a:hover,
#primary-menu.menu > li.current-menu-item > a {
    background: #20ff00;
    color: #181c1f;
}
.menu-item-has-children > .sub-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #23272b;
    min-width: 200px;
    z-index: 10;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.menu-item-has-children:hover > .sub-menu {
    display: block;
}
.sub-menu .menu-item a {
    color: #fff;
    padding: 10px 18px;
    display: block;
    border-bottom: 1px solid #222;
    text-decoration: none;
    font-weight: 400;
}
.sub-menu .menu-item:last-child a {
    border-bottom: none;
}
.sub-menu .menu-item a:hover {
    background: #20ff00;
    color: #181c1f;
}
/* Grid System */
.grid-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 2.5rem;
    row-gap: 2.5rem;
}

@media screen and (min-width: 576px) {
    .grid-sm-col-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-sm-col-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-sm-col-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media screen and (min-width: 768px) {
    .grid-md-col-1 { grid-template-columns: minmax(0, 1fr); }
    .grid-md-col-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-md-col-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-md-col-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media screen and (min-width: 1025px) {
    .grid-lg-col-1 { grid-template-columns: minmax(0, 1fr); }
    .grid-lg-col-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-lg-col-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-lg-col-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .grid-lg-col-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .grid-lg-col-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.button-container {
    margin: 30px 0 10px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.button {
    background: linear-gradient(135deg, #20ff00, #00ccff);
    color: #000;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    font-weight: bold;
}
    font-weight: 600;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(32, 255, 0, 0.4);
}
.ctbutton-container {
    margin: 10px 0 20px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.ctbutton {
    background: #23272b;
    color: #fff;
    border: 1px solid #20ff00;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-bottom: 8px;
    font-weight: 600;
}
.ctbutton:hover {
    background: #20ff00;
    color: #181c1f;
}
.btn-center-container {
    text-align: center;
    margin: 20px 0;
}
.responsive-device-btn {
    background: #23272b;
    color: #20ff00;
    border: 1px solid #20ff00;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 1rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
}
.responsive-device-btn:hover {
    background: #20ff00;
    color: #181c1f;
}
#archive-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin: 40px 0;
    padding: 0;
    list-style: none;
}
.entry-list-item {
    background: #181c1f;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid #20ff00;
    margin-bottom: 10px;
}
.entry-list-item:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 24px rgba(32,255,0,0.15);
}
.post-thumbnail-inner img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #222;
}
.entry-title {
    font-size: 1.08rem;
    font-weight: 500;
    margin: 12px 0 8px 0;
    text-align: left;
    color: #fff;
    padding: 0 10px;
}
.entry-meta {
    font-size: 0.95rem;
    color: #ccc;
    text-align: left;
    margin-bottom: 12px;
    padding: 0 10px 10px 10px;
}
.site-footer {
    background: #181c1f;
    color: #fff;
    text-align: center;
    padding: 20px 0 10px 0;
    border-top: 2.5px solid #20ff00;
    margin-top: 40px;
    font-size: 1.05rem;
}
.site-footer ul.menu {
    display: flex;
    justify-content: center;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}
.site-footer ul.menu li a {
    color: #20ff00;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
}
.site-footer ul.menu li a:hover {
    color: #fff;
    text-decoration: underline;
}

#archive-container {
    margin-bottom: 30px;
}

/* Pagination */
.pagination {
    margin: var(--global-lg-spacing) auto;
    overflow: hidden;
    text-align: center;
}

.page-numbers {
    display: inline-block;
    margin-right: 0.5em;
    border: 2px solid transparent;
    min-width: 2.5em;
    line-height: 2.25em;
    text-align: center;
    text-decoration: none;
    border-radius: 0.25rem;
    color: inherit;
    transition: all 0.2s ease;
}

.page-numbers:hover,
.page-numbers:focus,
.page-numbers:active {
    border-color: var(--global-palette-highlight);
    background: rgba(32, 255, 0, 0.1);
}

.page-numbers.current {
    border-color: var(--global-palette-highlight);
    background: var(--global-palette-highlight);
    color: var(--global-palette1);
    font-weight: bold;
}

.page-numbers:last-child {
    margin-right: 0;
}

/* Responsive Typography */
h1, h2, h3, h4, h5, h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
    line-height: 1.3;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
    margin-top: 0;
}

/* Utility Classes */
.content-wrap {
    position: relative;
}

.site-main {
    min-width: 0;
}

.entry {
    box-shadow: 0px 15px 25px -10px rgba(0, 0, 0, 0.05);
    border-radius: 0.25rem;
}

.entry-meta {
    font-size: 80%;
    margin: 1em 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}

.entry-meta a {
    color: inherit;
    text-decoration: none;
}

/* Responsive Media Queries */
@media screen and (max-width: 720px) {
    .content-style-boxed .content-bg:not(.loop-entry) {
        margin-left: -1rem;
        margin-right: -1rem;
        width: auto;
    }
    
    #archive-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
        gap: 16px;
    }
    
    .button-container {
        margin: 20px 0;
    }
    
    .button, .ctbutton {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 1024px) {
    .popup-drawer {
        position: fixed;
        display: none;
        top: 0;
        bottom: 0;
        left: -99999rem;
        right: 99999rem;
        transition: opacity 0.25s ease-in, left 0s 0.25s, right 0s 0.25s;
        z-index: 100000;
    }
    
    .site-header-tablet-layout-contained {
        padding: 0 1.5rem;
    }
}

/* Alignment Utilities */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Spacing Utilities */
.mt-1 { margin-top: var(--global-sm-spacing); }
.mt-2 { margin-top: var(--global-md-spacing); }
.mt-3 { margin-top: var(--global-lg-spacing); }
.mb-1 { margin-bottom: var(--global-sm-spacing); }
.mb-2 { margin-bottom: var(--global-md-spacing); }
.mb-3 { margin-bottom: var(--global-lg-spacing); }
.p-1 { padding: var(--global-sm-spacing); }
.p-2 { padding: var(--global-md-spacing); }
.p-3 { padding: var(--global-lg-spacing); }

/* Display Utilities */
.flex { display: flex; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-wrap { flex-wrap: wrap; }

/* Opacity and Transitions */
.transition-all { transition: all 0.3s ease; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }


