/* =========================================================
   ARUN MOVIE THEME - main.css
   Dark cinema aesthetic with red/gold accents
   ========================================================= */

:root {
    --amt-bg:            #0b0b0f;
    --amt-bg-2:          #14141c;
    --amt-bg-3:          #1c1c26;
    --amt-surface:       #1a1a24;
    --amt-border:        #2a2a36;
    --amt-text:          #f2f2f5;
    --amt-text-2:        #b4b4c1;
    --amt-text-3:        #8b8b98;
    --amt-accent:        #e50914;
    --amt-accent-2:      #ff2b3a;
    --amt-gold:          #f5c518;
    --amt-shadow:        0 12px 40px rgba(0,0,0,.55);
    --amt-radius:        14px;
    --amt-radius-sm:     8px;
    --amt-heading-font:  'Bebas Neue', 'Impact', sans-serif;
    --amt-body-font:     'Manrope', system-ui, sans-serif;
    --amt-ease:          cubic-bezier(.22,.61,.36,1);
}

/* Light mode overrides */
body.amt-theme-light,
body[data-amt-mode="light"] {
    --amt-bg:      #f7f7fa;
    --amt-bg-2:    #ffffff;
    --amt-bg-3:    #f0f0f5;
    --amt-surface: #ffffff;
    --amt-border:  #e4e4ed;
    --amt-text:    #14141c;
    --amt-text-2:  #4c4c5c;
    --amt-text-3:  #7a7a8b;
    --amt-shadow:  0 10px 30px rgba(20,20,28,.10);
}

/* Reset */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--amt-bg);
    color: var(--amt-text);
    font-family: var(--amt-body-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    transition: background-color .3s var(--amt-ease), color .3s var(--amt-ease);
}
img { max-width: 100%; height: auto; display: block; }
a  { color: var(--amt-text); text-decoration: none; transition: color .2s var(--amt-ease); }
a:hover { color: var(--amt-accent); }
h1,h2,h3,h4,h5,h6, .amt-heading {
    font-family: var(--amt-heading-font);
    font-weight: 400;
    letter-spacing: 0.7px;
    margin: 0 0 .5em;
    color: var(--amt-text);
    line-height: 1.15;
}
.amt-container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 20px; }

/* --------- Notification bar --------- */
.amt-notification-bar {
    background: linear-gradient(90deg, var(--amt-accent), var(--amt-gold));
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
    position: relative;
    z-index: 100;
}
.amt-notification-bar .amt-container { display: flex; align-items: center; gap: 10px; justify-content: center; }
.amt-notif-emoji { font-size: 18px; }
.amt-notif-msg a { color: #fff; text-decoration: underline; }
.amt-notif-close {
    margin-left: auto;
    background: none;
    border: 0;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 0 6px;
}

/* --------- Ad slots --------- */
.amt-ad-slot { margin: 20px 0; text-align: center; position: relative; min-height: 40px; }
.amt-ad-label {
    display: block; font-size: 10px; color: var(--amt-text-3);
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px;
}
.amt-ad-header-top   { padding: 8px 0; background: var(--amt-bg-2); border-bottom: 1px solid var(--amt-border); }
.amt-ad-sticky-footer{ position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: var(--amt-bg-2); padding: 8px; border-top: 1px solid var(--amt-border); }

/* --------- Header --------- */
.amt-header {
    background: rgba(11,11,15,.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--amt-border);
    position: sticky; top: 0; z-index: 80;
}
body.amt-theme-light .amt-header { background: rgba(255,255,255,.9); }
.amt-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 14px 0;
}
.amt-header-style-1 .amt-header-inner { grid-template-columns: 1fr auto 1fr; text-align: center; }
.amt-header-style-1 .amt-branding { justify-self: start; }
.amt-header-style-1 .amt-header-tools { justify-self: end; }

.amt-site-title {
    font-family: var(--amt-heading-font);
    font-size: 30px;
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--amt-text);
    letter-spacing: 2px;
}
.amt-logo-mark {
    display: inline-flex;
    width: 34px; height: 34px;
    background: linear-gradient(135deg, var(--amt-accent), var(--amt-accent-2));
    color: #fff;
    align-items: center; justify-content: center;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(229,9,20,.5);
    font-size: 16px;
}
.amt-nav-desktop { display: flex; justify-content: center; }
.amt-menu { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; flex-wrap: wrap; }
.amt-menu a {
    font-weight: 600; font-size: 14px; text-transform: uppercase;
    letter-spacing: .5px; padding: 6px 0; position: relative;
    color: var(--amt-text-2);
}
.amt-menu a:hover { color: var(--amt-text); }
.amt-menu a::after {
    content:""; position: absolute; left: 0; bottom: -4px;
    width: 0; height: 2px; background: var(--amt-accent);
    transition: width .3s var(--amt-ease);
}
.amt-menu a:hover::after, .amt-menu .current-menu-item > a::after { width: 100%; }

