:root {
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --tg-blue: #2AABEE;
    --tg-dark: #229ED9;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

::selection {
    background: rgba(42, 171, 238, 0.3);
    color: white;
}

/* Background Blobs for Glassmorphism */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: float 10s ease-in-out infinite;
    opacity: 0.7;
}

.blob-1 {
    width: 350px;
    height: 350px;
    background: rgba(42, 171, 238, 0.3);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: rgba(139, 92, 246, 0.2);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.icon-pulse-container {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 24px;
    border-radius: 50%;
}

.icon-pulse-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(42, 171, 238, 0.6);
    animation: pulse 2s infinite;
    z-index: 0;
}

.icon-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--tg-blue), var(--tg-dark));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 44px;
    color: white;
    z-index: 1;
    box-shadow: 0 10px 25px rgba(42, 171, 238, 0.4);
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(42, 171, 238, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 25px rgba(42, 171, 238, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(42, 171, 238, 0); }
}

h1 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(to right, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.proxy-info {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 20px 24px;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(255,255,255,0.05);
}

.info-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.info-item .label {
    color: var(--text-muted);
    font-weight: 500;
}

.info-item .value {
    color: var(--text-main);
    font-weight: 700;
    font-family: 'Courier New', Courier, monospace;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.info-item .badge {
    background: rgba(42, 171, 238, 0.15);
    color: var(--tg-blue);
    padding: 4px 10px;
    border-radius: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 13px;
    font-weight: 800;
}

.btn-connect {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--tg-blue), var(--tg-dark));
    color: white;
    text-decoration: none;
    padding: 18px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 800;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(42, 171, 238, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-connect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: all 0.5s ease;
}

.btn-connect:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(42, 171, 238, 0.45);
}

.btn-connect:hover::before {
    left: 100%;
}

.developer-section {
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 24px;
}

.developer-section p {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
}

.developer-section strong {
    color: white;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
}

.social-icon.fb:hover { background: #1877F2; border-color: #1877F2; box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4); }
.social-icon.ig:hover { background: #E4405F; border-color: #E4405F; box-shadow: 0 8px 20px rgba(228, 64, 95, 0.4); }
.social-icon.tg:hover { background: #2AABEE; border-color: #2AABEE; box-shadow: 0 8px 20px rgba(42, 171, 238, 0.4); }

/* Responsive Adjustments */
@media (max-width: 480px) {
    .glass-card {
        padding: 32px 24px;
    }
    h1 {
        font-size: 26px;
    }
    .btn-connect {
        font-size: 16px;
        padding: 16px 24px;
    }
    .social-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
