/*
=========================================================
   ALOR NACHON — KIDS / TEEN MAGAZINE
   Bright • Friendly • Playful • Bengali Typography
   Bootstrap 5 Compatible
=========================================================
*/

:root {
    --sky: #EAF8FF;
    --sky-strong: #D5F1FF;
    --cream: #FFF9EC;
    --paper: #FFFDF8;
    --white: #FFFFFF;

    --ink: #243447;
    --muted: #64748B;
    --soft-muted: #94A3B8;

    --blue: #3B82F6;
    --blue-dark: #2563EB;

    --orange: #FF8A3D;
    --orange-dark: #F97316;

    --yellow: #FFD84D;
    --yellow-soft: #FFF3B8;

    --pink: #FF6FAE;
    --pink-soft: #FFE2EE;

    --green: #36B37E;
    --green-soft: #DDF7EA;

    --purple: #8B6DFF;
    --purple-soft: #ECE7FF;

    --line: #E7EDF4;

    --shadow: 0 12px 30px rgba(44, 62, 80, .08);
    --shadow-hover: 0 20px 45px rgba(44, 62, 80, .14);

    --radius: 22px;
    --radius-sm: 15px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body.kids-magazine {
    font-family: "Hind Siliguri", sans-serif;
    background: var(--paper);
    color: var(--ink);
    font-size: 20px;
    line-height: 1.8;
    overflow-x: hidden;
}

body.kids-magazine::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .28;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(59,130,246,.055) 0 2px, transparent 2.5px),
        radial-gradient(circle at 80% 70%, rgba(255,111,174,.05) 0 2px, transparent 2.5px);
    background-size: 34px 34px, 42px 42px;
    z-index: -1;
}

img {
    display: block;
    width: 100%;
}

a {
    text-decoration: none;
    transition: .25s ease;
}

button,
input,
select {
    font-family: inherit;
}

::selection {
    background: var(--yellow);
    color: var(--ink);
}

section {
    position: relative;
    padding: 82px 0;
}

.container {
    position: relative;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--blue);
    background: var(--sky);
    border: 1px solid #D4EEFB;
    border-radius: 999px;
    padding: 5px 13px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2px;
    margin-bottom: 8px;
}

.section-kicker::before {
    content: "✦";
    color: #f30f13;
    font-size: 11px;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 45px;
}

.section-heading h2,
.section-heading-row h2 {
    font-family: "Noto Serif Bengali", serif;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.3;
    font-weight: 800;
    margin: 7px 0 12px;
}

.section-heading p {
    color: var(--muted);
    margin: 0 auto;
    max-width: 620px;
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--blue);
    font-weight: 700;
    white-space: nowrap;
}

.view-all:hover {
    color: #f30f13;
    transform: translateX(3px);
}

.btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 11px 22px;
    border-width: 2px;
    transition: .25s ease;
}

.btn i {
    margin-left: 4px;
}

.btn-gold {
    color: #fff !important;
    background: #f30f13;
    border-color: #f30f13;
    box-shadow: 0 7px 0 #E86D20;
}

.btn-gold:hover {
    color: #fff;
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 9px 0 #D95F17;
}

.btn-outline-dark {
    color: var(--blue);
    background: #fff;
    border-color: #BFD8F5;
}

.btn-outline-dark:hover {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
    transform: translateY(-2px);
}

/* =========================================================
   NAVBAR
========================================================= */

.custom-navbar {
    min-height: 76px;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 18px rgba(50,70,90,.05);
    backdrop-filter: blur(14px);
    z-index: 1000;
}

.custom-navbar .container {
    min-height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--ink) !important;
    font-family: "Noto Serif Bengali", serif;
    font-size: 25px;
    font-weight: 800;
    white-space: nowrap;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    color: var(--ink);
    background: var(--yellow);
    border: 3px solid #fff;
    border-radius: 12px 12px 12px 5px;
    font-size: 18px;
    box-shadow: 0 4px 0 #E9C333;
    transform: rotate(-4deg);
}

.navbar-nav {
    gap: 4px;
}

.navbar-nav .nav-link {
    position: relative;
    color: #526274;
    font-size: 18px;
    font-weight: 600;
    padding: 22px 8px !important;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    bottom: 13px;
    height: 3px;
    border-radius: 999px;
    background: #f30f13;
    transform: scaleX(0);
    transition: .25s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--blue);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.login-link {
    color: var(--ink);
    font-weight: 600;
}