.amt-header-tools { display: flex; align-items: center; gap: 10px; }

.amt-search-form { position: relative; }
.amt-search-input {
    background: var(--amt-bg-3);
    border: 1px solid var(--amt-border);
    padding: 10px 40px 10px 16px;
    color: var(--amt-text);
    border-radius: 30px;
    width: 240px;
    font-size: 14px;
    transition: all .25s var(--amt-ease);
    font-family: var(--amt-body-font);
}
.amt-search-input:focus { outline: none; width: 300px; border-color: var(--amt-accent); background: var(--amt-bg-2); }
.amt-search-btn {
    position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
    background: transparent; border: 0; color: var(--amt-text-2);
    padding: 6px 10px; cursor: pointer;
}
.amt-search-results {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0;
    background: var(--amt-bg-2);
    border: 1px solid var(--amt-border);
    border-radius: var(--amt-radius-sm);
    max-height: 400px; overflow-y: auto;
    box-shadow: var(--amt-shadow);
    z-index: 90; display: none;
}
.amt-search-suggestions { list-style: none; padding: 6px; margin: 0; }
.amt-search-suggestions a {
    display: flex; align-items: center; gap: 10px; padding: 8px;
    border-radius: var(--amt-radius-sm);
}
.amt-search-suggestions a:hover { background: var(--amt-bg-3); }
.amt-search-suggestions img { width: 42px; height: 60px; object-fit: cover; border-radius: 4px; }
.amt-ss-title { flex: 1; font-weight: 600; }
.amt-ss-rating { font-size: 12px; color: var(--amt-gold); }

.amt-theme-toggle, .amt-mobile-toggle {
    background: var(--amt-bg-3); border: 1px solid var(--amt-border);
    width: 42px; height: 42px; border-radius: 50%;
    color: var(--amt-text); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .2s var(--amt-ease);
}
.amt-theme-toggle:hover { transform: rotate(20deg); border-color: var(--amt-accent); }
.amt-theme-toggle .amt-icon-dark { display: none; }
.amt-theme-toggle .amt-icon-light { display: block; }
body.amt-theme-light .amt-theme-toggle .amt-icon-dark  { display: block; }
body.amt-theme-light .amt-theme-toggle .amt-icon-light { display: none; }

.amt-mobile-toggle { display: none; flex-direction: column; gap: 4px; }
.amt-mobile-toggle span { display: block; width: 20px; height: 2px; background: var(--amt-text); border-radius: 2px; }

.amt-mobile-menu {
    display: none;
    background: var(--amt-bg-2);
    border-top: 1px solid var(--amt-border);
    padding: 20px;
}
.amt-mobile-menu.amt-open { display: block; }
.amt-mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.amt-mobile-menu li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--amt-border); font-weight: 600; }

.amt-breadcrumbs { padding: 16px 0; color: var(--amt-text-3); font-size: 13px; }
.amt-breadcrumbs a { color: var(--amt-text-2); }
.amt-breadcrumbs a:hover { color: var(--amt-accent); }

/* --------- Site content --------- */
.amt-site-content { padding: 24px 0 60px; min-height: 60vh; }

