/* TheBeckGun Roboto Global Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
    --bg-red: #ef4c4a;
    --bg-dark: #272526;
    --bg-card: #323031;
    --text-light: #ffffff;
    --text-muted: #a8a8a8;
    --accent-red: #ff3333;
    --brand-cream: #f0ebd8; /* Exact PSD Logo & Social Color */
    --font-main: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
}

/* ========================================================
   SECTION 1: HERO SECTION (FULL-WIDTH BG + 1440PX CONTENT ALIGNMENT)
   ======================================================== */
.hero-wrapper {
    width: 100%;
    background-color: var(--bg-red);
    position: relative;
    overflow: hidden;
    height: 1080px;
}

.hero-container {
    width: 100%;
    max-width: 1440px;
    height: 1080px;
    position: relative;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 992px) {
    .hero-wrapper {
        height: auto;
        min-height: 780px;
    }
    .hero-container {
        height: 780px;
        padding: 0 20px;
    }
}

/* Top Left Logo (Aligned to 1440px Content Grid) */
.hero-header {
    position: absolute;
    top: 60px;
    left: 40px;
    z-index: 25;
}

@media (max-width: 768px) {
    .hero-header {
        top: 24px;
        left: 20px;
    }
}

.brand-logo {
    height: 150px;
    max-height: 150px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.12));
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .brand-logo {
        height: 100px;
        max-height: 100px;
    }
}

/* Character Illustration (Bold, High-Presence, Responsive) */
.hero-illustration {
    position: absolute;
    right: -140px;
    bottom: -30px;
    height: 880px;
    width: auto;
    z-index: 5;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.25));
}

@media (max-width: 1400px) {
    .hero-illustration {
        height: 800px;
        right: -90px;
        bottom: -25px;
    }
}

@media (max-width: 1200px) {
    .hero-illustration {
        height: 720px;
        right: -60px;
        bottom: -20px;
    }
}

@media (max-width: 992px) {
    .hero-illustration {
        height: 600px;
        right: -30px;
        bottom: -15px;
        opacity: 0.9;
    }
}

@media (max-width: 768px) {
    .hero-illustration {
        height: 480px;
        right: -20px;
        bottom: 0;
        opacity: 0.55;
    }
}

/* Dynamic Stickers Container */
.stickers-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
}

.sticker-item {
    position: absolute;
    pointer-events: auto;
    cursor: pointer;
    transition: filter 0.25s ease;
    display: inline-block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.sticker-item:hover {
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.45));
    z-index: 30 !important;
}

.sticker-img,
.sticker-img svg {
    max-width: 310px;
    height: auto;
    display: block;
    user-select: none;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,0.25));
}

@media (max-width: 768px) {
    .sticker-img,
    .sticker-img svg {
        max-width: 180px;
    }
}

/* Sticky Note Custom Card */
.sticker-note-card {
    position: relative;
    width: 320px;
    max-width: 340px;
    background: transparent;
    display: block;
    filter: drop-shadow(0 10px 22px rgba(0,0,0,0.25));
}

@media (max-width: 768px) {
    .sticker-note-card {
        width: 220px;
        max-width: 220px;
    }
}

.sticker-note-card img,
.sticker-note-card svg {
    width: 100%;
    height: auto;
    display: block;
}

.sticker-note-text {
    position: absolute;
    top: 15%;
    left: 8%;
    right: 8%;
    bottom: 15%;
    padding: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    font-family: inherit;
    font-synthesis: weight style small-caps;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    user-select: none;
    word-break: break-word;
}

@media (max-width: 768px) {
    .sticker-note-text {
        font-size: 0.78rem;
        padding: 2px;
    }
}

/* Hero Social Icons & Handle (Centered, Not Bold, Shifted Up) */
.hero-social-block {
    position: absolute;
    bottom: 120px;
    left: 40px;
    z-index: 25;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (max-width: 992px) {
    .hero-social-block {
        bottom: 90px;
        left: 20px;
    }
}

@media (max-width: 768px) {
    .hero-social-block {
        bottom: 65px;
        left: 20px;
    }
}

.hero-social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.hero-social-icons a {
    color: var(--brand-cream);
    font-size: 1.35rem;
    opacity: 0.95;
    transition: opacity 0.2s, transform 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-social-icons a:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* @thebeckgun (Regular font-weight, not bold!) */
.hero-social-handle {
    color: var(--brand-cream);
    font-size: 1.65rem;
    font-weight: 400; /* NOT BOLD */
    letter-spacing: 0.2px;
    line-height: 1.2;
    margin-top: 4px;
    user-select: text;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-social-handle {
        font-size: 1.3rem;
    }
}

/* FULL-WIDTH Top Torn Edge (Spans 100% of the screen!) */
.torn-divider-full-top {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 140px;
    z-index: 10;
    line-height: 0;
    pointer-events: none;
}

.torn-divider-full-top img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

@media (max-width: 768px) {
    .torn-divider-full-top {
        height: 70px;
    }
}

/* ========================================================
   SECTION 2: BLOG & MEDIA FEED (1440PX CENTERED CONTAINER)
   ======================================================== */
.blog-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 120px 0;
    position: relative;
    z-index: 12;
    width: 100%;
}

.blog-inner-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .blog-inner-container {
        padding: 0 20px;
    }
}

.section-header {
    margin-bottom: 35px;
}

/* Medium font weight and Title Case (Only Initial Capitals) */
.section-title {
    font-size: 2.4rem;
    font-weight: 500; /* Medium */
    text-transform: none; /* Initial Capitals only */
    letter-spacing: 0px;
    margin-bottom: 0;
}

