/* Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;900&display=swap');

/* Custom gradient and animations - Kurumsal gradient renkleri */
.gradient-text {
    background: linear-gradient(45deg, #FEAA00, #DD4C00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Font family overrides - Font stilleri */
.font-inter-light {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

.font-inter-regular {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.font-inter-semibold {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.font-inter-black {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
}

/* Hover animations */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Floating animation - Yumuşak hareket efekti */
.floating {
    animation: floating 6s ease-in-out infinite;
}

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

/* Onboarding animations - Eğitici mod animasyonları */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-up-delay-1 {
    animation-delay: 0.3s;
}

.fade-in-up-delay-2 {
    animation-delay: 0.6s;
}

.fade-in-up-delay-3 {
    animation-delay: 0.9s;
}

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

/* Spotlight efekti */
.spotlight {
    position: relative;
    z-index: 20;
}

.spotlight::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(254, 170, 0, 0.1) 0%, rgba(254, 170, 0, 0.05) 50%, transparent 70%);
    animation: spotlight-pulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes spotlight-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Button highlight */
.button-highlight {
    position: relative;
    animation: button-glow 1.5s ease-in-out infinite;
}

@keyframes button-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(254, 170, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(254, 170, 0, 0.6);
    }
}

/* Version text animation - Versiyon metni animasyonu */
#version-text {
    transition: opacity 0.2s ease-in-out;
}

.version-fade-out {
    opacity: 0;
}

/* Background with blur effect */
body {
    background: #0a0a0a;
    background-image: url('../assets/blur.png');
    background-size: cover;
    background-attachment: fixed;
}

/* Spotlight Focus Effect - Spotlight odak efekti */
body.spotlight-focus header,
body.spotlight-focus main .gradient-text,
body.spotlight-focus main h1,
body.spotlight-focus main .space-y-4,
body.spotlight-focus main button:not(#project-overview-btn),
body.spotlight-focus main .relative,
body.spotlight-focus #contact-container {
    opacity: 0.1;
    transition: opacity 0.8s ease-in-out;
}

body:not(.spotlight-focus) header,
body:not(.spotlight-focus) main .gradient-text,
body:not(.spotlight-focus) main h1,
body:not(.spotlight-focus) main .space-y-4,
body:not(.spotlight-focus) main button,
body:not(.spotlight-focus) main .relative,
body:not(.spotlight-focus) #contact-container {
    opacity: 1;
    transition: opacity 0.8s ease-in-out;
}

/* Common button styles - Ortak buton stilleri */
.btn-primary {
    background: linear-gradient(to right, #FEAA00, #DD4C00);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-secondary {
    border: 2px solid white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    background: transparent;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: white;
    color: black;
}

/* Header styles - Header stilleri */
.header {
    position: relative;
    z-index: 10;
    padding: 1.5rem 1.5rem 0.75rem 1.5rem;
}

.header-content {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Contact section styles - Contact bölümü stilleri */
.contact-section {
    position: relative;
    padding: 2.5rem 1.5rem;
    margin-top: 1.5rem;
}

.contact-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(16px);
}

/* Footer styles - Footer stilleri */
.footer {
    padding: 0.5rem 1.5rem;
}

/* Responsive utilities - Responsive yardımcılar */
@media (max-width: 768px) {
    /* X animasyonu mobilde de aktif */
    .floating {
        animation: floating 6s ease-in-out infinite;
    }
    
    .spotlight::before {
        display: none; /* Mobilde spotlight'ı kapat */
    }
}

/* Social media icons - Sosyal medya ikonları */
.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
    filter: brightness(1.25);
}

/* Menu System - Menü sistemi */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Home page blur when menu is open */
.menu-overlay.active.home-blur {
    background: rgba(0, 0, 0, 0.603);
    backdrop-filter: blur(20px);
}

.menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 420px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 1.5rem 1rem 1.5rem;
    transform: translateX(100%);
    transition: all 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.menu-overlay.active .menu-content {
    transform: translateX(0);
}

.menu-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* New Menu Styles - Yeni menü stilleri */
.menu-top-logo {
    display: flex;
    justify-content: center;
    margin: 2rem 0 3rem 0;
}

.menu-top-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(254, 170, 0, 0.2));
}

.menu-items-list {
    flex: 1;
    padding: 0 1rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: translateX(4px);
}

.menu-item-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-arrow {
    width: 12px;
    height: 12px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.menu-item:hover .menu-arrow {
    opacity: 1;
    transform: translateX(2px);
}

.menu-item-text {
    font-size: 16px;
    color: #94A3B8;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

.menu-item.pending .menu-item-text {
    color: #6B7280;
}

.menu-item.pending .menu-arrow {
    opacity: 0.3;
}

.menu-item.pending {
    cursor: default;
}

.menu-item.pending:hover {
    transform: none;
}

.menu-item.pending:hover .menu-arrow {
    opacity: 0.3;
    transform: none;
}



.menu-item-status {
    font-size: 11px;
    color: #6B7280;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* News Notification Badge */
.news-notification-badge {
    width: 8px;
    height: 8px;
    background: #EF4444;
    border-radius: 50%;
    animation: pulse-notification 2s infinite;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
}

@keyframes pulse-notification {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 1rem;
}

.telegram-popup-overlay { display: none; }
.telegram-popup-overlay.active { display: flex; }

/* ---------- WebKit-based browsers ---------- */
.telegram-messages::-webkit-scrollbar {
    width: 8px;               /* overall width */
  }
  
  .telegram-messages::-webkit-scrollbar-track {
    background: #2a2a2a;      /* track background */
    border-radius: 4px;
  }
  
  .telegram-messages::-webkit-scrollbar-thumb {
    background-color: #555;   /* thumb color */
    border-radius: 4px;
    border: 2px solid #2a2a2a;/* gives a little padding around the thumb */
  }
  
  .telegram-messages::-webkit-scrollbar-thumb:hover {
    background-color: #777;   /* lighten on hover */
  }
  
  /* ---------- Firefox ---------- */
  .telegram-messages {
    scrollbar-width: thin;            /* “auto” or “thin” */
    scrollbar-color: #555 #2a2a2a;    /* thumb & track */
  }
  

.menu-telegram-section {
    margin-top: auto;
    padding: 1rem;
}

.telegram-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.telegram-container:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.telegram-image {
    width: 160px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 12px;
}

.go-to-app {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #94A3B8;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    cursor: pointer;
}

.go-to-app:hover {
    color: #FEAA00;
}

.go-arrow {
    width: 10px;
    height: 10px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.go-to-app:hover .go-arrow {
    opacity: 1;
    transform: translateX(2px);
}

#telegram-app-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 2rem; /* match your py-3 px-8 */
    border-radius: 9999px;
    font-weight: 600;
    background: white;
    color: black;
    border: 2px solid white;
    transition: all .3s;
  }
  #telegram-app-btn:hover {
    background: black;
    color: white;
  }
  #telegram-app-btn img {
    margin-right: .5rem;
    filter: brightness(0) saturate(100%);
    transition: filter .3s;
  }
  #telegram-app-btn:hover img {
    filter: brightness(0) saturate(100%) invert(1);
  }
  

/* Placeholder Page Styles - Placeholder sayfa stilleri */
.placeholder-page {
    display: flex;
    min-height: 100vh;
    background: #000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.placeholder-content {
    text-align: center;
    max-width: 600px;
}

.placeholder-title {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #FEAA00, #DD4C00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Inter', sans-serif;
}