/* --------- Movie Card --------- */
.amt-movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 22px;
}
.amt-grid-compact { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.amt-movie-card {
    background: var(--amt-surface);
    border-radius: var(--amt-radius);
    overflow: hidden;
    transition: transform .3s var(--amt-ease), box-shadow .3s var(--amt-ease);
    position: relative;
}
.amt-movie-card:hover { transform: translateY(-6px); box-shadow: var(--amt-shadow); }
.amt-card-poster { position: relative; overflow: hidden; aspect-ratio: 2/3; background: var(--amt-bg-3); }
.amt-card-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--amt-ease); }
.amt-movie-card:hover .amt-card-poster img { transform: scale(1.08); }
.amt-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.8));
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .3s var(--amt-ease);
}
.amt-movie-card:hover .amt-card-overlay { opacity: 1; }
.amt-card-play {
    width: 60px; height: 60px; border-radius: 50%;
    background: rgba(229,9,20,.9);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 22px; padding-left: 4px;
    box-shadow: 0 0 30px rgba(229,9,20,.7);
    transform: translateY(20px);
    transition: transform .3s var(--amt-ease);
}
.amt-movie-card:hover .amt-card-play { transform: translateY(0); }
.amt-card-badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; }
.amt-card-rating {
    position: absolute; top: 8px; right: 8px;
    background: rgba(0,0,0,.75); color: var(--amt-gold);
    padding: 4px 8px; border-radius: 30px; font-size: 12px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 4px; backdrop-filter: blur(6px);
}
.amt-card-body { padding: 12px 14px 14px; }
.amt-card-title {
    font-family: var(--amt-heading-font); font-size: 18px; letter-spacing: 0.4px;
    color: var(--amt-text); margin: 0 0 6px;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.amt-card-meta { display: flex; gap: 8px; font-size: 12px; color: var(--amt-text-3); }
.amt-card-genre { text-transform: uppercase; letter-spacing: 0.5px; }

.amt-placeholder { background: linear-gradient(135deg, var(--amt-bg-2), var(--amt-bg-3)); }

/* --------- Badges --------- */
.amt-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.4px;
    border-radius: 4px; text-transform: uppercase;
}
.amt-badge-quality { background: var(--amt-gold); color: #111; }
.amt-badge-lang    { background: rgba(229,9,20,.85); color: #fff; }
.amt-badge-year    { background: var(--amt-bg-3); color: var(--amt-text-2); border: 1px solid var(--amt-border); }
.amt-rating { color: var(--amt-gold); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }

/* --------- Buttons --------- */
.amt-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; font-family: var(--amt-body-font); font-weight: 700;
    font-size: 14px; letter-spacing: 0.4px;
    background: var(--amt-bg-3); color: var(--amt-text);
    border-radius: 30px; border: 0; cursor: pointer;
    transition: all .25s var(--amt-ease);
    text-transform: uppercase;
}
.amt-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.4); color: #fff; }
.amt-btn-primary { background: linear-gradient(135deg, var(--amt-accent), var(--amt-accent-2)); color: #fff; }
.amt-btn-ghost { background: transparent; border: 2px solid var(--amt-border); }
.amt-btn-lg { padding: 16px 32px; font-size: 15px; }

.amt-buttons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 16px 0; }
.amt-buttons-grid .amt-btn { color: #fff; }

/* --------- Section titles --------- */
.amt-section { margin: 50px 0; }
.amt-section-head {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 22px; padding-bottom: 12px;
    border-bottom: 2px solid var(--amt-border);
}
.amt-section-title {
    font-size: 30px; margin: 0;
    display: inline-flex; align-items: center; gap: 10px;
}
.amt-section-title i { color: var(--amt-accent); }
.amt-link { color: var(--amt-accent); font-weight: 600; }
.amt-link:hover { color: var(--amt-gold); }

/* --------- Load More --------- */
.amt-load-more-wrap { text-align: center; margin: 30px 0; }

/* --------- Featured Carousel --------- */
.amt-carousel-section { margin-bottom: 40px; }
.amt-carousel {
    position: relative; height: 480px; border-radius: var(--amt-radius);
    overflow: hidden; box-shadow: var(--amt-shadow);
}
.amt-carousel-track { position: relative; height: 100%; }
.amt-carousel-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    display: flex; align-items: flex-end;
    opacity: 0; transition: opacity .8s var(--amt-ease); pointer-events: none;
}
.amt-carousel-slide.amt-active { opacity: 1; pointer-events: auto; }
.amt-carousel-content { padding: 40px 60px; max-width: 620px; }
.amt-carousel-tag {
    display: inline-block; background: var(--amt-gold); color: #111;
    padding: 4px 10px; border-radius: 4px; font-weight: 800; font-size: 11px;
    letter-spacing: 2px; margin-bottom: 12px;
}
.amt-carousel-title { color: #fff; font-size: 56px; margin: 8px 0 12px; }
.amt-carousel-meta { display: flex; gap: 10px; margin-bottom: 12px; color: #fff; }
.amt-carousel-desc { color: #d0d0d5; margin-bottom: 20px; }
.amt-carousel-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.amt-carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,.5); color: #fff; border: 0;
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; backdrop-filter: blur(8px);
}
.amt-carousel-prev { left: 16px; }
.amt-carousel-next { right: 16px; }
.amt-carousel-btn:hover { background: var(--amt-accent); }
.amt-carousel-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.amt-carousel-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); border: 0; cursor: pointer; padding: 0; }
.amt-carousel-dots button.amt-active { background: var(--amt-accent); width: 24px; border-radius: 4px; }

/* --------- Layout 2 rows --------- */
.amt-row-slider { position: relative; }
.amt-row-track {
    display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth;
    padding-bottom: 10px; scrollbar-width: none;
}
.amt-row-track::-webkit-scrollbar { display: none; }
.amt-row-track .amt-movie-card { flex: 0 0 200px; }
.amt-row-prev, .amt-row-next {
    position: absolute; top: 40%; transform: translateY(-50%);
    background: rgba(0,0,0,.7); color: #fff; border: 0;
    width: 40px; height: 40px; border-radius: 50%; cursor: pointer; z-index: 3;
}
.amt-row-prev { left: -12px; } .amt-row-next { right: -12px; }

