@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --hazy-red: #DC2626;
  --hazy-red-hover: #F87171;
  --hazy-red-glow: rgba(220, 38, 38, 0.15);
  --hazy-space-bg: #050508;
  --hazy-black: #0A0A0A;
  --hazy-gray-dark: #18181B;
  --hazy-gray-medium: #27272A;
  --hazy-gray-light: #3F3F46;
  --hazy-white: #FFFFFF;
  --hazy-green: #34d399;
  --hazy-blue: #3B82F6;
  --hazy-blue-hover: #60A5FA;
  --hazy-nebula-gray: rgba(100, 100, 110, 0.04);
  --hazy-nebula-dark: rgba(30, 30, 35, 0.05);
  --hazy-nebula-red: rgba(220, 38, 38, 0.03);
  --hazy-text-primary: #E4E4E7;
  --hazy-text-secondary: #A1A1AA;
  --hazy-text-muted: #71717A;
  --text-color: var(--hazy-text-primary);
  --text-secondary: var(--hazy-text-secondary);
  --text-muted: var(--hazy-text-muted);
  --text-primary: var(--hazy-text-primary);
  --accent-color: var(--hazy-red);
  --accent-hover: var(--hazy-red-hover);
  --star-color: rgba(255, 255, 255, 0.65);
  --card-bg-alpha: rgba(24, 24, 27, 0.45);
  --card-bg-hover-alpha: rgba(30, 30, 33, 0.65);
  --card-border: rgba(63, 63, 70, 0.4);
  --card-border-hover: rgba(113, 113, 122, 0.55);
  --card-backdrop-blur: blur(16px);
  --border-color: var(--hazy-gray-light);
  --header-height: 60px;
  --shadow-color: rgba(220, 38, 38, 0.15);
  --shadow-color-dark: rgba(0, 0, 0, 0.4);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-long: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', -apple-system, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, SF Mono, Menlo, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  backface-visibility: hidden;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--hazy-gray-dark);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 10px;
  border: 2px solid var(--hazy-gray-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100vh;
}

html {
  scroll-behavior: smooth;
  perspective: 1000px;
  min-height: 100vh;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  background-color: var(--hazy-space-bg);
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.2);
  margin: 0;
  padding: 0;
}

@keyframes textFocusIn {
  0% { filter: blur(8px); opacity: 0; }
  100% { filter: blur(0px); opacity: 1; }
}

@keyframes slideInUp {
  from { transform: translateY(25px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-30px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInBubble {
  0% { opacity: 0; transform: scale(0.8) translateY(20px) translateX(-20px); }
  100% { opacity: 1; transform: scale(1) translateY(0) translateX(0); }
}

@keyframes subtlePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 3px 10px var(--shadow-color);}
  50% { transform: scale(1.02); box-shadow: 0 5px 15px var(--shadow-color);}
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes starPulse {
  0%, 100% { 
    transform: scale(1) rotate(0deg); 
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
  }
  50% { 
    transform: scale(1.2) rotate(180deg); 
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 1)) drop-shadow(0 0 25px rgba(255, 215, 0, 0.8));
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px var(--accent-color); }
  50% { box-shadow: 0 0 20px var(--accent-color), 0 0 30px var(--accent-color); }
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.4); }
}

@keyframes inputFocus {
  0% { border-color: var(--card-border); }
  100% { border-color: var(--accent-color); }
}

@keyframes profileLoad {
  0% { opacity: 0; transform: scale(0.8) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes nebulaFloat1 {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
  50% { transform: translate(-5vw, 5vh) rotate(5deg); opacity: 0.7; }
  100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
}

@keyframes nebulaFloat2 {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0.6;}
  50% { transform: translate(6vw, -4vh) rotate(-8deg); opacity: 0.4;}
  100% { transform: translate(0, 0) rotate(0deg); opacity: 0.6;}
}

@keyframes shootingStar {
  0% { transform: translate(0, 0) rotate(-45deg); opacity: 1; height: 2px; }
  70% { opacity: 1; height: 2px; }
  100% { transform: translate(-150vw, 150vh) rotate(-45deg); opacity: 0; height: 80px; }
}

@keyframes twinkle {
  0% { transform: scale(0.8); opacity: 0.4; }
  50% { transform: scale(1.1); opacity: 0.9; }
  100% { transform: scale(0.8); opacity: 0.4; }
}

@keyframes fadeInSlideUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0px) rotateY(0deg) scale(1); }
  50% { transform: translateY(-20px) rotateY(15deg) scale(1.05); }
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.9) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.commands-section {
    padding: 0.5rem 0;
    max-width: 1180px; 
    margin: 0 auto; 
}

.command-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.3rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    margin-left: auto; 
    margin-right: auto; 
}

.category-btn {
    background-color: transparent;
    border: 1px solid var(--hazy-gray-light);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.category-btn:hover::before {
    left: 100%;
}

.category-btn:hover {
    border-color: var(--card-border-hover);
    color: var(--hazy-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.category-btn.active {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-color: var(--accent-color);
    color: var(--hazy-white);
    box-shadow: 0 3px 12px var(--shadow-color);
    animation: none;
}

.category-btn.active:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-color));
    border-color: var(--accent-hover);
}

.command-list-container {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    margin: 0 auto; 
    max-width: 1180px; 
}

.command-section {
    background: rgba(24, 24, 27, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 100%;
    max-width: 1180px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 1;
}

.command-section.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    position: relative;
    pointer-events: auto;
    z-index: 2;
}

.command-section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(63, 63, 70, 0.3);
}

.command-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--hazy-white);
    box-shadow: 0 4px 20px var(--shadow-color);
}

.command-title h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--hazy-white);
}

.command-title p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

.command-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.command-row {
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(63, 63, 70, 0.4);
    border-radius: var(--radius-sm);
    padding: 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.command-row:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 10px var(--shadow-color);
    transform: translateY(-2px);
}

.command-syntax {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--hazy-white);
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.command-syntax code {
    color: var(--hazy-white);
}

.command-syntax .param {
    color: var(--accent-color);
}

.command-syntax .param.opt {
    color: var(--hazy-text-secondary);
}

.command-syntax code[data-prefix]::before {
    content: attr(data-prefix);
    color: var(--accent-color);
    margin-right: 0.25em;
    font-weight: 600;
}

.command-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .command-categories {
        flex-direction: column;
        align-items: stretch;
    }

    .category-btn {
        width: 100%;
        text-align: center;
    }

    .command-section {
        padding: 2rem;
    }

    .command-section-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .command-title h2 {
        font-size: 1.8rem;
    }

    .command-title p {
        font-size: 0.9rem;
    }

    .command-table {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .command-section {
        padding: 1.5rem;
    }

    .command-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .command-title h2 {
        font-size: 1.5rem;
    }

    .command-syntax {
        font-size: 0.85rem;
    }

    .command-desc {
        font-size: 0.8rem;
    }
}

