@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&display=swap');
@import url('https://fonts.cdnfonts.com/css/nasalization-2');

:root {
    --blue: #0091ff;
    --border: #a3aab8;
    --black: #0c0c0c;
    --white: #ffffff;
    --cyan: #00d5ff;
    --color1: #efcf4a;
    --color2: #d95525;
    --color3: #cc3b2c;
    --color4: #9d2c44;
    --color5: #6f364f;
}

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

body {
    font-family: 'Nasalization', 'Nasalization Rg', 'Orbitron', sans-serif;
    color: var(--white);
    background-color: var(--black);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.stars, .twinkling {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stars {
    background: #000 url("stars.png") repeat top center;
    z-index: -2;
}

.twinkling {
    background: transparent url("blur.png") repeat top center;
    z-index: -1;
    animation: move-twink-back 200s linear infinite;
}

@keyframes move-twink-back {
    from {background-position: 0 0;}
    to {background-position: -10000px 5000px;}
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    z-index: 1;
    position: relative;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    text-align: center;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--blue);
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(0, 145, 255, 0.3);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.bio {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #cccccc;
}

.color-bar {
    width: 340px;
    height: 5px;
    background: linear-gradient(to right,
        var(--color1) 0%,
        var(--color1) 20%,
        var(--color2) 20%,
        var(--color2) 40%,
        var(--color3) 40%,
        var(--color3) 60%,
        var(--color4) 60%,
        var(--color4) 80%,
        var(--color5) 80%,
        var(--color5) 100%
    );
    border-radius: 1px;
    margin-bottom: 25px;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background: var(--blue);
    border-radius: 10px;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    border-left: 5px solid var(--border);
    max-width: 340px;
    width: 100%;
    text-align: center;
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 213, 255, 0.4);
    background: var(--cyan);
}

.link-card i {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px;
    text-align: center;
    filter: drop-shadow(0px 0px 1px rgba(255,255,255,0.8));
}

.link-text {
    font-family: 'Orbitron', sans-serif;
}

footer {
    margin-top: 50px;
    text-align: center;
    font-size: 0.9rem;
    color: #888888;
}

.location {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #aaaaaa;
    padding: 4px 10px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.uk-flag {
    width: 18px;
    height: auto;
    margin-right: 8px;
    border-radius: 2px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.location span {
    vertical-align: middle;
}

@media (max-width: 600px) {
    .profile-img {
        width: 120px;
        height: 120px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .link-card {
        padding: 12px 15px;
    }
}