.login-link:hover {
    color: var(--blue);
}

.nav-subscribe {
    padding: 0px 10px;
    font-size: 20px;
}

.navbar-toggler {
    border: 2px solid #D9E6F2;
    border-radius: 12px;
    padding: 6px 9px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}

/* =========================================================
   HERO
========================================================= */

.hero-section {
    min-height: 570px;
    display: flex;
    align-items: center;
    padding: 72px 0 86px;
    overflow: hidden;
    background:
        linear-gradient(135deg, #EAF8FF 0%, #FFFDF7 48%, #FFF1F7 100%);
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::before {
    width: 390px;
    height: 390px;
    right: -170px;
    top: -170px;
    background: rgba(255,216,77,.28);
}

.hero-section::after {
    width: 240px;
    height: 240px;
    left: -120px;
    bottom: -130px;
    background: rgba(139,109,255,.13);
}

.hero-content {
    max-width: 620px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--purple);
    background: var(--purple-soft);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 700;
}

.eyebrow::before {
    content: "★";
    color: #f30f13;
}

.hero-title {
    position: relative;
    font-family: "Noto Serif Bengali", serif;
    color: var(--ink);
    font-size: clamp(48px, 6vw, 74px);
    line-height: 1.08;
    font-weight: 800;
    margin: 15px 0 18px;
}

.hero-title::after {
    content: "";
    display: block;
    width: 90px;
    height: 7px;
    margin-top: 13px;
    border-radius: 999px;
    background: var(--yellow);
    transform: rotate(-2deg);
}

.hero-description {
    max-width: 590px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.hero-stats {
    display: flex;
    gap: 12px;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 0;
}

.hero-stats div {
    min-width: 105px;
    padding: 10px 14px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(59,130,246,.12);
    border-radius: 15px;
}

.hero-stats div:nth-child(1) {
    transform: rotate(-1deg);
}

.hero-stats div:nth-child(2) {
    transform: translateY(4px) rotate(1deg);
}

.hero-stats div:nth-child(3) {
    transform: rotate(-1deg);
}

.hero-stats strong {
    display: block;
    font-family: "Noto Serif Bengali", serif;
    color: var(--blue);
    font-size: 24px;
    line-height: 1.25;
}

.hero-stats span {
    color: var(--soft-muted);
    font-size: 11px;
    font-weight: 600;
}

.hero-cover-wrap {
    position: relative;
    width: min(345px, 85%);
    margin: 0 auto;
    transform: rotate(2deg);
}

.hero-cover-wrap::before {
    content: "নতুন সংখ্যা";
    position: absolute;
    z-index: 5;
    right: -24px;
    top: 23px;
    padding: 7px 13px;
    color: var(--ink);
    background: var(--yellow);
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
    transform: rotate(7deg);
    box-shadow: 0 5px 0 #E9C333;
}

.hero-cover {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 8px;
    background: #fff;
    border: 4px solid #fff;
    border-radius: 18px;
    box-shadow: 0 24px 50px rgba(50,70,90,.16);
}

.hero-cover img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 12px;
}

.paper-back {
    position: absolute;
    z-index: 1;
    width: 93%;
    height: 95%;
    right: -16px;
    top: 18px;
    background: var(--pink-soft);
    border-radius: 18px;
    transform: rotate(5deg);
}

.cover-caption {
    position: absolute;
    z-index: 6;
    left: -30px;
    bottom: 14px;
    display: flex;
    flex-direction: column;
    padding: 10px 16px;
    background: #fff;
    border: 2px solid #E5EDF5;
    border-radius: 13px;
    box-shadow: var(--shadow);
    transform: rotate(-3deg);
}

.cover-caption span {
    color: #f30f13;
    font-size: 11px;
    font-weight: 700;
}

.cover-caption strong {
    font-family: "Noto Serif Bengali", serif;
    color: var(--ink);
    font-size: 15px;
}

/* =========================================================
   FEATURED
========================================================= */

.featured-section {
    background: #fff;
}

.featured-card {
    position: relative;
    overflow: hidden;
    padding: 42px;
    background: linear-gradient(135deg, #FFF9EC, #FFFDF8);
    border: 2px solid #F6E6B6;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.featured-card::before {
    content: "★";
    position: absolute;
    right: 28px;
    top: 18px;
    color: rgba(255,216,77,.55);
    font-size: 65px;
    transform: rotate(14deg);
}

.featured-cover {
    position: relative;
    width: min(275px, 82%);
    margin: auto;
}

.featured-cover img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 15px;
    border: 7px solid #fff;
    box-shadow: var(--shadow-hover);
}

.new-badge {
    position: absolute;
    top: 15px;
    left: -10px;
    padding: 5px 13px;
    background: var(--pink);
    color: #fff;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
    transform: rotate(-5deg);
    box-shadow: 0 4px 0 #E85A93;
}

.issue-label {
    display: inline-block;
    color: var(--green);
    background: var(--green-soft);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 800;
}

.featured-card h3 {
    position: relative;
    font-family: "Noto Serif Bengali", serif;
    color: var(--ink);
    font-size: 34px;
    line-height: 1.4;
    font-weight: 800;
    margin: 10px 0 15px;
}

.featured-text {
    max-width: 720px;
    color: var(--muted);
}

.issue-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.issue-meta span {
    padding: 7px 12px;
    background: #fff;
    border: 1px solid #E8EAF0;
    border-radius: 999px;
    color: #526274;
    font-size: 12px;
    font-weight: 600;
}

.issue-meta i {
    color: #f30f13;
    margin-right: 4px;
}

.featured-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* =========================================================
   LATEST ISSUES
========================================================= */

.latest-section {
    background: var(--sky);
}

.issue-card {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 2px solid rgba(59,130,246,.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: .3s ease;
}

.issue-card:hover {
    transform: translateY(-8px) rotate(-.5deg);
    box-shadow: var(--shadow-hover);
}

.issue-cover {
    position: relative;
    overflow: hidden;
    background: #EEF6FB;
}

.issue-cover img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: .45s ease;
}

.issue-card:hover .issue-cover img {
    transform: scale(1.06);
}

.issue-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    padding: 5px 11px;
    border-radius: 9px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 3px 0 rgba(0,0,0,.12);
}

