:root {
    --deep-blue: #0a192f;
    --glossy-blue: rgba(16, 42, 72, 0.7);
    --accent-blue: #00d2ff;
    --text-white: #e6f1ff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }

body {
    background: var(--deep-blue);
    color: var(--text-white);
    overflow-x: hidden;
    transition: 0.5s ease;
}

/* Loading Animation */
#loader {
    position: fixed;
    height: 100vh; width: 100%;
    background: #020c1b;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px; height: 50px;
    border: 5px solid var(--glossy-blue);
    border-top: 5px solid var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* Background Moving Circles */
.bg-animation {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1; overflow: hidden;
}

.circle {
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(0,210,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: move 15s infinite alternate;
}

@keyframes move {
    from { transform: translate(-10%, -10%); }
    to { transform: translate(100%, 100%); }
}

/* Main UI */
.container { max-width: 480px; margin: auto; padding: 20px; text-align: center; }

.banner {
    height: 180px; background: linear-gradient(45deg, #112240, #00d2ff);
    border-radius: 20px; position: relative; margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.profile-img img {
    width: 110px; height: 110px;
    border-radius: 50%; border: 4px solid var(--deep-blue);
    position: absolute; bottom: -50px; left: 50%;
    transform: translateX(-50%);
}

.link-card {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 25px; margin-bottom: 15px;
    border-radius: 15px; text-decoration: none; color: white;
    background: var(--glossy-blue);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.4);
    background: rgba(16, 42, 72, 0.9);
}

.special-link { background: linear-gradient(90deg, #00d2ff, #3a7bd5); font-weight: bold; }

/* Gallery */
.gallery-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px;
}

.photo-item img {
    width: 100%; border-radius: 10px; cursor: pointer;
    transition: 0.3s; opacity: 0.8;
}

.photo-item img:hover { opacity: 1; transform: scale(1.05); }

/* Theme Styles */
.theme-light { background: #f0f2f5; color: #333; }
.theme-light .link-card { background: white; color: #333; border: 1px solid #ddd; }
