:root {
    --primary: #3B82F6;
    --secondary: #1E40AF;
    --accent: #60A5FA;
    --background: #07080a;
    --card: #0c0d0f;
}

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');

/* Mobile menu styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--background);
    transition: right 0.3s ease-in-out;
    z-index: 50;
    padding: 2rem;
    border-left: 1px solid rgba(96, 165, 250, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    right: 0;
}
  /* Global scrollbar width */
  ::-webkit-scrollbar {
    width: 12px;
    height: 12px;
  }

  /* Scrollbar track */
  ::-webkit-scrollbar-track {
    background: #1e293b; /* Tailwind gray-800 */
  }

  /* Scrollbar thumb */
  ::-webkit-scrollbar-thumb {
    background-color: #3b82f6; /* Tailwind blue-500 */
    border-radius: 8px;
    border: 3px solid #1e293b; /* padding around thumb */
  }

  /* Thumb hover */
  ::-webkit-scrollbar-thumb:hover {
    background-color: #2563eb; /* Tailwind blue-600 */
  }

  /* For Firefox */
  * {
    scrollbar-width: thin;
    scrollbar-color: #3b82f6 #1e293b;
  }
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 45;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
.hero-text {
        padding-top: 6rem;
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
   
    .section-padding {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .mobile-button-group {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .mobile-button-group a {
        width: 100%;
    }

    #cookie-banner {
        padding: 1rem;
    }
  .bg-image {

    background-position: right center; /* show right-most part on phones */

  }
}

/* Cookie banner styles */
#cookie-banner {
    display: none;
}

body {
    font-family: 'JetBrains Mono', sans-serif;
    background-color: var(--background);
}

.gradient-text {
    background: linear-gradient(45deg, #60A5FA, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card {
    background: #0c0d0f;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(96, 165, 250, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(96, 165, 250, 0.1);
}

.stats-card {
    background: #0c0d0f;
    border: 1px solid rgba(96, 165, 250, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(96, 165, 250, 0.1);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), #2544db);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(0);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Premium Button Styles */
.btn-premium {
    background: transparent;
    border: 2px solid #60A5FA;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.5), 0 0 20px rgba(96, 165, 250, 0.2);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.7), 0 0 30px rgba(96, 165, 250, 0.3);
    background: rgba(96, 165, 250, 0.1);
    border-color: white;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Discord Button Styles */
.discord-float {
    position: fixed;
    z-index: 40;
    background: #5865F2;
    color: white;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.discord-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(88, 101, 242, 0.6);
}

/* Desktop Position */
@media (min-width: 768px) {
    .discord-float {
        bottom: 32px;
        left: 32px;
    }
}

/* Mobile Position */
@media (max-width: 767px) {
    .discord-float {
        bottom: 24px;
        left: 24px;
    }
}

/* === MERGED PROSE STYLES FOR BLOG POSTS === */
.prose {
    color: #d1d5db;
    max-width: none;
}

.prose p {
    margin-top: 1.2em;
    margin-bottom: 1.2em;
    color: #d1d5db;
    line-height: 1.75;
}

.prose h1 {
    color: #f9fafb;
    font-weight: 800;
    font-size: 2.25em;
    margin-top: 0;
    margin-bottom: 0.5em;
    line-height: 1.1111111;
}

.prose h2 {
    color: #f9fafb;
    font-weight: 700;
    font-size: 1.5em;
    margin-top: 2em;
    margin-bottom: 0.4em;
    line-height: 1.3333333;
}

.prose h3 {
    color: #f9fafb;
    font-weight: 600;
    font-size: 1.25em;
    margin-top: 1.6em;
    margin-bottom: 0.3em;
    line-height: 1.6;
}

.prose h4 {
    color: #f9fafb;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.25em;
    line-height: 1.5;
}

.prose strong {
    color: #f3f4f6;
    font-weight: 600;
}

.prose a {
    color: #60a5fa;
    text-decoration: underline;
    font-weight: 500;
}

.prose a:hover {
    color: #93c5fd;
}

.prose blockquote {
    font-weight: 500;
    font-style: italic;
    color: #9ca3af;
    border-left-width: 0.25rem;
    border-left-color: #374151;
    quotes: "\201C""\201D""\2018""\2019";
    margin-top: 1.6em;
    margin-bottom: 1.6em;
    padding-left: 1em;
}

.prose ul > li::before {
    content: "";
    position: absolute;
    background-color: #6b7280;
    border-radius: 50%;
    width: 0.375em;
    height: 0.375em;
    top: calc(0.875em - 0.1875em);
    left: 0.25em;
}

.prose code:not(.highlight code) {
    color: #fbbf24;
    font-weight: 600;
    font-size: 0.875em;
    background-color: rgba(31, 41, 55, 0.5);
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
}

.prose pre {
    color: #e5e7eb;
    background-color: #1f2937;
    overflow-x: auto;
    font-weight: 400;
    font-size: 0.875em;
    line-height: 1.7142857;
    margin-top: 1.7142857em;
    margin-bottom: 1.7142857em;
    border-radius: 0.375rem;
    padding: 0.8571429em 1.1428571em;
}

.prose table {
    width: 100%;
    table-layout: auto;
    text-align: left;
    margin-top: 2em;
    margin-bottom: 2em;
    font-size: 0.875em;
    line-height: 1.7142857;
}

.prose thead {
    border-bottom-width: 1px;
    border-bottom-color: #4b5563;
}

.prose tbody tr {
    border-bottom-width: 1px;
    border-bottom-color: #374151;
}

.prose hr {
    border-color: #374151;
    border-top-width: 1px;
    margin-top: 3em;
    margin-bottom: 3em;
}

.prose h1 + p,
.prose h2 + p,
.prose h3 + p,
.prose h4 + p {
    margin-top: 0;
}