.placeholder-description {
    font-size: 1.2rem;
    color: #94A3B8;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

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

/* Responsive Placeholder Page */
@media (max-width: 768px) {
    .placeholder-title {
        font-size: 2rem;
    }
    
    .placeholder-description {
        font-size: 1rem;
    }
    
    .placeholder-icon {
        font-size: 3rem;
    }
}

/* Responsive Menu - Mobile */
@media (max-width: 768px) {
    .menu-content {
        width: 100%;
        right: 0;
    }
}

@media (max-width: 480px) {
    .menu-content {
        padding: 1.5rem 1rem;
    }
    
    .menu-top-logo {
        margin: 1rem 0 2rem 0;
    }
    
    .menu-top-logo img {
        width: 100px;
        height: 100px;
    }
    
    .telegram-image {
        width: 120px;
    }
    
    .telegram-container {
        padding: 1rem;
    }
}

/* Trade Popup Styles */
.trade-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1.5rem; /* px-6 equivalent */
}

.trade-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.trade-popup-content {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    width: 100%;
    max-width: 70rem; /* Reduced from 80rem to match other popups */
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.trade-popup-overlay.active .trade-popup-content {
    transform: scale(1);
}

/* Contact Popup Active State */
.contact-popup-overlay.active .contact-popup-content {
    transform: scale(1);
}

/* Launchpad Popup Active State */
.launchpad-popup-overlay.active .launchpad-popup-content {
    transform: scale(1);
}

/* What is X Popup Active State */
.whatisx-popup-overlay.active .whatisx-popup-content {
    transform: scale(1);
}

/* Visa Popup Active State */
.visa-popup-overlay.active .visa-popup-content {
    transform: scale(1);
}

/* News Popup Active State */
.news-popup-overlay.active .news-popup-content {
    transform: scale(1);
}

.trade-popup-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.trade-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.trade-content {
    padding: 2rem 1rem;
    color: white;
    min-height: 400px;
}

/* Trade Header */
.trade-header {
    text-align: left;
    margin-bottom: 3rem;
}

.trade-title {
    font-family: 'Inter', sans-serif;
    font-size: 34px;
    font-weight: 900;
    color: white;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.trade-subtitle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #94A3B8;
    font-weight: 400;
}

.telegram-text-logo {
    height: 20px;
    width: auto;
}

/* Trade Main Layout - Split-Screen by Default */
.trade-main {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    align-items: stretch;
    height: 400px;
    min-height: 400px;
}

/* Left Side - Hidden (X Money not needed in split-screen) */
.trade-left {
    display: none;
}

.xmoney-image {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.mobile-popup .xmoney-image {
    transform: none !important;
    filter: none !important;
    -webkit-transform: none !important;
    -webkit-filter: none !important;
    will-change: auto !important;
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    image-rendering: pixelated !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    -webkit-perspective: 1000px !important;
    perspective: 1000px !important;
}

/* Right Side - Split-Screen Container */
.trade-right {
    width: 100%;
    max-width: none;
    gap: 0;
    height: 100%;
    display: flex;
    flex-direction: row;
}

.cards-container {
    width: 60%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.cards-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cards-slider .trade-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.trade-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: stretch;
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.trade-card.active {
    transform: scale(1);
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
}

/* Perfect Card Content Layout */
.card-content {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    align-items: stretch;
    position: relative;
}

.card-text h3.card-title {
    font-family: 'Inter', sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
    line-height: 1.3;
    text-align: center;
}

.card-text p.card-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #94A3B8;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.card-image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(254, 170, 0, 0.1), rgba(221, 76, 0, 0.1));
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.mobile-popup .card-image {
    background: rgba(20, 20, 20, 0.8) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 20px !important;
    overflow: hidden !important;
}

.card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    z-index: 1;
}

.mobile-popup .card-image::before {
    display: none !important;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 2;
}

.mobile-popup .card-image img {
    transform: none !important;
    filter: none !important;
    transition: none !important;
    -webkit-transform: none !important;
    will-change: auto !important;
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    image-rendering: pixelated !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    -webkit-perspective: 1000px !important;
    perspective: 1000px !important;
}

.trade-card:hover .card-image img {
    transform: scale(1.05);
}

.mobile-popup .trade-card:hover .card-image img {
    transform: none !important;
}

.card-text {
    display: none; /* Text shown in split-screen panel */
}

/* Perfect Split-Screen Panel Layout */
.split-screen-panel {
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem;
    background: transparent;
    border: none;
    position: relative;
    justify-content: space-between;
}

.split-screen-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
}

.split-screen-text h3 {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    text-align: center;
}

.split-screen-text p {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #94A3B8;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.split-screen-navigation {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: auto;
    align-items: center;
}

.split-screen-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.split-screen-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.split-screen-indicators .indicator.active {
    background: #FEAA00;
    transform: scale(1.2);
}

.split-screen-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 350px;
}

/* Perfect Launchpad Cards Grid Layout */

/* Desktop Grid for Two Cards - Perfect */
.launchpad-cards-grid.two-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    height: 100%;
    align-items: stretch;
    padding: 1rem;
}

/* Mobile Grid for Single Card - Perfect */
.launchpad-cards-grid.single-card {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 1rem;
}

.launchpad-cards-grid.single-card .launchpad-card {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

/* Perfect Launchpad Card Structure */
.launchpad-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    height: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.launchpad-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Perfect Card Content Layout - Consistent Layout: Image Left, Text Right */
.launchpad-card-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    height: 100%;
    flex: 1;
}

.launchpad-card-text {
    flex: 1;
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.launchpad-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 21px;
    font-weight: 600;
    color: white;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.launchpad-card-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #94A3B8;
    line-height: 1.5;
    margin: 0;
    max-width: 100%;
}

.launchpad-card-image {
    display: flex;
    justify-content: center;
    align-items: center;
    order: 1;
    width: 200px;
    height: 280px;
    flex-shrink: 0;
}

.launchpad-card-image img {
    width: 170px;
    height: 250px;
    object-fit: contain;
}

/* All cards have consistent layout - image left, text right */
.launchpad-card:nth-child(even) .launchpad-card-text {
    order: 2;
    text-align: left;
}

.launchpad-card:nth-child(even) .launchpad-card-image {
    order: 1;
}

/* Perfect Two Cards Layout Adjustments */
.launchpad-cards-grid.two-cards .launchpad-card {
    min-height: 320px;
    max-height: 380px;
}

.launchpad-cards-grid.two-cards .launchpad-card-title {
    font-size: 21px;
}

.launchpad-cards-grid.two-cards .launchpad-card-description {
    font-size: 14px;
}

.launchpad-cards-grid.two-cards .launchpad-card-image {
    width: 180px;
    height: 260px;
}

.launchpad-cards-grid.two-cards .launchpad-card-image img {
    width: 150px;
    height: 230px;
}

/* Common Navigation Button Styles */
.nav-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
    text-align: center;
}

.nav-btn.secondary {
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.nav-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.nav-btn.primary {
    background: linear-gradient(135deg, #FEAA00, #DD4C00);
    border: 2px solid transparent;
    color: white;
}

.nav-btn.primary:hover {
    background: linear-gradient(135deg, #FF8C00, #CC4400);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(254, 170, 0, 0.3);
}

/* Legacy Navigation (Hidden only in trade popup) */
#trade-popup .trade-navigation {
    display: none;
}

/* Launchpad Navigation Styles - Trade Inspired */
#launchpad-popup .trade-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 2rem;
    padding: 0 1rem;
}

#launchpad-popup .nav-left {
    display: flex;
    justify-content: flex-start;
    min-width: 120px;
}

#launchpad-popup .nav-right {
    display: flex;
    justify-content: flex-end;
    min-width: 120px;
}

#launchpad-popup .card-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

#launchpad-popup .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

