:root {
    --primary: #8B5CF6;
    --secondary: #EC4899;
    --accent: #3B82F6;
    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;
    --background: #09090B;
    --cards: #18181B;
    --text: #F4F4F5;
    --primary-light: #A78BFA;
    --primary-dark: #7C3AED;
    --card-border: rgba(255,255,255,0.06);
    --text-muted: #A1A1AA;
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-blur: 12px;
    --shadow-glow: 0 8px 32px rgba(139,92,246,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

body {
    font-family: 'Cairo', 'Segoe UI', system-ui, sans-serif;
    background: var(--background);
    color: var(--text);
    padding-bottom: 90px;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background: var(--background);
}

.bg-container .aurora {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 50%, rgba(139,92,246,0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(236,72,153,0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 80%, rgba(59,130,246,0.06) 0%, transparent 40%);
    animation: auroraMove 20s ease-in-out infinite alternate;
}

@keyframes auroraMove {
    0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(2%, -3%) scale(1.05); opacity: 1; }
    100% { transform: translate(-2%, 2%) scale(0.95); opacity: 0.7; }
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: orbFloat 15s ease-in-out infinite alternate;
    opacity: 0.3;
}

.orb:nth-child(1) { width: 300px; height: 300px; background: rgba(139,92,246,0.15); top: 10%; left: -5%; animation-duration: 18s; }
.orb:nth-child(2) { width: 250px; height: 250px; background: rgba(236,72,153,0.1); bottom: 20%; right: -5%; animation-duration: 22s; animation-delay: 2s; }
.orb:nth-child(3) { width: 200px; height: 200px; background: rgba(59,130,246,0.08); top: 50%; left: 40%; animation-duration: 16s; animation-delay: 4s; }

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.1); }
    66% { transform: translate(-20px, 30px) scale(0.9); }
    100% { transform: translate(15px, -20px) scale(1.05); }
}

.bg-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(139,92,246,0.4);
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(139,92,246,0.25);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.2s ease, width 0.3s ease, height 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor-ring.hover { width: 60px; height: 60px; border-color: var(--secondary); background: rgba(139,92,246,0.05); }
.cursor-dot.hover { width: 12px; height: 12px; background: var(--secondary); }

.platform-card, .card, .cookie-card, .header, .search-bar input, .modal-overlay .modal-box {
    background: rgba(24, 24, 27, 0.7) !important;
    backdrop-filter: blur(var(--glass-blur)) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur)) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    box-shadow: var(--shadow-glow) !important;
    transition: var(--transition) !important;
}

.platform-card:hover, .card:hover, .cookie-card:hover {
    border-color: var(--primary) !important;
    box-shadow: 0 8px 40px rgba(139,92,246,0.2) !important;
    transform: translateY(-6px) scale(1.02) !important;
}

#splash-screen {
    position: fixed;
    inset: 0;
    background: var(--background);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#splash-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

#splash-screen .splash-logo {
    font-size: 80px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: splashZoom 1.5s ease-out forwards;
    display: flex;
    align-items: center;
    gap: 15px;
}

#splash-screen .splash-logo i {
    -webkit-text-fill-color: initial;
    color: var(--primary);
    animation: splashPulse 1.5s ease-in-out infinite;
}

#splash-screen .splash-sub { color: var(--text-muted); margin-top: 10px; font-size: 16px; opacity: 0; animation: fadeUp 0.8s ease 0.6s forwards; }
#splash-screen .splash-loader { margin-top: 30px; width: 200px; height: 3px; background: rgba(255,255,255,0.05); border-radius: 3px; overflow: hidden; }
#splash-screen .splash-loader .bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 3px; animation: loadBar 2s ease-in-out forwards; }

@keyframes splashZoom {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes splashPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes fadeUp { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes loadBar { 0% { width: 0%; } 30% { width: 30%; } 70% { width: 70%; } 100% { width: 100%; } }

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 10;
}

.header .brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header .brand .logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(139,92,246,0.3);
}

