:root {
    --bg-color: #0f0f13;
    --text-color: #ffffff;
    --accent-color: #7289da;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-hover: rgba(255, 255, 255, 0.08);
    --glow-default: 0 0 12px rgba(114, 137, 218, 0.15);
    --border-default: rgba(114, 137, 218, 0.2);
    --glow-hover: 0 0 25px rgba(114, 137, 218, 0.5), inset 0 0 10px rgba(114, 137, 218, 0.1);
    --border-hover: #7289da;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f0f13; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-color); }

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
}

body {
    background-color: var(--bg-color); color: var(--text-color);
    min-height: 100vh; display: flex; justify-content: center; align-items: center; overflow-x: hidden;
}

.background-animate {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, #1a1a2e, #000000); z-index: -1;
}

.container {
    width: 100%; max-width: 550px; padding: 3rem 1.5rem; text-align: center;
}

header { margin-bottom: 2rem; }

.profile-container {
    display: flex; justify-content: center; margin-bottom: 1.5rem;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 12px rgba(114, 137, 218, 0.2); }
    50% { box-shadow: 0 0 25px rgba(114, 137, 218, 0.5); }
    100% { box-shadow: 0 0 12px rgba(114, 137, 218, 0.2); }
}

.profile-pic {
    width: 140px; height: 140px; border-radius: 50%; object-fit: cover;
    border: 3px solid var(--border-default);
    animation: pulse-glow 3s infinite ease-in-out;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05); border-color: var(--border-hover); animation: none;
    box-shadow: 0 0 35px rgba(114, 137, 218, 0.7);
}

.profile-name {
    font-size: 2.4rem; font-weight: 700; margin-bottom: 0.3rem; letter-spacing: 1px;
    background: linear-gradient(90deg, #fff, #a0a0a0);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255,255,255,0.1);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}

.verified-badge {
    width: 24px; height: 24px; color: var(--accent-color); fill: currentColor;
    filter: drop-shadow(0 0 8px rgba(114, 137, 218, 0.5)); margin-top: 5px;
}

.tagline {
    color: var(--accent-color); font-size: 0.95rem; text-transform: uppercase;
    letter-spacing: 2px; margin-bottom: 1.5rem;
}

.about-section { margin: 1.5rem auto; max-width: 90%; }
.about-section p { color: #ccc; font-size: 0.95rem; line-height: 1.6; }

.tech-stack {
    display: flex; justify-content: center; gap: 1.5rem; margin-top: 1.5rem;
}
.tech-stack i {
    font-size: 1.5rem; color: #888; transition: all 0.3s ease;
}
.tech-stack i:hover {
    color: var(--accent-color); transform: translateY(-3px); text-shadow: 0 0 10px var(--accent-color);
}

.stats-container {
    display: flex; justify-content: space-between; margin-bottom: 2.5rem;
    background: var(--card-bg); border: 1px solid var(--border-default);
    border-radius: 12px; padding: 1rem; box-shadow: var(--glow-default);
}
.stat-box { flex: 1; text-align: center; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-box:last-child { border-right: none; }
.stat-number { display: block; font-size: 1.2rem; font-weight: bold; color: white; }
.stat-label { font-size: 0.75rem; color: #888; text-transform: uppercase; }

.section-title {
    font-size: 0.8rem; color: #666; text-transform: uppercase;
    margin-bottom: 1rem; letter-spacing: 1.5px; text-align: left; padding-left: 5px;
}

.links-section {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2.5rem;
}

.link-card {
    display: flex; align-items: center; justify-content: center; padding: 1rem;
    background: var(--card-bg); border: 1px solid var(--border-default);
    box-shadow: var(--glow-default); border-radius: 12px; color: white; text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); backdrop-filter: blur(10px);
    position: relative; overflow: hidden;
}

.link-card:hover {
    background: var(--card-hover); transform: translateY(-3px);
    border-color: var(--border-hover); box-shadow: var(--glow-hover);
}
.link-card i {
    font-size: 1.4rem; margin-right: 0.8rem; transition: text-shadow 0.3s ease;
}
.link-card:hover i { text-shadow: 0 0 15px currentColor; }
.link-card span { font-weight: 500; }

.youtube i { color: #ff0000; }
.discord i { color: #5865F2; }
.facebook i { color: #1877F2; }
.instagram i { color: #e1306c; }
.github i { color: #f0f6fc; }

.divider {
    margin: 2rem 0; position: relative; font-size: 0.8rem; color: #555;
    text-transform: uppercase; letter-spacing: 2px;
}
.divider::before, .divider::after {
    content: ''; position: absolute; top: 50%; width: 30%; height: 1px; background: #333;
}
.divider::before { left: 0; } .divider::after { right: 0; }

.projects-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }

.project-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.06));
    padding: 1.2rem; border-radius: 12px; border: 1px solid var(--border-default);
    box-shadow: var(--glow-default); transition: all 0.3s ease; text-decoration: none;
    color: white; display: flex; align-items: center; text-align: left;
}

.project-card:hover {
    background: var(--card-hover); transform: translateX(5px);
    border-color: var(--border-hover); box-shadow: var(--glow-hover);
}

.card-icon {
    display: flex; align-items: center; justify-content: center;
    width: 50px; height: 50px; background: rgba(255, 255, 255, 0.05);
    border-radius: 10px; flex-shrink: 0; transition: all 0.3s ease; border: 1px solid transparent;
}

.project-card:hover .card-icon {
    background: rgba(114, 137, 218, 0.2); box-shadow: 0 0 15px rgba(114, 137, 218, 0.4);
    border-color: rgba(114, 137, 218, 0.3);
}

.card-icon i { font-size: 1.5rem; color: var(--accent-color); }
.card-text { display: flex; flex-direction: column; margin-left: 1rem; width: 100%; }
.card-text h3 { font-size: 1rem; margin-bottom: 0.2rem; font-weight: 600; }
.card-text p { font-size: 0.8rem; color: #aaa; margin: 0; }

.live-stream-section { margin-bottom: 2rem; width: 100%; }
.video-container {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
    border-radius: 12px; border: 1px solid var(--border-default); box-shadow: var(--glow-default);
}
.video-container iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

footer { margin-top: 3rem; font-size: 0.75rem; color: #444; }

@media (max-width: 480px) {
    .container { padding: 2rem 1.5rem; } .links-section { grid-template-columns: 1fr; } .tech-stack { gap: 1.2rem; }
}
.offline-notice {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.offline-notice i {
    color: var(--accent-color);
}

footer { margin-top: 3rem; font-size: 0.75rem; color: #444; }

@media (max-width: 480px) {
    .container { padding: 2rem 1.5rem; } .links-section { grid-template-columns: 1fr; } .tech-stack { gap: 1.2rem; }
}