* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            width: 100%;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: linear-gradient(180deg, #000000 0%, #1a0000 50%, #000000 100%);
            color: #ffffff;
            min-height: 100vh;
            height: 100vh;
            overflow: hidden;
            position: relative;
            width: 100%;
        }

        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: linear-gradient(180deg, #000000 0%, #1a0000 50%, #000000 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.5s ease, visibility 0.5s ease;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            will-change: opacity, visibility;
        }

        .loading-screen.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .loading-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .loading-logo {
            position: relative;
            width: 200px;
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: logoGlow 3s ease-in-out infinite;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            will-change: filter;
            margin-bottom: 20px;
        }

        .loading-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
        }

        .loading-spinner {
            position: absolute;
            top: 0;
            left: 50%;
            width: 240px;
            height: 240px;
            margin-left: -120px;
            margin-top: -20px;
            border: 3px solid transparent;
            border-top-color: rgba(255, 255, 255, 0.7);
            border-right-color: rgba(255, 255, 255, 0.4);
            border-radius: 50%;
            animation: spin 1.2s linear infinite;
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            will-change: transform;
            transform: translateZ(0);
        }

        .loading-error-message {
            margin-top: 80px;
            text-align: center;
            color: rgba(255, 255, 255, 0.9);
            font-size: 15px;
            line-height: 1.8;
            padding: 20px 30px;
            background: rgba(255, 50, 50, 0.1);
            border: 1px solid rgba(255, 50, 50, 0.3);
            border-radius: 12px;
            max-width: 320px;
            opacity: 0;
            animation: fadeInMessage 1s ease-in-out 10s forwards;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        @keyframes spin {
            0% { transform: rotate(0deg) translateZ(0); }
            100% { transform: rotate(360deg) translateZ(0); }
        }

        @keyframes fadeInMessage {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(ellipse at center, rgba(255, 0, 0, 0.15) 0%, transparent 60%);
            pointer-events: none;
            z-index: 0;
        }

        .container {
            max-width: 100%;
            height: 100vh;
            display: flex;
            flex-direction: column;
            position: relative;
            padding-bottom: env(safe-area-inset-bottom);
            z-index: 1;
            overflow: hidden;
        }

        .spacer {
            height: 42vh;
            flex-shrink: 0;
        }

        .circles-container {
            position: fixed;
            top: 50%;
            left: 50%;
            width: 1400px;
            height: 1400px;
            margin-top: -18vh;
            overflow: visible;
            pointer-events: none;
            z-index: 0;
            will-change: transform;
            -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
        }

        .circle {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            border: 2px solid rgba(255, 255, 255, 0.5);
            border-radius: 50%;
            animation: ripple 6s ease-out infinite;
            opacity: 0;
            will-change: transform, opacity;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
        }

        @media (max-width: 768px) {
            .logo {
                width: 140px;
                height: 140px;
                font-size: 32px;
            }

            .circles-container {
                width: 100%;
                height: 1000px;
            }

            .circle {
                animation-duration: 8s;
            }

            .circle:nth-child(4),
            .circle:nth-child(5),
            .circle:nth-child(6) {
                display: none;
            }

            .circle:nth-child(1) {
                width: 130px;
                height: 130px;
            }

            .circle:nth-child(2) {
                width: 180px;
                height: 180px;
            }

            .circle:nth-child(3) {
                width: 230px;
                height: 230px;
            }
        }

        @media (min-width: 769px) and (max-width: 1024px) {
            .logo {
                width: 160px;
                height: 160px;
            }

            .circle:nth-child(1) {
                width: 180px;
                height: 180px;
            }

            .circle:nth-child(2) {
                width: 260px;
                height: 260px;
            }
        }

        .circle:nth-child(1) {
            width: 220px;
            height: 220px;
            animation-delay: 1s;
            animation-name: ripple1;
        }

        .circle:nth-child(2) {
            width: 340px;
            height: 340px;
            animation-delay: 2s;
            animation-name: ripple2;
            border-color: rgba(255, 255, 255, 0.2);
        }

        .circle:nth-child(3) {
            width: 460px;
            height: 460px;
            animation-delay: 3s;
            animation-name: ripple3;
        }

        .circle:nth-child(4) {
            width: 580px;
            height: 580px;
            animation-delay: 4s;
            animation-name: ripple4;
            border-color: rgba(255, 255, 255, 0.18);
        }

        .circle:nth-child(5) {
            width: 580px;
            height: 580px;
            animation-delay: 5s;
            animation-name: ripple5;
        }

        .circle:nth-child(6) {
            width: 680px;
            height: 680px;
            animation-delay: 6s;
            animation-name: ripple6;
            border-color: rgba(255, 255, 255, 0.15);
            box-shadow:
                0 0 8px rgba(255, 255, 255, 0.2),
                0 0 18px rgba(255, 255, 255, 0.1),
                inset 0 0 8px rgba(255, 255, 255, 0.08);
        }

        @keyframes ripple1 {
            0% {
                width: 110px;
                height: 110px;
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            100% {
                width: 220px;
                height: 220px;
                opacity: 0;
            }
        }

        @keyframes ripple2 {
            0% {
                width: 170px;
                height: 170px;
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            100% {
                width: 340px;
                height: 340px;
                opacity: 0;
            }
        }

        @keyframes ripple3 {
            0% {
                width: 230px;
                height: 230px;
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            30% {
                opacity: 0.65;
            }
            45% {
                opacity: 0.25;
            }
            60% {
                opacity: 0;
            }
            100% {
                width: 460px;
                height: 460px;
                opacity: 0;
            }
        }

        @keyframes ripple4 {
            0% {
                width: 290px;
                height: 290px;
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            25% {
                opacity: 0.55;
            }
            40% {
                opacity: 0.2;
            }
            55% {
                opacity: 0;
            }
            100% {
                width: 580px;
                height: 580px;
                opacity: 0;
            }
        }

        @keyframes ripple5 {
            0% {
                width: 290px;
                height: 290px;
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            100% {
                width: 580px;
                height: 580px;
                opacity: 0;
            }
        }

        @keyframes ripple6 {
            0% {
                width: 340px;
                height: 340px;
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            100% {
                width: 680px;
                height: 680px;
                opacity: 0;
            }
        }

        .logo-container {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            margin-top: -18vh;
            width: auto;
            height: auto;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .logo {
            width: 180px;
            height: 180px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            font-weight: 800;
            color: #fff;
            overflow: visible;
            background: transparent;
            border-radius: 50%;
            animation: logoGlow 3s ease-in-out infinite;
        }

        @keyframes logoGlow {
            0%, 100% {
                filter: drop-shadow(0 0 20px rgba(255, 50, 50, 0.6))
                        drop-shadow(0 0 40px rgba(255, 50, 50, 0.4))
                        drop-shadow(0 0 60px rgba(255, 50, 50, 0.2));
            }
            50% {
                filter: drop-shadow(0 0 30px rgba(255, 50, 50, 0.8))
                        drop-shadow(0 0 60px rgba(255, 50, 50, 0.6))
                        drop-shadow(0 0 90px rgba(255, 50, 50, 0.3));
            }
        }

        .logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 50%;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            -webkit-user-drag: none;
            -khtml-user-drag: none;
            -moz-user-drag: none;
            -o-user-drag: none;
            pointer-events: none;
            -webkit-tap-highlight-color: transparent;
        }

        .info-card {
            position: relative;
            z-index: 10;
            background: linear-gradient(135deg, rgba(30, 30, 30, 0.85) 0%, rgba(20, 20, 20, 0.90) 100%);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 30px;
            padding: 20px;
            margin: 0 10px 15px 10px;
            margin-top: auto;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 -10px 50px rgba(255, 50, 50, 0.2);
            max-width: calc(100% - 20px);
            box-sizing: border-box;
        }

        .status-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .status-left h2 {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 3px;
            background: linear-gradient(90deg, #ffffff 0%, #ff3232 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .status-left p {
            font-size: 14px;
            color: #888;
            text-transform: lowercase;
        }

        .status-right {
            text-align: right;
        }

        .status-right .date {
            font-size: 12px;
            color: #666;
            margin-bottom: 3px;
        }

        .status-right .subscription {
            font-size: 14px;
            color: #ff3232;
            font-weight: 600;
        }

        .button-primary {
            width: 100%;
            background: linear-gradient(135deg, #ff3232 0%, #ff5555 100%);
            color: #ffffff;
            border: none;
            padding: 15px;
            border-radius: 14px;
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 12px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 
                0 4px 20px rgba(255, 50, 50, 0.4),
                0 0 40px rgba(255, 50, 50, 0.2);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .button-primary::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(139, 0, 0, 0.4) 0%, transparent 70%);
            pointer-events: none;
        }

        .button-primary > * {
            position: relative;
            z-index: 1;
        }

        .button-primary:active {
            transform: scale(0.98);
            box-shadow: 
                0 2px 10px rgba(255, 50, 50, 0.3),
                0 0 20px rgba(255, 50, 50, 0.1);
        }

        .button-secondary {
            width: 100%;
            background: rgba(255, 255, 255, 0.05);
            color: #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 15px;
            border-radius: 14px;
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 12px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .button-secondary::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 180px;
            height: 180px;
            background: radial-gradient(circle, rgba(80, 20, 20, 0.3) 0%, transparent 70%);
            pointer-events: none;
        }

        .button-secondary > * {
            position: relative;
            z-index: 1;
        }

        .button-secondary:active {
            transform: scale(0.98);
            background: rgba(255, 255, 255, 0.08);
        }

        .button-secondary .platform {
            color: #ff3232;
            font-weight: 700;
        }

        .button-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 15px;
        }

        .button-small {
            background: rgba(255, 255, 255, 0.05);
            color: #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 14px 10px;
            border-radius: 14px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .button-small::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 120px;
            height: 120px;
            background: radial-gradient(circle, rgba(80, 20, 20, 0.25) 0%, transparent 70%);
            pointer-events: none;
        }

        .button-small > * {
            position: relative;
            z-index: 1;
        }

        .button-small:active {
            transform: scale(0.98);
            background: rgba(255, 255, 255, 0.08);
        }

        .icon {
            font-size: 18px;
            flex-shrink: 0;
        }

        .price {
            font-size: 15px;
        }

        .button-text {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .subscription-page {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            max-width: 100vw;
            height: 100vh;
            height: 100dvh;
            background: linear-gradient(180deg, #000000 0%, #1a0000 50%, #000000 100%);
            z-index: 1000;
            transform: translateX(100%);
            transition: transform 0.3s ease-in-out;
            overflow-y: auto;
            overflow-x: hidden;
            display: flex;
            flex-direction: column;
            -webkit-overflow-scrolling: touch;
            box-sizing: border-box;
        }

        .subscription-page.active {
            transform: translateX(0);
        }

        .subscription-header {
            display: flex;
            align-items: center;
            padding: 15px 20px;
            gap: 15px;
            position: sticky;
            top: 0;
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            z-index: 10;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            flex-shrink: 0;
            width: 100%;
            max-width: 100vw;
            box-sizing: border-box;
        }

        .back-button {
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: #fff;
            width: 40px;
            height: 40px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        .back-button:active {
            transform: scale(0.95);
            background: rgba(255, 255, 255, 0.15);
        }

        .subscription-header h1 {
            font-size: 22px;
            font-weight: 700;
            background: linear-gradient(90deg, #ffffff 0%, #ff3232 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .subscription-content {
            padding: 20px;
            padding-bottom: calc(20px + env(safe-area-inset-bottom));
            flex: 1;
            display: flex;
            flex-direction: column;
            width: 100%;
            max-width: 100vw;
            box-sizing: border-box;
            overflow-x: hidden;
        }

        .subscription-description {
            width: 100%;
            box-sizing: border-box;
        }

        .subscription-description h3 {
            font-size: 24px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 6px;
            line-height: 1.2;
            word-wrap: break-word;
        }

        .subscription-description p {
            font-size: 15px;
            color: #888;
            margin-bottom: 25px;
            line-height: 1.4;
            word-wrap: break-word;
        }

        .devices-section {
            margin-bottom: 25px;
            width: 100%;
            box-sizing: border-box;
        }

        .devices-label {
            font-size: 17px;
            color: #fff;
            margin-bottom: 18px;
            font-weight: 600;
            word-wrap: break-word;
        }

        .devices-label span {
            color: #ff3232;
            font-weight: 700;
        }

        .devices-slider {
            position: relative;
            padding: 10px 0 30px 0;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }

        .slider {
            -webkit-appearance: none;
            appearance: none;
            width: 100%;
            max-width: 100%;
            height: 6px;
            border-radius: 10px;
            background: linear-gradient(to right,
                #ff3232 0%,
                #ff3232 0%,
                rgba(255, 255, 255, 0.2) 0%,
                rgba(255, 255, 255, 0.2) 100%);
            outline: none;
            transition: background 0.3s ease;
            box-sizing: border-box;
        }

        .slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #ff3232;
            cursor: pointer;
            box-shadow: 
                0 0 15px rgba(255, 50, 50, 0.7),
                0 2px 8px rgba(0, 0, 0, 0.3);
            transition: all 0.2s ease;
            border: 3px solid rgba(255, 255, 255, 0.9);
            margin-top: -11px;
        }

        .slider::-webkit-slider-thumb:hover {
            transform: scale(1.1);
            box-shadow: 
                0 0 20px rgba(255, 50, 50, 0.8),
                0 2px 10px rgba(0, 0, 0, 0.4);
        }

        .slider::-webkit-slider-thumb:active {
            transform: scale(1.15);
            box-shadow: 
                0 0 25px rgba(255, 50, 50, 1),
                0 2px 12px rgba(0, 0, 0, 0.5);
        }

        .slider::-moz-range-thumb {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #ff3232;
            cursor: pointer;
            border: 3px solid rgba(255, 255, 255, 0.9);
            box-shadow: 
                0 0 15px rgba(255, 50, 50, 0.7),
                0 2px 8px rgba(0, 0, 0, 0.3);
            transition: all 0.2s ease;
        }

        .slider::-moz-range-thumb:hover {
            transform: scale(1.1);
        }

        .slider::-moz-range-thumb:active {
            transform: scale(1.15);
        }

        .slider::-webkit-slider-runnable-track {
            width: 100%;
            height: 6px;
            border-radius: 10px;
        }

        .slider::-moz-range-track {
            width: 100%;
            height: 6px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.2);
        }

        .slider::-moz-range-progress {
            height: 6px;
            border-radius: 10px;
            background: #ff3232;
        }

        .slider-dots {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
            padding: 0;
            position: relative;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }

        .slider-dot {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            position: relative;
            transition: all 0.3s ease;
            border: 2px solid rgba(255, 255, 255, 0.1);
            flex-shrink: 0;
        }

        .slider-dot.active {
            background: #ff3232;
            box-shadow: 0 0 12px rgba(255, 50, 50, 0.8);
            border-color: rgba(255, 50, 50, 0.5);
        }

        .plans-grid {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 15px;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }

        .plan-card {
            background: rgba(255, 255, 255, 0.05);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 18px;
            padding: 16px 18px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
            overflow: hidden;
        }

        .plan-card:active {
            transform: scale(0.98);
        }

        .plan-card.selected {
            border-color: #ff3232;
            background: rgba(255, 50, 50, 0.1);
            box-shadow: 0 0 20px rgba(255, 50, 50, 0.3);
        }

        .plan-popular.selected {
            border-color: #ff3232;
            background: rgba(255, 50, 50, 0.15);
            box-shadow: 0 0 25px rgba(255, 50, 50, 0.4);
        }

        .plan-left {
            flex: 1;
            min-width: 0;
        }

        .plan-right {
            text-align: right;
            flex-shrink: 0;
            margin-left: 15px;
        }

        .plan-period {
            font-size: 17px;
            color: #fff;
            margin-bottom: 4px;
            font-weight: 600;
            white-space: nowrap;
        }

        .popular-badge {
            background: #ff3232;
            color: #fff;
            font-size: 9px;
            font-weight: 700;
            padding: 3px 7px;
            border-radius: 10px;
            display: inline-block;
            letter-spacing: 0.5px;
            margin-top: 3px;
            white-space: nowrap;
        }

        .plan-price {
            font-size: 28px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 2px;
            white-space: nowrap;
        }

        .plan-monthly {
            font-size: 12px;
            color: #888;
            margin-top: 2px;
            white-space: nowrap;
        }

        .button-pay {
            width: 100%;
            max-width: 100%;
            background: linear-gradient(135deg, #ff3232 0%, #ff5555 100%);
            color: #fff;
            border: none;
            padding: 16px;
            border-radius: 16px;
            font-size: 17px;
            font-weight: 700;
            cursor: pointer;
            box-shadow:
                0 4px 20px rgba(255, 50, 50, 0.4),
                0 0 40px rgba(255, 50, 50, 0.2);
            transition: all 0.3s ease;
            margin-top: 10px;
            position: relative;
            overflow: hidden;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
            white-space: nowrap;
        }

        .button-pay::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 250px;
            height: 250px;
            background: radial-gradient(circle, rgba(139, 0, 0, 0.4) 0%, transparent 70%);
            pointer-events: none;
        }

        .button-pay:active {
            transform: scale(0.98);
        }

        @media (max-height: 667px) {
            .logo-container,
            .circles-container {
                height: 50vh;
            }

            .spacer {
                height: 35vh;
            }

            .logo {
                width: 130px;
                height: 130px;
            }

            .circle:nth-child(1) {
                width: 130px;
                height: 130px;
            }

            .circle:nth-child(2) {
                width: 210px;
                height: 210px;
            }

            .circle:nth-child(3) {
                width: 290px;
                height: 290px;
            }

            .circle:nth-child(4) {
                width: 370px;
                height: 370px;
            }

            .circle:nth-child(5) {
                width: 450px;
                height: 450px;
            }

            .circle:nth-child(6) {
                width: 530px;
                height: 530px;
            }

            .info-card {
                padding: 18px;
            }

            .status-left h2 {
                font-size: 24px;
            }

            .button-primary,
            .button-secondary {
                padding: 13px;
                font-size: 15px;
            }

            .button-small {
                padding: 12px 8px;
                font-size: 14px;
            }
        }

        @media (max-height: 500px) {
            .logo-container,
            .circles-container {
                height: 45vh;
            }

            .spacer {
                height: 30vh;
            }

            .info-card {
                padding: 15px;
            }

            .logo {
                width: 110px;
                height: 110px;
            }

            .circle:nth-child(1) {
                width: 110px;
                height: 110px;
            }

            .circle:nth-child(2) {
                width: 180px;
                height: 180px;
            }

            .circle:nth-child(3) {
                width: 250px;
                height: 250px;
            }

            .circle:nth-child(4) {
                width: 320px;
                height: 320px;
            }

            .circle:nth-child(5) {
                width: 390px;
                height: 390px;
            }

            .circle:nth-child(6) {
                width: 460px;
                height: 460px;
            }
        }

        @media (min-height: 800px) {
            .logo-container,
            .circles-container {
                height: 55vh;
            }

            .spacer {
                height: 40vh;
            }
        }

        @media (max-width: 768px) {
            .circles-container {
                width: 2000px;
            }
        }

        @media (max-width: 480px) {
            .circles-container {
                width: 2000px;
            }
        }

        @media (max-width: 480px) {
            .subscription-header {
                padding: 12px 12px;
            }

            .subscription-header h1 {
                font-size: 20px;
            }

            .back-button {
                width: 36px;
                height: 36px;
            }

            .subscription-content {
                padding: 12px;
                padding-bottom: calc(12px + env(safe-area-inset-bottom));
            }

            .subscription-description h3 {
                font-size: 22px;
            }

            .subscription-description p {
                font-size: 14px;
                margin-bottom: 20px;
            }

            .devices-label {
                font-size: 16px;
                margin-bottom: 15px;
            }

            .devices-slider {
                padding: 10px 0 25px 0;
            }

            .plan-card {
                padding: 12px 14px;
                border-radius: 16px;
            }

            .plan-period {
                font-size: 16px;
            }

            .plan-price {
                font-size: 24px;
            }

            .plan-monthly {
                font-size: 11px;
            }

            .popular-badge {
                font-size: 8px;
                padding: 2px 6px;
            }

            .button-pay {
                padding: 14px;
                font-size: 16px;
            }
        }

        @media (max-width: 360px) {
            .subscription-header {
                padding: 10px 10px;
                gap: 10px;
            }

            .subscription-header h1 {
                font-size: 18px;
            }

            .back-button {
                width: 34px;
                height: 34px;
            }

            .subscription-content {
                padding: 10px;
                padding-bottom: calc(10px + env(safe-area-inset-bottom));
            }

            .subscription-description h3 {
                font-size: 20px;
            }

            .subscription-description p {
                font-size: 13px;
                margin-bottom: 18px;
            }

            .devices-label {
                font-size: 15px;
            }

            .devices-slider {
                padding: 8px 0 20px 0;
            }

            .plan-card {
                padding: 10px 12px;
            }

            .plan-period {
                font-size: 15px;
            }

            .plan-price {
                font-size: 22px;
            }

            .plan-monthly {
                font-size: 10px;
            }

            .plan-right {
                margin-left: 8px;
            }

            .button-pay {
                padding: 12px;
                font-size: 15px;
            }
        }

        @media (max-height: 500px) and (orientation: landscape) {
            .subscription-content {
                padding: 12px;
            }

            .subscription-description h3 {
                font-size: 20px;
                margin-bottom: 4px;
            }

            .subscription-description p {
                font-size: 13px;
                margin-bottom: 15px;
            }

            .devices-section {
                margin-bottom: 15px;
            }

            .devices-label {
                font-size: 15px;
                margin-bottom: 12px;
            }

            .devices-slider {
                padding: 8px 0 20px 0;
            }

            .plans-grid {
                gap: 8px;
                margin-bottom: 12px;
            }

            .plan-card {
                padding: 10px 12px;
            }

            .plan-period {
                font-size: 15px;
            }

            .plan-price {
                font-size: 22px;
            }

            .button-pay {
                padding: 12px;
                font-size: 15px;
                margin-top: 8px;
            }
        }

        @media (max-width: 768px) {
            * {
                max-width: 100vw;
            }

            .subscription-page *:not(.circle):not(.circle *) {
                max-width: 100%;
            }
        }

        .support-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2000;
            display: flex;
            align-items: flex-end;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .support-modal.active {
            pointer-events: all;
            opacity: 1;
        }

        .support-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
        }

        .support-content {
            position: relative;
            width: 100%;
            max-height: 85vh;
            background: linear-gradient(135deg, rgba(20, 20, 20, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 30px 30px 0 0;
            padding: 25px 20px;
            padding-bottom: calc(25px + env(safe-area-inset-bottom));
            box-shadow:
                0 -10px 50px rgba(255, 50, 50, 0.3),
                0 -5px 30px rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-bottom: none;
            transform: translateY(100%);
            transition: transform 0.3s ease;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            box-sizing: border-box;
        }

        .support-modal.active .support-content {
            transform: translateY(0);
        }

        .support-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            flex-shrink: 0;
        }

        .support-header h2 {
            font-size: 20px;
            font-weight: 700;
            color: #fff;
            margin: 0;
        }

        .agreement-content {
            flex: 1;
            overflow-y: auto;
            margin-bottom: 20px;
            padding-right: 10px;
            padding-bottom: 20px;
            text-align: left;
            overscroll-behavior: contain;
            -webkit-overflow-scrolling: touch;
        }

        .agreement-content::-webkit-scrollbar {
            width: 4px;
        }

        .agreement-content::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.2);
            border-radius: 10px;
        }

        .agreement-section {
            margin-bottom: 24px;
        }

        .agreement-section h3 {
            font-size: 16px;
            color: #00d084;
            margin-bottom: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .agreement-section p {
            font-size: 14px;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 10px;
        }

        .agreement-section b {
            color: #fff;
            font-weight: 600;
        }


        .close-button {
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: #fff;
            width: 36px;
            height: 36px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 20px;
            flex-shrink: 0;
        }

        .close-button:active {
            transform: scale(0.95);
            background: rgba(255, 255, 255, 0.15);
        }

        .faq-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 20px;
        }

        .faq-item {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 18px 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            gap: 0;
            position: relative;
            overflow: hidden;
        }

        .faq-item::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 150px;
            height: 150px;
            background: radial-gradient(circle, rgba(80, 20, 20, 0.3) 0%, transparent 70%);
            pointer-events: none;
        }

        .faq-item > * {
            position: relative;
            z-index: 1;
        }

        .faq-item:active {
            transform: scale(0.98);
            background: rgba(255, 255, 255, 0.08);
        }

        .faq-text {
            flex: 1;
            font-size: 15px;
            font-weight: 500;
            color: #fff;
            line-height: 1.4;
        }

        .faq-arrow {
            font-size: 14px;
            color: #888;
            flex-shrink: 0;
            transition: transform 0.3s ease;
        }

        .faq-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            width: 100%;
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transition: all 0.3s ease;
            font-size: 14px;
            color: #ccc;
            line-height: 1.5;
        }

        .faq-item.active .faq-answer {
            max-height: 200px;
            opacity: 1;
            margin-top: 12px;
        }

        .faq-item.active .faq-arrow {
            transform: rotate(90deg);
        }

        .button-support-contact {
            width: 100%;
            min-height: 52px;
            background: linear-gradient(135deg, #00d084 0%, #00b871 100%);
            color: #ffffff;
            border: none;
            padding: 12px 20px;
            border-radius: 14px;
            font-size: 16px;
            font-weight: 700;
            letter-spacing: 0.3px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-top: 15px;
            flex-shrink: 0;
            box-shadow:
                0 6px 20px rgba(0, 208, 132, 0.3),
                0 0 40px rgba(0, 208, 132, 0.15);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .button-support-contact::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(0, 100, 60, 0.3) 0%, transparent 70%);
            pointer-events: none;
        }

        .button-support-contact > * {
            position: relative;
            z-index: 1;
        }

        .button-support-contact:active {
            transform: scale(0.98);
            box-shadow:
                0 2px 10px rgba(0, 208, 132, 0.2),
                0 0 20px rgba(0, 208, 132, 0.1);
        }

        @media (max-width: 480px) {
            .support-content {
                padding: 20px 16px;
                padding-bottom: calc(20px + env(safe-area-inset-bottom));
            }

            .support-header h2 {
                font-size: 20px;
            }

            .close-button {
                width: 32px;
                height: 32px;
                font-size: 18px;
            }

            .faq-item {
                padding: 16px 14px;
            }

            .faq-text {
                font-size: 14px;
            }

            .button-support-contact {
                padding: 14px;
                font-size: 15px;
            }
        }

        @media (max-width: 360px) {
            .support-content {
                padding: 18px 14px;
                padding-bottom: calc(18px + env(safe-area-inset-bottom));
            }

            .support-header h2 {
                font-size: 18px;
            }

            .faq-item {
                padding: 14px 12px;
            }

            .faq-text {
                font-size: 13px;
            }
        }

        .setup-page {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            max-width: 100vw;
            height: 100vh;
            height: 100dvh;
            background: linear-gradient(180deg, #000000 0%, #1a0000 50%, #000000 100%);
            z-index: 1000;
            transform: translateX(100%);
            transition: transform 0.3s ease-in-out;
            overflow-y: auto;
            overflow-x: hidden;
            display: flex;
            flex-direction: column;
            -webkit-overflow-scrolling: touch;
            box-sizing: border-box;
        }

        .setup-page::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(ellipse at center, rgba(255, 0, 0, 0.15) 0%, transparent 60%);
            pointer-events: none;
            z-index: 0;
        }

        .setup-page.active {
            transform: translateX(0);
        }

        .setup-header {
            display: flex;
            align-items: center;
            padding: 15px 20px;
            gap: 15px;
            position: sticky;
            top: 0;
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            z-index: 10;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            flex-shrink: 0;
            width: 100%;
            max-width: 100vw;
            box-sizing: border-box;
        }

        .setup-header h1 {
            font-size: 22px;
            font-weight: 700;
            background: linear-gradient(90deg, #ffffff 0%, #ff3232 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .setup-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
            padding-bottom: calc(40px + env(safe-area-inset-bottom));
            position: relative;
            z-index: 1;
        }

        .setup-icon-container {
            position: relative;
            width: 200px;
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 40px;
        }

        .setup-circles {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 200px;
            height: 200px;
        }

        .setup-circle {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            border: 2px solid rgba(255, 50, 50, 0.3);
            border-radius: 50%;
            animation: setupRipple 4s ease-out infinite;
            box-shadow:
                0 0 15px rgba(255, 50, 50, 0.2),
                inset 0 0 15px rgba(255, 50, 50, 0.1);
        }

        .setup-circle:nth-child(1) {
            width: 120px;
            height: 120px;
            animation-delay: 0s;
        }

        .setup-circle:nth-child(2) {
            width: 160px;
            height: 160px;
            animation-delay: 1.3s;
            border-color: rgba(255, 50, 50, 0.25);
        }

        .setup-circle:nth-child(3) {
            width: 200px;
            height: 200px;
            animation-delay: 2.6s;
            border-color: rgba(255, 50, 50, 0.2);
        }

        @keyframes setupRipple {
            0% {
                opacity: 0;
                transform: translate(-50%, -50%) scale(0.5);
            }
            10% {
                opacity: 1;
            }
            100% {
                opacity: 0;
                transform: translate(-50%, -50%) scale(1);
            }
        }

        .setup-icon {
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, rgba(255, 50, 50, 0.2) 0%, rgba(255, 85, 85, 0.2) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 48px;
            color: #ffffff;
            border: 2px solid rgba(255, 50, 50, 0.4);
            box-shadow:
                0 0 30px rgba(255, 50, 50, 0.4),
                0 0 60px rgba(255, 50, 50, 0.2),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
            animation: iconPulse 2s ease-in-out infinite;
            position: relative;
            z-index: 1;
        }

        @keyframes iconPulse {
            0%, 100% {
                transform: scale(1);
                color: #ffffff;
                box-shadow:
                    0 0 30px rgba(255, 50, 50, 0.4),
                    0 0 60px rgba(255, 50, 50, 0.2),
                    inset 0 0 20px rgba(255, 255, 255, 0.1);
            }
            50% {
                transform: scale(1.05);
                color: #fff;
                box-shadow:
                    0 0 40px rgba(255, 255, 255, 0.8),
                    0 0 80px rgba(255, 255, 255, 0.4),
                    inset 0 0 25px rgba(255, 255, 255, 0.2);
            }
        }

        .setup-info {
            text-align: center;
            margin-bottom: 50px;
        }

        .setup-info h2 {
            font-size: 28px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 15px;
        }


        .platform-android {
            background: linear-gradient(90deg, #3ddc84 0%, #2ab36d 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .platform-ios {
            background: linear-gradient(90deg, #147efb 0%, #0a5dc2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .platform-windows {
            background: linear-gradient(90deg, #00adef 0%, #0078d4 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .platform-macos {
            background: linear-gradient(90deg, #a3aaae 0%, #8e8e93 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .platform-linux {
            background: linear-gradient(90deg, #fcc624 0%, #f57c00 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .setup-info p {
            font-size: 16px;
            color: #888;
            line-height: 1.6;
        }

        .setup-buttons {
            width: 100%;
            max-width: 400px;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .button-setup-start {
            width: 100%;
            background: linear-gradient(135deg, #ff3232 0%, #ff5555 100%);
            color: #ffffff;
            border: none;
            padding: 16px;
            border-radius: 16px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            box-shadow:
                0 4px 20px rgba(255, 50, 50, 0.4),
                0 0 40px rgba(255, 50, 50, 0.2);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .button-setup-start::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(139, 0, 0, 0.4) 0%, transparent 70%);
            pointer-events: none;
        }

        .button-setup-start:active {
            transform: scale(0.98);
            box-shadow:
                0 2px 10px rgba(255, 50, 50, 0.3),
                0 0 20px rgba(255, 50, 50, 0.1);
        }

        .button-setup-other {
            width: 100%;
            background: rgba(255, 255, 255, 0.05);
            color: #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 16px;
            border-radius: 16px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .button-setup-other::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 180px;
            height: 180px;
            background: radial-gradient(circle, rgba(80, 20, 20, 0.3) 0%, transparent 70%);
            pointer-events: none;
        }

        .button-setup-other:active {
            transform: scale(0.98);
            background: rgba(255, 255, 255, 0.08);
        }

        @media (max-width: 480px) {
            .setup-content {
                padding: 30px 16px;
                padding-bottom: calc(30px + env(safe-area-inset-bottom));
            }

            .setup-icon-container {
                width: 160px;
                height: 160px;
                margin-bottom: 30px;
            }

            .setup-circles {
                width: 160px;
                height: 160px;
            }

            .setup-circle:nth-child(1) {
                width: 100px;
                height: 100px;
            }

            .setup-circle:nth-child(2) {
                width: 130px;
                height: 130px;
            }

            .setup-circle:nth-child(3) {
                width: 160px;
                height: 160px;
            }

            .setup-icon {
                width: 80px;
                height: 80px;
                font-size: 38px;
            }

            .setup-info h2 {
                font-size: 24px;
            }

            .setup-info p {
                font-size: 15px;
            }

            .setup-buttons {
                max-width: 100%;
            }

            .button-setup-start,
            .button-setup-other {
                padding: 14px;
                font-size: 15px;
            }
        }

        @media (max-width: 360px) {
            .setup-icon-container {
                width: 140px;
                height: 140px;
            }

            .setup-circles {
                width: 140px;
                height: 140px;
            }

            .setup-circle:nth-child(1) {
                width: 90px;
                height: 90px;
            }

            .setup-circle:nth-child(2) {
                width: 115px;
                height: 115px;
            }

            .setup-circle:nth-child(3) {
                width: 140px;
                height: 140px;
            }

            .setup-icon {
                width: 70px;
                height: 70px;
                font-size: 34px;
            }

            .setup-info h2 {
                font-size: 22px;
            }

            .setup-info p {
                font-size: 14px;
            }
        }

        .profile-page {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            max-width: 100vw;
            height: 100vh;
            height: 100dvh;
            background: linear-gradient(180deg, #000000 0%, #1a0000 50%, #000000 100%);
            z-index: 1000;
            transform: translateX(100%);
            transition: transform 0.3s ease-in-out;
            overflow-y: auto;
            overflow-x: hidden;
            display: flex;
            flex-direction: column;
            -webkit-overflow-scrolling: touch;
            box-sizing: border-box;
        }

        .profile-page::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(ellipse at center, rgba(255, 0, 0, 0.15) 0%, transparent 60%);
            pointer-events: none;
            z-index: 0;
        }

        .profile-page.active {
            transform: translateX(0);
        }

        .profile-header {
            display: flex;
            align-items: center;
            padding: 15px 20px;
            gap: 15px;
            position: sticky;
            top: 0;
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            z-index: 10;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            flex-shrink: 0;
            width: 100%;
            max-width: 100vw;
            box-sizing: border-box;
        }

        .profile-header h1 {
            font-size: 22px;
            font-weight: 700;
            background: linear-gradient(90deg, #ffffff 0%, #ff3232 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .profile-content {
            flex: 1;
            padding: 20px;
            padding-bottom: calc(20px + env(safe-area-inset-bottom));
            position: relative;
            z-index: 1;
        }

        .profile-user-card {
            background: linear-gradient(135deg, rgba(30, 30, 30, 0.85) 0%, rgba(20, 20, 20, 0.90) 100%);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 20px;
            margin-bottom: 25px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 4px 20px rgba(255, 50, 50, 0.15);
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .profile-avatar {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background: linear-gradient(135deg, #ff3232 0%, #ff5555 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            color: #fff;
            flex-shrink: 0;
            box-shadow: 0 0 20px rgba(255, 50, 50, 0.4);
        }

        .profile-user-info {
            flex: 1;
            min-width: 0;
        }

        .profile-user-info h2 {
            font-size: 20px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 5px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .profile-user-info p {
            font-size: 14px;
            color: #888;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            transition: color 0.3s ease;
        }

        .profile-user-info p:hover {
            color: #ff3232;
        }

        .profile-section {
            margin-bottom: 25px;
        }

        .profile-section h3 {
            font-size: 18px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 12px;
        }

        .profile-info-card {
            background: linear-gradient(135deg, rgba(30, 30, 30, 0.85) 0%, rgba(20, 20, 20, 0.90) 100%);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 18px;
            padding: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 4px 20px rgba(255, 50, 50, 0.1);
        }

        .profile-info-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .profile-info-row:last-child {
            border-bottom: none;
        }

        .profile-info-row.clickable {
            cursor: pointer;
            transition: background 0.3s ease;
            margin: 0 -15px;
            padding: 12px 15px;
            border-radius: 12px;
        }

        .profile-info-row.clickable:active {
            background: rgba(255, 255, 255, 0.05);
        }

        .profile-label {
            font-size: 15px;
            color: #888;
            flex: 1;
        }

        .profile-value {
            font-size: 15px;
            font-weight: 600;
            color: #fff;
        }

        .profile-icon {
            font-size: 18px;
            color: #ff3232;
            margin-right: 12px;
        }

        .profile-arrow {
            font-size: 14px;
            color: #666;
            margin-left: 10px;
        }

        .button-profile-keys {
            width: 100%;
            background: linear-gradient(135deg, rgba(30, 30, 30, 0.85) 0%, rgba(20, 20, 20, 0.90) 100%);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            color: #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 16px;
            border-radius: 16px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
        }

        .button-profile-keys .icon {
            color: #ff3232;
        }

        .button-profile-keys span {
            flex: 1;
            text-align: center;
        }

        .button-profile-keys:active {
            transform: scale(0.98);
            background: linear-gradient(135deg, rgba(40, 40, 40, 0.85) 0%, rgba(30, 30, 30, 0.90) 100%);
        }

        .vpn-key-display {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            cursor: pointer;
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        .vpn-key-display:active {
            background: rgba(255, 255, 255, 0.05);
        }

        .profile-vpn-key {
            flex: 1;
            font-size: 14px;
            color: #fff;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .referral-page {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            max-width: 100vw;
            height: 100vh;
            height: 100dvh;
            background: linear-gradient(180deg, #000000 0%, #1a0000 50%, #000000 100%);
            z-index: 1100;
            transform: translateX(100%);
            transition: transform 0.3s ease-in-out;
            overflow-y: auto;
            overflow-x: hidden;
            display: flex;
            flex-direction: column;
            -webkit-overflow-scrolling: touch;
            box-sizing: border-box;
        }

        .referral-page::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(ellipse at center, rgba(255, 0, 0, 0.15) 0%, transparent 60%);
            pointer-events: none;
            z-index: 0;
        }

        .referral-page.active {
            transform: translateX(0);
        }

        .referral-header {
            display: flex;
            align-items: center;
            padding: 15px 20px;
            gap: 15px;
            position: sticky;
            top: 0;
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            z-index: 10;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            flex-shrink: 0;
            width: 100%;
            max-width: 100vw;
            box-sizing: border-box;
        }

        .referral-header h1 {
            font-size: 22px;
            font-weight: 700;
            background: linear-gradient(90deg, #ffffff 0%, #ff3232 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .referral-content {
            flex: 1;
            padding: 20px;
            padding-bottom: calc(20px + env(safe-area-inset-bottom));
            position: relative;
            z-index: 1;
        }

        .referral-info-block {
            background: linear-gradient(135deg, rgba(255, 50, 50, 0.15) 0%, rgba(255, 100, 100, 0.1) 100%);
            border: 1px solid rgba(255, 50, 50, 0.3);
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 20px;
        }

        .referral-info-block h3 {
            font-size: 18px;
            margin-bottom: 8px;
            color: #fff;
        }

        .referral-info-block p {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
            margin: 0;
        }

        .referral-link-section {
            background: linear-gradient(135deg, rgba(30, 30, 30, 0.85) 0%, rgba(20, 20, 20, 0.90) 100%);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .referral-link-section label {
            display: block;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 10px;
        }

        .referral-link-input-group {
            display: flex;
            gap: 10px;
            margin-bottom: 12px;
        }

        .referral-link-input {
            flex: 1;
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            padding: 12px 15px;
            color: #fff;
            font-size: 14px;
            font-family: 'Courier New', monospace;
        }

        .copy-link-button {
            background: linear-gradient(135deg, #ff3232 0%, #ff5555 100%);
            border: none;
            border-radius: 10px;
            padding: 12px 20px;
            color: #fff;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(255, 50, 50, 0.3);
        }

        .copy-link-button:active {
            transform: scale(0.95);
        }

        .referral-code-display {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.6);
        }

        .referral-code-display span {
            color: #ff3232;
            font-weight: 700;
            font-family: 'Courier New', monospace;
        }

        .referral-stats-grid {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-bottom: 20px;
        }

        .referral-stat-card {
            background: linear-gradient(135deg, rgba(30, 30, 30, 0.85) 0%, rgba(20, 20, 20, 0.90) 100%);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .referral-stat-card.total-earnings {
            background: linear-gradient(135deg, rgba(255, 50, 50, 0.2) 0%, rgba(255, 100, 100, 0.15) 100%);
            border: 1px solid rgba(255, 50, 50, 0.4);
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .stat-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #ff3232 0%, #ff5555 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            box-shadow: 0 4px 15px rgba(255, 50, 50, 0.4);
        }

        .stat-content {
            flex: 1;
        }

        .stat-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .stat-header h4 {
            font-size: 16px;
            color: #fff;
            margin: 0;
        }

        .commission-badge {
            background: linear-gradient(135deg, #00d084 0%, #00ff9d 100%);
            color: #000;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 700;
        }

        .stat-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
        }

        .stat-label {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.6);
        }

        .stat-value {
            font-size: 16px;
            font-weight: 700;
            color: #fff;
        }

        .stat-description {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.5);
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .referral-how-it-works {
            background: linear-gradient(135deg, rgba(30, 30, 30, 0.85) 0%, rgba(20, 20, 20, 0.90) 100%);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .referral-how-it-works h3 {
            font-size: 18px;
            margin-bottom: 20px;
            color: #fff;
        }

        .how-it-works-steps {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .step {
            display: flex;
            gap: 15px;
            align-items: flex-start;
        }

        .step-number {
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, #ff3232 0%, #ff5555 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: 700;
            flex-shrink: 0;
            box-shadow: 0 4px 15px rgba(255, 50, 50, 0.4);
        }

        .step-content h4 {
            font-size: 15px;
            margin-bottom: 5px;
            color: #fff;
        }

        .step-content p {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.6);
            margin: 0;
        }

        .key-card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 13px;
            color: #888;
        }

        .key-card-footer i {
            margin-right: 6px;
            color: #ff3232;
        }

.payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
}

.payment-modal.active {
    display: flex;
    align-items: flex-end;
}

.payment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.payment-content {
    position: relative;
    background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
    border-radius: 20px 20px 0 0;
    padding: 24px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.payment-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.payment-method {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    background: rgba(255, 255, 255, 0.08);
}

.payment-method.selected {
    border-color: #ff3232;
    background: rgba(255, 50, 50, 0.1);
}

.payment-method-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.payment-method-icon .fa-star {
    color: #FFD700;
}

.payment-method-info {
    flex: 1;
}

.payment-method-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.payment-method-info p {
    font-size: 14px;
    color: #888888;
}

.payment-method-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.payment-method-description {
    font-size: 14px;
    color: #888888;
}

.payment-method-check {
    font-size: 24px;
    color: #ff3232;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-method.selected .payment-method-check {
    opacity: 1;
}

.button-payment-continue {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ff3232 0%, #cc0000 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-payment-continue:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 50, 50, 0.3);
}

.button-payment-continue:active {
    transform: scale(0.98);
}

.no-payment-methods {
    display: none;
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.no-payment-methods p {
    font-size: 16px;
    margin: 0;
}



.button-withdrawal-mini {
    margin-top: 8px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.button-withdrawal-mini:hover:not(.inactive) {
    background: rgba(16, 185, 129, 0.25);
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-1px);
}

.button-withdrawal-mini:active:not(.inactive) {
    transform: translateY(0);
}

.button-withdrawal-mini.inactive {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.withdrawal-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
}

.withdrawal-modal.active {
    display: block;
}

.withdrawal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
}

.withdrawal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.98) 0%, rgba(20, 20, 20, 0.98) 100%);
    border: 1px solid rgba(255, 50, 50, 0.2);
    border-radius: 24px;
    padding: 0;
    width: 92%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
    animation: modalSlideUp 0.2s ease-out;
    will-change: transform, opacity;
    -webkit-transform: translate3d(-50%, -50%, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-overflow-scrolling: touch;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 480px) {
    @keyframes modalSlideUp {
        from {
            opacity: 0;
            transform: translateX(-50%) translateY(100%);
        }
        to {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
    }
}

.withdrawal-header {
    position: relative;
    padding: 32px 24px 24px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.withdrawal-header .close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 20px;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
}

.withdrawal-header .close-button:active {
    transform: scale(0.95);
    background: rgba(255, 50, 50, 0.2);
    border-color: rgba(255, 50, 50, 0.3);
}

.withdrawal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #ff3232 0%, #ff5555 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 50, 50, 0.4);
}

.withdrawal-icon i {
    font-size: 28px;
    color: white;
}

.withdrawal-header h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.withdrawal-subtitle {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.withdrawal-form {
    padding: 24px;
}

.withdrawal-balance-card {
    background: linear-gradient(135deg, rgba(255, 50, 50, 0.15) 0%, rgba(255, 100, 100, 0.1) 100%);
    border: 1px solid rgba(255, 50, 50, 0.25);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 24px;
}

.balance-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.balance-amount {
    font-size: 32px;
    font-weight: 700;
    color: white;
}

.currency {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 4px;
}

.withdrawal-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.method-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    will-change: transform;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.method-card:active {
    transform: scale(0.98) translate3d(0, 0, 0);
}

.method-card.selected {
    background: rgba(255, 50, 50, 0.1);
    border-color: rgba(255, 50, 50, 0.4);
}

.method-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(255, 50, 50, 0.2) 0%, rgba(255, 100, 100, 0.15) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-card.selected .method-icon {
    background: linear-gradient(135deg, #ff3232 0%, #ff5555 100%);
}

.method-icon i {
    font-size: 22px;
    color: white;
}

.method-icon .usdt-logo {
    width: 26px;
    height: 26px;
}

.method-info {
    flex: 1;
}

.method-name {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.method-min {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.method-check {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s ease;
}

.method-card.selected .method-check {
    opacity: 1;
}

.method-check i {
    font-size: 24px;
    color: #ff3232;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.input-wrapper {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 15px;
    transition: border-color 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.input-wrapper input {
    padding-right: 40px;
}

.input-currency {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.form-group input:focus {
    outline: none;
    border-color: #ff3232;
    background: rgba(255, 255, 255, 0.08);
}

.form-hint {
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.button-withdrawal-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ff3232 0%, #ff5555 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.1s ease;
    box-shadow: 0 4px 15px rgba(255, 50, 50, 0.3);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    -webkit-tap-highlight-color: transparent;
    will-change: transform;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.button-withdrawal-submit:active {
    transform: scale(0.98) translate3d(0, 0, 0);
}

.button-withdrawal-submit i {
    font-size: 18px;
}

.withdrawal-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.withdrawal-info i {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 480px) {
    .withdrawal-content {
        width: 100%;
        max-width: 100%;
        max-height: 88vh;
        border-radius: 20px 20px 0 0;
        bottom: 0;
        top: auto;
        transform: translateX(-50%);
        left: 50%;
    }

    .withdrawal-header {
        padding: 20px 20px 16px 20px;
    }

    .withdrawal-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }

    .withdrawal-icon i {
        font-size: 24px;
    }

    .withdrawal-header h2 {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .withdrawal-subtitle {
        font-size: 13px;
        line-height: 1.4;
    }

    .withdrawal-form {
        padding: 20px;
    }

    .withdrawal-balance-card {
        padding: 16px;
        margin-bottom: 16px;
    }

    .balance-label {
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 4px;
    }

    .balance-amount {
        font-size: 28px;
        margin-top: 4px;
    }

    .withdrawal-methods {
        gap: 12px;
        margin-bottom: 16px;
    }

    .method-card {
        padding: 14px 16px;
        gap: 12px;
        min-height: 64px;
    }

    .method-icon {
        width: 42px;
        height: 42px;
    }

    .method-icon i {
        font-size: 20px;
    }

    .method-icon .usdt-logo {
        width: 22px;
        height: 22px;
    }

    .method-name {
        font-size: 15px;
        margin-bottom: 2px;
    }

    .method-min {
        font-size: 12px;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
        font-weight: 600;
    }

    .form-group input {
        padding: 12px 14px;
        font-size: 15px;
        border-radius: 10px;
    }

    .input-wrapper input {
        padding-right: 42px;
    }

    .form-hint {
        font-size: 12px;
        margin-top: 4px;
    }

    .button-withdrawal-submit {
        padding: 14px;
        font-size: 15px;
        margin-bottom: 12px;
        min-height: 48px;
    }

    .button-withdrawal-submit i {
        font-size: 18px;
    }

    .withdrawal-info {
        font-size: 11px;
        padding: 10px 12px;
    }

    .withdrawal-header .close-button {
        width: 30px;
        height: 30px;
        font-size: 16px;
        top: 16px;
        right: 16px;
    }
}


input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.modal-container {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.98) 0%, rgba(20, 20, 20, 0.98) 100%);
    border: 1px solid rgba(255, 50, 50, 0.2);
    border-radius: 20px;
    width: 100%;
    max-width: 340px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    animation: modalSlideIn 0.2s ease-out;
    position: relative;
    will-change: transform, opacity;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    padding: 28px 20px 16px 20px;
    text-align: center;
}

.modal-icon-circle {
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #ff3232 0%, #ff5555 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 50, 50, 0.4);
}

.modal-icon-circle i {
    font-size: 36px;
    color: white;
}

.modal-body {
    padding: 0 20px 20px 20px;
    text-align: center;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0 0 10px 0;
}

.modal-message {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
    white-space: pre-line;
}

.modal-footer {
    padding: 0 20px 20px 20px;
}

.modal-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff3232 0%, #ff5555 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 6px 18px rgba(255, 50, 50, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    -webkit-tap-highlight-color: transparent;
}

.modal-btn:active {
    transform: scale(0.98);
    box-shadow: 0 4px 12px rgba(255, 50, 50, 0.3);
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 16px;
        align-items: center;
    }

    .modal-container {
        max-width: 100%;
        width: 100%;
        border-radius: 20px;
    }

    .modal-header {
        padding: 28px 20px 16px 20px;
    }

    .modal-icon-circle {
        width: 68px;
        height: 68px;
        margin-bottom: 14px;
    }

    .modal-icon-circle i {
        font-size: 34px;
    }

    .modal-body {
        padding: 0 20px 20px 20px;
    }

    .modal-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .modal-message {
        font-size: 15px;
        line-height: 1.6;
    }

    .modal-footer {
        padding: 0 20px 20px 20px;
    }

    .modal-btn {
        padding: 14px;
        font-size: 15px;
        min-height: 50px;
    }
}

.device-selector-content {
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.device-selector-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
    color: #ffffff;
}

.device-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.device-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.device-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 50, 50, 0.5);
    transform: translateY(-2px);
}

.device-card:active {
    transform: scale(0.98);
}

.device-card i {
    font-size: 48px;
    color: #ff3232;
}

.device-card span {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.setup-guide-content {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeIn 0.3s ease;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guide-step {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    padding-left: 60px;
}

.step-number {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ff3232 0%, #ff5555 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 50, 50, 0.4);
}

.guide-step h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #ffffff;
}

.guide-step p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 12px 0;
}

.guide-step p:last-child {
    margin-bottom: 0;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff3232 0%, #ff5555 100%);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
    margin-right: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 50, 50, 0.3);
}

.download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 50, 50, 0.4);
}

.download-link:active {
    transform: scale(0.98);
}

.download-link i {
    font-size: 16px;
}

.guide-note {
    background: rgba(255, 50, 50, 0.1);
    border-left: 3px solid #ff3232;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 12px;
}

.guide-note i {
    color: #ff3232;
    margin-right: 8px;
}

.guide-success {
    background: rgba(76, 175, 80, 0.1);
    border-left: 3px solid #4CAF50;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 12px;
}

.guide-success i {
    color: #4CAF50;
    margin-right: 8px;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .device-selector-content {
        padding: 16px;
    }

    .device-grid {
        gap: 12px;
    }

    .device-card {
        padding: 20px 12px;
    }

    .device-card i {
        font-size: 40px;
    }

    .device-card span {
        font-size: 14px;
    }

    .setup-guide-content {
        padding: 16px;
    }

    .guide-step {
        padding: 16px;
        padding-left: 52px;
    }

    .step-number {
        left: 16px;
        top: 16px;
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .guide-step h3 {
        font-size: 16px;
    }

    .guide-step p {
        font-size: 14px;
    }
}


.referral-promo-section {
    margin-bottom: 20px;
}

.button-referral-promo {
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 50, 50, 0.15) 0%, rgba(255, 100, 100, 0.1) 100%);
    border: 1px solid rgba(255, 50, 50, 0.3);
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.button-referral-promo:active {
    transform: scale(0.98);
    background: linear-gradient(135deg, rgba(255, 50, 50, 0.2) 0%, rgba(255, 100, 100, 0.15) 100%);
}

.promo-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.promo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #ff3232 0%, #ff5555 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 50, 50, 0.4);
}

.promo-icon i {
    font-size: 20px;
    color: white;
}

.promo-text {
    flex: 1;
}

.promo-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.promo-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.3;
}

.promo-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .button-referral-promo {
        padding: 14px;
    }
    
    .promo-icon {
        width: 40px;
        height: 40px;
    }
    
    .promo-icon i {
        font-size: 18px;
    }
    
    .promo-title {
        font-size: 15px;
    }
    
    .promo-subtitle {
        font-size: 12px;
    }
}
/* User Agreement Styles */
.agreement-content {
    max-height: 70vh;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 10px;
    padding-bottom: 30px;
    text-align: left;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.agreement-content::-webkit-scrollbar {
    width: 4px;
}

.agreement-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.agreement-section {
    margin-bottom: 24px;
}

.agreement-section h3 {
    font-size: 16px;
    color: #00d084;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.agreement-section p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.agreement-section b {
    color: #fff;
    font-weight: 600;
}

        .guide-key-box {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 12px;
            padding: 12px 15px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin-top: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .guide-key-box:active {
            background: rgba(255, 255, 255, 0.12);
            transform: scale(0.98);
        }

        .guide-key-text {
            font-family: monospace;
            font-size: 13px;
            color: #ccc;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            flex: 1;
        }

        .guide-key-box i {
            color: #fff;
            font-size: 14px;
        }
