@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans&display=swap');

/* Main Title Font */
.font-pixelify {
    font-family: 'Pixelify Sans', sans-serif;
    color: rgb(203, 250, 208);
    letter-spacing: 2px;
}

/* Secondary / Card Titles Font */
.font-franklin {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
}

/* General Text */
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    scrollbar-width: thin;
    scrollbar-color: #000 #fff;
    background-color: #1e2124;
    /* Dark gray similar to screenshot */
    color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 1px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Colors */
.card-green {
    background-color: rgb(68, 129, 79);
    transition: transform 0.2s, box-shadow 0.2s;
}

.video-card-link {
    display: block;
}

.video-card-link:hover .card-green {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
}

.card-text-light {
    color: rgb(221, 255, 223);
    margin: 0;
    line-height: 1.3;
    font-size: 1.1rem;
}

.text-mint {
    color: rgb(203, 250, 208);
}

/* Social Icons */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: white;
    font-size: 1.6rem;
    text-decoration: none;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.1);
    color: white;
}

.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-radius: 12px;
}

.x-twitter {
    background-color: #000;
    border: 1px solid #333;
    border-radius: 50%;
}

.discord {
    background-color: #5865F2;
    border-radius: 12px;
}

.gmail {
    background-color: #fff;
    color: #ea4335;
    border-radius: 10px;
    font-size: 1.8rem;
}

/* Category Buttons */
.btn-category {
    padding: 10px 48px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 1.15rem;
    color: white;
    border: none;
    border-radius: 4px;
    transition: opacity 0.2s;
}

.btn-category-active {
    background-color: #2b844b;
}

.btn-category-inactive {
    background-color: #6c757d;
}

.btn-category:hover {
    color: #fff;
    opacity: 0.8;
}

/* Search Box Container */
.search-container {
    max-width: 300px;
    width: 100%;
}

.search-input {
    background-color: #212529;
    color: #f8f9fa;
    border: 1px solid #495057;
    border-radius: 4px;
    padding: 0.5rem 1rem;
}

.search-input:focus {
    background-color: #212529;
    color: #f8f9fa;
    border-color: rgb(203, 250, 208);
    box-shadow: none;
}

.search-input::placeholder {
    color: #6c757d;
}

/* Secondary Texts */
.text-secondary-small {
    color: #dfe1e4;
    font-size: 0.9rem;
}

/* Buttons */
.btn-success {
    background-color: #2b844b;
    color: rgb(203, 250, 208);
    font-weight: bold;
    border: none;
}

.btn-secondary {
    color: rgb(203, 250, 208);
    font-weight: bold;
}

.video-stats-row {
    margin-top: 1.5rem;
}

.card-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Badge Positioning */
.badge-container {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    gap: 4px;
    z-index: 10;
    border-radius: var(--bs-border-radius) 0 var(--bs-border-radius) 0;
}

/* Video Card Hover Overlay */
.video-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
    font-size: 1.2rem;
    font-weight: bold;
}

.video-card-link:hover .video-hover-overlay {
    opacity: 1;
}

/* Note Blur Effect */
.blur-text {
    color: transparent;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
    user-select: none;
}

/* Note separator (replaces ==== and ---- lines) */
.note-separator {
    border: none;
    border-top: 2px dashed rgba(203, 250, 208, 0.3);
    margin: 0.8rem 0;
}

/* About Me Section */
.about-me-section {
    padding: 0.5rem 0 0.8rem;
}

.about-me-card {
    background: linear-gradient(135deg, rgba(43, 132, 75, 0.15) 0%, rgba(30, 33, 36, 0.95) 100%);
    border: 1px solid rgba(203, 250, 208, 0.15);
    border-radius: 12px;
    padding: 1.2rem 1.8rem;
    position: relative;
    overflow: hidden;
}

.about-me-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, rgb(203, 250, 208), #2b844b);
    border-radius: 12px 0 0 12px;
}

.about-me-card h2 {
    font-size: 1.4rem;
    margin-bottom: 0.6rem !important;
}

.about-me-content p {
    color: #c4c8cc;
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 0.4rem;
}

.about-me-content strong {
    color: rgb(203, 250, 208);
}