.issue-badge.free {
    background: var(--green);
}

.issue-badge.premium {
    background: var(--pink);
}

.issue-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(36,52,71,.28);
    opacity: 0;
    transition: .3s;
}

.issue-card:hover .issue-overlay {
    opacity: 1;
}

.overlay-button {
    padding: 9px 18px;
    background: #fff;
    color: var(--blue);
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 5px 15px rgba(0,0,0,.12);
}

.overlay-button:hover {
    color: #fff;
    background: #f30f13;
}

.issue-info {
    padding: 16px 18px 19px;
}

.issue-info > span {
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
}

.issue-info h3 {
    font-family: "Noto Serif Bengali", serif;
    color: var(--ink);
    font-size: 22px;
    margin: 1px 0 0;
}

.issue-info p {
    color: var(--soft-muted);
    font-size: 12px;
    margin: 0;
}

/* =========================================================
   ARCHIVE
========================================================= */

.archive-section {
    background: #fff;
}

.archive-tools {
    max-width: 940px;
    margin: 0 auto 30px;
    display: flex;
    gap: 9px;
}

.archive-search {
    position: relative;
    flex: 1;
}

.archive-search i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--blue);
}

.archive-search input,
.archive-select {
    width: 100%;
    height: 51px;
    border: 2px solid #E4EDF5;
    outline: none;
    background: #F9FCFF;
    border-radius: 15px;
    color: #526274;
}

.archive-search input {
    padding: 0 18px 0 45px;
}

.archive-select {
    width: 210px;
    padding: 0 18px;
}

.archive-search input:focus,
.archive-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(59,130,246,.08);
}

