* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            -webkit-tap-highlight-color: transparent;
        }
        :root {
            --primary-black: #000000;
            --dark-black: #1a1a1a;
            --medium-black: #2d2d2d;
            --light-black: #3d3d3d;
            --primary-red: #dc2626;
            --light-red: #ef4444;
            --very-light-red: #fecaca;
            --dark-red: #991b1b;
            --white: #ffffff;
            --light-gray: #f3f4f6;
            --success-green: #10b981;
            --toast-bg: rgba(26, 26, 26, 0.95);
        }
        body {
            background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-black) 50%, var(--dark-red) 100%);
            color: var(--white);
            min-height: 100vh;
            position: relative;
            overflow-x: hidden;
        }
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
        }
        .particle {
            position: absolute;
            width: 3px;
            height: 3px;
            background: var(--primary-red);
            border-radius: 50%;
            animation: float 8s infinite linear;
            opacity: 0;
        }
        @keyframes float {
            0% { transform: translateY(100vh) translateX(0); opacity: 0; }
            10% { opacity: 0.7; }
            90% { opacity: 0.3; }
            100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
        }
        header {
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(10px);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid var(--dark-red);
            direction: ltr;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            font-size: 1.8rem;
            font-weight: bold;
            text-decoration: none;
        }
        .logo-text {
            color: var(--white);
            font-weight: 700;
            background: linear-gradient(45deg, var(--white), var(--very-light-red));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .hamburger {
            cursor: pointer;
            padding: 0.5rem;
            z-index: 1001;
            background: transparent;
            border: none;
            transition: all 0.3s ease;
        }
        .hamburger-line {
            width: 25px;
            height: 3px;
            background: var(--white);
            margin: 5px 0;
            transition: 0.3s;
            border-radius: 2px;
        }
        .hamburger:hover .hamburger-line {
            background: var(--primary-red);
        }
        .hamburger.active .hamburger-line:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
            background: var(--primary-red);
        }
        .hamburger.active .hamburger-line:nth-child(2) {
            opacity: 0;
        }
        .hamburger.active .hamburger-line:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
            background: var(--primary-red);
        }
        .main-sidebar {
            position: fixed;
            top: 0;
            right: -280px;
            width: 280px;
            height: 100vh;
            background: rgba(26, 26, 26, 0.98);
            backdrop-filter: blur(20px);
            padding: 5rem 1.5rem 2rem;
            transition: right 0.4s ease-in-out;
            box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
            border-left: 1px solid var(--dark-red);
            z-index: 999;
            overflow-y: auto;
        }
        .main-sidebar.active {
            right: 0;
        }
        .user-profile {
            text-align: center;
            margin-bottom: 2rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid rgba(220, 38, 38, 0.3);
        }
        .profile-image {
            width: 100px;
            height: 100px;
            background: linear-gradient(45deg, var(--primary-red), var(--dark-red));
            border-radius: 50%;
            margin: 0 auto 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            color: white;
            border: 3px solid var(--primary-red);
            overflow: hidden;
            position: relative;
        }
        .profile-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            background: #2d2d2d;
        }
        .profile-name {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 0.3rem;
        }
        .main-nav {
            list-style: none;
            margin-bottom: 2rem;
        }
        .main-nav li {
            margin: 0.5rem 0;
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.4s ease;
        }
        .main-sidebar.active .main-nav li {
            opacity: 1;
            transform: translateX(0);
        }
        .main-nav li:nth-child(1) { transition-delay: 0.05s; }
        .main-nav li:nth-child(2) { transition-delay: 0.1s; }
        .main-nav li:nth-child(3) { transition-delay: 0.15s; }
        .main-nav li:nth-child(4) { transition-delay: 0.2s; }
        .main-nav li:nth-child(5) { transition-delay: 0.25s; }
        .main-nav li:nth-child(6) { transition-delay: 0.3s; }
        .main-nav li:nth-child(7) { transition-delay: 0.35s; }
        .main-nav li:nth-child(8) { transition-delay: 0.4s; }
        .main-nav li:nth-child(9) { transition-delay: 0.45s; }
        .main-nav a {
            color: var(--white);
            text-decoration: none;
            font-size: 1rem;
            padding: 0.8rem 1rem;
            display: flex;
            align-items: center;
            gap: 0.8rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            border: 1px solid transparent;
            cursor: pointer;
        }
        .main-nav a:hover {
            background: rgba(220, 38, 38, 0.1);
            border-color: var(--primary-red);
            transform: translateX(-5px);
        }
        .main-nav .active {
            background: rgba(220, 38, 38, 0.2);
            border-color: var(--primary-red);
        }
        .nav-icon {
            width: 20px;
            text-align: center;
            color: var(--primary-red);
        }
        .home-nav-item {
            border-bottom: 1px solid rgba(220, 38, 38, 0.3);
            margin-bottom: 0.5rem;
        }
        .logout {
            margin-top: 2rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(220, 38, 38, 0.3);
        }
        .logout a {
            color: var(--light-red);
        }
        .main-content {
            padding: 6rem 2rem 0;
            min-height: 100vh;
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
        }
        .views-wrapper {
            flex: 1;
        }
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }
        .header h1 {
            font-size: 1.8rem;
            background: linear-gradient(45deg, var(--white), var(--light-red));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .view-section {
            display: none;
        }
        .view-section.active {
            display: block;
        }
        .welcome-banner {
            background: rgba(45, 45, 45, 0.7);
            backdrop-filter: blur(10px);
            border-radius: 12px;
            padding: 2rem;
            margin-bottom: 2rem;
            border: 1px solid rgba(220, 38, 38, 0.1);
            text-align: center;
            animation: fadeIn 0.5s ease;
        }
        .welcome-banner h2 {
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
            color: var(--light-red);
        }
        .welcome-banner p {
            font-size: 1.1rem;
            color: var(--light-gray);
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }
        .stat-card {
            background: rgba(45, 45, 45, 0.7);
            backdrop-filter: blur(10px);
            padding: 1.5rem;
            border-radius: 12px;
            border: 1px solid rgba(220, 38, 38, 0.1);
            display: flex;
            align-items: center;
            gap: 1rem;
            transition: all 0.3s ease;
        }
        .stat-card:hover {
            border-color: var(--primary-red);
            transform: translateY(-5px);
        }
        .stat-icon {
            width: 50px;
            height: 50px;
            background: rgba(220, 38, 38, 0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: var(--primary-red);
        }
        .stat-info h3 {
            font-size: 0.9rem;
            color: var(--light-gray);
            margin-bottom: 0.3rem;
        }
        .stat-info p {
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--white);
        }
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-top: 1.5rem;
        }
        .service-card {
            background: rgba(45, 45, 45, 0.7);
            backdrop-filter: blur(10px);
            padding: 1.5rem;
            border-radius: 12px;
            border: 1px solid rgba(220, 38, 38, 0.1);
            transition: all 0.3s ease;
        }
        .service-card:hover {
            border-color: var(--primary-red);
            transform: translateY(-5px);
        }
        .service-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        .service-icon {
            width: 50px;
            height: 50px;
            background: rgba(220, 38, 38, 0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: var(--primary-red);
        }
        .service-name {
            flex: 1;
        }
        .service-name h3 {
            font-size: 1.2rem;
            margin-bottom: 0.3rem;
        }
        .service-type {
            padding: 0.2rem 0.5rem;
            background: rgba(220, 38, 38, 0.1);
            border-radius: 4px;
            font-size: 0.8rem;
            color: var(--light-red);
            display: inline-block;
        }
        .service-status {
            display: inline-block;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            margin-left: 0.5rem;
        }
        .status-online { background: #10b981; }
        .status-offline { background: #6b7280; }
        .service-details {
            margin: 1rem 0;
            padding: 1rem 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        .service-detail-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }
        .service-detail-item span:first-child {
            color: var(--light-gray);
        }
        .service-detail-item span:last-child {
            font-weight: 600;
        }
        .service-actions {
            display: flex;
            gap: 0.5rem;
            margin-top: 1rem;
        }
        .service-btn {
            flex: 1;
            padding: 0.5rem;
            background: transparent;
            border: 1px solid var(--primary-red);
            color: var(--white);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }
        .service-btn:hover {
            background: rgba(220, 38, 38, 0.1);
        }
        .empty-state {
            text-align: center;
            padding: 3rem;
            background: rgba(45, 45, 45, 0.5);
            border-radius: 12px;
            color: var(--light-gray);
        }
        .empty-state i {
            font-size: 3rem;
            color: var(--primary-red);
            margin-bottom: 1rem;
        }
        .empty-state h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            color: var(--white);
        }
        .empty-state p {
            margin-bottom: 1.5rem;
        }
        .btn-primary {
            background: linear-gradient(45deg, var(--primary-red), var(--dark-red));
            color: var(--white);
            padding: 0.8rem 1.5rem;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
        }
        .settings-section {
            background: rgba(45, 45, 45, 0.7);
            backdrop-filter: blur(10px);
            border-radius: 12px;
            padding: 2rem;
            margin-bottom: 2rem;
            border: 1px solid rgba(220, 38, 38, 0.1);
        }
        .settings-section h2 {
            color: var(--light-red);
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
        }
        .form-group {
            margin-bottom: 1.5rem;
        }
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--light-gray);
        }
        .input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }
        .input-wrapper i {
            position: absolute;
            right: 1rem;
            color: var(--primary-red);
        }
        .input-wrapper input {
            width: 100%;
            padding: 0.8rem 2.5rem 0.8rem 1rem;
            background: rgba(61, 61, 61, 0.5);
            border: 1px solid rgba(220, 38, 38, 0.2);
            border-radius: 8px;
            color: var(--white);
            font-size: 1rem;
        }
        .input-wrapper input:focus {
            outline: none;
            border-color: var(--primary-red);
        }
        .avatar-edit-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
            margin-bottom: 2rem;
        }
        .current-avatar {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            overflow: hidden;
            border: 3px solid var(--primary-red);
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .current-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            background: #2d2d2d;
        }
        .current-avatar i {
            font-size: 3rem;
            color: var(--light-red);
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
        }
        .avatar-actions {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            justify-content: center;
        }
        .avatar-btn {
            padding: 0.6rem 1.2rem;
            background: transparent;
            border: 1px solid var(--primary-red);
            color: var(--white);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .avatar-btn:hover {
            background: rgba(220, 38, 38, 0.1);
        }
        .avatar-btn.danger {
            border-color: var(--light-red);
            color: var(--light-red);
        }
        .avatar-btn.danger:hover {
            background: rgba(239, 68, 68, 0.1);
        }
        .avatar-btn.hidden {
            display: none;
        }
        .statistics-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }
        .stat-card-large {
            background: rgba(45, 45, 45, 0.7);
            backdrop-filter: blur(10px);
            border-radius: 12px;
            padding: 1.5rem;
            border: 1px solid rgba(220, 38, 38, 0.1);
        }
        .stat-card-large h3 {
            color: var(--light-red);
            margin-bottom: 1rem;
            font-size: 1.2rem;
        }
        .stat-value-large {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--white);
            margin-bottom: 0.5rem;
        }
        .stat-label {
            color: var(--light-gray);
            font-size: 0.9rem;
        }
        .stat-row {
            display: flex;
            justify-content: space-between;
            padding: 0.5rem 0;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .stat-row:last-child {
            border-bottom: none;
        }
        .transactions-list {
            background: rgba(45, 45, 45, 0.7);
            backdrop-filter: blur(10px);
            border-radius: 12px;
            padding: 1.5rem;
            border: 1px solid rgba(220, 38, 38, 0.1);
        }
        .transaction-item {
            display: flex;
            justify-content: space-between;
            padding: 1rem 0;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .transaction-item:last-child {
            border-bottom: none;
        }
        .transaction-date {
            color: var(--light-gray);
            font-size: 0.9rem;
        }
        .transaction-type {
            font-weight: 600;
        }
        .transaction-type.purchase {
            color: #10b981;
        }
        .transaction-type.transfer {
            color: #f59e0b;
        }
        .transaction-amount {
            font-weight: 600;
        }
        .transaction-amount.positive {
            color: #10b981;
        }
        .transaction-amount.negative {
            color: #ef4444;
        }
        .help-section {
            background: rgba(45, 45, 45, 0.7);
            backdrop-filter: blur(10px);
            border-radius: 12px;
            padding: 2rem;
            border: 1px solid rgba(220, 38, 38, 0.1);
        }
        .faq-item {
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 8px;
        }
        .faq-question {
            color: var(--light-red);
            font-weight: 600;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .faq-answer {
            color: var(--light-gray);
            padding-right: 2rem;
        }
        .search-box {
            margin-bottom: 2rem;
            display: flex;
            gap: 1rem;
        }
        .search-box input {
            flex: 1;
            padding: 0.8rem;
            background: rgba(61, 61, 61, 0.5);
            border: 1px solid rgba(220, 38, 38, 0.2);
            border-radius: 8px;
            color: var(--white);
        }
        .search-box input:focus {
            outline: none;
            border-color: var(--primary-red);
        }
        .help-categories {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }
        .category-btn {
            padding: 0.5rem 1rem;
            background: transparent;
            border: 1px solid var(--primary-red);
            color: var(--white);
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .category-btn.active {
            background: var(--primary-red);
        }
        .quick-links {
            margin-top: 2rem;
            display: flex;
            gap: 1rem;
            justify-content: center;
        }
        .contact-section {
            background: rgba(45, 45, 45, 0.7);
            backdrop-filter: blur(10px);
            border-radius: 12px;
            padding: 3rem 2rem;
            border: 1px solid rgba(220, 38, 38, 0.1);
            text-align: center;
        }
        .contact-icon {
            font-size: 4rem;
            color: #5865F2;
            margin-bottom: 1.5rem;
        }
        .hidden {
            display: none;
        }
        footer {
            background: transparent;
            padding: 1.5rem 2rem;
            text-align: center;
            border-top: 1px solid var(--dark-red);
            margin-top: 3rem;
        }
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }
        .footer-links a {
            color: var(--light-gray);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s ease;
        }
        .footer-links a:hover {
            color: var(--light-red);
        }
        footer p {
            color: var(--light-gray);
            font-size: 0.9rem;
        }
        .toast-container {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .toast {
            background: var(--toast-bg);
            backdrop-filter: blur(10px);
            border-right: 4px solid var(--primary-red);
            border-radius: 10px;
            padding: 1rem 1.5rem;
            color: var(--white);
            display: flex;
            align-items: center;
            gap: 1rem;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
            animation: toastSlide 0.3s ease;
            max-width: 350px;
        }
        .toast.success { border-right-color: #10b981; }
        .toast.success i { color: #10b981; }
        .toast.error { border-right-color: var(--primary-red); }
        .toast i { font-size: 1.2rem; }
        @keyframes toastSlide {
            from { transform: translateX(100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(5px);
            align-items: center;
            justify-content: center;
            z-index: 200000;
        }
        .modal.active {
            display: flex;
        }
        .modal-content {
            background: var(--dark-black);
            padding: 2rem;
            border-radius: 15px;
            border: 1px solid var(--primary-red);
            max-width: 500px;
            width: 90%;
            text-align: center;
        }
        .image-preview-container {
            position: relative;
            width: 280px;
            height: 280px;
            margin: 1rem auto;
            border-radius: 50%;
            overflow: hidden;
            border: 3px solid var(--primary-red);
            touch-action: none;
        }
        #imagePreview {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transform-origin: center;
            transition: transform 0.1s ease;
        }
        .rotation-slider {
            width: 100%;
            margin: 1.5rem 0;
            -webkit-appearance: none;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-red), var(--light-red));
            border-radius: 2px;
            outline: none;
        }
        .rotation-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 20px;
            height: 20px;
            background: var(--white);
            border: 2px solid var(--primary-red);
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .rotation-slider::-webkit-slider-thumb:hover {
            transform: scale(1.2);
            background: var(--primary-red);
        }
        .rotation-slider::-moz-range-thumb {
            width: 20px;
            height: 20px;
            background: var(--white);
            border: 2px solid var(--primary-red);
            border-radius: 50%;
            cursor: pointer;
        }
        .rotation-value {
            color: var(--light-red);
            font-size: 0.9rem;
            margin-top: 0.5rem;
        }
        .preview-controls {
            display: flex;
            gap: 1rem;
            justify-content: center;
            margin: 1rem 0;
        }
        .preview-btn {
            padding: 0.5rem 1rem;
            background: transparent;
            border: 1px solid var(--primary-red);
            color: var(--white);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .preview-btn:hover {
            background: rgba(220, 38, 38, 0.1);
        }

        @media (max-width: 768px) {
            .header {
                flex-direction: column;
                gap: 1rem;
            }
            .footer-links {
                gap: 1rem;
            }
            .avatar-actions {
                flex-direction: row;
            }
            .image-preview-container {
                width: 220px;
                height: 220px;
            }
        }