.pricing-section {
    padding: 0.5rem 0;
    max-width: 1180px; 
    margin: 0 auto; 
}

.currency-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.3rem;
    margin-bottom: 1rem;
    background-color: transparent;
    border-radius: var(--radius-md);
    padding: 0.5rem;
    box-shadow: none;
    margin-left: auto; 
    margin-right: auto; 
}

.toggle-option {
    background: transparent;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-option:hover {
    color: var(--hazy-white);
    background-color: rgba(255, 255, 255, 0.05);
}

.toggle-option.active {
    background: var(--accent-color);
    color: var(--hazy-white);
    box-shadow: 0 2px 10px var(--shadow-color);
}

.toggle-option.active:hover {
    background: var(--accent-hover);
}

.currency-plan-set {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.currency-plan-set.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
    justify-content: center;
    align-items: stretch;
    margin-left: auto; 
    margin-right: auto; 
}

.pricing-card {
    background: rgba(24, 24, 27, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    align-items: center;
    animation: popIn 0.8s ease-out forwards;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
    transform: scaleX(0);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card:hover {
    background: rgba(30, 30, 33, 0.9);
    border-color: var(--card-border-hover);
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 50px rgba(255, 77, 77, 0.2);
}

.pricing-card.featured {
    border-color: var(--accent-color);
    box-shadow: 0 20px 60px var(--shadow-color);
    transform: translateY(-15px) scale(1.05);
}

.pricing-card.featured:hover {
    border-color: var(--accent-hover);
    box-shadow: 0 30px 90px var(--shadow-color), 0 0 60px var(--shadow-color);
}

.recommended-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--accent-color);
    color: var(--hazy-white);
    padding: 0.5rem 1.2rem;
    border-bottom-left-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 15px var(--shadow-color);
    z-index: 10;
    transform: translate(0, 0);
    animation: fadeIn 0.5s ease-out forwards;
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--hazy-white);
}

.pricing-amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
    width: 100%;
}

.pricing-amount .price-decimal {
    font-size: 0.7em;
    vertical-align: super;
    font-weight: 600;
}

.pricing-amount .period {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.pricing-amount .currency {
    font-size: 1.8rem;
    font-weight: 600;
    margin-right: 0.2rem;
    color: var(--hazy-white);
}

.plan-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    min-height: 60px;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
    text-align: left;
    flex-grow: 1;
    width: 100%;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    text-align: left;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    font-size: 1.05rem;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item .feature-icon {
    color: var(--hazy-green);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-item .feature-icon.highlight {
    color: var(--accent-color);
}

.pricing-cta {
    margin-top: 2rem;
}

.pricing-cta .btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
}

.lifetime-card {
    grid-column: 1 / -1;
    max-width: 450px;
    margin: 0 auto;
    padding: 2rem;
}

.payment-methods-section {
    padding: 1.5rem 0;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    justify-content: center;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.section-header.centered-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.section-title-centered {
    text-align: center;
    margin-bottom: 1.2rem;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
}

.section-description-centered {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.section-header .section-title {
    font-size: clamp(3.5rem, 8vw, 6rem); 
    margin-bottom: 1.2rem; 
}

.section-header .section-subtitle {
    font-size: 1.4rem; 
    line-height: 1.9; 
}

.payment-method-card {
    background: rgba(24, 24, 27, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
}

.payment-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--hazy-gray-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--hazy-white);
    margin-bottom: 1.5rem;
}

.payment-icon.paypal { background-color: #0070BA; }
.payment-icon.mp { background-color: #00A650; }
.payment-icon.crypto { background-color: #F7931A; }

.payment-method-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--hazy-white);
}

.payment-method-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    flex-grow: 1;
}

.payment-details {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 0.6rem;
    margin-bottom: 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-primary);
    text-align: center;
    width: 100%;
    word-break: break-all;
}

.payment-details span {
    color: var(--text-secondary);
}

.payment-contact {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    text-align: center;
    width: 100%;
}

.payment-contact span {
    font-family: var(--font-mono);
    color: var(--hazy-white);
    display: block;
    margin-top: 0.5rem;
}

.payment-link {
    width: 100%;
}

.custom-bots-section {
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
    max-width: 1180px; 
    margin-left: auto; 
    margin-right: auto; 
}

.custom-bots-section .section-header {
    margin-bottom: 3rem;
}

.custom-bot-card {
    background: rgba(24, 24, 27, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-width: 800px;
    margin: 3rem auto;
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--accent-color);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-bot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
    transform: scaleX(0);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-bot-card:hover::before {
    transform: scaleX(1);
}

.custom-bot-card:hover {
    background: rgba(30, 30, 33, 0.8);
    border-color: var(--card-border-hover);
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 50px rgba(255, 77, 77, 0.2);
}

.custom-bot-card h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 1rem;
    color: var(--hazy-white);
}

.custom-bot-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.custom-bot-card .btn {
    margin-top: 1.5rem;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .currency-toggle {
        flex-direction: column;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .toggle-option {
        width: 100%;
        justify-content: center;
    }

    .pricing-card {
        padding: 2rem;
    }

    .pricing-header h2 {
        font-size: 1.8rem;
    }

    .pricing-amount {
        font-size: 3rem;
    }

    .plan-description {
        min-height: auto;
    }

    .lifetime-card {
        max-width: 100%;
    }

    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-header h2 {
        font-size: 1.5rem;
    }

    .pricing-amount {
        font-size: 2.5rem;
    }

    .payment-method-card {
        padding: 1.5rem;
    }

    .payment-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

@keyframes signatureFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseInitial {
  0% { transform: translateY(0); }
  100% { transform: translateY(-3px); }
}

@keyframes kittyBounce {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(5deg); }
  100% { transform: translateY(2px) rotate(-5deg); }
}

@keyframes sparkle {
  0% { transform: scale(0) rotate(0deg); opacity: 0; }
  50% { transform: scale(1.5) rotate(180deg); opacity: 1; }
  100% { transform: scale(0) rotate(360deg); opacity: 0; }
}

@keyframes signatureExit {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(20px) scale(0.8); }
}

@keyframes heroCardFloat {
  0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50% { transform: translateY(-10px) rotateX(2deg) rotateY(1deg); }
}

@keyframes heroGradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes taglineShimmer {
  0% { 
    background-position: -200% center;
    opacity: 0.8;
  }
  50% { 
    opacity: 1;
  }
  100% { 
    background-position: 200% center;
    opacity: 0.8;
  }
}

@keyframes buttonPress {
  0% { transform: scale(1); }
  50% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

.background-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background-color: var(--hazy-space-bg);
  transform: translateZ(0);
}

#stars-static-1, #stars-static-2, #stars-static-3 {
  width: 1px;
  height: 1px;
  background: transparent;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateZ(0);
}