.archive-years {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.archive-years button {
    border: 2px solid #E5EDF5;
    background: #fff;
    color: #526274;
    border-radius: 12px;
    padding: 7px 19px;
    cursor: pointer;
    transition: .25s;
    font-weight: 700;
}

.archive-years button:hover,
.archive-years button.active {
    color: var(--ink);
    background: var(--yellow);
    border-color: var(--yellow);
    transform: translateY(-2px);
    box-shadow: 0 4px 0 #E9C333;
}

.archive-months {
    max-width: 940px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.archive-months a {
    padding: 12px;
    text-align: center;
    color: var(--blue);
    background: #F9FCFF;
    border: 2px solid #E5EDF5;
    border-radius: 14px;
    font-weight: 600;
}

.archive-months a:nth-child(3n+1):hover {
    background: var(--pink-soft);
    color: var(--pink);
    border-color: #FFC7DE;
}

.archive-months a:nth-child(3n+2):hover {
    background: var(--sky);
    color: var(--blue);
    border-color: #C9EBFA;
}

.archive-months a:nth-child(3n):hover {
    background: var(--green-soft);
    color: var(--green);
    border-color: #BFECD5;
}

/* =========================================================
   EDITOR'S PICK
========================================================= */

.editors-section {
    background: var(--cream);
}

.slider-controls {
    display: flex;
    gap: 7px;
}

.slider-controls button {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #E7DDAE;
    background: #fff;
    color: var(--ink);
    border-radius: 13px;
    cursor: pointer;
    transition: .25s;
}

.slider-controls button:hover {
    color: var(--ink);
    background: var(--yellow);
    border-color: var(--yellow);
    transform: translateY(-2px);
}

.editor-card {
    position: relative;
    height: 385px;
    overflow: hidden;
    background: #DDECF5;
    border-radius: 22px;
    border: 4px solid #fff;
    box-shadow: var(--shadow);
}

.editor-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(20,35,50,.82),
        rgba(20,35,50,.02) 72%
    );
}

.editor-card img {
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.editor-card:hover img {
    transform: scale(1.07);
}

.editor-content {
    position: absolute;
    z-index: 2;
    left: 21px;
    right: 21px;
    bottom: 19px;
    color: #fff;
}

.editor-content span {
    display: inline-block;
    color: var(--ink);
    background: var(--yellow);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
}

.editor-content h3 {
    font-family: "Noto Serif Bengali", serif;
    font-size: 21px;
    line-height: 1.4;
    margin: 7px 0 7px;
}

.editor-content a {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.editor-content a:hover {
    color: var(--yellow);
}

/* =========================================================
   BLOG
========================================================= */

.blog-section {
    background: #fff;
}

.blog-card {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 2px solid #E9EFF5;
    border-radius: 21px;
    transition: .3s;
}

.blog-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-hover);
    border-color: #D5E5F4;
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    height: 235px;
    object-fit: cover;
    transition: .5s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-image span {
    position: absolute;
    top: 13px;
    left: 13px;
    padding: 5px 12px;
    background: var(--yellow);
    color: var(--ink);
    border-radius: 9px;
    font-size: 11px;
    font-weight: 800;
}

.blog-body {
    padding: 22px;
}

.blog-body small {
    color: var(--pink);
    font-size: 11px;
    font-weight: 700;
}

.blog-body h3 {
    font-family: "Noto Serif Bengali", serif;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.45;
    margin: 7px 0 9px;
}

.blog-body p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 14px;
}