#launchpad-popup .indicator.active {
    background: #FEAA00;
    transform: scale(1.2);
}

/* Use common nav-btn class for launchpad buttons */
#launchpad-popup .next-btn {
    /* Common nav-btn styles will be applied via class */
}

#launchpad-popup .back-btn {
    /* Common nav-btn styles will be applied via class */
}

/* Launchpad Specific Styles */
.launchpad-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.launchpad-cards-container {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.launchpad-cards-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.launchpad-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.launchpad-slide.active {
    opacity: 1;
    transform: translateX(0);
}

/* Grid Layouts - removed old definitions */

/* Launchpad Cards */
.launchpad-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    min-height: 320px;
}

/* Desktop Grid for Two Cards */
.launchpad-cards-grid.two-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    height: 100%;
    align-items: stretch;
}

/* Mobile Grid for Single Card */
.launchpad-cards-grid.single-card {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.launchpad-cards-grid.single-card .launchpad-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Force mobile launchpad styles when mobile-launchpad class is present */
.mobile-launchpad .launchpad-cards-grid.two-cards {
    display: none !important;
}

.mobile-launchpad .launchpad-cards-grid.single-card {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.mobile-launchpad .launchpad-cards-grid.single-card .launchpad-card {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
}

/* Mobile popup specific styles */
.mobile-popup *:not(.visa-flowing-card):not(.visa-cards-flow) {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
}

.mobile-popup .launchpad-cards-grid.two-cards {
    display: none !important;
}

.mobile-popup .launchpad-cards-grid.single-card {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 100% !important;
    padding: 0.75rem 0 !important;
}

.mobile-popup .launchpad-cards-grid.single-card .launchpad-card {
    width: 95% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
    min-height: 380px !important;
    max-height: 420px !important;
    padding: 0.75rem !important;
}

/* Force launchpad card responsive width */
.mobile-popup .launchpad-card.large,
.mobile-popup .launchpad-card {
    width: 95% !important;
    max-width: 400px !important;
    min-width: 280px !important;
}

    .mobile-popup .launchpad-card-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1.5rem !important;
        height: auto !important;
        justify-content: center !important;
        padding: 1.5rem !important;
        align-items: center !important;
    }

    .mobile-popup .launchpad-card-text {
        order: 2 !important;
        flex: 1 !important;
        padding: 0 !important;
        text-align: center !important;
    }

    .mobile-popup .launchpad-card-image {
        order: 1 !important;
        width: 120px !important;
        height: 150px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-shrink: 0 !important;
    }

    .mobile-popup .launchpad-card-image img {
        width: 100px !important;
        height: 130px !important;
        object-fit: contain !important;
    }

    .mobile-popup .launchpad-card-title {
        font-size: 16px !important;
        margin: 0 0 1rem 0 !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
        color: white !important;
        text-align: center !important;
        max-width: 100% !important;
    }

    .mobile-popup .launchpad-card-description {
        font-size: 11px !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        color: #94A3B8 !important;
        max-width: 100% !important;
        text-align: center !important;
        padding: 0 !important;
    }

    /* Mobile popup navigation - Common Layout */


    /* Common nav-btn mobile styles - Trade & Launchpad */
    .nav-btn {
        padding: 0.75rem 1.5rem !important;
        font-size: 14px !important;
        min-width: 100px !important;
        max-width: 150px !important;
        border-radius: 30px !important;
        font-weight: 600 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    .mobile-popup .nav-btn {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        transform: none !important;
        filter: none !important;
    }
    
    /* Mobile popup final clarity optimization */
    .mobile-popup {
        image-rendering: -webkit-optimize-contrast !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
        -webkit-perspective: 1000px !important;
        perspective: 1000px !important;
    }
    
    /* Force hardware acceleration and crisp rendering for mobile */
    .mobile-popup *:not(.visa-flowing-card) {
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        text-rendering: optimizeLegibility !important;
        image-rendering: -webkit-optimize-contrast !important;
        image-rendering: crisp-edges !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
        will-change: auto !important;
    }
    
    /* Ultra-specific mobile image optimization - improved for clarity */
    .mobile-popup img:not(.card-image img):not(.xmoney-image),
    .mobile-popup .telegram-image,
    .mobile-popup .menu-logo {
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
    }
    
    /* Trade popup images - keep crisp and clear */
    .mobile-popup .card-image img,
    .mobile-popup .xmoney-image {
        image-rendering: auto !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
        will-change: auto !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
    
    /* Trade popup containers - preserve image quality */
    .mobile-popup #trade-popup .trade-main,
    .mobile-popup #trade-popup .cards-container,
    .mobile-popup #trade-popup .card-image {
        transform: none !important;
        -webkit-transform: none !important;
        filter: none !important;
        -webkit-filter: none !important;
    }
    
    /* Nuclear option - Remove all blur effects from mobile popup but keep images clear */
    .mobile-popup.trade-popup-overlay .trade-popup-content,
    .mobile-popup.trade-popup-overlay .trade-popup-content *:not(.visa-flowing-card):not(.card-image):not(.xmoney-image),
    .mobile-popup .trade-content,
    .mobile-popup .trade-content *:not(.visa-flowing-card):not(.card-image):not(.xmoney-image) {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        filter: none !important;
        -webkit-filter: none !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        text-rendering: optimizeLegibility !important;
    }
    
    /* Mobile container pixel perfect optimization - exclude trade containers */
    .mobile-popup .launchpad-main,
    .mobile-popup .news-main,
    .mobile-popup .contact-main {
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
        will-change: auto !important;
    }



.launchpad-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.launchpad-card-content {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
}

.launchpad-card-text {
    flex: 1;
    order: 2;
}

.launchpad-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 21px;
    font-weight: 600;
    color: white;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.launchpad-card-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #94A3B8;
    line-height: 1.5;
    margin: 0;
    max-width: 90%;
}

.launchpad-card-image {
    display: flex;
    justify-content: center;
    align-items: center;
    order: 1;
    width: 190px;
    height: 290px;
    flex-shrink: 0;
}

.launchpad-card-image img {
    width: 160px;
    height: 240px;
    object-fit: contain;
}

/* Alternating Layout - Even cards have image on right */
.launchpad-card:nth-child(even) .launchpad-card-text {
    order: 1;
}

.launchpad-card:nth-child(even) .launchpad-card-image {
    order: 2;
}

/* Card Sizes */

/* Two Cards Layout */
.launchpad-cards-grid.two-cards .launchpad-card {
    min-height: 320px;
}

.launchpad-cards-grid.two-cards .launchpad-card-title {
    font-size: 21px;
}

.launchpad-cards-grid.two-cards .launchpad-card-description {
    font-size: 14px;
}

.launchpad-cards-grid.two-cards .launchpad-card-image img {
    width: 160px;
    height: 250px;
}

/* Visa X Card Specific Styles */
.visa-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 500px;
}

.visa-left {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

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

.visa-logo {
    width: 100%;
    max-width: 350px;
    height: auto;
}

.visa-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #94A3B8;
    line-height: 1.6;
    max-width: 400px;
    margin: 0;
}