.twinkling-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateZ(0);
}

.star-twinkle {
  position: absolute;
  background-color: var(--star-color);
  border-radius: 50%;
  box-shadow: 0 0 4px 0px rgba(255, 255, 255, 0.4);
  animation: twinkle 5s infinite ease-in-out alternate;
  transform: translateZ(0);
}

.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.7;
  mix-blend-mode: screen;
  animation: fadeIn 2s ease-out forwards;
  transform: translateZ(0);
}

.nebula.n1 {
  width: 450vmax;
  height: 450vmax;
  top: -200%;
  left: -200%;
  background: radial-gradient(ellipse at center, var(--hazy-nebula-gray) 0%, transparent 60%);
  animation: nebulaFloat1 100s infinite ease-in-out;
  opacity: 0.3;
}

.nebula.n2 {
  width: 400vmax;
  height: 400vmax;
  bottom: -200%;
  right: -200%;
  background: radial-gradient(ellipse at center, var(--hazy-nebula-dark) 0%, transparent 60%);
  animation: nebulaFloat2 120s infinite ease-in-out;
  opacity: 0.2;
}

.nebula.n3 {
  width: 350vmax;
  height: 350vmax;
  top: 40%;
  right: -150%;
  background: radial-gradient(ellipse at center, var(--hazy-nebula-red) 0%, transparent 65%);
  animation: nebulaFloat1 110s infinite ease-in-out reverse;
  animation-delay: -15s;
  opacity: 0.15;
}

.shooting-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  transform: translateZ(0);
}

.shooting-stars span {
  position: absolute;
  top: -50px;
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--hazy-white));
  border-radius: 50%;
  animation: shootingStar 5s linear infinite;
  opacity: 0;
  filter: drop-shadow(0 0 6px var(--hazy-white));
  transform: translateZ(0);
}

.shooting-stars span:nth-child(1) {
  left: 15%;
  animation-delay: 2.5s;
  animation-duration: 4s;
}

.shooting-stars span:nth-child(2) {
  left: 85%;
  animation-delay: 6s;
  animation-duration: 3.2s;
}

.shooting-stars span:nth-child(3) {
  left: 45%;
  animation-delay: 9.2s;
  animation-duration: 4.8s;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-wrapper main {
  flex: 1;
}

.page-wrapper footer {
  flex-shrink: 0;
  margin-top: auto;
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
  padding-bottom: 0;
  background-color: transparent;
  padding-top: calc(var(--header-height) + 0.5rem); 
}

.login-main-content,
.construction-main-content,
.error-main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--header-height)); 
    padding: 2rem 0; 
}

.login-card,
.construction-card {
    max-width: 550px;
    width: 90%;
    padding: 3.5rem 2.5rem;
    margin: 0 auto;
    background: rgba(24, 24, 27, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.login-card .card-header,
.construction-card .card-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(63, 63, 70, 0.3);
    width: 100%;
}

.login-card .card-title,
.construction-card .card-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    color: var(--hazy-white);
    font-weight: 800;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 0 1rem;
}

.login-card .card-title i,
.construction-card .card-title i {
    font-size: 1.2em;
    color: var(--accent-color);
    text-shadow: 0 0 15px var(--shadow-color);
    animation: pulse 2s infinite ease-in-out;
    margin-right: 0.5rem;
}

.construction-card .construction-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    text-shadow: 0 0 20px var(--shadow-color);
}

.construction-card .construction-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    color: var(--hazy-white);
    font-weight: 800;
    line-height: 1.2;
}

.construction-card .construction-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.login-card .card-subtitle,
.construction-card .card-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.login-card .card-body,
.construction-card .card-body,
.error-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; 
    width: 100%;
    padding-top: 1.5rem;
    text-align: center;
}

.login-discord-btn {
    width: 80%;
    max-width: 300px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.login-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

@media (max-width: 480px) {
    .login-card,
    .construction-card {
        padding: 2rem 1rem;
    }

    .login-card .card-title,
    .construction-card .card-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .login-card .card-subtitle,
    .construction-card .card-subtitle {
        font-size: 1rem;
    }

    .login-discord-btn {
        width: 90%;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

.login-main-content,
.error-main-content,
.construction-main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--header-height) - 100px);
    padding: 2rem 0;
}


a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color var(--transition);
}

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

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

button {
  font-family: var(--font-main);
  background: none;
  cursor: pointer;
  color: inherit;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--hazy-white);
  letter-spacing: -0.025em;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

h1 {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

h3 {
  font-size: clamp(1.3rem, 4vw, 1.75rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.1rem, 3vw, 1.25rem);
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

p:last-of-type {
  margin-bottom: 0;
}

.container {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}

.grid {
  display: grid;
  gap: 2rem;
  justify-items: center;
  justify-content: center;
}

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

.grid-cols-1 {
  grid-template-columns: 1fr;
}

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

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.hazy-name {
  color: var(--accent-color);
}

.hazy-animated-text {
  color: var(--accent-color);
  font-family: var(--font-mono);
  cursor: pointer;
  transition: color var(--transition);
}

.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out, filter 0.6s ease-out;
  filter: blur(5px);
  will-change: opacity, transform, filter;
}

.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}

header.header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--hazy-gray-dark);
  transition: all var(--transition);
  transform: translateZ(0);
}

header.header.scrolled {
  height: 55px;
  background-color: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-color: var(--hazy-gray-medium);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transform: translateZ(0);
}

.header > .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: 0 1rem;
  justify-content: space-between;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  flex-shrink: 0;
  height: 100%;
  padding: 0;
}

.nav-logo {
  height: 1.8rem;
  width: auto;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: block;
  transform: translateZ(0);
}

.nav-brand:hover .nav-logo {
  transform: rotate(-20deg) scale(1.2);
}

.nav-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--hazy-white);
  line-height: 1;
  margin: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  height: 100%;
  justify-content: center;
  flex-grow: 1;
  padding: 0 1rem;
  margin-left: 2%;
}