/* --------- Magazine --------- */
.amt-magazine-hero { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; height: 520px; }
.amt-mag-main {
    background-size: cover; background-position: center;
    border-radius: var(--amt-radius); display: flex; align-items: flex-end;
    color: #fff; padding: 40px;
}
.amt-mag-tag { background: var(--amt-accent); color: #fff; padding: 4px 10px; font-size: 11px; font-weight: 800; letter-spacing: 2px; }
.amt-mag-main h2 a { color: #fff; font-size: 46px; }
.amt-mag-side { display: grid; grid-template-rows: repeat(4, 1fr); gap: 12px; }
.amt-mag-item {
    background-size: cover; background-position: center;
    border-radius: var(--amt-radius-sm); padding: 16px;
    color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
}
.amt-mag-item h3 { color: #fff; margin: 0; font-size: 22px; }
.amt-mag-meta-small { display: flex; gap: 8px; font-size: 12px; }

/* --------- Masonry --------- */
.amt-masonry { column-count: 5; column-gap: 16px; }
.amt-masonry-item { break-inside: avoid; margin-bottom: 16px; }
@media (max-width: 1200px) { .amt-masonry { column-count: 4; } }
@media (max-width: 900px)  { .amt-masonry { column-count: 3; } }
@media (max-width: 600px)  { .amt-masonry { column-count: 2; } }

/* --------- List layout --------- */
.amt-movie-list { display: flex; flex-direction: column; gap: 14px; }
.amt-list-item {
    display: grid; grid-template-columns: 100px 1fr auto; gap: 16px;
    background: var(--amt-surface); padding: 12px;
    border-radius: var(--amt-radius); align-items: center;
    transition: transform .2s var(--amt-ease);
}
.amt-list-item:hover { transform: translateX(6px); }
.amt-list-poster img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: var(--amt-radius-sm); }
.amt-list-info h3 { font-size: 22px; margin: 0 0 6px; }
.amt-list-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; font-size: 13px; }
.amt-list-info p { color: var(--amt-text-2); margin: 0; font-size: 14px; }
.amt-list-cta { color: var(--amt-accent); font-size: 22px; }

/* --------- Hero banner (layout 6) --------- */
.amt-hero-banner {
    background-size: cover; background-position: center;
    min-height: 620px; padding: 80px 0;
    display: flex; align-items: flex-end; color: #fff;
    border-radius: var(--amt-radius); margin-bottom: 40px;
}
.amt-hero-inner { max-width: 720px; padding: 0 40px; }
.amt-hero-tag { color: var(--amt-gold); letter-spacing: 4px; font-weight: 800; font-size: 12px; }
.amt-hero-title { font-size: 84px; color: #fff; line-height: 0.95; margin: 8px 0 12px; }
.amt-hero-meta { display: flex; gap: 12px; margin-bottom: 12px; }
.amt-hero-desc { color: #d0d0d5; font-size: 16px; max-width: 620px; margin-bottom: 24px; }
.amt-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --------- Archive layout --------- */
.amt-archive-header { padding: 30px 0 16px; }
.amt-archive-title { font-size: 44px; }
.amt-archive-title span { color: var(--amt-accent); }
.amt-archive-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
.amt-filters-sidebar {
    background: var(--amt-surface);
    border-radius: var(--amt-radius);
    padding: 20px; position: sticky; top: 90px;
}
.amt-filter-title { font-size: 22px; margin-bottom: 16px; }
.amt-filter-group { margin-bottom: 14px; }
.amt-filter-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--amt-text-3); margin-bottom: 6px; }
.amt-filter-group select {
    width: 100%; padding: 10px; border-radius: var(--amt-radius-sm);
    background: var(--amt-bg-3); color: var(--amt-text); border: 1px solid var(--amt-border);
    font-family: var(--amt-body-font);
}
.amt-filter-form .amt-btn { width: 100%; margin-top: 10px; }

/* --------- Pagination --------- */
.amt-pagination { margin: 40px 0; text-align: center; }
.amt-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 8px 14px; margin: 0 3px; background: var(--amt-surface);
    color: var(--amt-text-2); border-radius: 8px; font-weight: 700;
}
.amt-pagination .page-numbers.current { background: var(--amt-accent); color: #fff; }
.amt-pagination .page-numbers:hover { background: var(--amt-accent); color: #fff; }

/* --------- Single Movie --------- */
.amt-single-hero {
    background-size: cover; background-position: center top;
    padding: 60px 0 40px;
    margin-bottom: 30px;
}
.amt-single-header { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.amt-poster-side img { border-radius: var(--amt-radius); box-shadow: var(--amt-shadow); }
.amt-single-title { font-size: 62px; margin: 0 0 10px; }
.amt-single-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.amt-genres { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 20px; }
.amt-genre-chip {
    background: var(--amt-bg-3); padding: 6px 12px; border-radius: 30px;
    font-size: 12px; font-weight: 600; border: 1px solid var(--amt-border);
    text-transform: uppercase;
}
.amt-genre-chip:hover { background: var(--amt-accent); color: #fff; border-color: var(--amt-accent); }
.amt-cast-info p { color: var(--amt-text-2); margin: 4px 0; }
.amt-cast-info strong { color: var(--amt-text); }
.amt-single-plot h3 { font-size: 22px; margin-top: 20px; color: var(--amt-accent); }

.amt-video-wrap {
    position: relative; padding-bottom: 56.25%; height: 0;
    border-radius: var(--amt-radius); overflow: hidden; background: #000;
    box-shadow: var(--amt-shadow);
}
.amt-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.amt-player-timer {
    background: var(--amt-surface); border-radius: var(--amt-radius);
    padding: 40px; text-align: center; min-height: 300px;
    display: flex; align-items: center; justify-content: center; flex-direction: column;
}
.amt-timer-inner { max-width: 500px; margin: 0 auto; }
.amt-timer-text { font-size: 18px; margin-bottom: 16px; }
.amt-timer-count { color: var(--amt-accent); font-weight: 900; font-size: 32px; font-family: var(--amt-heading-font); }
.amt-timer-bar { background: var(--amt-bg-3); border-radius: 30px; overflow: hidden; height: 6px; }
.amt-timer-bar-fill { background: linear-gradient(90deg, var(--amt-accent), var(--amt-gold)); height: 100%; width: 0; transition: width .3s linear; }

/* Share bar */
.amt-share { display: flex; gap: 8px; margin: 20px 0; align-items: center; flex-wrap: wrap; }
.amt-share-label { color: var(--amt-text-2); font-weight: 700; margin-right: 6px; }
.amt-share-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--amt-bg-3); color: var(--amt-text);
    transition: all .2s var(--amt-ease);
}
.amt-share-btn:hover { background: var(--amt-accent); color: #fff; transform: translateY(-2px); }
.amt-fb:hover { background: #1877f2; }
.amt-tw:hover { background: #000; }
.amt-wa:hover { background: #25d366; }
.amt-tg:hover { background: #0088cc; }

/* --------- Modal Timer --------- */
.amt-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; }
.amt-modal.amt-open { display: flex; }
.amt-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.85); backdrop-filter: blur(6px); }
.amt-modal-content {
    position: relative; background: var(--amt-surface); padding: 40px;
    border-radius: var(--amt-radius); max-width: 520px; width: 90%;
    text-align: center; box-shadow: var(--amt-shadow);
}
.amt-modal-content h3 { font-size: 26px; margin-bottom: 10px; color: var(--amt-accent); }
.amt-modal-close {
    position: absolute; top: 12px; right: 12px;
    background: none; border: 0; color: var(--amt-text-2);
    font-size: 24px; cursor: pointer;
}
.amt-modal-ad { margin: 20px 0; min-height: 60px; }
.amt-timer-go { margin-top: 16px; }

/* --------- Footer --------- */
.amt-footer {
    background: var(--amt-bg-2);
    border-top: 1px solid var(--amt-border);
    padding: 50px 0 20px;
    margin-top: 60px;
    position: relative;
}
.amt-footer-grid { display: grid; gap: 30px; }
.amt-footer-cols-1 { grid-template-columns: 1fr; }
.amt-footer-cols-2 { grid-template-columns: repeat(2, 1fr); }
.amt-footer-cols-3 { grid-template-columns: repeat(3, 1fr); }
.amt-footer-cols-4 { grid-template-columns: repeat(4, 1fr); }
.amt-footer-col h4 { font-size: 22px; color: var(--amt-accent); margin-bottom: 14px; }
.amt-footer-col p { color: var(--amt-text-2); font-size: 14px; line-height: 1.7; }
.amt-footer-col a { color: var(--amt-text-2); }
.amt-footer-col a:hover { color: var(--amt-accent); }
.amt-footer-menu { list-style: none; padding: 0; margin: 0; }
.amt-footer-menu li { margin-bottom: 8px; }
.amt-footer-menu a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; transition: transform .2s var(--amt-ease); }
.amt-footer-menu a::before { content: "›"; color: var(--amt-accent); font-weight: 700; }
.amt-footer-menu a:hover { transform: translateX(4px); }

.amt-social-icons { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.amt-social-icons a {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--amt-bg-3); color: var(--amt-text);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .25s var(--amt-ease);
}
.amt-social-icons a:hover { background: var(--amt-accent); color: #fff; transform: translateY(-3px) scale(1.05); }

/* Newsletter / CTA column */
.amt-footer-cta-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.amt-footer-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 16px; border-radius: 30px;
    font-weight: 700; font-size: 13px; letter-spacing: 0.5px;
    transition: all .25s var(--amt-ease);
}
.amt-cta-tg { background: #0088cc; color: #fff !important; }
.amt-cta-wa { background: #25d366; color: #fff !important; }
.amt-footer-cta:hover { transform: translateY(-2px); filter: brightness(1.1); box-shadow: 0 8px 20px rgba(0,0,0,.3); color: #fff !important; }

/* Footer bottom bar */
.amt-footer-bottom {
    border-top: 1px solid var(--amt-border);
    margin-top: 30px; padding-top: 20px;
    display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
}
.amt-footer-bottom-left    { justify-content: flex-start; text-align: left; }
.amt-footer-bottom-center  { justify-content: center; text-align: center; flex-direction: column; }
.amt-footer-bottom-right   { justify-content: flex-end; text-align: right; flex-direction: row-reverse; }
.amt-footer-bottom-split   { justify-content: space-between; text-align: left; }
.amt-copy { color: var(--amt-text-3); font-size: 13px; margin: 0; }
.amt-footer-bottom-menu ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.amt-footer-bottom-menu a { color: var(--amt-text-3); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.amt-footer-bottom-menu a:hover { color: var(--amt-accent); }
.amt-footer-custom { margin-top: 20px; color: var(--amt-text-2); font-size: 14px; text-align: center; }
.amt-footer-custom-html { margin-top: 20px; color: var(--amt-text-2); font-size: 13px; padding: 16px; background: var(--amt-bg-3); border-radius: var(--amt-radius-sm); }

/* Footer Style variants */
.amt-footer-style-minimal { padding: 24px 0 16px; margin-top: 40px; }
.amt-footer-style-minimal .amt-footer-grid { gap: 20px; }
.amt-footer-style-minimal .amt-footer-col h4 { font-size: 18px; margin-bottom: 10px; }

.amt-footer-style-gradient { background: linear-gradient(180deg, var(--amt-bg-2) 0%, var(--amt-bg) 100%); border-top: 3px solid var(--amt-accent); }
.amt-footer-style-gradient::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--amt-accent), var(--amt-gold), var(--amt-accent));
    background-size: 200% 100%; animation: amt-gradient-shift 8s linear infinite;
}
@keyframes amt-gradient-shift { 0%{background-position:0 0;} 100%{background-position:200% 0;} }

.amt-footer-style-boxed { margin: 60px 20px 20px; border-radius: 20px; }
.amt-footer-style-boxed .amt-container { padding: 0 30px; }

/* --------- Comments (Reviews) --------- */
.amt-comments-area {
    background: var(--amt-surface);
    border-radius: var(--amt-radius);
    padding: 32px;
    margin-top: 40px;
    border: 1px solid var(--amt-border);
}
.amt-comments-title {
    font-size: 28px;
    color: var(--amt-text);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--amt-accent);
    display: flex; align-items: center; gap: 10px;
}
.amt-comments-title i { color: var(--amt-accent); }
.amt-comment-count { color: var(--amt-accent); }
.amt-comments-list { list-style: none; padding: 0; margin: 0 0 30px; }
.amt-comments-list .children { list-style: none; padding: 0; margin: 16px 0 0 60px; border-left: 2px solid var(--amt-border); padding-left: 20px; }
.amt-comment { margin-bottom: 20px; }
.amt-comment-body {
    background: var(--amt-bg-3);
    border-radius: var(--amt-radius-sm);
    padding: 20px;
    border: 1px solid var(--amt-border);
    transition: border-color .2s var(--amt-ease);
}
.amt-comment-body:hover { border-color: var(--amt-accent); }
.amt-comment-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.amt-comment-avatar img {
    border-radius: 50%;
    border: 2px solid var(--amt-accent);
    padding: 2px;
    background: var(--amt-bg-2);
}
.amt-comment-author-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.amt-comment-author {
    font-weight: 700;
    color: var(--amt-text);
    font-size: 15px;
    font-family: var(--amt-heading-font);
    letter-spacing: 0.5px;
}
.amt-comment-author a { color: var(--amt-text); }
.amt-comment-author a:hover { color: var(--amt-accent); }
.amt-comment-date {
    font-size: 12px;
    color: var(--amt-text-3);
    display: flex; align-items: center; gap: 4px;
}
.amt-comment-awaiting {
    background: var(--amt-gold);
    color: #111;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 700;
}
.amt-comment-content {
    color: var(--amt-text-2);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 12px;
}
.amt-comment-content p:last-child { margin-bottom: 0; }
.amt-comment-footer {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 13px;
}
.amt-comment-footer .comment-reply-link,
.amt-comment-footer .amt-reply-link,
.amt-edit-link a {
    color: var(--amt-accent);
    font-weight: 600;
    padding: 4px 10px;
    background: rgba(229,9,20,.1);
    border-radius: 20px;
    transition: all .2s var(--amt-ease);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.amt-comment-footer .comment-reply-link:hover,
.amt-edit-link a:hover {
    background: var(--amt-accent);
    color: #fff;
}

/* Comment form */
.amt-comment-respond {
    background: var(--amt-bg-3);
    border-radius: var(--amt-radius);
    padding: 24px;
    border: 1px solid var(--amt-border);
    margin-top: 20px;
}
.amt-comment-reply-title {
    font-size: 24px;
    color: var(--amt-text);
    margin-bottom: 8px;
    display: flex; align-items: center; gap: 8px;
}
.amt-comment-reply-title i { color: var(--amt-accent); }
.amt-comment-reply-title small { font-size: 13px; margin-left: 10px; }
.amt-comment-reply-title small a { color: var(--amt-text-3); }
.amt-comment-notes {
    color: var(--amt-text-3);
    font-size: 13px;
    margin-bottom: 16px;
}
.comment-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--amt-text-2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    background: var(--amt-bg-2);
    border: 1px solid var(--amt-border);
    color: var(--amt-text);
    padding: 12px 16px;
    border-radius: var(--amt-radius-sm);
    font-family: var(--amt-body-font);
    font-size: 14px;
    transition: border-color .2s var(--amt-ease), box-shadow .2s var(--amt-ease);
}
.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--amt-accent);
    box-shadow: 0 0 0 3px rgba(229,9,20,.15);
}
.comment-form textarea { resize: vertical; min-height: 120px; }
.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--amt-text-3);
    font-size: 13px;
    margin: 12px 0;
}
.comment-form-cookies-consent input { width: auto; }
.form-submit { margin-top: 16px; }
.form-submit .amt-btn { min-width: 180px; }

