:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-1: #7b2cbf;
    /* Vivid Purple */
    --accent-2: #3a86ff;
    /* Blue */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-hover: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 20% 20%, rgba(123, 44, 191, 0.15), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(58, 134, 255, 0.15), transparent 40%);
    animation: bgPulse 10s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.overlay-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 100%);
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.profile-glow {
    position: relative;
    width: 120px;
    height: 120px;
}

.profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--glass-border);
    box-shadow: 0 0 30px rgba(123, 44, 191, 0.3);
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
}

.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--bg-color);
    z-index: 2;
}

.status-indicator.offline {
    background-color: #666;
}

.status-indicator.online {
    background-color: #00ff88;
    box-shadow: 0 0 10px #00ff88;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    background: linear-gradient(to right, #fff, #b3b3b3);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* Links Grid */
.links-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.card {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card:hover {
    background: var(--card-hover);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.card i:not(.arrow) {
    font-size: 1.5rem;
    width: 40px;
    display: flex;
    justify-content: center;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.card:hover i:not(.arrow) {
    color: var(--text-primary);
}

/* Specific Brand Colors on Hover */
.card:nth-child(1):hover i:not(.arrow) {
    color: #9146FF;
}

/* Twitch */
.card:nth-child(2):hover i:not(.arrow) {
    color: #FF0000;
}

/* YouTube */
.card:nth-child(3):hover i:not(.arrow) {
    color: #000000;
    filter: drop-shadow(0 0 8px #00f2ea);
}

/* TikTok */
.card:nth-child(4):hover i:not(.arrow) {
    color: #E1306C;
}

/* Instagram */
.card:nth-child(5):hover i:not(.arrow) {
    color: #5865F2;
}

/* Discord */
.card:nth-child(6):hover i:not(.arrow) {
    color: #000000;
    filter: drop-shadow(0 0 6px #ffffff);
}

/* X (Twitter) */
.card:nth-child(7):hover i:not(.arrow) {
    color: #0285FF;
}

/* Bluesky */
.card:nth-child(8):hover i:not(.arrow) {
    color: #43E55E;
}

/* Linktree */
.card:nth-child(9):hover i:not(.arrow) {
    color: #b77dfa;
}

/* Overlays */
.card:nth-child(10):hover i:not(.arrow) {
    color: #3a86ff;
}

/* About */

.card span {
    flex-grow: 1;
    font-weight: 600;
    font-size: 1.1rem;
    margin-left: 0.5rem;
}

.arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.card:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x) var(--y), rgba(255, 255, 255, 0.06), transparent 40%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

.card span,
.card i {
    z-index: 1;
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-1 5s infinite linear alternate-reverse;
    display: none;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-2 5s infinite linear alternate-reverse;
    display: none;
}

.glitch.active::before,
.glitch.active::after {
    display: block;
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(20px, 9999px, 80px, 0);
    }

    20% {
        clip: rect(70px, 9999px, 100px, 0);
    }

    40% {
        clip: rect(40px, 9999px, 85px, 0);
    }

    60% {
        clip: rect(10px, 9999px, 60px, 0);
    }

    80% {
        clip: rect(20px, 9999px, 50px, 0);
    }

    100% {
        clip: rect(60px, 9999px, 90px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(60px, 9999px, 10px, 0);
    }

    20% {
        clip: rect(20px, 9999px, 80px, 0);
    }

    40% {
        clip: rect(80px, 9999px, 30px, 0);
    }

    60% {
        clip: rect(10px, 9999px, 90px, 0);
    }

    80% {
        clip: rect(40px, 9999px, 70px, 0);
    }

    100% {
        clip: rect(30px, 9999px, 80px, 0);
    }
}

/* Footer */
.glass-footer {
    margin-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    .container {
        padding: 1.5rem;
    }

    .card {
        padding: 1rem 1.25rem;
    }
}

/* Page Header */
.page-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
}

.back-button {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: var(--text-primary);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.back-button:hover {
    transform: translateX(-4px);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 0;
}

.page-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Overlays Grid */
.overlays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.overlay-card {
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
}

.overlay-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px -10px rgba(123, 44, 191, 0.3);
}

.overlay-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.overlay-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.overlay-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.card-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: var(--text-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px -5px var(--accent-1);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--card-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000;
    font-weight: 600;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* About Content */
.about-content {
    width: 100%;
}

.about-card {
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.about-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
}

.about-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Schedule */
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    background: var(--card-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.schedule-item .day {
    font-weight: 600;
    font-size: 1.05rem;
}

.schedule-item .time {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.schedule-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Social Links in About */
.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem;
    text-decoration: none;
    color: var(--text-primary);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.social-btn i {
    font-size: 2rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.social-btn:hover i {
    color: var(--text-primary);
}

.social-btn span {
    font-weight: 600;
    font-size: 0.95rem;
}

.social-btn:hover {
    transform: translateY(-4px);
}

/* Mobile Responsiveness for New Pages */
@media (max-width: 768px) {
    .overlays-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 2rem;
    }

    .social-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .toast {
        right: 1rem;
        left: 1rem;
        bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        gap: 0.75rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .overlay-card {
        padding: 1.5rem;
    }

    .about-card {
        padding: 1.5rem;
        gap: 2rem;
    }

    .card-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}