.visa-right {
    position: relative;
    height: 500px;
    overflow: hidden;
    mask: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.visa-cards-flow {
    position: relative;
    width: 100%;
    height: 150%;
    top: -25%;
}

.visa-flowing-card {
    position: absolute;
    will-change: transform;
}

.visa-flowing-card img {
    width: 180px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

/* Individual Card Flow Positioning and Animations */
.visa-flowing-card.card-1 {
    left: 15%;
    animation: flowUpLeft 12s linear infinite;
    z-index: 4;
    animation-delay: 0s;
}

.visa-flowing-card.card-2 {
    right: 15%;
    animation: flowUpRight 12s linear infinite;
    z-index: 3;
    animation-delay: -3s;
}

.visa-flowing-card.card-3 {
    left: 15%;
    animation: flowUpLeft 12s linear infinite;
    z-index: 2;
    animation-delay: -6s;
    filter: blur(0.5px);
}

.visa-flowing-card.card-4 {
    right: 15%;
    animation: flowUpRight 12s linear infinite;
    z-index: 1;
    animation-delay: -9s;
    filter: blur(0.5px);
}

.visa-flowing-card.card-5 {
    right: 25%;
    animation: flowUpRight 12s linear infinite;
    z-index: 3;
    animation-delay: -1.5s;
}

/* Simplified Flowing Animations */
@keyframes flowUpLeft {
    0% {
        transform: translateY(550px) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateY(250px) translateX(-10px) rotate(2deg);
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-150px) translateX(-20px) rotate(4deg);
        opacity: 0;
    }
}

@keyframes flowUpRight {
    0% {
        transform: translateY(550px) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateY(250px) translateX(10px) rotate(-2deg);
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-150px) translateX(20px) rotate(-4deg);
        opacity: 0;
    }
}

/* Hover Effects for Flowing Cards */
.visa-flowing-card:hover {
    filter: blur(0px) !important;
    z-index: 10 !important;
}

/* What is X Popup Styles */
.whatisx-title .title-light {
    font-weight: 300;
}

.whatisx-title .title-bold {
    font-weight: 900;
}

.whatisx-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 400px;
}

.whatisx-left {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.whatisx-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    margin-top: 24px;
}

.whatisx-right {
    display: flex;
    flex-direction: column;
}

.whatisx-right {
    display: flex;
    flex-direction: column;
}

.whatisx-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.content-section {
    margin-bottom: 1rem;
}

.intro-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #E2E8F0;
    line-height: 1.5;
    margin: 0;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0 0 0.5rem 0;
}

