/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');

:root {
    --bg-color: #050505;
    --text-color: #e0e0e0;
    --accent-color: #d4af37;
    /* Gold Elegant */
    --accent-hover: #f1c40f;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(16px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    /* Animated Gradient Background */
    background: linear-gradient(135deg, #2980b9, #c0392b);
    background-size: 300% 300%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes gradientBG {
    0% {
        background-position: 50% 0%;
    }

    50% {
        background-position: 50% 100%;
    }

    100% {
        background-position: 50% 0%;
    }
}

/* Background Logo */
body::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    max-width: 600px;
    max-height: 600px;
    background: url('logo.png') no-repeat center;
    background-size: contain;
    opacity: 0.5;
    /* 50% Transparency as requested */
    z-index: -1;
    animation: floatLogo 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -55%) scale(1.05);
        opacity: 0.6;
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 480px;
    /* Mobile focused */
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    gap: 1.5rem;
    position: relative;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 1rem;
}

.profile-img {
    width: 120px;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
    letter-spacing: 0.5px;
}

.profile-bio {
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.4;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.site-footer {
    padding: 2rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: #fff;
    opacity: 0.7;
    margin-top: auto;
}

/* Links List */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center text */
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    /* Safari */
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: var(--accent-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.link-card i {
    position: absolute;
    left: 1.5rem;
    font-size: 1.2rem;
    color: var(--accent-color);
}

/* Admin Styles */
.admin-login-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2rem;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    margin: auto;
    backdrop-filter: var(--glass-blur);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #bbb;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    transition: border 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
}

.btn {
    width: 100%;
    padding: 0.8rem;
    background: var(--accent-color);
    color: #000;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--card-border);
}

.logout-link {
    color: #ff4757;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Responsive utilities */
@media (min-width: 768px) {
    .container {
        max-width: 600px;
    }
}