.about-me-cta {
    background-color: rgba(43, 132, 75, 0.2);
    border: 1px solid rgba(203, 250, 208, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0.8rem !important;
    margin-top: 0.3rem !important;
    color: #a5d6a7 !important;
    font-size: 0.82rem !important;
}

.about-me-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    color: rgb(203, 250, 208);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.7rem;
    color: #8a8f95;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* View Videos Scroll Button */
.view-videos-btn-wrapper {
    text-align: center;
    padding: 0.5rem 0 0;
}

.view-videos-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(203, 250, 208, 0.3);
    color: rgb(203, 250, 208);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.view-videos-btn:hover {
    background-color: rgba(43, 132, 75, 0.3);
    border-color: rgb(203, 250, 208);
    color: rgb(203, 250, 208);
    text-decoration: none;
}

.view-videos-btn .arrow-down {
    animation: arrowBounce 1.5s infinite;
    display: inline-block;
}

@keyframes arrowBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

/* Hide Google reCAPTCHA Badge */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* Telegram Contact Widget */
.chat-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.chat-widget-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #388e3c;
    color: white;
    font-size: 24px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin-top: 15px;
}

.chat-widget-btn:hover {
    transform: scale(1.1);
    background-color: #2b702e;
}

.chat-widget-form {
    width: 320px;
    background-color: #1e1e1e;
    border: 1px solid #495057;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    transform-origin: bottom right;
}

.chat-widget-form.d-none {
    display: none !important;
}

.chat-header {
    background-color: #212529;
}

/* Chat Quick Reply Pills */
.chat-pill-btn {
    background-color: #2c2c2c;
    color: #e0e0e0;
    border: 1px solid #444;
    border-radius: 20px;
    font-size: 0.8rem;
    padding: 4px 12px;
    transition: all 0.2s ease;
}

.chat-pill-btn:hover,
.chat-pill-btn:active,
.chat-pill-btn:focus {
    background-color: #388e3c;
    color: #fff;
    border-color: #388e3c;
    outline: none;
    box-shadow: none;
}

/* Chat Notification Tooltip */
.chat-notification {
    background-color: #2c2c2c;
    color: rgb(203, 250, 208);
    /* same as .text-mint */
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.95rem;
    position: absolute;
    bottom: 85px;
    /* Above the button wrapper */
    right: 0;
    width: max-content;
    text-align: right;
    border: 1px solid #388e3c;
    z-index: 1000;
    animation: fadeInTooltip 0.5s ease-out forwards;
    pointer-events: none;
}

/* Tooltip tail (triangle pointer) */
.chat-notification::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 25px;
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #388e3c transparent transparent transparent;
    display: block;
    width: 0;
}

.chat-notification::before {
    content: '';
    position: absolute;
    bottom: -7px;
    right: 25px;
    border-width: 7px 7px 0;
    border-style: solid;
    border-color: #2c2c2c transparent transparent transparent;
    display: block;
    width: 0;
    z-index: 1;
}

@keyframes fadeInTooltip {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bounce Animation for Button */
.chat-widget-btn-bounce {
    animation: bounceBtn 2.5s infinite;
}

@keyframes bounceBtn {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-12px);
    }

    60% {
        transform: translateY(-6px);
    }
}

/* Skeleton Loading Cards */
.skeleton-card {
    background-color: rgb(68, 129, 79);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.75rem;
}

.skeleton-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.04) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-title {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skeleton-title-bar {
    height: 18px;
    width: 70%;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 25%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.06) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ==========================================
   MOBILE RESPONSIVE FIXES
   ========================================== */
@media (max-width: 576px) {

    /* Hide chat notification balloon on mobile — it overlaps content */
    .chat-notification {
        display: none !important;
    }

    /* Shrink the main title */
    h1.display-3 {
        font-size: 2.2rem !important;
    }

    /* Social icons: smaller and tighter gap */
    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
    }

    .d-flex.justify-content-center.gap-5 {
        gap: 1.2rem !important;
    }

    /* Category buttons: compact on mobile */
    .btn-category {
        padding: 8px 24px;
        font-size: 1rem;
    }

    /* About Me card: reduce padding */
    .about-me-card {
        padding: 1rem 1rem;
    }

    .about-me-card h2 {
        font-size: 1.2rem;
    }

    .about-me-content p {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .about-me-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    /* Chat widget form: full width on small screens */
    .chat-widget-form {
        width: calc(100vw - 32px);
        right: 0;
    }

    /* Video card text slightly smaller */
    .card-text-light {
        font-size: 0.95rem;
    }
}