.nav-buttons-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-header-btn {
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  min-width: 60px;
  height: 35px;
  box-sizing: border-box;
  text-align: center;
  flex-shrink: 0;
  flex-grow: 0;
  background-color: var(--card-bg-alpha);
  backdrop-filter: var(--card-backdrop-blur);
  -webkit-backdrop-filter: var(--card-backdrop-blur);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.nav-header-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

.nav-header-btn:hover::before {
  left: 100%;
}

.nav-header-btn:hover {
  background-color: var(--card-bg-hover-alpha);
  border-color: var(--card-border-hover);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-header-btn i {
  color: var(--accent-color);
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.nav-header-btn:hover i {
  transform: scale(1.1) rotate(-5deg);
}

.nav-btn-invite .hazy-name-in-btn {
  color: var(--hazy-white);
}

.nav-btn-commands {
  background-color: var(--card-bg-alpha);
  backdrop-filter: var(--card-backdrop-blur);
  -webkit-backdrop-filter: var(--card-backdrop-blur);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  min-width: 60px;
  height: 35px;
  box-sizing: border-box;
  text-align: center;
  flex-shrink: 0;
  flex-grow: 0;
  transition: all var(--transition);
}

.nav-btn-commands:hover {
  background-color: var(--card-bg-hover-alpha);
  border-color: var(--card-border-hover);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  padding: 0 0.8rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background-color var(--transition);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0.8rem;
  right: 0.8rem;
  height: 0.5px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
  opacity: 0.8;
}

.nav-link:hover {
  color: var(--hazy-white);
  transform: translateY(-2px);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

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

.nav-link.active {
  color: var(--hazy-white);
  font-weight: 600;
}

.nav-link.active::after {
  transform: scaleX(1);
  background-color: var(--accent-color);
  opacity: 1;
  height: 1.5px;
  bottom: 2px;
}

.nav-item-login-mobile {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  border: 1px solid transparent;
  overflow: hidden;
  position: relative;
  z-index: 1;
  transform: translateZ(0);
  will-change: transform, box-shadow, background-color, border-color;
  white-space: nowrap;
}

.btn:active {
  animation: buttonPress 0.1s ease-out;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn i {
  font-size: 1em;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: scale(1.1) rotate(-5deg);
}


.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
  color: var(--hazy-white);
  border-color: var(--accent-color);
  box-shadow: 0 4px 15px var(--shadow-color);
  animation: subtlePulse 4s infinite ease-in-out;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent-color));
  border-color: var(--accent-hover);
  color: var(--hazy-white);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px var(--shadow-color);
  animation-play-state: paused;
}

.btn-primary::before {
  background: rgba(255, 255, 255, 0.15);
}

.btn-hero-invite {
  border-radius: var(--radius-md);
  box-shadow: 0 6px 25px var(--shadow-color);
  flex: 1;
  min-width: 200px;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.btn-hero-invite:hover {
  box-shadow: 0 12px 40px var(--shadow-color);
}

.btn-hero-commands {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  flex: 1;
  min-width: 200px;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.btn-hero-commands:hover {
  border-color: var(--hazy-text-secondary);
  color: var(--hazy-white);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--hazy-gray-light);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}

.btn-secondary:hover {
  border-color: var(--hazy-text-secondary);
  color: var(--hazy-white);background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px) scale(1.001);
  box-shadow: 0 0.5px 6px rgba(0, 0, 0, 0.03);
}

.btn-secondary::before {
  background: rgba(255, 255, 255, 0.08);
}

.btn-large {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

.mobile-toggle {
  display: none;
  width: 28px;
  height: 22px;
  position: relative;
  z-index: 101;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--hazy-white);
  border-radius: 1px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.mobile-toggle span:nth-child(1) {
  top: 0;
}

.mobile-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.mobile-toggle span:nth-child(3) {
  bottom: 0;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 50%;
  margin-top: -1px;
}

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

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 50%;
  margin-bottom: -1px;
}

.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 0.5rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.page-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-title, .page-subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 0 1rem;
}

.page-title {
    text-align: center;
}

.page-subtitle {
    text-align: center;
}

.section-title {
  margin-bottom: 1.2rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.description-card {
    background: rgba(24, 24, 27, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(63, 63, 70, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2.5rem;
    margin: 2rem auto 0;
    max-width: 700px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.description-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover), var(--accent-color));
    background-size: 200% 100%;
    animation: heroGradientMove 3s ease-in-out infinite;
}

.description-card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(113, 113, 122, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 77, 77, 0.1);
}

.hero {
  padding: calc(var(--header-height) + 0.5rem) 0 8rem;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-tagline-card {
  background: rgba(18, 18, 20, 0.7); 
  backdrop-filter: blur(25px); 
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--accent-color); 
  border-radius: 50px;
  padding: 1rem 2.5rem; 
  margin: 0 auto 2.5rem; 
  display: inline-block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px var(--hazy-red-glow); 
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); 
}

.hero-tagline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 77, 77, 0.15), transparent); 
  animation: heroGradientMove 3s ease-in-out infinite;
}

.hero-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0;
  position: relative;
  z-index: 2;
  background: linear-gradient(45deg, #FF4D4D, #FF8080, #FF4D4D);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: taglineShimmer 3s ease-in-out infinite;
}

.hero-title {
  margin-bottom: 2.5rem; 
  font-size: clamp(3.8rem, 11vw, 6.5rem); 
  font-weight: 900;
  color: var(--accent-color);
  position: relative;
  text-shadow: 0 0 30px var(--hazy-red-glow); 
}

.hero-subtitle-main {
  font-size: clamp(2rem, 5.5vw, 3.5rem); 
  font-weight: 700;
  margin-bottom: 2.5rem; 
  color: var(--hazy-white);
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.15); 
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.15rem; 
  color: var(--text-secondary);
  margin-bottom: 3.5rem; 
  max-width: 650px; 
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7; 
  opacity: 0.95; 
}

.hero-cta {
  display: flex;
  gap: 2.5rem; 
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2.5rem; 
}

.hero-card {
  background: rgba(24, 24, 27, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(63, 63, 70, 0.3);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  margin: 2rem auto 0;
  max-width: 600px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  background-size: 200% 200%;
  background-image: linear-gradient(45deg, rgba(24, 24, 27, 0.4) 0%, rgba(39, 39, 42, 0.4) 50%, rgba(24, 24, 27, 0.4) 100%);
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-hover), var(--accent-color));
  background-size: 200% 100%;
  animation: heroGradientMove 3s ease-in-out infinite;
}

.hero-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(113, 113, 122, 0.5);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 77, 77, 0.1);
}

.features-section {
  background: transparent;
  position: relative;
}

.features-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1400px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(24, 24, 27, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(63, 63, 70, 0.3);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
  transform: scaleX(0);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  background: rgba(30, 30, 33, 0.8);
  border-color: rgba(113, 113, 122, 0.6);
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 77, 77, 0.1);
}

.feature-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.feature-icon-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: all var(--transition);
  box-shadow: 0 8px 30px rgba(255, 77, 77, 0.3);
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.15) rotateY(15deg);
  background: linear-gradient(135deg, var(--accent-hover), var(--accent-color));
  box-shadow: 0 12px 40px rgba(255, 77, 77, 0.5);
}

.feature-icon {
  font-size: 2.2rem;
  color: var(--hazy-white);
  transition: transform var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(10deg);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--hazy-white);
  transition: color var(--transition);
  font-weight: 700;
}

