:root {
    --bg-color: #0f0f13;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-hover: rgba(255, 255, 255, 0.1);
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --accent-color: #6366f1;
    /* Indigo */
    --accent-glow: rgba(99, 102, 241, 0.5);
    --danger-color: #ef4444;
    --twitch-color: #9146ff;
    --tiktok-color: #ff0050;
    --youtube-color: #ff0000;
    --kick-color: #53fc18;
    --kick-text: #000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

/* Animated Background */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 10%, #1a1b26 0%, var(--bg-color) 100%);
    z-index: -1;
}

.background-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Profile Section */
.profile {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

.profile-img-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, var(--accent-color), #ec4899);
    box-shadow: 0 0 20px var(--accent-glow);
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-color);
}

.profile h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.profile .bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Content Width */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Separator */
.separator {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    margin: 1.5rem 0 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
}

/* Link Cards */
.link-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.link-card:hover {
    background: var(--card-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.link-card .icon-container {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.link-card .icon-fallback {
    font-size: 1.4rem;
    color: var(--text-color);
}

.link-card .link-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.link-card .content {
    flex-grow: 1;
    font-weight: 600;
    display: flex;
    flex-direction: column;
}

.link-card .subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 2px;
}

.link-card .arrow {
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.link-card:hover .arrow {
    opacity: 1;
    transform: translateX(-5px);
}

/* Specific Card Styles */
.main-site {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
    border-color: rgba(99, 102, 241, 0.4);
}

.project {
    border-left: 3px solid var(--accent-color);
}

.adult-content .content {
    color: #ffcccc;
}

.tag-18 {
    background-color: var(--danger-color);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    vertical-align: middle;
}

/* Link Group (for sub-links) */
.link-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sub-link {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-right: 0.5rem;
    transition: color 0.2s;
}

.sub-link:hover {
    color: var(--text-color);
}

/* Featured Card (Book) */
.featured-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    margin: 0.5rem 0;
    position: relative;
    overflow: hidden;
    animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 0 10px rgba(99, 102, 241, 0.1);
    }

    to {
        box-shadow: 0 0 25px rgba(99, 102, 241, 0.3);
    }
}

.featured-header {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.featured-card h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.featured-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.button-group {
    display: flex;
    gap: 0.8rem;
    flex-direction: column;
}

@media(min-width: 480px) {
    .button-group {
        flex-direction: row;
    }
}

.btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s, filter 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn:active {
    transform: scale(0.98);
}

.btn.primary {
    background-color: #fbce05;
    /* Amazon-ish or Gold color for book */
    color: #000;
}

.btn.primary:hover {
    filter: brightness(1.1);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Social Grid */
.social-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    width: 100%;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.social-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    box-shadow: 0 0 15px rgba(214, 36, 159, 0.5);
    border: none;
}

.social-btn.twitch:hover {
    background-color: var(--twitch-color);
    box-shadow: 0 0 15px var(--twitch-color);
}

.social-btn.kick:hover {
    background-color: var(--kick-color);
    color: var(--kick-text);
    box-shadow: 0 0 15px var(--kick-color);
    font-weight: 800;
}

.social-btn.tiktok:hover {
    background-color: var(--tiktok-color);
    box-shadow: 0 0 15px var(--tiktok-color);
}

.social-btn.youtube:hover {
    background-color: var(--youtube-color);
    box-shadow: 0 0 15px var(--youtube-color);
}

/* Footer */
footer {
    margin-top: 2rem;
    color: #555;
    font-size: 0.8rem;
    text-align: center;
}

/* Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Welcome Message */
.welcome-msg {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    animation: pulseText 2s infinite ease-in-out;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

@keyframes pulseText {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
        text-shadow: 0 0 10px var(--accent-color);
    }
}

/* Live Banner */
.live-banner {
    width: 100%;
    background: linear-gradient(90deg, #ff0000, #b30000);
    color: white;
    padding: 0.8rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.live-banner:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.6);
}

.live-indicator {
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    animation: pulseRed 1.5s infinite;
}

.live-text {
    font-weight: 500;
    font-size: 0.9rem;
}

@keyframes pulseRed {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes bounceIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}