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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 25%, #45b7d1 50%, #f9ca24 75%, #f0932b 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.flag-emoji {
    position: absolute;
    font-size: 5em;
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
    user-select: none;
    display: inline-block;
    line-height: 1;
}

.flag-emoji:nth-child(1) {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.flag-emoji:nth-child(2) {
    bottom: 20%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-15px) rotate(3deg) scale(1.05);
    }
    50% {
        transform: translateY(-25px) rotate(-2deg) scale(1.1);
    }
    75% {
        transform: translateY(-15px) rotate(2deg) scale(1.05);
    }
}

.container {
    max-width: 600px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    padding: 40px 30px;
    position: relative;
    z-index: 1;
}

.profile-section {
    text-align: center;
    margin-bottom: 40px;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    font-weight: 700;
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.profile-section h1 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.bio {
    color: #666;
    font-size: 1em;
}

.links-section {
    margin-bottom: 30px;
}

.link-button {
    display: flex;
    width: 100%;
    padding: 18px 20px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
}

.link-button:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.donation-button:hover {
    background: linear-gradient(135deg, #0070ba 0%, #009cde 100%);
}

.crypto-button:hover {
    background: linear-gradient(135deg, #f7931a 0%, #ff9800 100%);
}

.link-button i {
    margin-right: 8px;
}

.link-title {
    font-size: 1.1em;
    display: flex;
    align-items: center;
}

.link-icon {
    font-size: 1.2em;
    opacity: 0.7;
}

.contact-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.contact-link {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #667eea;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #764ba2;
}

.contact-link span {
    display: block;
}

.email-text {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
    font-weight: 400;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    text-decoration: none;
    font-size: 1.4em;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    position: relative;
    flex-shrink: 0;
}

.social-icon i {
    display: inline-block;
    line-height: 1;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.social-icon:nth-child(1):hover {
    background: linear-gradient(135deg, #E4405F 0%, #C13584 100%);
    box-shadow: 0 5px 15px rgba(228, 64, 95, 0.4);
}

.social-icon:nth-child(2):hover {
    background: linear-gradient(135deg, #000000 0%, #1DA1F2 100%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.social-icon:nth-child(3):hover {
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
}

.page-home {
    display: block;
    background: #070814;
    color: #f6f1ff;
    padding: 28px 16px 80px;
}
.page-home[data-theme="day"],
html[data-theme="day"] .page-home {
    background: #f7f3ff;
    color: #1b1430;
}
.aurora {
    position: fixed;
    inset: -20%;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 92, 168, .55), transparent 32%),
        radial-gradient(circle at 80% 10%, rgba(90, 200, 255, .45), transparent 28%),
        radial-gradient(circle at 70% 80%, rgba(255, 196, 70, .35), transparent 30%);
    filter: blur(8px);
    animation: gradientShift 18s ease infinite;
    z-index: 0;
}
.stage {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 0 auto;
    padding: 22px;
    border-radius: 28px;
    background: rgba(12, 10, 24, .62);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    backdrop-filter: blur(16px);
}
html[data-theme="day"] .stage {
    background: rgba(255,255,255,.78);
}
.topbar, .hero, .contact { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ghost, .door {
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.06);
    color: inherit;
    text-decoration: none;
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    font: inherit;
}
.hero { flex-direction: column; text-align: center; margin: 18px 0; }
.orb {
    width: 88px; height: 88px; border-radius: 50%;
    display: grid; place-items: center;
    font-size: 2rem; font-weight: 700;
    background: linear-gradient(140deg, #ff7ad9, #7af0ff 55%, #ffe08a);
    color: #1a1028;
    box-shadow: 0 0 40px rgba(255,122,217,.45);
}
.hero h1 { font-size: 2.6rem; letter-spacing: -0.04em; margin: 8px 0 0; }
.tag { opacity: .8; margin: 0; }
.finder { width: 100%; margin-top: 14px; }
.finder input {
    width: 100%; border-radius: 14px; border: 1px solid rgba(255,255,255,.2);
    background: rgba(0,0,0,.25); color: inherit; padding: 12px 14px; font: inherit;
}
.links { display: grid; gap: 10px; }
.door {
    display: flex; justify-content: space-between; border-radius: 16px; padding: 14px 16px;
}
.door.register { background: linear-gradient(90deg, #ff7ad9, #7c5cff); color: white; border: 0; }
.door[hidden] { display: none; }
.ad-slot { margin: 18px 0; }
.ad-label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; opacity: .6; margin: 0 0 8px; }
.ad-slot iframe {
    width: 100%; height: 220px; border: 0; border-radius: 16px;
    background: #111; box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.contact { margin-top: 8px; }
.contact a { color: inherit; }
.page-home .social-icons { position: relative; z-index: 1; margin-top: 16px; }
.site-foot {
    position: relative; z-index: 1; text-align: center; margin-top: 22px; opacity: .85;
}
.site-foot a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hello { margin: 0; font-weight: 600; }

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 30px 20px;
    }
    
    .profile-section h1 {
        font-size: 1.8em;
    }
    
    .avatar-placeholder {
        width: 80px;
        height: 80px;
        font-size: 2em;
    }
    
    .flag-emoji {
        font-size: 3.5em;
        opacity: 0.3;
    }
    
    .flag-emoji:nth-child(1) {
        top: 10%;
        left: 5%;
    }
    
    .flag-emoji:nth-child(2) {
        bottom: 15%;
        right: 5%;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2em;
    }
}