.feature-card:hover .feature-title {
  color: var(--accent-hover);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
  transition: color var(--transition);
  font-size: 1rem;
}

.feature-card:hover .feature-description {
  color: var(--text-primary);
}

.team-section {
  background: transparent;
  padding: 10rem 0;
}
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}


.team-grid .developer-card:nth-child(4) {
  grid-column: 2 / 3;
}

.developer-card {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(63, 63, 70, 0.4);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 280px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 380px;
}

.developer-card.jean-card {
  border-color: rgba(59, 130, 246, 0.4);
}

.developer-card.jean-card::after {
  background: linear-gradient(90deg, var(--hazy-blue), var(--hazy-blue-hover));
}

.developer-card.jean-card:hover {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.3);
}

.developer-card.jean-card:hover::before {
  background: linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.1), transparent);
}

.developer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}

.developer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(220, 38, 38, 0.08), transparent);
  transition: background 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.developer-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.developer-card:hover::before {
  opacity: 1;
}

.developer-card:hover::after {
  transform: scaleX(1);
}

.developer-card:hover {
  background: rgba(24, 24, 27, 0.9);
  border-color: rgba(220, 38, 38, 0.5);
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 30px rgba(220, 38, 38, 0.2);
}

.developer-pfp {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--accent-color);
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.3);
  position: relative;
  z-index: 2;
}

.jean-card .developer-pfp {
  border-color: var(--hazy-blue);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
}

.jean-card:hover .developer-pfp {
  border-color: var(--hazy-blue-hover);
  box-shadow: 0 15px 50px rgba(59, 130, 246, 0.5);
}

.developer-card:hover .developer-pfp {
  transform: scale(1.08) rotate(3deg);
  border-color: var(--accent-hover);
  box-shadow: 0 15px 50px rgba(255, 77, 77, 0.5);
}

.developer-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--hazy-white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all 0.4s ease;
  font-weight: 700;
  text-shadow: 0 2px 15px rgba(255, 255, 255, 0.1);
}

.developer-card:hover h3 {
  color: var(--accent-hover);
  text-shadow: 0 2px 20px rgba(255, 77, 77, 0.4);
}

.jean-card:hover h3 {
  color: var(--hazy-blue-hover);
  text-shadow: 0 2px 20px rgba(59, 130, 246, 0.4);
}

.emoji {
  font-size: 1.8rem; /* Further increased font size for better visibility */
  line-height: 1; /* Ensure no extra space around the emoji */
  vertical-align: middle; /* Align emoji vertically */
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: inline-block;
  /* Removed fixed width/height to allow natural emoji scaling */
  /* text-align: center; removed as vertical-align should handle centering */
}