.blog-body > a {
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.blog-body > a:hover {
    color: #f30f13;
}

/* =========================================================
   ABOUT
========================================================= */

.about-section {
    background: linear-gradient(135deg, #F1FAFF, #FFF8E8);
}

.about-section h2 {
    font-family: "Noto Serif Bengali", serif;
    color: var(--ink);
    font-size: 39px;
    line-height: 1.35;
    margin: 6px 0 18px;
}

.about-section p {
    max-width: 610px;
    color: var(--muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
}

.stat-card {
    position: relative;
    padding: 27px 20px;
    text-align: center;
    background: #fff;
    border: 2px solid #E6EDF4;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: .25s;
}

.stat-card:nth-child(1) {
    border-top-color: var(--blue);
}

.stat-card:nth-child(2) {
    border-top-color: #f30f13;
}

.stat-card:nth-child(3) {
    border-top-color: var(--green);
}

.stat-card:nth-child(4) {
    border-top-color: var(--pink);
}

.stat-card:hover {
    transform: translateY(-5px) rotate(-.5deg);
}

.stat-card strong {
    display: block;
    color: var(--blue);
    font-family: "Noto Serif Bengali", serif;
    font-size: 39px;
    line-height: 1.25;
}

.stat-card:nth-child(2) strong {
    color: #f30f13;
}

.stat-card:nth-child(3) strong {
    color: var(--green);
}

.stat-card:nth-child(4) strong {
    color: var(--pink);
}

.stat-card span {
    color: var(--soft-muted);
    font-size: 12px;
    font-weight: 600;
}

/* =========================================================
   AUTHORS
========================================================= */

.authors-section {
    background: #fff;
}

.author-card {
    height: 100%;
    padding: 27px 20px;
    text-align: center;
    background: #FAFCFF;
    border: 2px solid #E8EFF6;
    border-radius: 22px;
    transition: .3s;
}

.author-card:hover {
    transform: translateY(-7px) rotate(-1deg);
    box-shadow: var(--shadow-hover);
}

.author-card:nth-child(1) {
    background: #F0FAFF;
}

.author-card:nth-child(2) {
    background: #FFF7EC;
}

.author-card:nth-child(3) {
    background: #FFF1F7;
}

.author-card:nth-child(4) {
    background: #F2F0FF;
}

.author-card img {
    width: 112px;
    height: 112px;
    margin: 0 auto 16px;
    object-fit: cover;
    border: 6px solid #fff;
    border-radius: 22px;
    box-shadow: 0 7px 20px rgba(44,62,80,.12);
}

.author-card h3 {
    font-family: "Noto Serif Bengali", serif;
    color: var(--ink);
    font-size: 20px;
    margin-bottom: 2px;
}

.author-card span {
    display: block;
    color: var(--soft-muted);
    font-size: 12px;
    margin-bottom: 12px;
}

.author-card a {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
}

.author-card a:hover {
    color: #f30f13;
}

/* =========================================================
   GALLERY
========================================================= */

.gallery-section {
    background: var(--sky);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 12px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 4px solid #fff;
    box-shadow: var(--shadow);
}

.gallery-item-large {
    grid-row: span 2;
}

.gallery-item img {
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.gallery-item:hover img {
    transform: scale(1.07) rotate(.5deg);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(36,52,71,.2);
    opacity: 0;
    transition: .25s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    background: var(--yellow);
    border-radius: 14px;
    box-shadow: 0 5px 0 #E9C333;
}

/* =========================================================
   PREMIUM
========================================================= */

.premium-section {
    background: #fff;
}

.premium-box {
    position: relative;
    overflow: hidden;
    padding: 52px;
    color: #fff;
    background: linear-gradient(135deg, #4C5FEA, #7B62E8);
    border-radius: 28px;
    box-shadow: 0 20px 45px rgba(76,95,234,.18);
}

.premium-box::before,
.premium-box::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.premium-box::before {
    width: 260px;
    height: 260px;
    right: -90px;
    top: -120px;
    background: rgba(255,216,77,.23);
}

.premium-box::after {
    width: 170px;
    height: 170px;
    left: -70px;
    bottom: -100px;
    background: rgba(255,111,174,.18);
}

.premium-kicker {
    display: inline-block;
    position: relative;
    color: var(--ink);
    background: var(--yellow);
    padding: 5px 12px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
}

.premium-box h2 {
    position: relative;
    max-width: 650px;
    font-family: "Noto Serif Bengali", serif;
    font-size: 39px;
    line-height: 1.4;
    margin: 10px 0 16px;
}

.premium-box p {
    position: relative;
    max-width: 620px;
    color: rgba(255,255,255,.82);
}

.premium-features {
    position: relative;
    margin-bottom: 23px;
}

.premium-features div {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 9px;
}

.premium-features i {
    color: var(--yellow);
}

.premium-button {
    position: relative;
    color: var(--ink);
    background: #fff;
    border: 2px solid #fff;
}

.premium-button:hover {
    color: var(--ink);
    background: var(--yellow);
    border-color: var(--yellow);
}

/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter-section {
    background: var(--cream);
}

.newsletter-box {
    max-width: 850px;
    margin: auto;
    padding: 50px;
    text-align: center;
    background: #fff;
    border: 2px solid #EDE4C5;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.newsletter-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    background: var(--sky);
    border: 2px solid #CDEAF8;
    border-radius: 18px;
    font-size: 25px;
    transform: rotate(-4deg);
}

.newsletter-box h2 {
    font-family: "Noto Serif Bengali", serif;
    color: var(--ink);
    font-size: 34px;
    line-height: 1.4;
    margin: 7px 0 10px;
}

.newsletter-box p {
    max-width: 580px;
    margin: 0 auto 24px;
    color: var(--muted);
}

.newsletter-form {
    max-width: 590px;
    margin: auto;
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    height: 50px;
    padding: 0 20px;
    border: 2px solid #E2EBF3;
    outline: none;
    background: #F9FCFF;
    border-radius: 15px;
}

.newsletter-form input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(59,130,246,.08);
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 65px 0 24px;
    color: #fff;
    background: #763e3e;
}

.footer-brand {
    color: #fff;
    font-family: "Noto Serif Bengali", serif;
    font-size: 29px;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer p {
    max-width: 400px;
    color: #ffffff;
}

.footer h5 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 16px;
}

.footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer ul li {
    margin-bottom: 7px;
}

.footer ul li a {
    color: #ffffff;
}

.footer ul li a:hover {
    color: var(--yellow);
    transform: translateX(2px);
}

.social-links {
    display: flex;
    gap: 8px;
    margin-top: 19px;
}

.social-links a {
    width: 39px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 12px;
}

.social-links a:hover {
    color: var(--ink);
    background: var(--yellow);
    border-color: var(--yellow);
    transform: translateY(-2px);
}

.contact-list li {
    display: flex;
    gap: 9px;
}

.contact-list i {
    color: var(--yellow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid #ffffff;
    color: #fff;
    font-size: 12px;
}

.footer-bottom a {
    margin-left: 18px;
    color: #fff;
}

.footer-bottom a:hover {
    color: var(--yellow);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    section {
        padding: 68px 0;
    }

    .navbar-nav .nav-link {
        padding: 8px 0 !important;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .nav-actions {
        margin: 10px 0 15px;
    }

    .hero-section {
        padding: 58px 0 70px;
        text-align: center;
    }

    .hero-content {
        margin: auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-cover-wrap {
        margin-top: 25px;
    }

    .featured-cover {
        width: 60%;
    }

    .section-heading h2,
    .section-heading-row h2 {
        font-size: 34px;
    }

    .premium-box {
        padding: 44px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    section {
        padding: 57px 0;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
        margin-bottom: 32px;
    }

    .hero-title {
        font-size: 45px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-stats {
        gap: 7px;
        flex-wrap: wrap;
    }

    .hero-stats div {
        flex: 1 1 29%;
        min-width: 0;
        padding: 9px 7px;
    }

    .hero-cover-wrap {
        width: 66%;
    }

    .featured-card {
        padding: 26px;
    }

    .featured-cover {
        width: 65%;
    }

    .featured-card h3 {
        font-size: 29px;
    }

    .archive-tools {
        flex-direction: column;
    }

    .archive-select {
        width: 100%;
    }

    .archive-tools .btn {
        width: 100%;
    }

    .archive-months {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 180px 180px 180px;
    }

    .gallery-item-large {
        grid-row: span 2;
    }

    .premium-box {
        padding: 38px 25px;
    }

    .premium-box h2 {
        font-size: 31px;
    }

    .newsletter-box {
        padding: 38px 22px;
    }

    .newsletter-box h2 {
        font-size: 29px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form .btn {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom a {
        margin: 0 7px;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .brand {
        font-size: 20px;
    }

    .brand img {
        max-width: 105px;
        height: auto !important;
    }

    .brand-mark {
        width: 31px;
        height: 31px;
        font-size: 15px;
    }

    .hero-section {
        padding-top: 48px;
    }

    .hero-title {
        font-size: 37px;
    }

    .hero-title::after {
        width: 70px;
        height: 6px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-cover-wrap {
        width: 78%;
    }

    .hero-cover-wrap::before {
        right: -10px;
        top: 12px;
    }

    .hero-stats {
        gap: 6px;
    }

    .hero-stats strong {
        font-size: 19px;
    }

    .hero-stats span {
        font-size: 9px;
    }

    .featured-cover {
        width: 80%;
    }

    .featured-buttons .btn {
        width: 100%;
    }

    .archive-months {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 210px);
    }

    .gallery-item-large {
        grid-row: auto;
    }

    .editor-card {
        height: 350px;
    }

    .stats-grid {
        gap: 9px;
    }

    .stat-card {
        padding: 22px 12px;
    }

    .stat-card strong {
        font-size: 31px;
    }
}
