/* =============================================
   RESET & VARIABLES
   ============================================= */
*,
*::before,
*::after {
    font-family: 'DM Sans', 'Inter', sans-serif !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.material-icons { font-family: 'Material Icons' !important; }
.fa, .fas, .far, .fab, [class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", sans-serif !important;
}

:root {
    --text-light: #fff;
    --text-muted: #aaa;
    --primary-color: #0052FF;
}

/* =============================================
   BASE
   ============================================= */
body {
    background-color: black;
    color: #fff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #ffffff;
}

/* =============================================
   NAVIGATION
   ============================================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    width: 90%;
    border-radius: 20px;
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 10px 20px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    gap: 30px;
    margin-left: 30px;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.nav-links a:hover { opacity: 0.7; }

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 70px;
    display: block;
    position: relative;
    top: 5px;
}

.sign-in-btn {
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 15px;
    font-size: 13px;
    border-radius: 8px;
    font-weight: 600;
    opacity: 1;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.sign-in-btn:hover { opacity: 0.8; color: white !important; }
.sign-in-btn:active { opacity: 0.7; }

       .play-btn {
          color: white;
          background-color: transparent;
          text-decoration: none;
          border: 1px solid white !important;
          border-radius: 20px;
          padding: 10px 22px ;
          font-weight: 600;
          cursor: pointer;
          opacity: 1;
          transition: opacity 0.3s ease;
          font-size: 13px;
        }

.play-btn:hover { opacity: 0.8; }
.play-btn:active { opacity: 0.7; }

.notif-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: white;
    padding: 6px;
    border-radius: 10px;
    transition: opacity 0.3s ease, background 0.2s ease;
    flex-shrink: 0;
}

.notif-btn:hover {
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.08);
}

/* =============================================
   SEARCH BAR
   ============================================= */
.os-search-container {
    display: flex;
    position: relative;
    margin-left: 20px;
    z-index: 1005;
}

.os-search-bar {
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 12px;
    padding: 8px 12px;
    width: 380px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    cursor: text;
}

.os-search-bar svg {
    color: #999;
    margin-right: 10px;
    flex-shrink: 0;
}

.os-search-bar input {
    background: transparent;
    border: none;
    color: white;
    outline: none;
    font-size: 15px;
    width: 100%;
}

.os-search-bar .search-shortcut {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 12px;
    color: #999;
    font-weight: 600;
}

.os-search-dropdown { display: none !important; }

/* =============================================
   MOBILE MENU
   ============================================= */
.mobile-menu-toggle {
    display: none;
    color: white;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1002;
    padding: 8px;
    position: relative;
    left: -80px;
    width: 30px;
    height: 30px;
}

.menu-icon, .close-icon {
    position: absolute;
    top: 50%;
    left: 100px;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.mobile-menu-toggle .close-icon { display: none; }
.mobile-menu-toggle.active .menu-icon { display: none; }
.mobile-menu-toggle.active .close-icon { display: block; }

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.mobile-menu a:hover { opacity: 0.7; transform: translateX(10px); }

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu.active { display: flex; opacity: 1; }

/* =============================================
   LANGUAGE / TRANSLATOR
   ============================================= */
.custom-translator {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 10px;
}

.globe-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: opacity 0.3s;
    color: white;
    flex-shrink: 0;
}

.globe-icon:hover { opacity: 0.7; }



.translation-dropdown::-webkit-scrollbar { width: 6px; }
.translation-dropdown::-webkit-scrollbar-track { background: transparent; }
.translation-dropdown::-webkit-scrollbar-thumb { background: #444; border-radius: 3px; }

.custom-translator.active .translation-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.translation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.lang-item-btn {
    color: #999;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.2s;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: left;
}

.lang-item-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: #333;
}

/* =============================================
   MAIN LAYOUT
   ============================================= */
.Acontainer {
    display: flex;
    max-width: 1400px;
    width: 100%;
    gap: 60px;
    padding: 40px 20px;
    align-items: center;
    margin: 0 auto;
    margin-top: 120px;
    min-height: calc(90vh - 160px);
}

.left-section {
    flex: 1;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    position: relative;
    left: 90px;
    top: -50px;
}

.right {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-title {
    font-size: 70px;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: left;
}

.subtitle {
    font-size: 18px;
    color: #888888;
    line-height: 1.5;
    margin-bottom: 40px;
    text-align: left;
    max-width: 500px;
}

/* =============================================
   CARD
   ============================================= */
.card {
    background-color: transparent;
    border-radius: 24px;
    padding: 64px;
    border: 1px solid #333333;
    width: 600px;
    height: 630px;
    left: 47px;
    position: relative;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

/* =============================================
   TABS
   ============================================= */
.tab-container {
    position: relative;
    display: flex;
    border-radius: 16px;
    padding: 6px;
    margin-bottom: 24px;
    border: 1px solid rgb(90, 89, 89);
    width: 94%;
    overflow: hidden;
}

.tab-slider {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: calc(50% + 3px);
    width: calc(50% - 9px);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.85) 50%,
        rgba(248, 249, 250, 0.9) 100%
    );
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.tab {
    position: relative;
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: none;
    z-index: 2;
    user-select: none;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab.active { color: #000; transform: translateY(-1px); }
.tab:not(.active):hover { color: rgba(255, 255, 255, 0.9); transform: translateY(-2px) scale(1.02); }

@keyframes pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.tab.switching { animation: pulse 0.3s cubic-bezier(0.4, 0, 0.2, 1); }

/* =============================================
   INPUT GROUPS
   ============================================= */
.input-group {
    margin-bottom: 24px;
    position: relative;
    top: -40px;
    width: 350px;
}

.input-container {
    position: relative;
    background-color: transparent;
    border-radius: 12px;
    border: 1px solid #444444;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color 0.3s ease;
}

.input-container:hover { border-color: #ffffff; }

.input-label {
    font-size: 0.875rem;
    color: #e6e6e6;
    margin: 0;
}

.input-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.input-amount {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    outline: none;
    flex: 1;
}

.input-amount::placeholder { color: #666; }
.input-amount.error { color: red; }

/* =============================================
   CURRENCY DROPDOWN
   ============================================= */
.currency-dropdown {
    position: relative;
    display: inline-block;
    z-index: 10;
}

.currency-options {
    display: none;
    position: absolute;
    right: 0;
    background-color: #000000;
    min-width: 280px;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #333;
    border-radius: 8px;
    z-index: 100;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.currency-options.show { display: block; }

.currency-options::-webkit-scrollbar { width: 6px; }
.currency-options::-webkit-scrollbar-track { background: #1a1a1a; }
.currency-options::-webkit-scrollbar-thumb { background: #555; border-radius: 3px; }
.currency-options::-webkit-scrollbar-thumb:hover { background: #777; }

.currency-option {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.currency-option:hover { background-color: #333; }

.currency-flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 10px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.currency-name {
    flex-grow: 1;
    color: white;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.currency-code {
    color: #888;
    font-size: 12px;
    margin-left: 10px;
    width: 50px;
    text-align: right;
}

.currency-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    position: relative;
    left: -120px;
}

.currency-selector:hover { background-color: rgba(255, 255, 255, 0.1); }

.selected-currency {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-currency {
    padding: 10px 15px;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    background-color: #000000;
    z-index: 1;
}

.search-currency input {
    width: 100%;
    background-color: #333;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    color: white;
    outline: none;
}

.dropdown-arrow {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #888888;
    margin-left: 4px;
}

/* =============================================
   CRYPTO SELECTOR
   ============================================= */
.crypto-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    width: 100px;
    position: relative;
    left: -90px;
}

.crypto-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

/* =============================================
   RATE INFO & BUTTON
   ============================================= */
.rate-info {
    font-size: 0.875rem;
    color: #888888;
    margin-bottom: 24px;
    position: relative;
    top: -55px;
}

.minimum-withdrawal {
    color: #666;
    font-size: 12px;
    margin-bottom: 24px;
    margin-top: 8px;
    position: relative;
    top: -50px;
}

.connect-button {
    width: 94%;
    height: 68px;
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    top: -45px;
}

.connect-button:hover { background-color: #e4e4e4; transform: translateY(-1px); }
.connect-button:active { transform: translateY(0); }
.connect-button:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
    transform: none;
}

/* =============================================
   MESSAGES
   ============================================= */
.error-message {
    color: #ff3b30;
    font-size: 12px;
    margin-top: 8px;
    display: none;
    position: relative;
    top: -60px;
}

.success-message {
    color: #30d158;
    font-size: 12px;
    margin-top: 8px;
    display: none;
    position: relative;
    top: -60px;
}

.show-message {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   MODAL
   ============================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: #2a2a2a;
    border-radius: 16px;
    padding: 24px;
    width: 350px;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.modal-input-container {
    position: relative;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #444;
    margin-bottom: 16px;
    transition: border-color 0.2s ease;
}

.modal-input-container:focus-within { border-color: #007AFF; }

.modal-input {
    background: transparent;
    border: none;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    width: 100%;
    outline: none;
}

.modal-currency {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 14px;
    font-weight: 600;
}

.modal-actions { display: flex; gap: 12px; }

.modal-btn {
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
}

.modal-btn.primary { background: #007AFF; color: white; }
.modal-btn.primary:hover { background: #0056CC; }
.modal-btn.secondary { background: #333; color: #888; }
.modal-btn.secondary:hover { background: #444; color: #fff; }

/* =============================================
   SEARCH HIGHLIGHT
   ============================================= */
.highlight {
    background-color: rgba(255, 255, 0, 0.3);
    font-weight: bold;
    color: #fff;
}

.highlight-first {
    background-color: rgba(0, 82, 255, 0.2);
    border-left: 2px solid var(--primary-color);
}

.no-results {
    color: #888;
    padding: 15px;
    text-align: center;
    font-size: 14px;
}

/* =============================================
   FOOTER / HEADER
   ============================================= */
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 30px;
}

.xlogo {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.logo-icon {
    width: 90px;
    height: 90px;
    position: relative;
    left: -20px;
}

.copyright {
    color: #666;
    font-size: 14px;
    position: relative;
    top: -20px;
}

.main-content {
    display: flex;
    padding: 30px;
    gap: 150px;
    flex-wrap: wrap;
}

.footer-section { flex: 1; min-width: 200px; }

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section ul { list-style: none; }

.footer-section li {
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover { color: #fff; }

/* =============================================
   LANGUAGE / CURRENCY SELECTOR (FOOTER)
   ============================================= */
.language-currency-selector {
    position: relative;
    display: inline-block;
}

.selector {
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    padding: 12px 40px 12px 16px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    width: 180px;
    height: 50px;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}

.selector:hover {
    border-color: #555;
    background: rgba(255, 255, 255, 0.05);
}

.selector::before {
    content: '';
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    flex-shrink: 0;
}

.selector::after {
    content: '';
    width: 12px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    position: absolute;
    right: 12px;
    transition: transform 0.3s ease;
}

.selector.active::after { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    margin-top: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content {
    display: flex;
    max-height: 300px;
    overflow: hidden;
}

.dropdown-section { flex: 1; padding: 16px; }
.dropdown-section:first-child { border-right: 1px solid #333; }

.section-title {
    color: #999;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fff;
    font-size: 14px;
}

.option-item:hover { color: #0052FF; transform: translateX(2px); }
.option-item.selected { color: #0052FF; font-weight: 600; }

.option-item::before {
    content: '✓';
    color: #0052FF;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* =============================================
   RESPONSIVE — TABLETTE (768px – 1023px)
   ============================================= */
@media (max-width: 1023px) and (min-width: 768px) {
    nav { width: 95%; padding: 8px 15px; }
    .nav-left { gap: 20px; }
    .nav-links { gap: 20px; margin-left: 20px; }
    .nav-links a { font-size: 13px; }
    .logo img { height: 60px; }
    .os-search-container { margin-left: 10px; }
    .os-search-bar { width: 220px !important; }
    .Acontainer { gap: 40px; margin-top: 100px; padding: 30px 20px; }
    .left-section { left: 45px; padding: 20px; }
    .main-title { font-size: 55px; }
    .card { width: 500px; height: 560px; padding: 40px; left: 0; }
    .main-content { gap: 60px; padding: 25px; }
}

/* =============================================
   RESPONSIVE — MOBILE (< 768px)
   ============================================= */
@media (max-width: 767px) {
    nav { width: 95%; padding: 8px 15px; height: 70px; }
    .nav-left { gap: 15px; }
    .nav-links { display: none; }
    .os-search-container { margin-left: 0; }
    .os-search-bar { width: 140px !important; }
    .logo img { height: 50px; }
    .nav-right { gap: 10px; }
    .sign-in-btn { display: block !important; }
    .play-btn { padding: 8px 16px; font-size: 12px; }
    .mobile-menu-toggle { display: block; }
    .translation-dropdown { width: 280px !important; right: -10px !important; }
    .translation-grid { grid-template-columns: repeat(2, 1fr) !important; }

    .Acontainer { flex-direction: column; gap: 30px; margin-top: 90px; padding: 20px 15px; }
    .left-section { left: 0; padding: 15px; text-align: center; max-width: 100%; top: 0; }
    .main-title { font-size: 36px; text-align: center; margin-bottom: 20px; }
    .subtitle { text-align: center; font-size: 16px; max-width: 100%; }
    .right { max-width: 100%; }

    .card { width: 100% !important; max-width: 350px !important; height: auto !important; padding: 20px; left: 0; margin: 0 auto; top: -20px; }
    .input-group { width: 100%; max-width: 300px; top: -15px; }
    .currency-selector { position: static !important; left: 0 !important; width: auto !important; padding: 4px 6px; flex-shrink: 0; }
    .crypto-selector { position: static !important; left: 0 !important; width: auto !important; padding: 4px 6px; flex-shrink: 0; }
    .crypto-icon { position: static !important; left: 0 !important; width: 22px; height: 22px; }
    .connect-button { width: 100%; font-size: 16px; height: 55px; margin-top: 10px; top: -30px; min-height: 48px; }

    .header { flex-direction: column; align-items: center; gap: 20px; padding: 20px; }
    .xlogo { align-items: center; text-align: center; }
    .logo-icon { width: 70px; height: 70px; }
    .copyright { font-size: 12px; top: 0; }
    .main-content { flex-direction: column; gap: 30px; padding: 20px; }
    .footer-section { min-width: 100%; }
    .footer-section h3 { font-size: 18px; margin-bottom: 15px; }
    .footer-section li { font-size: 16px; margin-bottom: 10px; }

    .selector { width: 160px; height: 45px; font-size: 13px; padding: 10px 35px 10px 14px; }
    .dropdown-content { flex-direction: column; max-height: 400px; overflow-y: auto; }
    .dropdown-section:first-child { border-right: none; border-bottom: 1px solid #333; }
    .dropdown-section { padding: 12px; }
    .section-title { font-size: 11px; }
    .option-item { font-size: 13px; padding: 6px 0; }
}

/* =============================================
   RESPONSIVE — TRÈS PETIT MOBILE (< 480px)
   ============================================= */
@media (max-width: 479px) {
    nav { width: 98%; padding: 6px 12px; top: 15px; }
    .logo img { height: 45px; }
    .play-btn { padding: 5px 10px; font-size: 10px; }
    .Acontainer { width: 98%; padding: 15px 5px; margin-top: 80px; }
    .main-title { font-size: 28px; }
    .card { max-width: 320px !important; padding: 16px; }
    .main-content { padding: 10px; gap: 20px; }
    .selector { width: 140px; height: 40px; font-size: 12px; }
}