.header .brand .logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.header .brand h1 { font-size: 28px; font-weight: 900; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.header .brand .sub { font-size: 12px; color: var(--text-muted); display: block; margin-top: -2px; -webkit-text-fill-color: var(--text-muted); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.discord-btn {
    background: #5865F2;
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    font-weight: 600;
}

.discord-btn:hover { background: #4752C4; transform: scale(1.05); box-shadow: 0 4px 20px rgba(88,101,242,0.3); }

.lang-toggle {
    background: rgba(139,92,246,0.1);
    border: 1px solid rgba(139,92,246,0.2);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.lang-toggle:hover { background: rgba(139,92,246,0.2); color: #fff; border-color: var(--primary); }

.ticket-header-btn {
    background: rgba(147,51,234,0.1);
    border: 1px solid rgba(147,51,234,0.2);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    position: relative;
}

.ticket-header-btn:hover { background: rgba(147,51,234,0.2); color: #fff; border-color: var(--primary); }
.ticket-header-btn i { font-size: 15px; }

.ticket-header-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

.ticket-header-badge.show { display: flex; }

.search-bar { padding: 18px 20px; max-width: 650px; margin: 0 auto; position: relative; z-index: 10; }
.search-bar .search-wrapper { position: relative; }
.search-bar .search-wrapper i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 18px; }
.search-bar input { width: 100%; padding: 16px 20px 16px 55px; border: 1px solid rgba(255,255,255,0.06); border-radius: 50px; color: #fff; font-size: 16px; transition: var(--transition); font-family: inherit; }
.search-bar input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 40px rgba(139,92,246,0.08); }
.search-bar input::placeholder { color: var(--text-muted); }

.section-title {
    position: relative;
    display: inline-block;
    padding-left: 1rem;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 30px 0 18px 18px;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(139,92,246,0.2);
}

.section-title i { margin-right: 10px; color: var(--primary); }

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
    padding: 5px 18px 15px;
    position: relative;
    z-index: 10;
}

.platform-card {
    border-radius: var(--radius);
    padding: 20px 12px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.platform-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139,92,246,0.05), rgba(236,72,153,0.02));
    opacity: 0;
    transition: var(--transition);
}

.platform-card:hover::after { opacity: 1; }
.platform-card .p-img { width: 65px; height: 65px; border-radius: 14px; object-fit: contain; background: rgba(255,255,255,0.03); padding: 8px; margin: 0 auto 10px; display: block; transition: var(--transition); }
.platform-card:hover .p-img { transform: scale(1.05); }
.platform-card .p-name { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.platform-card .p-count { font-size: 11px; color: var(--text-muted); }

.scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 8px 18px 15px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    position: relative;
    z-index: 10;
}

.scroll-container .card, .scroll-container .cookie-card { flex-shrink: 0; scroll-snap-align: start; }

.card {
    width: 180px;
    border-radius: var(--radius);
    padding: 18px 14px 16px;
    transition: var(--transition);
    position: relative;
    text-align: center;
    cursor: pointer;
}

.card .c-img { width: 70px; height: 70px; border-radius: 14px; object-fit: contain; background: rgba(255,255,255,0.03); padding: 8px; margin: 0 auto 10px; display: block; }
.card .c-title { color: #fff; font-size: 15px; font-weight: 700; }
.card .c-price { font-size: 17px; font-weight: 700; color: var(--primary-light); margin-top: 4px; }
.card .c-price.free { color: var(--success); }
.card .c-duration { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.card .badge { position: absolute; top: 12px; right: 12px; font-size: 9px; padding: 4px 12px; border-radius: 20px; font-weight: 700; text-transform: uppercase; }
.badge.hot { background: var(--secondary); color: #fff; box-shadow: 0 0 20px rgba(236,72,153,0.3); }
.badge.free-badge { background: var(--success); color: #fff; box-shadow: 0 0 20px rgba(34,197,94,0.3); }
.badge.sold { background: var(--danger); color: #fff; }

.cookie-card {
    width: 240px;
    border-radius: var(--radius);
    padding: 20px;
    transition: var(--transition);
    cursor: pointer;
}

.cookie-card .c-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cookie-card .c-header .c-img { width: 50px; height: 50px; border-radius: 12px; object-fit: contain; background: rgba(255,255,255,0.03); padding: 6px; }
.cookie-card .c-header .c-name { color: #fff; font-weight: 700; font-size: 16px; }
.cookie-card .c-info { font-size: 13px; line-height: 2; margin-bottom: 14px; }
.cookie-card .c-info span { display: flex; align-items: center; gap: 8px; }
.cookie-card .c-info i { width: 20px; color: var(--primary); font-size: 14px; }
.cookie-card .c-actions { display: flex; gap: 10px; }
.cookie-card .c-actions button { flex: 1; padding: 10px 12px; border: none; border-radius: 10px; font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; }

.btn-copy { background: var(--primary); color: #fff; position: relative; overflow: hidden; }
.btn-copy:hover { background: var(--primary-dark); transform: scale(1.02); }
.btn-download { background: rgba(255,255,255,0.06); color: var(--text-muted); }
.btn-download:hover { background: rgba(255,255,255,0.12); }

.page-section { display: none; }
.page-section.active { display: block; }

.empty-state { text-align: center; padding: 50px 20px; color: var(--text-muted); }
.empty-state .big { font-size: 56px; display: block; margin-bottom: 14px; }
.empty-state h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(20px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.show { display: flex; }

.modal-overlay .modal-box {
    border-radius: var(--radius);
    padding: 35px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 25px 80px rgba(0,0,0,0.6);
    position: relative;
}

.modal-overlay .modal-box .close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
}

.modal-overlay .modal-box .close-modal:hover { color: #fff; transform: rotate(90deg); }
.modal-overlay .modal-box .modal-icon { font-size: 60px; text-align: center; display: block; margin-bottom: 10px; }
.modal-overlay .modal-box .modal-title { color: #fff; font-size: 24px; font-weight: 700; text-align: center; }
.modal-overlay .modal-box .modal-platform { color: var(--text-muted); text-align: center; font-size: 14px; margin-bottom: 15px; }
.modal-overlay .modal-box .modal-divider { border: none; height: 1px; background: rgba(255,255,255,0.06); margin: 15px 0; }
.modal-overlay .modal-box .modal-detail { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.modal-overlay .modal-box .modal-detail .label { color: var(--text-muted); font-size: 13px; }
.modal-overlay .modal-box .modal-detail .value { color: #fff; font-weight: 600; font-size: 14px; }
.modal-overlay .modal-box .modal-images { display: flex; gap: 10px; flex-wrap: wrap; margin: 15px 0; justify-content: center; }
.modal-overlay .modal-box .modal-images img { width: 70px; height: 70px; border-radius: 10px; object-fit: contain; background: rgba(255,255,255,0.03); padding: 6px; border: 1px solid rgba(255,255,255,0.06); }
.modal-overlay .modal-box .modal-actions { display: flex; gap: 10px; margin-top: 15px; }
.modal-overlay .modal-box .modal-actions button { flex: 1; padding: 12px; border: none; border-radius: 10px; font-weight: 700; cursor: pointer; transition: var(--transition); font-family: inherit; }
.modal-overlay .modal-box .modal-actions .btn-primary-modal { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; }
.modal-overlay .modal-box .modal-actions .btn-primary-modal:hover { transform: scale(1.02); }
.modal-overlay .modal-box .modal-actions .btn-secondary-modal { background: rgba(255,255,255,0.06); color: var(--text-muted); }
.modal-overlay .modal-box .modal-actions .btn-secondary-modal:hover { background: rgba(255,255,255,0.12); }

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 78px;
    background: rgba(9,9,11,0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(139,92,246,0.08);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.6);
    z-index: 1000;
    padding: 6px 0;
}

.bottom-nav .nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    max-width: 550px;
    margin: 0 auto;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #555;
    width: 20%;
    height: 100%;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: transparent;
    font-family: inherit;
    padding: 0;
    position: relative;
}

.bottom-nav .nav-item i { font-size: 22px; transition: var(--transition); }
.bottom-nav .nav-item .nl { font-size: 10px; margin-top: 3px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; transition: var(--transition); }
.bottom-nav .nav-item.active { color: #fff; }
.bottom-nav .nav-item.active i { transform: scale(1.1); }
.bottom-nav .nav-item.active::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 0 0 4px 4px;
}

.bottom-nav .nav-item:hover { color: #aaa; }

.discord-float {
    position: fixed;
    bottom: 100px;
    left: 24px;
    background: #5865F2;
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
    box-shadow: 0 8px 30px rgba(88,101,242,0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    animation: discordFloat 3s ease-in-out infinite;
    border: 1px solid rgba(255,255,255,0.1);
}

[dir="ltr"] .discord-float {
    left: auto;
    right: 24px;
}

.discord-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 50px rgba(88,101,242,0.6);
    color: #fff;
    background: #4752C4;
}

.discord-float i {
    font-size: 26px;
}

@keyframes discordFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.spacer { height: 20px; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.02); border-radius: 10px; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; box-shadow: 0 0 20px rgba(139,92,246,0.2); }

@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

.ticket-window {
    position: fixed;
    bottom: 100px;
    left: 20px;
    z-index: 999;
    width: 420px;
    max-width: calc(100vw - 40px);
    max-height: 75vh;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(147, 51, 234, 0.15);
    border-radius: 16px;
    display: none;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(147, 51, 234, 0.05);
    flex-direction: column;
    transform: none;
    right: auto;
    top: auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

[dir="ltr"] .ticket-window {
    left: auto;
    right: 20px;
}

.ticket-window.open {
    display: flex;
    animation: ticketSlideUp 0.35s ease-out;
}

@keyframes ticketSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: rgba(26, 26, 46, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    flex-shrink: 0;
}

.ticket-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #fff;
    font-size: 15px;
}

.ticket-header-close {
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0 4px;
    transition: 0.2s;
}

.ticket-header-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.ticket-body {
    padding: 14px 18px 18px;
    background: rgba(9, 9, 11, 0.5);
    overflow-y: auto;
    flex: 1;
}

.ticket-field {
    margin-bottom: 12px;
}

.ticket-field label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.ticket-field input,
.ticket-field textarea,
.ticket-field select {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 14px;
    color: #fff;
    font-size: 13px;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.ticket-field select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.ticket-field select option {
    background: #1a1a2e;
    color: #fff;
    padding: 8px 12px;
}

.ticket-field select option:hover {
    background: var(--primary);
}
.ticket-images-preview {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
    padding: 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 8px;
    min-height: 45px;
    align-items: center;
}

.ticket-images-preview img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.ticket-images-preview .empty-preview {
    color: var(--text-muted);
    font-size: 12px;
    width: 100%;
    text-align: center;
    opacity: 0.5;
}

.ticket-submit-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    width: 100%;
    border: none;
    cursor: pointer;
    margin-top: 4px;
    transition: 0.2s;
}

.ticket-submit-btn:hover {
    opacity: 0.85;
}

.ticket-conversation {
    max-height: 260px;
    overflow-y: auto;
    padding: 10px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.04);
}

.ticket-conversation .msg-user {
    background: rgba(26,26,46,0.6);
    border: 1px solid rgba(255,255,255,0.04);
    padding: 8px 12px;
    border-radius: 10px 10px 4px 10px;
    margin-bottom: 6px;
    text-align: right;
}

.ticket-conversation .msg-user .sender {
    color: var(--primary-light);
    font-weight: 700;
    font-size: 11px;
}

.ticket-conversation .msg-user .text {
    font-size: 13px;
    margin: 3px 0;
    color: #fff;
}

.ticket-conversation .msg-user .time {
    font-size: 9px;
    color: var(--text-muted);
    opacity: 0.6;
}

.ticket-conversation .msg-support {
    background: rgba(147,51,234,0.08);
    border: 1px solid rgba(147,51,234,0.15);
    padding: 8px 12px;
    border-radius: 10px 10px 10px 4px;
    margin-bottom: 6px;
    text-align: right;
}

.ticket-conversation .msg-support .sender {
    color: var(--primary-light);
    font-weight: 700;
    font-size: 11px;
}

.ticket-conversation .msg-support .text {
    font-size: 13px;
    margin: 3px 0;
    color: #fff;
}

.ticket-conversation .msg-support .time {
    font-size: 9px;
    color: var(--text-muted);
    opacity: 0.6;
}

.ticket-conversation .msg-auto {
    background: rgba(147,51,234,0.04);
    border: 1px solid rgba(147,51,234,0.08);
    padding: 8px 12px;
    border-radius: 10px;
    margin-bottom: 6px;
    text-align: right;
    color: var(--text-muted);
    font-size: 12px;
}

.ticket-status-badge {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.ticket-status-badge.open {
    background: rgba(34,197,94,0.12);
    color: #22c55e;
}

.ticket-status-badge.closed {
    background: rgba(239,68,68,0.12);
    color: #ef4444;
}

.ticket-reply-area .reply-input-row {
    display: flex;
    gap: 8px;
}

.ticket-reply-area .reply-input-row input {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 8px 14px;
    color: #fff;
    font-size: 13px;
}

.ticket-reply-area .reply-input-row input:focus {
    outline: none;
    border-color: var(--primary);
}

.ticket-reply-area .reply-input-row button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
}

.ticket-closed-msg {
    text-align: center;
    padding: 16px;
    color: var(--text-muted);
}

.ticket-closed-msg .icon {
    font-size: 32px;
}

.ticket-closed-msg .btn-open-new {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 8px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.ticket-success {
    text-align: center;
    padding: 24px 16px;
}

.ticket-success .icon {
    font-size: 40px;
}

.ticket-success h3 {
    color: var(--primary);
}

@media (max-width: 600px) {
    .platforms-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 5px 12px 12px; }
    .card { width: 140px; padding: 14px 10px; }
    .card .c-img { width: 55px; height: 55px; }
    .cookie-card { width: 200px; padding: 16px; }
    .header .brand h1 { font-size: 22px; }
    .header .brand .logo-icon { width: 38px; height: 38px; font-size: 18px; }
    .section-title { font-size: 18px; margin: 20px 0 12px 12px; }
    .bottom-nav .nav-item i { font-size: 18px; }
    .bottom-nav .nav-item .nl { font-size: 8px; letter-spacing: 0.5px; }
    .search-bar { padding: 12px 14px; }
    .search-bar input { padding: 14px 16px 14px 48px; font-size: 14px; }
    .modal-overlay .modal-box { padding: 25px; margin: 10px; }
    .header .lang-toggle { font-size: 11px; padding: 6px 12px; }
    .header-actions { gap: 6px; }
    .discord-btn span { display: none; }
    .ticket-header-btn span:not(.ticket-header-badge) { display: none; }
    
    .ticket-window {
        bottom: 85px;
        left: 10px;
        right: 10px;
        width: auto;
        max-width: none;
        max-height: 70vh;
        border-radius: 14px;
    }
    
    [dir="ltr"] .ticket-window {
        left: 10px;
        right: 10px;
    }
    
    .ticket-header-title { font-size: 14px; }
    .ticket-body { padding: 12px 14px 16px; }
    
    .disco
    rd-float {
        padding: 12px 16px;
        font-size: 13px;
        bottom: 90px;
        right: 12px;
        left: auto;
    }
    
    [dir="ltr"] .discord-float {
        right: auto;
        left: 12px;
    }
    
    .discord-float i { font-size: 20px; }
    .discord-float span { display: none; }
}

@media (max-width: 420px) {
    .platforms-grid { grid-template-columns: repeat(2, 1fr); }
    .card { width: 120px; padding: 12px 8px; }
    .card .c-img { width: 45px; height: 45px; }
}

@media (min-width: 768px) {
    .platforms-grid { grid-template-columns: repeat(6, 1fr); }
    .card { width: 190px; }
    .cookie-card { width: 270px; }
}

.ticket-images-preview img,
.ticket-reply-images-preview img,
.ticket-conversation .image-attachment img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    border-radius: 6px;
}
.ticket-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 24px;
    min-height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    font-family: inherit;
    margin-top: 8px;
}

.ticket-submit-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.ticket-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.ticket-reply-area .reply-input-row button,
.ticket-reply-area .reply-images-row button {
    flex-shrink: 0;
    white-space: nowrap;
}

.ticket-reply-images-preview {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 4px;
    min-height: 30px;
    width: 100%;
}

.ticket-reply-images-preview img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.06);
}

.ticket-images-preview {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
    padding: 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 8px;
    min-height: 45px;
    align-items: center;
    width: 100%;
}

.ticket-images-preview img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.06);
}

.ticket-images-preview .empty-preview {
    color: var(--text-muted);
    font-size: 12px;
    width: 100%;
    text-align: center;
    opacity: 0.5;
}

.ticket-reply-area {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    width: 100%;
}

.ticket-reply-area .reply-input-row {
    display: flex;
    gap: 8px;
    width: 100%;
}

.ticket-reply-area .reply-input-row input {
    flex: 1;
    min-width: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 10px 14px;
    color: #fff;
    font-size: 13px;
    font-family: inherit;
}

.ticket-reply-area .reply-input-row input:focus {
    outline: none;
    border-color: var(--primary);
}

.ticket-reply-area .reply-input-row button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: 0.3s;
}

.ticket-reply-area .reply-input-row button:hover {
    opacity: 0.85;
}

.ticket-reply-area .reply-images-row {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.ticket-reply-area .reply-images-row input[type="file"] {
    flex: 1;
    min-width: 120px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 6px 10px;
    color: #fff;
    font-size: 12px;
    font-family: inherit;
}

.ticket-reply-area .reply-images-row input[type="file"]::-webkit-file-upload-button {
    background: rgba(26,26,46,0.6);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px;
    padding: 4px 12px;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
}

.ticket-reply-area .reply-images-row input[type="file"]::-webkit-file-upload-button:hover {
    border-color: var(--primary);
}

.ticket-reply-area .reply-images-row button {
    background: rgba(26,26,46,0.6);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
    flex-shrink: 0;
}

.ticket-reply-area .reply-images-row button:hover {
    border-color: var(--primary);
    color: #fff;
}

.ticket-conversation .image-attachment {
    margin-top: 4px;
    max-width: 180px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
}

.ticket-conversation .image-attachment img {
    width: 100%;
    max-height: 130px;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}