.logged-in-as { color: var(--amt-text-3); font-size: 13px; margin-bottom: 12px; }
.logged-in-as a { color: var(--amt-accent); }
.amt-no-comments { color: var(--amt-text-3); text-align: center; padding: 20px; font-style: italic; }

/* Author lock block styling (used in admin support page only) */
.amt-author-lock {
    padding: 0;
    margin: 0 0 12px;
    color: var(--amt-text-2);
}
.amt-author-lock .amt-support-desc {
    color: var(--amt-text-2);
    font-size: 14px;
    margin: 0 0 12px;
    line-height: 1.6;
}
.amt-support-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.amt-support-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--amt-bg-3);
    border: 1px solid var(--amt-border);
    border-radius: 8px;
    font-size: 13px;
    transition: transform .2s var(--amt-ease), border-color .2s var(--amt-ease);
}
.amt-support-list li:hover { transform: translateX(4px); border-color: var(--amt-accent); }
.amt-support-list li i { color: var(--amt-accent); width: 18px; text-align: center; }
.amt-support-list .fa-whatsapp { color: #25d366; }
.amt-support-list .fa-youtube  { color: #ff0000; }
.amt-support-label { color: var(--amt-text-3); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; min-width: 70px; }
.amt-author-brand { color: var(--amt-accent); font-weight: 800; letter-spacing: 0.5px; }
.amt-author-link  { color: var(--amt-text); font-weight: 600; }
.amt-author-link:hover { color: var(--amt-gold); }
.amt-footer-support h4 i { color: var(--amt-accent); margin-right: 6px; }
.amt-support-line { font-size: 14px; margin: 6px 0; }
.amt-support-line i { color: var(--amt-accent); margin-right: 6px; }

/* --------- Back to top --------- */
#amt-back-top {
    position: fixed; bottom: 80px; right: 20px; z-index: 90;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--amt-accent); color: #fff;
    display: none; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(229,9,20,.5);
    transition: transform .2s var(--amt-ease);
}
#amt-back-top:hover { transform: translateY(-3px); color: #fff; }
#amt-back-top.amt-visible { display: inline-flex; }