.developer-card:hover .emoji {
  transform: scale(1.4) rotate(20deg);
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

.developer-role {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.developer-role::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.6s ease;
}

.developer-card:hover .developer-role::before {
  left: 100%;
}

.role-ceo {
  background: linear-gradient(135deg, #DC2626, #EF4444);
  color: var(--hazy-white);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.role-founder {
  background: linear-gradient(135deg, #DC2626, #EF4444);
  color: var(--hazy-white);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.role-head-admin {
  background: linear-gradient(135deg, #F87171, #FECACA);
  color: #000;
  box-shadow: 0 4px 15px rgba(248, 113, 113, 0.4);
}

.role-dev-admin {
  background: linear-gradient(135deg, #3B82F6, #60A5FA);
  color: var(--hazy-white);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.developer-discord {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.6rem 1rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.developer-card:hover .developer-discord {
  color: var(--text-primary);
  background: rgba(220, 38, 38, 0.15);
  border-color: rgba(220, 38, 38, 0.4);
  transform: translateY(-2px);
}

.jean-card:hover .developer-discord {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
}

.developer-socials {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: auto;
  padding-top: 1rem;
}

.developer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(39, 39, 42, 0.8);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(63, 63, 70, 0.5);
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.developer-socials a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.jean-card .developer-socials a::before {
  background: linear-gradient(135deg, var(--hazy-blue), var(--hazy-blue-hover));
}

.developer-socials a:hover::before {
  opacity: 1;
}

.developer-socials a:hover {
  color: var(--hazy-white);
  transform: translateY(-5px) scale(1.15);
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(255, 77, 77, 0.5);
}

.developer-socials a i {
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
}

.developer-socials a:hover i {
  transform: scale(1.1) rotate(10deg);
}

.featured-dev {
  position: relative;
}

.featured-dev::before {
  content: none;
}

.surprise-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 1rem;
  cursor: pointer;
}


.surprise-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(220, 38, 38, 0.6);
  background: linear-gradient(135deg, var(--accent-hover), var(--accent-color));
}

.cta-section {
  background: transparent;
}

.main-cta-card {
  background: rgba(24, 24, 27, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 4rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.main-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.05) 0%, transparent 70%);
  opacity: 0.8;
  pointer-events: none;
}

.main-cta-card:hover {
  background: rgba(30, 30, 33, 0.8);
  border-color: rgba(113, 113, 122, 0.6);
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 60px rgba(220, 38, 38, 0.1);
}

.cta-text-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--hazy-white);
  font-weight: 800;
}

.cta-text-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.cta-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  color: var(--accent-color);
  transition: all var(--transition);
}

.main-cta-card:hover .cta-visual {
  transform: scale(1.2) rotate(15deg);
  color: var(--accent-hover);
  text-shadow: 0 0 40px rgba(255, 77, 77, 0.5);
}

.card-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(63, 63, 70, 0.3);
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer {
  background: transparent;
  border-top: 1px solid rgba(63, 63, 70, 0.3);
  padding: 1rem 0 0;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links-simple {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition);
  font-weight: 500;
}

.footer-link:hover {
  color: var(--accent-hover);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 0;
  border-top: 1px solid rgba(63, 63, 70, 0.2);
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(39, 39, 42, 0.6);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  border: 1px solid rgba(63, 63, 70, 0.4);
  font-size: 1rem;
}

.social-link:hover {
  background-color: var(--accent-color);
  color: var(--hazy-white);
  transform: translateY(-2px) scale(1.1);
  border-color: var(--accent-color);
  box-shadow: 0 6px 20px rgba(255, 77, 77, 0.4);
}

.close-bubble-btn:hover {
  color: var(--hazy-white);
}

.changelog-section {
    padding: 4rem 0;
    max-width: 900px; 
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.changelog-search {
    width: 100%;
    max-width: 600px;
    padding: 1rem 1.5rem;
    margin: 0 auto 0;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    background-color: rgba(24, 24, 27, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: var(--text-primary);
    font-size: 1.05rem;
    transition: all var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: left;
    display: block;
}

.changelog-search::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.changelog-search:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px var(--hazy-red-glow);
    background-color: rgba(24, 24, 27, 0.9);
}

.changelog-timeline {
    position: relative;
    padding: 0;
    max-width: 700px; 
    margin: 0 auto;
}

.changelog-timeline::before {
    content: none; 
}

.changelog-item {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    margin-bottom: 5px;
    position: relative;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.changelog-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.changelog-item:nth-child(odd) {
    flex-direction: column; 
}

.changelog-date-wrapper {
    flex-shrink: 0;
    width: 100%;
    padding: 0;
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.1rem;
}

.changelog-item:nth-child(odd) .changelog-date-wrapper {
    text-align: center;
    justify-content: center;
}

.changelog-date-circle {
    width: 22px; 
    height: 22px;
    background-color: var(--accent-color); 
    border-radius: 50%;
    position: relative; 
    top: auto; 
    transform: none; 
    z-index: 2;
    border: 4px solid var(--hazy-space-bg); 
    box-shadow: 0 0 15px var(--shadow-color), inset 0 0 8px rgba(255, 255, 255, 0.3); 
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0.5rem; 
}

.changelog-item:nth-child(even) .changelog-date-circle {
    left: auto;
    right: auto;
}

.changelog-item:nth-child(odd) .changelog-date-circle {
    left: auto;
    right: auto;
}

.changelog-item:hover .changelog-date-circle {
    transform: none; 
    box-shadow: 0 0 25px var(--shadow-color), inset 0 0 10px rgba(255, 255, 255, 0.5);
    background-color: var(--accent-hover);
}

.changelog-date-text {
    font-size: 1.1rem; 
    font-weight: 700; 
    color: var(--hazy-white); 
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2); 
    padding: 0.5rem 1rem; 
    background-color: rgba(10, 10, 10, 0.8); 
    border: 1px solid var(--accent-color); 
    border-radius: var(--radius-md); 
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); 
}

.changelog-item:hover .changelog-date-text {
    background-color: rgba(30, 30, 33, 0.9);
    border-color: var(--card-border-hover);
    transform: translateY(-2px);
}

.changelog-card {
    width: 100%;
    max-width: 650px; 
    margin-left: auto;
    margin-right: auto;
    background: var(--hazy-gray-dark);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid var(--hazy-gray-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 15px 50px var(--shadow-color-dark);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-top: 5px solid var(--accent-color);
}

.changelog-item:nth-child(odd) .changelog-card,
.changelog-item:nth-child(even) .changelog-card {
    margin-left: auto;
    margin-right: auto;
}

.changelog-card:hover {
    transform: none; 
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 40px var(--hazy-red-glow);
    border-color: var(--card-border-hover);
}

.changelog-card-header {
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    margin-bottom: 0.8rem; 
    padding-bottom: 0.8rem; 
    border-bottom: 2px solid rgba(63, 63, 70, 0.6);
    position: relative; 
}

.changelog-title {
    font-size: 1.6rem;
    color: var(--hazy-white);
    margin: 0;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
    margin-top: 0.5rem; 
}

.changelog-badge {
    background: linear-gradient(135deg, var(--hazy-gray-medium), var(--hazy-gray-light));
    color: var(--hazy-white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-block;
    line-height: 1;
}

.changelog-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.changelog-badge.major-badge {
    background: linear-gradient(135deg, var(--accent-color), var(--hazy-red-hover));
    box-shadow: 0 4px 15px var(--shadow-color);
    border-color: var(--accent-color);
}

.changelog-badge.minor-badge {
    background: linear-gradient(135deg, var(--hazy-blue), var(--hazy-blue-hover));
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    border-color: var(--hazy-blue);
}

.changelog-badge.patch-badge {
    background: linear-gradient(135deg, var(--hazy-green), #6EE7B7);
    box-shadow: 0 4px 15px rgba(52, 211, 153, 0.4);
    border-color: var(--hazy-green);
}

.changelog-content .change-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed rgba(63, 63, 70, 0.3);
}

.changelog-content .change-category:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.changelog-content .change-category h4 {
    font-size: 1.2rem;
    color: var(--hazy-white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.15);
}

.changelog-content .change-category h4 i {
    font-size: 1em;
    color: var(--accent-color);
}

.changelog-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 0.5rem;
}

.changelog-body {
    max-height: none;
    overflow: visible;
    padding-top: 0.5rem;
    padding-bottom: 1rem;
}

.changelog-content ul li {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.7rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    line-height: 1.5;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(63, 63, 70, 0.2);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    word-break: normal; /* Allow normal word breaking */
    overflow-wrap: normal; /* Allow normal overflow wrapping */
    flex-wrap: wrap; /* Allow content to wrap within the list item */
}

.changelog-content ul li:last-child {
    margin-bottom: 0;
}

.change-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1rem;
    color: var(--hazy-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2px;
    text-align: center;
}

.change-icon.add { background-color: var(--hazy-green); border-color: rgba(52, 211, 153, 0.5); }
.change-icon.improve { background-color: var(--hazy-blue); border-color: rgba(59, 130, 246, 0.5); }
.change-icon.fix { background-color: var(--hazy-red); border-color: rgba(220, 38, 38, 0.5); }
.change-icon.website { background-color: #6f42c1; border-color: rgba(111, 66, 193, 0.5); }

@media (max-width: 768px) {
    .changelog-timeline::before {
        content: none; 
    }

    .changelog-item {
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
        transform: translateY(20px);
    }

    .changelog-item:nth-child(odd) {
        flex-direction: column;
    }

    .changelog-date-wrapper {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        margin-bottom: 1rem;
        width: 100%;
    }

    .changelog-date-circle {
        margin-right: 0;
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
        margin-bottom: 0.5rem;
        width: 22px;
        height: 22px;
        border: 4px solid var(--hazy-space-bg);
        box-shadow: 0 0 15px var(--shadow-color), inset 0 0 8px rgba(255, 255, 255, 0.3);
    }

    .changelog-item:hover .changelog-date-circle {
        transform: none;
        background-color: var(--accent-color);
    }

    .changelog-date-text {
        margin-top: 0;
        margin-left: 0;
        text-align: center;
        font-size: 1.1rem;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
        padding: 0.5rem 1rem;
    }

    .changelog-card {
        width: calc(100% - 40px);
        margin: 0 auto;
        padding: 1.5rem;
    }

    .changelog-item:nth-child(odd) .changelog-card,
    .changelog-item:nth-child(even) .changelog-card {
        margin: 0 auto;
    }

    .changelog-title {
        font-size: 1.7rem;
    }

    .changelog-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }

    .changelog-content .change-category h4 {
        font-size: 1.2rem;
    }

    .changelog-content .change-category ul li {
        font-size: 1rem;
    }

    .change-icon {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .changelog-card {
        padding: 1.5rem; 
    }

    .changelog-title {
        font-size: 1.5rem; 
    }

    .changelog-content .change-category h4 {
        font-size: 1.1rem; 
    }

    .changelog-content .change-category ul li {
        font-size: 0.95rem; 
    }
}

.error-card {
    max-width: 550px;
    width: 90%;
    padding: 3.5rem 2.5rem;
    margin: 0 auto;
    background: rgba(24, 24, 27, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: calc(var(--header-height) + 0.5rem);
}

.error-card .card-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(63, 63, 70, 0.3);
    width: 100%;
}


.error-card .error-title {
    font-size: clamp(2.5rem, 6vw, 4rem); 
    margin-bottom: 1rem;
    color: var(--hazy-white);
    font-weight: 800;
    line-height: 1.2;
}

.error-card .error-title .emoji {
    font-size: 1.2em;
    color: var(--accent-color);
    text-shadow: 0 0 15px var(--shadow-color);
    animation: pulse 2s infinite ease-in-out;
    margin-left: 0.5rem;
}

.error-card .error-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.error-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; 
    width: 100%;
    padding-top: 1.5rem;
}

.error-card .home-link {
    width: 80%;
    max-width: 300px; 
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.error-card .footer-links-simple {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem; 
    margin-top: 1rem;
}

.error-card .footer-link {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.error-card .footer-link:hover {
    color: var(--accent-color);
}

@media (max-width: 480px) {
    .error-card {
        max-width: 95%;
        padding: 2rem 1rem; 
    }

    .error-card .error-icon {
        font-size: 4rem;
        margin-bottom: 1rem;
    }

    .error-card .error-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .error-card .error-subtitle {
        font-size: 1rem;
    }

    .error-card .home-link {
        width: 90%;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .error-card .footer-links-simple {
        gap: 0.8rem;
    }

    .error-card .footer-link {
        font-size: 0.85rem;
    }
}

.legal-page {
    padding-top: calc(var(--header-height) + 6rem);
    padding-bottom: 6rem;
    color: var(--text-primary);
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding-left: 3rem;
    padding-right: 3rem;
}

.legal-page .container {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-color);
    padding: 3rem;
}

@media (max-width: 768px) {
    .legal-page {
        padding-top: calc(var(--header-height) + 4rem);
        padding-bottom: 4rem;
        padding-left: 0;
        padding-right: 0;
    }
    .legal-page .container {
        padding: 2rem;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding-top: calc(var(--header-height) + 3rem);
        padding-bottom: 3rem;
    }
    .legal-page .container {
        padding: 1.5rem;
        max-width: 95%;
    }
}

.legal-page h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--hazy-white);
    text-align: center;
}

.legal-page h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--hazy-white);
}

.legal-page p {
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
}

.legal-page ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
}

.legal-page ul li {
    margin-bottom: 0.6rem;
}

.legal-page strong {
    color: var(--hazy-white);
}

.legal-page a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.easter-egg-tooltip {
    position: absolute; 
    background-color: var(--hazy-gray-dark);
    color: var(--hazy-white);
    padding: 6px 10px; 
    border-radius: 5px;
    font-size: 0.8rem; 
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease; 
    pointer-events: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--hazy-gray-light);
}