/* Right-aligned "View All" Button Link */
.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-cream);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.view-all-link:hover {
    background: var(--bg-red);
    border-color: var(--bg-red);
    color: #fff;
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(239, 76, 74, 0.4);
}

/* Filter Navigation */
.filter-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.filter-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-light);
    padding: 8px 22px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--bg-red);
    border-color: var(--bg-red);
    color: #fff;
    transform: translateY(-2px);
}

/* Post Cards */
.post-card {
    background: var(--bg-card);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(0,0,0,0.6);
    border-color: rgba(239, 76, 74, 0.6);
}

.post-cover-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #141314;
    overflow: hidden;
}

.post-cover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-cover-img {
    transform: scale(1.07);
}

.post-media-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-youtube { background: rgba(239, 76, 74, 0.95); }
.badge-tiktok { background: rgba(0, 0, 0, 0.9); border: 1px solid rgba(255,255,255,0.25); }
.badge-image { background: rgba(239, 76, 74, 0.85); }

.play-overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(239, 76, 74, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 0 25px rgba(239, 76, 74, 0.7);
    transition: transform 0.25s ease;
    z-index: 4;
}

.post-card:hover .play-overlay-icon {
    transform: translate(-50%, -50%) scale(1.15);
}

.post-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
    color: #fff;
}

.post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.post-title a:hover {
    color: var(--bg-red);
}

.post-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bg-red);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: gap 0.2s;
}

.post-footer-link:hover {
    gap: 12px;
    color: #ff6b69;
}

/* ========================================================
   SECTION 3: FOOTER & CONTACT (1440PX CENTERED CONTAINER)
   ======================================================== */
.footer-wrap {
    position: relative;
    background-color: var(--bg-red);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.torn-divider-blog-bottom {
    position: relative;
    width: 100%;
    height: 140px;
    margin-top: 0;
    margin-bottom: -4px;
    z-index: 12;
    line-height: 0;
    pointer-events: none;
}

.torn-divider-blog-bottom img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

@media (max-width: 768px) {
    .torn-divider-blog-bottom {
        height: 70px;
    }
}

.footer-section {
    background-color: var(--bg-red);
    color: var(--text-light);
    padding: 60px 0 50px 0;
    position: relative;
    z-index: 10;
    width: 100%;
}

.footer-inner-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .footer-inner-container {
        padding: 0 20px;
    }
}

.footer-bio h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-bio p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 28px;
    opacity: 0.95;
    max-width: 520px;
}

/* Contact Form Card */
.contact-form-card {
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 38px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}

.form-control-custom {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    width: 100%;
    transition: all 0.2s;
}

.form-control-custom:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    color: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.25);
}

.form-control-custom::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.btn-send {
    background: #ffffff;
    color: var(--bg-red);
    font-weight: 800;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-send:hover {
    background: #f1f1f1;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* Centered Clean Copyright Bar */
.copyright-bar {
    border-top: 1px solid rgba(255,255,255,0.18);
    margin-top: 50px;
    padding-top: 24px;
    font-size: 0.95rem;
    opacity: 0.9;
    text-align: center;
}

/* ========================================================
   SUBPAGE (POST DETAIL & ALL DROPS) STYLING
   ======================================================== */
.post-detail-header {
    background-color: var(--bg-red);
    padding: 38px 0 120px 0;
    position: relative;
    overflow: hidden;
}

.subpage-header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 15;
}

.subpage-logo {
    max-height: 72px;
    width: auto;
    object-fit: contain;
    display: block;
}

.back-btn-pill {
    background: rgba(0,0,0,0.25);
    color: #fff;
    padding: 8px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.2s;
}

.back-btn-pill:hover {
    background: rgba(0,0,0,0.4);
    color: #fff;
    transform: translateX(-3px);
}

.subpage-title-wrap {
    margin-top: 24px;
    margin-bottom: 10px;
}

.subpage-title {
    font-size: 2.85rem;
    line-height: 1.2;
}

.drops-main-content {
    padding-top: 35px;
    padding-bottom: 80px;
    background-color: var(--bg-dark);
    min-height: 50vh;
}

@media (max-width: 768px) {
    .post-detail-header {
        padding: 22px 0 92px 0;
    }

    .subpage-header-container {
        padding: 0 16px;
    }

    .subpage-logo {
        max-height: 44px;
        max-width: 170px;
    }

    .back-btn-pill {
        padding: 6px 14px;
        font-size: 0.82rem;
        gap: 6px;
    }

    .subpage-title-wrap {
        margin-top: 18px;
        margin-bottom: 6px;
    }

    .subpage-title {
        font-size: 1.75rem;
    }

    .drops-main-content {
        padding-top: 18px;
        padding-bottom: 50px;
    }

    .filter-nav {
        margin-bottom: 16px !important;
    }
}

/* Drops & Projects Pagination */
.pagination-btn {
    background: #323031;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.pagination-btn:hover {
    background: #444143;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.pagination-btn.active {
    background: var(--bg-red);
    color: #fff;
    border-color: var(--bg-red);
    box-shadow: 0 4px 15px rgba(239, 76, 74, 0.4);
}

.pagination-btn:disabled,
.pagination-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.post-detail-content {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 35px 0 100px 0;
    min-height: 50vh;
}

@media (max-width: 768px) {
    .post-detail-content {
        padding: 20px 0 60px 0;
    }
}

.article-content {
    font-size: 1.15rem;
    line-height: 1.85;
    color: #e2e8f0;
}

.article-content p {
    margin-bottom: 24px;
}

.article-content h2, .article-content h3 {
    color: #fff;
    margin: 36px 0 16px 0;
    font-weight: 700;
}

.media-player-container {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.6);
    background: #000;
    margin-bottom: 40px;
}