/* --------- 404 --------- */
.amt-404-inner { text-align: center; padding: 80px 0; }
.amt-404 h1 { font-size: 160px; color: var(--amt-accent); margin: 0; line-height: 1; }
.amt-404 .amt-search-inline { display: flex; max-width: 400px; margin: 20px auto; gap: 8px; }
.amt-search-inline input { flex: 1; padding: 12px 16px; border-radius: 30px; background: var(--amt-bg-3); border: 1px solid var(--amt-border); color: var(--amt-text); }
.amt-search-inline button { background: var(--amt-accent); color: #fff; border: 0; padding: 0 20px; border-radius: 30px; cursor: pointer; }

.amt-no-posts { padding: 60px; text-align: center; color: var(--amt-text-2); }
.amt-no-posts i { font-size: 50px; color: var(--amt-text-3); margin-bottom: 12px; display: block; }

.amt-page-wrap { max-width: 900px; margin: 30px auto; }
.amt-page-title { font-size: 44px; margin-bottom: 20px; }
.amt-page-content { color: var(--amt-text-2); font-size: 16px; }
.amt-page-content a { color: var(--amt-accent); }

/* --------- Responsive --------- */
@media (max-width: 1024px) {
    .amt-header-inner { grid-template-columns: auto auto auto; }
    .amt-nav-desktop { display: none; }
    .amt-mobile-toggle { display: inline-flex; }
    .amt-single-header { grid-template-columns: 240px 1fr; gap: 24px; }
    .amt-archive-layout { grid-template-columns: 1fr; }
    .amt-hero-title { font-size: 60px; }
    .amt-carousel-title { font-size: 40px; }
    .amt-magazine-hero { grid-template-columns: 1fr; height: auto; }
    .amt-mag-side { grid-template-rows: auto; grid-template-columns: repeat(2, 1fr); }
    .amt-filters-sidebar { position: static; }
    .amt-container { padding: 0 16px; }
}
@media (max-width: 900px) {
    .amt-header-style-1 .amt-header-inner { grid-template-columns: auto auto; text-align: left; }
    .amt-header-style-1 .amt-header-tools { justify-self: end; }
    .amt-comments-area { padding: 20px; }
}
@media (max-width: 768px) {
    .amt-search-input { width: 160px; padding: 8px 34px 8px 14px; font-size: 13px; }
    .amt-search-input:focus { width: 200px; }
    .amt-single-header { grid-template-columns: 1fr; text-align: center; }
    .amt-poster-side { max-width: 220px; margin: 0 auto; }
    .amt-single-title { font-size: 34px; text-align: center; }
    .amt-single-meta, .amt-genres, .amt-share { justify-content: center; }
    .amt-cast-info { text-align: left; }
    .amt-hero-banner { min-height: 420px; padding: 40px 0; }
    .amt-hero-title { font-size: 36px; line-height: 1; }
    .amt-hero-inner { padding: 0 20px; }
    .amt-hero-desc { font-size: 14px; }
    .amt-carousel { height: 340px; }
    .amt-carousel-title { font-size: 28px; }
    .amt-carousel-content { padding: 20px; }
    .amt-carousel-desc { display: none; }
    .amt-section-title { font-size: 22px; }
    .amt-section { margin: 30px 0; }
    .amt-movies-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
    .amt-card-title { font-size: 15px; }
    .amt-footer-grid { grid-template-columns: 1fr !important; gap: 24px; }
    .amt-footer { padding: 30px 0 80px; }
    .amt-list-item { grid-template-columns: 90px 1fr; gap: 12px; padding: 10px; }
    .amt-list-item h3 { font-size: 18px; }
    .amt-list-info p { font-size: 13px; }
    .amt-list-cta { display: none; }
    .amt-404 h1 { font-size: 100px; }
    .amt-buttons-grid { grid-template-columns: 1fr; }
    .amt-btn { padding: 12px 18px; font-size: 13px; }
    .amt-comments-area { padding: 16px; }
    .amt-comments-title { font-size: 22px; }
    .amt-comment-body { padding: 14px; }
    .amt-comment-header { gap: 10px; }
    .amt-comment-avatar img { width: 40px; height: 40px; }
    .amt-comments-list .children { margin-left: 20px; padding-left: 12px; }
    .comment-form textarea { min-height: 100px; }
    .amt-page-title { font-size: 30px; }
}
@media (max-width: 480px) {
    .amt-header-tools { gap: 6px; }
    .amt-search-form { flex: 1; }
    .amt-search-input { width: 100%; }
    .amt-search-input:focus { width: 100%; }
    .amt-theme-toggle, .amt-mobile-toggle { width: 38px; height: 38px; flex-shrink: 0; }
    .amt-site-title { font-size: 22px; }
    .amt-logo-mark { width: 28px; height: 28px; font-size: 13px; }
    .amt-movies-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .amt-grid-compact { grid-template-columns: repeat(2, 1fr); }
    .amt-buttons-grid { grid-template-columns: 1fr; gap: 8px; }
    .amt-carousel { height: 300px; }
    .amt-hero-title { font-size: 30px; }
    .amt-carousel-actions { flex-direction: column; }
    .amt-carousel-actions .amt-btn { width: 100%; justify-content: center; }
    .amt-notification-bar .amt-container { flex-wrap: wrap; }
    .amt-single-meta, .amt-genres { flex-wrap: wrap; }
    .amt-mag-main h2 a { font-size: 30px; }
    .amt-carousel-title { font-size: 22px; }
    .amt-support-list li { font-size: 12px; padding: 6px 10px; }
    .amt-support-label { min-width: 60px; font-size: 11px; }
}

/* Accessibility */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Visually hidden — kept in DOM for accessibility/verification but invisible to users */
.amt-visually-hidden,
.amt-visually-hidden * {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    pointer-events: none !important;
}

/* Fade-in animation */
@keyframes amt-fade-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.amt-movie-card { animation: amt-fade-in .5s var(--amt-ease) backwards; }
.amt-movies-grid .amt-movie-card:nth-child(1)  { animation-delay: .02s; }
.amt-movies-grid .amt-movie-card:nth-child(2)  { animation-delay: .05s; }
.amt-movies-grid .amt-movie-card:nth-child(3)  { animation-delay: .08s; }
.amt-movies-grid .amt-movie-card:nth-child(4)  { animation-delay: .11s; }
.amt-movies-grid .amt-movie-card:nth-child(5)  { animation-delay: .14s; }
.amt-movies-grid .amt-movie-card:nth-child(6)  { animation-delay: .17s; }