.legal-page a:hover {
    color: var(--accent-hover);
}

.legal-page .last-updated {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

/* User Profile Widget in Navbar */
.user-profile-widget {
    display: flex;
    align-items: center;
    gap: 0.6rem; /* Reduced gap */
    padding: 0.4rem 0.8rem; /* Reduced padding */
    background-color: rgba(24, 24, 27, 0.6);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md); /* Slightly smaller radius */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* Adjusted shadow */
    min-width: 160px; /* Reduced min-width */
    text-align: right;
    position: relative;
}

.profile-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 35px; /* Adjusted height */
}

.profile-avatar {
    width: 35px; /* Reduced size */
    height: 35px; /* Reduced size */
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 6px var(--shadow-color); /* Adjusted shadow */
}

.profile-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1; /* Adjusted line height */
    flex-grow: 1;
    min-width: 0;
}

.profile-name {
    font-size: 0.9rem; /* Slightly smaller font */
    font-weight: 600;
    color: var(--hazy-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.profile-rank {
    font-size: 0.7rem; /* Slightly smaller font */
    font-weight: 500;
    padding: 0.1em 0.4em; /* Adjusted padding */
    border-radius: 3px; /* Slightly smaller radius */
    margin-top: 0.1rem; /* Adjusted margin */
    white-space: nowrap;
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-dashboard {
    padding: 0.3rem 0.6rem; /* Reduced padding */
    font-size: 0.8rem; /* Slightly smaller font */
    text-align: center;
    margin-left: auto;
    flex-shrink: 0;
    display: flex; /* Added flex to center icon and text */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    gap: 0.4rem; /* Space between icon and text */
}

/* Ensure nav-actions aligns the widget to the right */
.nav-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 1rem;
}
/* Admin Panel Styles */
.admin-panel-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.admin-main-content {
    flex: 1;
    padding: calc(var(--header-height) + 2rem) 0 4rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 92%;
}

.admin-panel-card {
    background: rgba(24, 24, 27, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    padding: 2.5rem;
}

.admin-tabs-header {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--hazy-gray-medium);
    padding-bottom: 1rem;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: transparent;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.tab-btn:hover {
    color: var(--hazy-white);
    background-color: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--shadow-color);
    border-bottom: 2px solid var(--accent-color);
    background-color: rgba(220, 38, 38, 0.05);
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.config-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.config-section {
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.config-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(63, 63, 70, 0.3);
}

.config-section-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--hazy-white);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.config-section-header.collapsible {
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.config-section-header.collapsible:hover {
    border-color: var(--accent-color);
}

.config-section-header.collapsible i.fas {
    transition: transform 0.3s ease;
}

.config-section-header.collapsible.active i.fas {
    transform: rotate(90deg);
}

.config-section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
}

.config-section-content.show {
    max-height: 1000px; /* Arbitrary large value */
    opacity: 1;
}

.config-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--hazy-gray-light);
    border-radius: var(--radius-sm);
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition);
    /* Ensure color input is not affected */
    -webkit-appearance: none; /* For Safari/Chrome */
    -moz-appearance: none; /* For Firefox */
    appearance: none; /* Standard property */
}

/* Specific styles for color input to ensure native appearance */
input[type="color"].input {
    padding: 0; /* Remove padding for color input */
    border: none !important; /* Remove border for color input, ensure precedence */
    background-color: transparent !important; /* Ensure transparent background, ensure precedence */
    width: 40px; /* Standard size for color input */
    height: 40px; /* Standard size for color input */
    cursor: pointer;
    border-radius: var(--radius-sm); /* Apply border-radius */
    overflow: hidden; /* Hide overflow for the color swatch */
}

input[type="color"].input::-webkit-color-swatch-wrapper {
    padding: 0;
}

