/* Force transparency for content elements */
.container,
.card,
.waitlist-card {
    background-color: transparent !important;
    background: transparent !important;
}

/* Font Face Declarations for Gordita Font */
@font-face {
    font-family: 'Gordita';
    src: url('/app/assets/Gordita-Font/Gordita-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gordita';
    src: url('/app/assets/Gordita-Font/Gordita-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gordita';
    src: url('/app/assets/Gordita-Font/Gordita-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gordita';
    src: url('/app/assets/Gordita-Font/Gordita-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Gordita';
    src: url('/app/assets/Gordita-Font/Gordita-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

/* Color Variables */
:root {
    --color-primary: #d1f602;
    --color-secondary: #53f4a3;
    --accent: #d1f602;
    --accent-green: #53f4a3;
    --white: #ffffff;
    --black: #000000;
    --dark: #222222;
    --dark-purple: #0a1930;
    --emerald: #0a4d3c;
    --navy-blue: #091b49;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --blue: #6366F1;
    --podflare-purple: #4B367C;
    --podflare-light-purple: #5A4187;
}

/* Prevent scrolling and hide scrollbar, but allow vertical scroll when needed */
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    font-family: 'Gordita', "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    color: white;
    background: linear-gradient(180deg,
        #08081E 0%,        /* Dark blue-black start */
        #0D1126 20%,       /* Very dark blue */
        #0F1136 40%,       /* Deep navy blue */
        #102041 60%,       /* Navy blue */
        #0A3242 80%,       /* Teal-navy transition */
        #0A4145 100%       /* Deep teal finish */
    );
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: rgba(10, 11, 35, 0.7);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(10, 11, 35, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.navbar .logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
}

.navbar .logo img {
    height: 80px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    background-color: var(--accent);
    color: var(--black) !important;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(209, 246, 2, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Content Container */
.container {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.tool-container {
    padding-top: 200px !important;
    margin-top: 0 !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

/* Background ambient glow effects */
.tool-container::before {
    content: '';
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 98, 201, 0.15) 0%, rgba(15, 17, 45, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.tool-container::after {
    content: '';
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(75, 54, 124, 0.1) 0%, rgba(15, 17, 45, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Star overlay effect - fixed version */
.star-overlay {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj48cGF0aCBmaWxsPSIjZmZmZmZmIiBkPSJNMTIzLDIuMWwyMi4xLDY3LjdoNzEuNGwtNTcuNyw0Mi44LDIyLjIsNjcuOC01OCwtNDIuN2wtNTcuOCw0Mi43TDg3LjMsMTEyLjZMMzAsMTkuOCwxMDEsMTkuOVoiLz48L3N2Zz4=');
    background-size: 8px 8px;
    opacity: 0.3;
    z-index: 1;
    animation: starsAnimation 300s linear infinite;
}

.star-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj48cGF0aCBmaWxsPSIjZmZmZmZmIiBkPSJNMTIzLDIuMWwyMi4xLDY3LjdoNzEuNGwtNTcuNyw0Mi44LDIyLjIsNjcuOC01OCwtNDIuN2wtNTcuOCw0Mi43TDg3LjMsMTEyLjZMMzAsMTkuOCwxMDEsMTkuOVoiLz48L3N2Zz4=');
    background-size: 5px 5px;
    opacity: 0.2;
    z-index: 1;
    animation: starsAnimation 240s linear infinite reverse;
}

/* Individual twinkling star effect */
.twinkle-star {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: white;
    border-radius: 50%;
    pointer-events: none;
    animation: twinkleAnimation 3s ease-in-out infinite;
    z-index: 2;
    box-shadow: 0 0 5px 2px rgba(255, 255, 255, 0.7);
}

/* Star animations */
@keyframes starsAnimation {
    from {
        background-position: 0% 0%;
    }
    to {
        background-position: 0% 100%;
    }
}

@keyframes twinkleAnimation {
    0% { opacity: 0.2; }
    50% { opacity: 0.8; }
    100% { opacity: 0.2; }
}

/* Enhanced text styles */
h1, h2, h3, .display-4 {
    color: white;
    font-weight: 700;
    font-family: 'Gordita', "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

.lead {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.row {
    position: relative;
    z-index: 3;
}

.card {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background: rgba(15, 17, 45, 0.65) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                0 0 80px rgba(75, 54, 124, 0.15),
                0 0 20px rgba(139, 98, 201, 0.1);
    backdrop-filter: blur(8px);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(139, 98, 201, 0.3) 0%,
        rgba(75, 54, 124, 0.1) 50%,
        rgba(139, 98, 201, 0.3) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Nav tabs styling */
.nav-tabs {
    border: none;
    background: rgba(8, 9, 34, 0.5);
    border-radius: 100px;
    padding: 0.25rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 100px;
    padding: 0.75rem 2rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    margin: 0;
    font-weight: 500;
    font-size: 0.95rem;
    flex: 1;
    text-align: center;
}

.nav-tabs .nav-link:hover {
    color: white;
}

.nav-tabs .nav-link.active {
    background: linear-gradient(135deg, 
        var(--podflare-purple, #4B367C) 0%, 
        var(--podflare-light-purple, #5A4187) 50%,
        var(--podflare-purple, #4B367C) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(131, 102, 217, 0.3);
}

.form-control {
    background: rgba(8, 9, 34, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    padding: 0.8rem 1rem;
}

.form-control:focus {
    background: rgba(8, 9, 34, 0.7);
    border-color: var(--podflare-purple, #4B367C);
    box-shadow: 0 0 0 0.25rem rgba(131, 102, 217, 0.25);
    color: white;
}

/* Input Group Styles for Search Form */
.input-group {
    position: relative;
    display: flex;
    width: 100%;
    margin-bottom: 2rem;
}

.input-group .form-control {
    flex: 1;
    border-radius: 8px;
    background: rgba(8, 9, 34, 0.5);
    padding-left: 1.5rem;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.input-group .btn {
    position: absolute;
    right: 8px;
    top: 7px;
    border-radius: 8px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 5;
}

.btn-modern {
    background: linear-gradient(45deg, #8b62c9 0%, #a66dda 100%);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.btn-modern:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.08);
}

.btn-modern-success {
    background: linear-gradient(45deg, #28a745 0%, #20c997 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.btn-modern-success:hover {
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.5);
    transform: translateY(-2px);
    color: white;
}

.btn-modern-danger {
    background: linear-gradient(45deg, #dc3545 0%, #f74c59 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-modern-danger:hover {
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.5);
    transform: translateY(-2px);
    color: white;
}

.thumbnail-container {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.thumbnail-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

.bg-purple-gradient {
    background: linear-gradient(45deg, #8b62c9 0%, #a66dda 100%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    border-radius: 50px;
}

/* Waitlist card */
.waitlist-card {
    border: none;
    background: linear-gradient(135deg, #2c2c2c 0%, #1e1e1e 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Let's chat button */
.chat-button {
    background-color: var(--accent);
    border: none;
    color: #000;
    font-weight: 700;
    padding: 0.7rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(209, 246, 2, 0.4);
}

.chat-button:hover {
    background-color: var(--accent);
    color: #000;
    box-shadow: 0 0 20px rgba(209, 246, 2, 0.7);
    transform: translateY(-2px);
}

/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
    content: "";
    border-top: 5px solid;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    background: rgba(10, 11, 35, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeInUp 0.3s ease forwards;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    clear: both;
    font-weight: 500;
    color: var(--white);
    text-align: left;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dropdown-item:hover {
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }

    .navbar .logo img {
        height: 60px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: rgba(10, 11, 35, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        gap: 1.5rem;
        transition: all 0.4s ease;
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: flex;
        z-index: 1002;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .dropdown-menu {
        position: relative;
        width: 100%;
        margin-top: 0.5rem;
        left: auto;
        box-shadow: none;
    }
    
    .dropdown:hover .dropdown-menu {
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    /* YouTube Thumbnail Downloader Mobile Styles */
    .tool-container {
        padding: 150px 15px 30px !important;
    }
    
    /* Make sure the card has proper padding on mobile */
    .card {
        padding: 1.5rem;
    }
    
    /* Force tabs to display horizontally */
    .nav-tabs {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        width: 100%;
    }
    
    .nav-tabs .nav-item {
        flex: 1;
    }
    
    /* Update input group for stacked layout on mobile */
    .input-group {
        position: relative;
        display: flex;
        flex-direction: column !important;
        width: 100%;
        margin-bottom: 1.5rem;
        gap: 12px;
    }
    
    .input-group .form-control {
        flex: 1;
        height: 48px;
        width: 100%;
        padding-right: 15px;
    }
    
    .input-group .btn {
        position: relative;
        right: auto;
        top: auto;
        height: 45px;
        margin-left: 0;
        padding: 0 1rem;
        width: 100%;
    }
}

@media (max-width: 576px) {
    /* YouTube Thumbnail Downloader Mobile Styles - Extra Small Devices */
    .input-group {
        flex-direction: column !important;
        gap: 10px;
        margin-bottom: 1rem;
    }

    .input-group > * {
        width: 100%;
        margin: 0;
    }
    
    .input-group .form-control {
        width: 100%;
    }
    
    .input-group .btn {
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
        font-size: 0.9rem;
    }

    .nav-tabs {
        flex-wrap: nowrap !important;
    }

    .nav-tabs .nav-link {
        padding: 0.5rem;
        font-size: 0.85rem;
        text-align: center;
    }
    
    /* Adjust spacing for mobile layouts */
    .card-body {
        padding: 1rem !important;
    }
    
    .tab-content {
        margin-top: 1rem;
    }
    
    /* Fix bulk upload textarea size */
    #bulk-youtube-urls {
        height: 100px;
    }
}

.d-none {
    display: none !important;
}

.d-mobile-none {
    display: block;
}

@media (max-width: 768px) {
.d-mobile-none {
    display: none !important;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 