        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --bg-primary: #0a0a0a;
            --bg-secondary: #151515;
            --bg-card: #1f1f1f;
            --bg-card-solid: #252525;
            --text-primary: #ffffff;
            --text-secondary: #b0b0b0;
            --text-muted: #888888;
            --accent-blue: #0095f6;
            --accent-purple: #8e44ad;
            --accent-pink: #e91e63;
            --accent-orange: #ff6b35;
            --accent-green: #4caf50;
            --border: #2a2a2a;
            --border-light: #333333;
            --shadow: rgba(0, 0, 0, 0.3);
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            -webkit-font-smoothing: antialiased;
            -webkit-tap-highlight-color: transparent;
            line-height: 1.5;
            height: 100vh;
            overflow: hidden;
        }

        .container {
            max-width: 500px;
            margin: 0 auto;
            background: var(--bg-primary);
            height: 100vh;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .page-section {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            backface-visibility: hidden;
            pointer-events: none;
        }

        .page-section.visible {
            pointer-events: auto;
            z-index: 10;
        }

        .page-section.hidden {
            opacity: 0;
            transform: translateX(100%);
        }

        .page-section.exit {
            opacity: 0;
            transform: translateX(-100%);
        }

        .header-section {
            padding: 20px;
            background: var(--bg-secondary);
            border-bottom: 1px solid var(--border);
            flex-shrink: 0;
            z-index: 100;
        }

        .profile-header {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            margin-bottom: 20px;
        }

        .story-ring {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#d62976 50%,#962fbf 75%);
            padding: 3px;
            flex-shrink: 0;
        }

        .profile-avatar {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: var(--bg-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 600;
            color: var(--text-primary);
            border: 3px solid var(--bg-secondary);
        }

        .profile-info {
            flex: 1;
            min-width: 0;
        }

        .profile-username {
            font-size: 20px;
            font-weight: 500;
            margin-bottom: 4px;
            color: var(--text-primary);
            letter-spacing: -0.5px;
        }

        .profile-title {
            font-size: 14px;
            color: var(--text-secondary);
            margin-bottom: 12px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .action-buttons {
            display: flex;
            gap: 8px;
        }

        .btn {
            flex: 1;
            padding: 8px 16px;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            text-align: center;
            white-space: nowrap;
        }

        .btn-primary {
            background: var(--accent-blue);
            color: white;
        }

        .btn-secondary {
            background: var(--bg-card);
            color: var(--text-primary);
            border: 1px solid var(--border);
        }

        .nav-pills {
            display: flex;
            gap: 8px;
            flex-wrap: nowrap;
            overflow-x: auto;
            padding-bottom: 4px;
        }

        .nav-pill {
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            border: 1px solid var(--border);
            background: var(--bg-card);
            color: var(--text-secondary);
            white-space: nowrap;
            flex-shrink: 0;
        }

        .nav-pill.active {
            background: var(--accent-blue);
            color: white;
            border-color: var(--accent-blue);
        }

        .content-wrapper {
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
            -webkit-overflow-scrolling: touch;
            position: relative;
        }

        .content-area {
            padding-bottom: 80px; 
            min-height: 100%;
        }

        .stats-container {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
            padding: 16px 20px;
            background: var(--bg-primary);
            border-radius: 12px;
            margin: 16px;
        }

        .stat-item {
            text-align: center;
            cursor: pointer;
            padding: 12px 4px;
            border-radius: 8px;
            transition: all 0.2s ease;
        }

        .stat-item:hover {
            background: var(--bg-card);
        }

        .stat-value {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-primary);
            display: block;
            margin-bottom: 2px;
        }

        .stat-label {
            font-size: 11px;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .bio-section {
            padding: 20px;
            background: var(--bg-secondary);
            margin: 16px;
            border-radius: 16px;
            border: 1px solid var(--border);
        }

        .bio-text {
            font-size: 14px;
            line-height: 1.6;
            color: var(--text-primary);
            margin-bottom: 12px;
        }

        .bio-links {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .bio-link {
            color: var(--accent-blue);
            text-decoration: none;
            font-size: 12px;
            font-weight: 500;
            padding: 4px 10px;
            border-radius: 14px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            transition: all 0.2s ease;
        }

        .links-section {
            padding: 0 16px 20px;
        }

        .section-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 12px;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .links-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }

        .link-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 16px;
            text-align: center;
            transition: all 0.2s ease;
            cursor: pointer;
        }

        .link-icon-container {
            width: 40px;
            height: 40px;
            margin: 0 auto 8px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: white;
        }

        .linkedin-icon { background: #0077b5; }
        .instagram-icon { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#d62976 50%,#962fbf 75%); }
        .dns-icon { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
        .about-icon { background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%); }

        .link-title {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 2px;
            color: var(--text-primary);
        }

        .link-description {
            font-size: 11px;
            color: var(--text-secondary);
        }

        .services-container {
            padding: 20px 16px 20px;
        }

        .services-header {
            text-align: center;
            margin-bottom: 24px;
            padding: 0 10px;
        }

        .services-title {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 6px;
            background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#d62976 50%,#962fbf 75%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .services-subtitle {
            font-size: 14px;
            color: var(--text-secondary);
        }

        .services-grid {
            display: grid;
            gap: 12px;
        }

        .service-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 14px;
            padding: 18px;
            transition: all 0.2s ease;
            cursor: pointer;
        }

        .service-card:hover {
            background: var(--bg-card-solid);
            border-color: var(--border-light);
            transform: translateY(-2px);
        }

        .service-icon {
            width: 48px;
            height: 48px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: white;
            margin-bottom: 12px;
        }

        .service-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 6px;
            color: var(--text-primary);
        }

        .service-description {
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.5;
            margin-bottom: 12px;
        }

        .service-features {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .feature-tag {
            padding: 3px 8px;
            border-radius: 10px;
            font-size: 11px;
            background: var(--bg-primary);
            border: 1px solid var(--border);
            color: var(--text-secondary);
        }

        .service-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1000;
        }

        .service-modal.active {
            display: flex;
        }

        .modal-content {
            background: var(--bg-secondary);
            border-radius: 16px;
            padding: 24px 20px;
            max-width: 380px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
        }

        .modal-close {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--bg-card);
            border: none;
            color: var(--text-primary);
            font-size: 16px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-title {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 12px;
            padding-right: 30px;
        }

        .modal-description {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .modal-feature-list li {
            padding: 6px 0;
            color: var(--text-secondary);
            position: relative;
            padding-left: 16px;
            font-size: 13px;
        }

        .modal-feature-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--accent-green);
            font-weight: bold;
        }

        .modal-cta {
            width: 100%;
            padding: 10px 20px;
            border: none;
            border-radius: 10px;
            background: var(--accent-blue);
            color: white;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 16px;
        }

        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 500px;
            background: var(--bg-secondary);
            border-top: 1px solid var(--border);
            display: flex;
            justify-content: space-around;
            padding: 10px 0;
            z-index: 99;
            flex-shrink: 0;
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 6px 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            border-radius: 8px;
            color: var(--text-secondary);
            flex: 1;
        }

        .nav-item.active {
            color: var(--accent-blue);
        }

        .nav-icon {
            font-size: 20px;
            margin-bottom: 2px;
        }

        .nav-label {
            font-size: 10px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        @media (max-width: 480px) {
            .container {
                max-width: 100%;
            }
            
            .content-area {
                padding-bottom: 70px;
            }
            
            .profile-header {
                gap: 16px;
            }
            
            .story-ring {
                width: 65px;
                height: 65px;
            }
            
            .profile-username {
                font-size: 18px;
            }
            
            .stats-container {
                padding: 12px 16px;
                margin: 12px;
            }
            
            .stat-value {
                font-size: 16px;
            }
            
            .links-grid {
                gap: 8px;
            }
            
            .link-card {
                padding: 14px;
            }
            
            .services-grid {
                gap: 10px;
            }
            
            .service-card {
                padding: 16px;
            }
        }
        .content-wrapper {
            scroll-behavior: smooth;
            scrollbar-width: thin;
            scrollbar-color: var(--border) var(--bg-primary);
        }

        .content-wrapper::-webkit-scrollbar {
            width: 6px;
        }

        .content-wrapper::-webkit-scrollbar-track {
            background: var(--bg-primary);
        }

        .content-wrapper::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 3px;
        }