input[type="color"].input::-webkit-color-swatch {
    border: 1px solid var(--hazy-gray-light); /* Add a subtle border to the swatch */
    border-radius: var(--radius-sm); /* Match parent border-radius */
}

input[type="color"].input::-moz-color-swatch {
    border: 1px solid var(--hazy-gray-light);
    border-radius: var(--radius-sm);
}

.input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--hazy-red-glow);
    background-color: rgba(0, 0, 0, 0.5);
}

textarea.input {
    resize: vertical;
    min-height: 80px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1rem;
    gap: 0.6rem;
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--hazy-gray-light);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background-color: var(--hazy-white);
    border-radius: 2px;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.3s ease;
}

.checkbox-input:checked + .checkbox-custom {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-input:checked + .checkbox-custom::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.checkbox-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(63, 63, 70, 0.3);
}

.form-actions .btn {
    min-width: 150px;
}

.categories-container,
.ranks-container,
.changes-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.category-input-block,
.change-entry {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid var(--hazy-gray-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.category-input-block .remove-category-btn,
.change-entry .remove-change-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--hazy-red);
    color: var(--hazy-white);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.category-input-block .remove-category-btn:hover,
.change-entry .remove-change-btn:hover {
    background-color: var(--hazy-red-hover);
    transform: scale(1.1); /* Reverted to original hover effect */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.category-input-block h4 {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-input-block .form-group {
    margin-bottom: 0.8rem;
}

.category-input-block .form-label {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.category-input-block .input {
    padding: 0.6rem;
    font-size: 0.95rem;
}

.rank-card {
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border-left: 4px solid; /* Will be set by JS */
}

.rank-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.rank-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(63, 63, 70, 0.3);
}

.rank-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--hazy-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.rank-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--hazy-white);
}

.rank-users {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(63, 63, 70, 0.2);
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.user-id {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.user-actions .btn-sm {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
}

.rank-card-actions {
    display: flex;
    justify-content: flex-end;
}

.change-entry-content {
    display: flex;
    flex-direction: column; /* Stack the type/remove wrapper and description */
    gap: 1rem; /* Space between sections */
}

.type-and-remove-wrapper {
    display: flex;
    align-items: flex-end; /* Align items to the bottom */
    gap: 1rem; /* Space between type dropdown and remove button */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.change-entry-content .type-form-group {
    flex-grow: 1; /* Allow type dropdown to grow */
    min-width: 150px; /* Minimum width for type dropdown */
}

.change-entry-content .description-form-group {
    flex-basis: 100%; /* Description takes full width */
}

.change-entry .form-group {
    margin-bottom: 0;
}

.change-entry .form-label {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.change-entry .input {
    padding: 0.6rem;
    font-size: 0.95rem;
}

.change-entry .remove-change-btn {
    background-color: var(--hazy-red);
    color: var(--hazy-white);
    border-radius: 20px; /* More rounded, pill-like */
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center; /* Center content within the button */
    gap: 0.5rem;
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--hazy-red);
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto; /* Push to the right within the flex container */
    min-width: 90px; /* Ensure enough width for "X Remove" */
}

/* Custom Select Styles */
.custom-select-wrapper {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    border: 1px solid var(--hazy-gray-light);
    border-radius: var(--radius-sm);
    background-color: var(--hazy-gray-dark); /* Make background more distinct */
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition);
    min-height: 45px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
}

.custom-select-trigger:focus,
.custom-select-trigger.active {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--hazy-red-glow);
    background-color: rgba(0, 0, 0, 0.5);
}

.custom-select-trigger .select-arrow {
    font-size: 0.8em;
    color: var(--hazy-text-secondary);
    transition: transform 0.3s ease;
}

.custom-select-trigger.active .select-arrow {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    top: calc(100% + 5px); /* Add a small gap below the trigger */
    left: 0;
    right: 0;
    background-color: var(--hazy-gray-dark);
    border: 1px solid var(--hazy-gray-light);
    border-radius: var(--radius-sm);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 100; /* Increased z-index to ensure it's on top */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    padding: 0.5rem 0;
    max-height: 250px; /* Limit height for scrollability */
    overflow-y: auto; /* Enable scrolling */
}

.custom-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    display: block; /* Ensure each option takes full width */
}

.custom-option:hover {
    background-color: var(--hazy-gray-medium);
    color: var(--hazy-white);
}

.custom-option.no-results {
    color: var(--text-muted);
    text-align: center;
    padding: 1rem;
    cursor: default;
}

.custom-select-search {
    width: calc(100% - 2rem); /* Adjust for padding */
    margin: 0.5rem 1rem; /* Add margin for spacing */
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--hazy-gray-light);
    border-radius: var(--radius-sm);
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.custom-select-search:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--hazy-red-glow);
    background-color: rgba(0, 0, 0, 0.5);
}

#notification-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--hazy-gray-dark);
    color: var(--hazy-white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    font-size: 1rem;
    border: 1px solid var(--hazy-gray-light);
}

#notification-toast.show {
    opacity: 1;
    visibility: visible;
}

#notification-toast.success {
    background-color: var(--hazy-green);
    border-color: var(--hazy-green);
    color: #fff;
}

#notification-toast.error {
    background-color: var(--hazy-red);
    border-color: var(--hazy-red);
    color: #fff;
}

@media (max-width: 768px) {
    .admin-main-content {
        padding: calc(var(--header-height) + 1rem) 0 2rem;
        width: 95%;
    }

    .admin-panel-card {
        padding: 1.5rem;
    }

    .admin-tabs-header {
        flex-direction: column;
        gap: 0.8rem;
    }

    .tab-btn {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 0.7rem 1rem;
    }

    .config-section {
        padding: 1.5rem;
    }

    .config-section-header h3 {
        font-size: 1.2rem;
    }

    .config-form-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .form-actions .btn {
        width: 100%;
    }

    .category-input-block .remove-category-btn {
        position: static;
        margin-left: auto;
        margin-top: 1rem;
    }
    .change-entry-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .admin-panel-card {
        padding: 1rem;
    }

    .admin-tabs-header {
        gap: 0.5rem;
    }

    .tab-btn {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }

    .config-section {
        padding: 1rem;
    }

    .config-section-header h3 {
        font-size: 1.1rem;
    }

    .form-label {
        font-size: 0.85rem;
    }

    .input {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
    }

    .category-input-block,
    .change-entry {
        padding: 1rem;
    }

    .rank-card {
        padding: 1rem;
    }

    .rank-card-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .rank-card-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .rank-card-title {
        font-size: 1.1rem;
    }

    .user-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .user-name {
        font-size: 0.9rem;
    }

    .user-id {
        font-size: 0.75rem;
    }

    .user-actions {
        width: 100%;
        justify-content: flex-end;
    }

    #notification-toast {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}