.section-text {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #94A3B8;
    line-height: 1.5;
    margin: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.feature-list li {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #94A3B8;
    line-height: 1.4;
}

.action-section {
    margin-top: 1.5rem !important;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.conclusion-text {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #94A3B8;
    line-height: 1.4;
    margin: 0 0 1rem 0;
    text-align: center;
}

.go-to-trade-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to right, #FEAA00, #DD4C00);
    border: none;
    border-radius: 40px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.go-to-trade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(254, 170, 0, 0.3);
}

/* Contact Popup Styles */
.contact-popup-content {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    width: 100%;
    max-width: 500px !important;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

/* Launchpad Popup Styles */
.launchpad-popup-content {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

/* What is X Popup Styles */
.whatisx-popup-content {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

/* Visa Popup Styles */
.visa-popup-content {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

/* News Popup Styles */


.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #94A3B8;
    margin: 0 0 0.5rem 0;
}

.contact-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.contact-form {
    width: 100%;
}

.form-group {
    position: relative;
    margin-bottom: 2.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #374151;
    padding: 0.75rem 0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: white;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #FEAA00;
}

.form-group input.error,
.form-group textarea.error {
    border-bottom-color: #EF4444;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6B7280;
    opacity: 1;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group label {
    position: absolute;
    top: -1.5rem;
    left: 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #94A3B8;
    font-weight: 400;
}

.error-message {
    display: none;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #EF4444;
    margin-top: 0.5rem;
    padding-left: 0;
    animation: slideInUp 0.3s ease-out;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(to right, #FEAA00, #DD4C00);
    border: none;
    border-radius: 40px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(254, 170, 0, 0.3);
}

/* Form Notifications */
.form-notification {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    animation: slideInUp 0.3s ease-out;
}

.form-notification.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #FCA5A5;
}

.form-notification.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86EFAC;
}

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

/* News Popup Specific Styles */
.news-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: auto;
}

.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.news-card {
    background: rgba(18, 18, 18, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.news-card:hover {
    background: rgba(25, 25, 25, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.news-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #DC2626;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
}

.news-card-image {
    width: 100%;
    height: 180px;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
    background: linear-gradient(135deg, rgba(254, 170, 0, 0.1), rgba(221, 76, 0, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.news-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1rem;
}

.news-card-category {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.news-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1.4;
}

.news-card-description {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #94A3B8;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.news-card-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
}

.news-card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.news-tag {
    background: rgba(255, 255, 255, 0.05);
    color: #94A3B8;
    padding: 4px 8px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-card-date {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: #6B7280;
    margin: 0;
}

/* News CTA Section */
.news-cta-section {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-top: 0.5rem;
}

.news-cta-title {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.news-cta-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #94A3B8;
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

.news-cta-button {
    background: linear-gradient(to right, #FEAA00, #DD4C00);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(254, 170, 0, 0.3);
}

/* News Header Specific Styles */
.news-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.news-header-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #DC2626;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-live-indicator {
    width: 8px;
    height: 8px;
    background: #DC2626;
    border-radius: 50%;
    animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(220, 38, 38, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.news-stats {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.news-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #FEAA00;
    line-height: 1;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* News Slide Panel Styles */
.news-slide-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.news-slide-overlay.active {
    opacity: 1;
    visibility: visible;
}

.news-slide-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 800px;
    max-width: 90vw;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
}

.news-slide-overlay.active .news-slide-panel {
    transform: translateX(0);
}

.news-close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 28px;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.news-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.news-content {
    padding: 3rem 2rem 2rem 2rem;
    color: white;
    min-height: 100vh;
}

/* News slide panel specific styles */
.news-slide-panel .trade-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.news-slide-panel .trade-title {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: white;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.news-slide-panel .news-main {
    gap: 2rem;
}

.news-slide-panel .news-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.news-slide-panel .news-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.news-slide-panel .news-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.news-slide-panel .news-card-image {
    width: 100%;
    height: 200px;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
    background: linear-gradient(135deg, rgba(254, 170, 0, 0.1), rgba(221, 76, 0, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.news-slide-panel .news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.news-slide-panel .news-card-content {
    padding: 1.5rem;
}

.news-slide-panel .news-card-title {
    font-size: 16px;
    margin-bottom: 0.75rem;
}

.news-slide-panel .news-card-description {
    font-size: 13px;
    -webkit-line-clamp: 2;
}

.news-slide-panel .news-cta-section {
    padding: 2rem;
    margin-top: 1rem;
}

/* Tablet Responsive - News Cards */
@media (max-width: 1024px) and (min-width: 769px) {
    .news-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .news-card-image {
        height: 160px;
    }
    
    .news-card-content {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .news-card-title {
        font-size: 14px;
    }
    
    .news-card-description {
        font-size: 11px;
        -webkit-line-clamp: 2;
    }
    
    /* News slide panel tablet styles */
    .news-slide-panel .news-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .news-slide-panel .news-card-image {
        height: 180px;
    }
    
    .news-slide-panel .news-card-title {
        font-size: 15px;
    }
    
    .news-slide-panel .news-card-description {
        font-size: 12px;
    }
}

/* Mobile Responsive - News Cards (for non-popup) */
@media (max-width: 768px) {
    .news-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .news-card-image {
        height: 160px;
    }
    
    .news-card-content {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .news-card-title {
        font-size: 13px;
    }
    
    .news-card-description {
        font-size: 10px;
        -webkit-line-clamp: 2;
    }
    
    .news-card-footer {
        gap: 0.4rem;
        padding-top: 0.6rem;
    }
    
    .news-tag {
        padding: 2px 5px;
        font-size: 8px;
    }
    
    .news-card-date {
        font-size: 8px;
    }
}

/* Desktop only elements */
.desktop-only {
    display: flex;
}

/* Mobile Layout - Anasayfa ve Pop-up Margin Ayarları */
@media (max-width: 768px) {
    /* Mobile text clarity improvements */
    * {
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        text-rendering: optimizeLegibility !important;
    }
    
    /* Removed translateZ transforms that caused blur on mobile */
    
    /* Language'ı mobilde gizle */
    .desktop-only {
        display: none !important;
    }
    
    /* Anasayfa margin'leri */
    header {
        padding: 28px !important;
    }
    
    /* Header düzeni - version bölümünün alt satıra kaymaması için */
    .header .max-w-7xl {
        gap: 0.25rem;
        flex-wrap: nowrap;
    }
    
    .header .flex.items-center.space-x-3 {
        flex-shrink: 0;
        gap: 0.5rem; /* space-x-3 yerine daha küçük gap */
    }
    
    .header .flex.items-center.space-x-3 span {
        font-size: 10px !important;
        white-space: nowrap;
        line-height: 1.2;
    }
    
    .header .flex.items-center.space-x-20 {
        flex-shrink: 0;
        gap: 0.5rem; /* space-x-20 yerine daha küçük gap */
    }
    
    /* Logo boyutunu mobilde küçült */
    .header .flex.items-center.space-x-3 img {
        height: 1.5rem !important; /* h-8 yerine h-6 */
        width: auto;
    }
    
    main {
        padding: 0 40px;
    }
    
    #contact-container section {
        padding: 2.5rem 40px;
    }
    
    .footer {
        padding: 0.5rem 40px;
    }
    
    /* Mobilde ana grid düzeni - X görseli üstte */
    main .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Sol content alanını ortalı yap */
    main .grid > div:nth-child(1) {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    main .grid > div:nth-child(1) .space-y-3 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    main .grid > div:nth-child(1) .space-y-4 {
        text-align: center !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    main .grid > div:nth-child(1) .flex {
        justify-content: center !important;
        width: 100% !important;
    }
    
    /* X görselini üstte göster ve ortala */
    main .grid > div:nth-child(2) {
        order: -1;
        margin-bottom: 1rem;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    /* X görseli boyutunu küçült */
    main .grid > div:nth-child(2) img {
        width: 18rem !important;
        height: auto;
    }
    
    /* Text boyutlarını küçült ve ortala */
    main h1 {
        font-size: 31px !important;
        line-height: 34px !important;
        letter-spacing: -0.5px !important;
        text-align: center !important;
    }
    
    main p {
        font-size: 12px !important;
        text-align: center !important;
    }
    
    /* Gradient text boyutu ve ortala */
    main .gradient-text {
        font-size: 11px !important;
        text-align: center !important;
    }
    
    /* Button boyutları */
    main button {
        font-size: 13px !important;
        padding: 0.75rem 1.5rem !important;
    }
    
    /* Contact section text boyutları ve ortalama */
    #contact-container {
        text-align: center !important;
    }
    
    #contact-container .max-w-7xl > .flex {
        justify-content: center !important;
        align-items: center !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    /* Contact iletişim bilgileri container'ı */
    #contact-container .flex.flex-col.lg\\:flex-row {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    /* Sosyal medya ikonları - mobile'da yatay kalacak */
    #contact-container .space-x-6 {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1.5rem !important;
    }
    
    /* Tailwind space-x override */
    #contact-container .space-x-6 > * {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    #contact-container .social-icon {
        width: 24px !important;
        height: 24px !important;
    }
    
    #contact-container h2 {
        font-size: 11px !important;
    }
    
    #contact-container a {
        font-size: 11px !important;
    }
    
    /* Pop-up margin'leri */
    .trade-popup-overlay,
    .contact-popup-overlay,
    .launchpad-popup-overlay,
    .whatisx-popup-overlay,
    .visa-popup-overlay {
        padding: 10px;
    }
    
    .trade-popup-content,
    .contact-popup-content,
    .launchpad-popup-content,
    .whatisx-popup-content,
    .visa-popup-content {
        padding: 1.5rem;
        border-radius: 30px;
        max-width: 100%;
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
        transform: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(0, 0, 0, 0.95) !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        text-rendering: optimizeLegibility !important;
        image-rendering: -webkit-optimize-contrast !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
        -webkit-perspective: 1000px !important;
        perspective: 1000px !important;
        will-change: auto !important;
    }
    
    .trade-popup-close,
    .contact-popup-close,
    .launchpad-popup-close,
    .whatisx-popup-close,
    .visa-popup-close {
        position: fixed !important;
        top: 1rem !important;
        right: 1rem !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 24px !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.2) !important;
        z-index: 9999 !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
    }
    
    .trade-popup-close:hover,
    .contact-popup-close:hover,
    .launchpad-popup-close:hover,
    .whatisx-popup-close:hover,
    .visa-popup-close:hover {
        background: rgba(255, 255, 255, 0.3) !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
        transform: scale(1.1) !important;
    }
    
    .trade-popup-close:active,
    .contact-popup-close:active,
    .launchpad-popup-close:active,
    .whatisx-popup-close:active,
    .visa-popup-close:active {
        transform: scale(0.95) !important;
        background: rgba(255, 255, 255, 0.4) !important;
    }
    
    /* Mobile specific close button improvements */
    @media (max-width: 768px) {
        .trade-popup-close,
        .contact-popup-close,
        .launchpad-popup-close,
        .whatisx-popup-close,
        .visa-popup-close {
            position: fixed !important;
            top: 0.75rem !important;
            right: 0.75rem !important;
            width: 48px !important;
            height: 48px !important;
            font-size: 26px !important;
            z-index: 99999 !important;
            background: rgba(0, 0, 0, 0.7) !important;
            border: 2px solid rgba(255, 255, 255, 0.4) !important;
            color: white !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
            backdrop-filter: blur(10px) !important;
            -webkit-backdrop-filter: blur(10px) !important;
        }
        
        .trade-popup-close:hover,
        .contact-popup-close:hover,
        .launchpad-popup-close:hover,
        .whatisx-popup-close:hover,
        .visa-popup-close:hover {
            background: rgba(0, 0, 0, 0.8) !important;
            border-color: rgba(255, 255, 255, 0.6) !important;
            transform: scale(1.05) !important;
        }
    }
    
    .trade-content {
        padding: 0 0.5rem 0.75rem 0.5rem;
        min-height: auto;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .trade-header {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .trade-title {
        font-size: 28px;
    }
    
    .trade-subtitle {
        font-size: 14px;
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    
    .trade-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .xmoney-image {
        max-width: 250px;
    }
    
    .cards-container {
        height: 350px;
    }
    
    .card-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    /* Perfect Mobile Trade Cards */
    .card-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }
    
    .card-text h3.card-title {
        font-size: 21px;
        text-align: center;
        margin-bottom: 0.75rem;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        text-rendering: optimizeLegibility !important;
    }
    
    .card-text p.card-description {
        font-size: 14px;
        text-align: center;
        line-height: 1.5;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        text-rendering: optimizeLegibility !important;
    }
    
    .card-image img {
        width: 200px;
        height: 200px;
    }
    
    .trade-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-left, .nav-right {
        min-width: auto;
        justify-content: center;
    }
    
        .next-btn, .back-btn {
        padding: 0.75rem 1.5rem;
        font-size: 13px;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        text-rendering: optimizeLegibility !important;
    }
    
        /* Split-Screen Mobile Responsive - Enhanced */
    .trade-main {
        flex-direction: column;
        height: auto;
        min-height: 320px;
        gap: 0;
    }
    
    .trade-right {
        flex-direction: column;
        height: auto;
    }
    
    .cards-container {
        width: 100%;
        height: 40vh;
        min-height: 280px;
        max-height: 320px;
        border-radius: 20px;
        overflow: hidden;
    }
    
    .card-image {
        border-radius: 0;
        height: 100% !important;
    }
    
    /* Mobile Trade Popup - Görsel Tüm Alanı Kaplasın */
    .mobile-popup .trade-card .card-image {
        height: 100% !important;
        width: 100% !important;
        background: none !important;
        border-radius: 20px !important;
        overflow: hidden !important;
    }
    
    .mobile-popup .trade-card .card-image img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 20px !important;
    }
    
    .split-screen-panel {
        width: 100%;
        height: auto;
        min-height: 200px;
        max-height: 280px;
        padding: 1.5rem 1rem;
        border: none;
        background: transparent;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-radius: 20px;
        margin-top: 8px;
    }
    
    .split-screen-content {
        gap: 1.5rem;
        justify-content: flex-start;
        padding-top: 1rem;
    }
    
    .split-screen-text h3 {
        font-size: 26px;
        margin-bottom: 1rem;
        line-height: 1.3;
        text-align: center;
    }
    
    .split-screen-text p {
        font-size: 11px;
        line-height: 1.5;
        text-align: center;
        color: #B0BEC5;
    }
    
    .split-screen-navigation {
        gap: 2rem;
        margin-top: 1.5rem;
    }
    
    .split-screen-indicators {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .split-screen-buttons {
        flex-direction: row;
        gap: 1rem;
        justify-content: space-between;
    }
    
        /* Mobile Trade Popup Specific Styles */
    .mobile-popup .trade-main {
        min-height: 350px !important;
        max-height: 650px !important;
        gap: 0 !important;
    }
    
    .mobile-popup .cards-container {
        height: 45vh !important;
        min-height: 320px !important;
        max-height: 400px !important;
        border-radius: 20px !important;
    }
    
    .mobile-popup .split-screen-panel {
        min-height: 180px !important;
        max-height: 250px !important;
        padding: 1rem !important;
        border-radius: 20px !important;
        margin-top: 8px !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: transparent !important;
    }
    
    .mobile-popup .split-screen-content {
        gap: 1rem !important;
        padding-top: 0.5rem !important;
    }
    
    .mobile-popup .split-screen-text h3 {
        font-size: 20px !important;
        margin-bottom: 0.5rem !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        text-rendering: optimizeLegibility !important;
    }
    
    .mobile-popup .split-screen-text p {
        font-size: 11px !important;
        line-height: 1.4 !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        text-rendering: optimizeLegibility !important;
    }
    
    .mobile-popup .split-screen-navigation {
        gap: 1rem !important;
        margin-top: 1rem !important;
    }

        /* Common Mobile Indicator Styles - Trade & Launchpad */
    .split-screen-indicators .indicator,
    .mobile-popup .split-screen-indicators .indicator {
        width: 8px !important;
        height: 8px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.2) !important;
        transition: all 0.3s ease !important;
        cursor: pointer !important;
        position: relative !important;
        padding: 8px !important;
    }

    .split-screen-indicators .indicator.active,
    .mobile-popup .split-screen-indicators .indicator.active {
        background: #FEAA00 !important;
        transform: scale(1.2) !important;
    }
}

/* Tablet Responsive - Medium screens */
@media (min-width: 769px) and (max-width: 1024px) {
    .trade-main {
        height: 400px;
        min-height: 400px;
    }
    
    .cards-container {
        width: 65%;
    }
    
    .split-screen-panel {
        width: 35%;
        padding: 2.5rem 1.5rem;
    }
    
    .split-screen-text h3 {
        font-size: 28px;
    }
    
    .split-screen-text p {
        font-size: 11px;
    }
    
    /* Common nav-btn tablet styles */
    .nav-btn {
        padding: 0.9rem 1.8rem;
        font-size: 13px;
        min-width: 110px;
    }
}

/* Large screens optimization */
@media (min-width: 1400px) {
    .trade-main {
        height: 400px;
        min-height: 400px;
    }
    
    .split-screen-text h3 {
        font-size: 36px;
    }
    
    .split-screen-text p {
        font-size: 14px;
    }
    
    /* Split-screen large screen styles now use common nav-btn class */
    
    /* Common nav-btn large screen styles */
    .nav-btn {
        padding: 1.25rem 2.5rem;
        font-size: 16px;
        min-width: 140px;
    }
    
    #launchpad-popup .indicator {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 768px) {
     /* Launchpad Mobile Styles */
    .launchpad-cards-container {
        min-height: 350px;
          }
      
      .mobile-popup .launchpad-cards-container {
        min-height: 350px !important;
        max-height: none !important;
        overflow: visible !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 1rem !important;
          }
      
             /* Mobile popup header - Normal flow */
       .mobile-popup .trade-header {
         position: relative !important;
         top: auto !important;
         text-align: center !important;
         margin-bottom: 1rem !important;
         padding: 1rem 1rem 0.75rem 1rem !important;
         z-index: auto !important;
         border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
           }
       
       .mobile-popup .trade-title {
         font-size: 21px !important;
         margin: 0 auto 0.5rem auto !important;
         font-weight: 700 !important;
         text-align: center !important;
         max-width: 100% !important;
         -webkit-font-smoothing: antialiased !important;
         -moz-osx-font-smoothing: grayscale !important;
         text-rendering: optimizeLegibility !important;
           }
       
       .mobile-popup .trade-subtitle {
         font-size: 11px !important;
         flex-direction: column !important;
         justify-content: center !important;
         align-items: center !important;
         gap: 0.6rem !important;
         text-align: center !important;
         max-width: 100% !important;
         margin: 0 auto !important;
         -webkit-font-smoothing: antialiased !important;
         -moz-osx-font-smoothing: grayscale !important;
         text-rendering: optimizeLegibility !important;
           }
           
       .mobile-popup .telegram-text-logo {
         height: 16px !important;
         width: auto !important;
           }
      
             /* Mobile launchpad main area */
       .mobile-popup .launchpad-main {
         padding: 0.5rem !important;
         display: flex !important;
         flex-direction: column !important;
         height: auto !important;
         min-height: auto !important;
         justify-content: center !important;
           }
      
      .launchpad-cards-grid.two-cards {
        display: none !important;
          }
      
      .launchpad-cards-grid.single-card {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        height: 100% !important;
        width: 100% !important;
        padding: 0.5rem !important;
          }
      
      .launchpad-cards-grid.single-card .launchpad-card {
        width: 100% !important;
        max-width: 380px !important;
        margin: 0 auto !important;
          }
      
      .launchpad-card {
        min-height: 380px !important;
        max-height: 420px !important;
        padding: 0.75rem !important;
        background: rgba(255, 255, 255, 0.06) !important;
        border-radius: 24px !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
        backdrop-filter: blur(16px) !important;
        transition: all 0.3s ease !important;
    }
    
    .launchpad-card:hover {
        transform: translateY(-4px) !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border-color: rgba(255, 255, 255, 0.25) !important;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2) !important;
    }
    
    .launchpad-card-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.5rem !important;
    height: 100% !important;
    text-align: center !important;
    padding: 1.5rem 1rem !important;
}

.launchpad-card-title {
    font-size: 17px !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.1 !important;
    text-align: center !important;
    max-width: 85% !important;
    overflow-wrap: break-word !important;
}

.launchpad-card-description {
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: #94A3B8 !important;
    margin: 0 !important;
    text-align: center !important;
    max-width: 90% !important;
    overflow-wrap: break-word !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.launchpad-card-image {
    width: 120px !important;
    height: 150px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    order: 1 !important;
    margin-bottom: 0.75rem !important;
}

.launchpad-card-image img {
    width: 100px !important;
    height: 130px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2)) !important;
}

.launchpad-card-text {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    height: auto !important;
    order: 2 !important;
    text-align: center !important;
    gap: 0.75rem !important;
}

/* Consistent mobile layout - image top, text bottom */
.launchpad-card:nth-child(even) .launchpad-card-content {
    flex-direction: column !important;
}

.launchpad-card:nth-child(even) .launchpad-card-image {
    order: 1 !important;
}

.launchpad-card:nth-child(even) .launchpad-card-text {
    order: 2 !important;
    text-align: center !important;
}

    /* Visa X Card Mobile Styles */
    .visa-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: 400px;
    }
    
    .visa-content-center {
        gap: 1.5rem;
    }
    
    .visa-logo {
        max-width: 250px;
    }
    
    .visa-description {
        font-size: 14px;
        max-width: 300px;
    }
    
    .visa-right {
        height: 300px;
    }
    
    .visa-flowing-card img {
        width: 140px;
    }
    
    .visa-flowing-card.card-1 {
        left: 10%;
    }
    
    .visa-flowing-card.card-2 {
        right: 10%;
    }
    
    .visa-flowing-card.card-3 {
        left: 10%;
    }
    
    .visa-flowing-card.card-4 {
        right: 10%;
    }
    
    /* Mobile Popup Visa Specific Styles */
    .mobile-popup .visa-main {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        min-height: 350px !important;
        max-height: 500px !important;
        padding: 1rem !important;
    }
    
    .mobile-popup .visa-left {
        order: 1 !important;
    }
    
    .mobile-popup .visa-right {
        order: 2 !important;
        height: 320px !important;
        overflow: hidden !important;
    }
    
    .mobile-popup .visa-content-center {
        gap: 1rem !important;
        padding: 0.5rem !important;
    }
    
    .mobile-popup .visa-logo {
        max-width: 220px !important;
        height: auto !important;
    }
    
    .mobile-popup .visa-description {
        font-size: 13px !important;
        max-width: 280px !important;
        line-height: 1.4 !important;
        text-align: center !important;
    }
    
    .mobile-popup .visa-flowing-card img {
        width: 130px !important;
        height: auto !important;
    }
    
    .mobile-popup .visa-flowing-card.card-1,
    .mobile-popup .visa-flowing-card.card-3 {
        left: 5% !important;
    }
    
    .mobile-popup .visa-flowing-card.card-2,
    .mobile-popup .visa-flowing-card.card-4 {
        right: 5% !important;
    }
    
    .mobile-popup .visa-cards-flow {
        height: 140% !important;
        top: -20% !important;
    }
    
    /* Disable mask on mobile for better performance */
    .mobile-popup .visa-right {
        mask: none !important;
        -webkit-mask: none !important;
    }
    
    /* Disable blur filters on mobile for better performance */
    .mobile-popup .visa-flowing-card.card-3,
    .mobile-popup .visa-flowing-card.card-4 {
        filter: none !important;
    }
    
    .mobile-popup .visa-flowing-card img {
        filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.3)) !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    }
    
    /* Force animations to work on mobile */
    .mobile-popup .visa-flowing-card {
        will-change: transform !important;
        backface-visibility: hidden !important;
        animation-play-state: running !important;
        animation-fill-mode: both !important;
    }
    
    /* Mobile Visa Popup Content */
    .mobile-popup .visa-popup-content {
        max-height: 85vh !important;
        overflow-y: auto !important;
        padding: 1.5rem !important;
    }
    
    .mobile-popup .trade-content {
        min-height: auto !important;
        max-height: calc(85vh - 3rem) !important;
        overflow-y: auto !important;
        padding: 0.5rem !important;
    }
    
    /* Mobile News Popup Styles */
    .mobile-popup .news-main {
        gap: 1.5rem !important;
        min-height: 350px !important;
    }
    
    .mobile-popup .news-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .mobile-popup .news-card {
        padding: 0 !important;
        border-radius: 12px !important;
    }
    
    .mobile-popup .news-card-badge {
        top: 8px !important;
        left: 8px !important;
        padding: 3px 6px !important;
        font-size: 9px !important;
    }
    
    .mobile-popup .news-card-image {
        height: 150px !important;
        margin-bottom: 0 !important;
    }
    
    .mobile-popup .news-card-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    .mobile-popup .news-card-content {
        padding: 1rem !important;
    }
    
    .mobile-popup .news-card-category {
        font-size: 9px !important;
        margin-bottom: 0.4rem !important;
    }
    
    .mobile-popup .news-card-title {
        font-size: 13px !important;
        line-height: 1.3 !important;
    }
    
    .mobile-popup .news-card-description {
        font-size: 10px !important;
        -webkit-line-clamp: 2 !important;
        line-height: 1.4 !important;
    }
    
    .mobile-popup .news-card-footer {
        gap: 0.4rem !important;
        padding-top: 0.6rem !important;
    }
    
    .mobile-popup .news-card-tags {
        gap: 0.25rem !important;
    }
    
    .mobile-popup .news-tag {
        padding: 2px 5px !important;
        font-size: 8px !important;
        border-radius: 6px !important;
    }
    
    .mobile-popup .news-card-date {
        font-size: 8px !important;
        margin-top: 0.2rem !important;
    }
    
    .mobile-popup .news-cta-section {
        padding: 1.5rem !important;
        margin-top: 0.5rem !important;
    }
    
    .mobile-popup .news-cta-title {
        font-size: 20px !important;
        margin-bottom: 0.75rem !important;
    }
    
    .mobile-popup .news-cta-description {
        font-size: 13px !important;
        margin-bottom: 1.5rem !important;
    }
    
    .mobile-popup .news-cta-button {
        padding: 0.875rem 2rem !important;
        font-size: 13px !important;
        width: 100% !important;
        max-width: 280px !important;
    }
    
    /* Mobile News Header Styles */
    /* Mobile News Slide Panel Styles */
    .news-slide-panel {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .news-close-btn {
        top: 1rem !important;
        right: 1rem !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 24px !important;
    }
    
    .news-content {
        padding: 2rem 1.5rem 1.5rem 1.5rem !important;
    }
    
    .news-slide-panel .trade-header {
        margin-bottom: 1.5rem !important;
        padding-top: 0.5rem !important;
    }
    
    .news-slide-panel .trade-title {
        font-size: 24px !important;
    }
    
    .news-slide-panel .news-main {
        gap: 1.5rem !important;
    }
    
    .news-slide-panel .news-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        margin-bottom: 1rem !important;
    }
    
    .news-slide-panel .news-card-image {
        height: 140px !important;
    }
    
    .news-slide-panel .news-card-content {
        padding: 1.25rem !important;
    }
    
    .news-slide-panel .news-card-title {
        font-size: 15px !important;
    }
    
    .news-slide-panel .news-card-description {
        font-size: 12px !important;
    }
    
    .news-slide-panel .news-cta-section {
        padding: 1.5rem !important;
        margin-top: 0.75rem !important;
    }
    
    .news-slide-panel .news-header-content {
        gap: 1rem !important;
        padding: 0 0.5rem !important;
    }
    
    .news-slide-panel .news-header-badge {
        padding: 0.4rem 0.8rem !important;
        font-size: 10px !important;
    }
    
    .news-slide-panel .news-live-indicator {
        width: 6px !important;
        height: 6px !important;
    }
    
    .news-slide-panel .news-stats {
        gap: 1.5rem !important;
        margin-top: 0.5rem !important;
    }
    
    .news-slide-panel .stat-number {
        font-size: 16px !important;
    }
    
    .news-slide-panel .stat-label {
        font-size: 9px !important;
    }
    
    /* Slow down animations on mobile for better performance */
    .mobile-popup .visa-flowing-card.card-1 {
        animation: flowUpLeft 16s linear infinite !important;
        animation-delay: 0s !important;
        left: 5% !important;
        z-index: 4 !important;
    }
    
    .mobile-popup .visa-flowing-card.card-2 {
        animation: flowUpRight 16s linear infinite !important;
        animation-delay: -4s !important;
        right: 5% !important;
        z-index: 3 !important;
    }
    
    .mobile-popup .visa-flowing-card.card-3 {
        animation: flowUpLeft 16s linear infinite !important;
        animation-delay: -8s !important;
        left: 5% !important;
        z-index: 2 !important;
    }
    
    .mobile-popup .visa-flowing-card.card-4 {
        animation: flowUpRight 16s linear infinite !important;
        animation-delay: -12s !important;
        right: 5% !important;
        z-index: 1 !important;
    }
    
    .mobile-popup .visa-flowing-card.card-5 {
        animation: flowUpRight 16s linear infinite !important;
        animation-delay: -2s !important;
        right: 20% !important;
        z-index: 3 !important;
    }
    
    /* Force initial animation state on mobile */
    .mobile-popup .visa-flowing-card {
        opacity: 1 !important;
        position: absolute !important;
    }
    
    /* Contact Popup Mobile Styles */
    .contact-popup-content {
        max-width: 100% !important;
        margin: 0 auto;
        padding: 1.5rem !important;
        transform: none !important;
    }
    
    .contact-header {
        margin-bottom: 2rem;
    }
    
    .contact-subtitle {
        font-size: 16px;
    }
    
    .contact-title {
        font-size: 28px;
    }
    
    .form-group {
        margin-bottom: 2rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 14px;
    }
    
    .submit-btn {
        font-size: 14px;
    }
    
    .form-notification {
        padding: 0.5rem 0.75rem;
        font-size: 12px;
        margin-top: 0.75rem;
    }
    
    .error-message {
        font-size: 11px;
        margin-top: 0.375rem;
    }
    
    /* What is X Mobile Styles */
    .whatisx-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 0;
    }
    
    .whatisx-left {
        margin-top: calc(24px + 1rem);
        align-items: center;
    }
    
    .whatisx-image {
        max-width: 300px;
    }
    
    .whatisx-right {
        margin-top: 1rem;
    }
    
    .whatisx-content {
        gap: 1.5rem;
    }
    
    .content-section {
        margin-bottom: 1rem;
    }
    
    .intro-text {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .section-text {
        font-size: 13px;
    }
    
    .feature-list li {
        font-size: 13px;
    }
    
    .action-section {
        margin-top: 1.5rem !important;
        padding-top: 1rem;
    }
    
    .conclusion-text {
        font-size: 13px;
        margin-bottom: 1rem;
    }
    
    .go-to-trade-btn {
        font-size: 13px;
        padding: 0.75rem 1.5rem;
    }
}

/* News Card Link Styles */
.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.news-card-link:hover {
    transform: translateY(-2px);
}

.news-card-link:hover .news-card {
    border-color: rgba(254, 170, 0, 0.3);
}

/* Telegram Bot Popup Styles */
.telegram-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.telegram-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.telegram-popup-content {
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    max-height: 80vh;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.telegram-popup-overlay.active .telegram-popup-content {
    transform: scale(1) translateY(0);
}

.telegram-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #666;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    z-index: 10;
}

.telegram-popup-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #999;
}

.telegram-header {
    display: flex;
    align-items: center;
    padding: 20px 20px 16px 20px;
    background: linear-gradient(135deg, rgba(254, 170, 0, 0.1) 0%, rgba(221, 76, 0, 0.1) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.telegram-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(254, 170, 0, 0.1), rgba(221, 76, 0, 0.1));
    border: 1px solid rgba(254, 170, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.telegram-avatar img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.telegram-user-info {
    flex: 1;
}

.telegram-username {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.2;
}

.telegram-status {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #4CAF50;
    display: flex;
    align-items: center;
    margin-top: 2px;
}

.telegram-status::before {
    content: '';
    width: 5px;
    height: 5px;
    background: #4CAF50;
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.telegram-messages {
    padding: 20px;
    min-height: 200px;
    max-height: 300px;
    overflow-y: auto;
}

.telegram-message-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.telegram-bubble {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 14px 16px;
    position: relative;
    backdrop-filter: blur(5px);
    max-width: 85%;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.telegram-bubble.show {
    opacity: 1;
    transform: translateY(0);
}

.telegram-bubble::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 16px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(255, 255, 255, 0.05);
}

.telegram-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #c0c0c0;
    margin: 0;
}

.telegram-text strong {
    color: rgba(254, 170, 0, 0.8);
    font-weight: 600;
}

.telegram-timestamp {
    text-align: right;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.telegram-timestamp span {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    color: #555;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 8px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.typing-indicator.show {
    opacity: 1;
}

.typing-dot {
    width: 4px;
    height: 4px;
    background: #666;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        opacity: 0.3;
    }
    30% {
        opacity: 1;
    }
}

.telegram-action {
    padding: 0 20px 20px 20px;
}

.telegram-start-btn {
    width: 100%;
    background: linear-gradient(135deg, rgba(254, 170, 0, 0.1), rgba(221, 76, 0, 0.1));
    border: 1px solid rgba(254, 170, 0, 0.2);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.telegram-start-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(254, 170, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.telegram-start-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(254, 170, 0, 0.4);
    background: linear-gradient(135deg, rgba(254, 170, 0, 0.15), rgba(221, 76, 0, 0.15));
}

.telegram-start-btn:active {
    transform: translateY(0);
}

.start-command {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 700;
    color: rgba(254, 170, 0, 0.9);
    margin-right: 10px;
    background: rgba(254, 170, 0, 0.1);
    padding: 3px 6px;
    border-radius: 4px;
    border: 1px solid rgba(254, 170, 0, 0.2);
}

.start-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #c0c0c0;
}

/* Telegram popup entrance animation */
@keyframes telegram-slide-in {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(40px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.telegram-popup-overlay.show-animation .telegram-popup-content {
    animation: telegram-slide-in 0.4s ease-out;
}

/* Mobile responsive styles for Telegram popup */
@media (max-width: 768px) {
    .telegram-popup-content {
        width: 95%;
        max-width: none;
        margin: 20px;
        border-radius: 18px;
    }
    
    .telegram-header {
        padding: 18px 18px 14px 18px;
    }
    
    .telegram-avatar {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .telegram-avatar img {
        width: 20px;
        height: 20px;
    }
    
    .telegram-username {
        font-size: 15px;
    }
    
    .telegram-status {
        font-size: 11px;
    }
    
    .telegram-messages {
        padding: 18px;
        min-height: 180px;
        max-height: 250px;
    }
    
    .telegram-bubble {
        padding: 12px 14px;
        border-radius: 14px;
    }
    
    .telegram-text {
        font-size: 13px;
    }
    
    .telegram-action {
        padding: 0 18px 18px 18px;
    }
    
    .telegram-start-btn {
        padding: 12px 18px;
        border-radius: 10px;
    }
    
    .start-command {
        font-size: 13px;
        margin-right: 8px;
        padding: 2px 5px;
    }
    
    .start-text {
        font-size: 13px;
    }
    
    .telegram-popup-close {
        top: 14px;
        right: 14px;
        width: 26px;
        height: 26px;
        font-size: 14px;
    }
}