/* Cursor Trail Effect - Kígyó-szerű nyomvonal */
.cursor-trail-element {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform-origin: center;
    will-change: transform, opacity;
    width: 32px;
    height: 32px;
    background-image: url('./assets/cursors/middle-finger.cur');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.cursor-trail-element:nth-child(1) {
    opacity: 1 !important;
    filter: drop-shadow(0 0 6px rgba(30, 83, 235, 0.9));
    text-shadow: 0 0 8px rgba(30, 83, 235, 0.8);
}

.cursor-trail-element:nth-child(2) {
    opacity: 0.85 !important;
    filter: drop-shadow(0 0 4px rgba(30, 83, 235, 0.7));
}

.cursor-trail-element:nth-child(3) {
    opacity: 0.7 !important;
    filter: drop-shadow(0 0 3px rgba(30, 83, 235, 0.6));
}

.cursor-trail-element:nth-child(4) {
    opacity: 0.55 !important;
    filter: drop-shadow(0 0 2px rgba(30, 83, 235, 0.5));
}

.cursor-trail-element:nth-child(5) {
    opacity: 0.4 !important;
    filter: drop-shadow(0 0 1px rgba(30, 83, 235, 0.4));
}

.cursor-trail-element:nth-child(6) {
    opacity: 0.25 !important;
}

/* Global styles matching template */
:root {
    --primary-color: #1e53eb;
    --primary-dark: #1438a8;
    --theme-color: #1e53eb;
    --icon-color: #1570ff;
    --background-dark: #0a0a0a;
    --background-darker: #050505;
    --text-light: #e0e0e0;
    --accent: #1570ff;
    --box-color: #0f1419;
    --box-width: 700px;
    --box-radius: 15px;
    --box-blur: 40px;
    --border-color: #1e53eb;
    --border-width: 3px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Performance optimizations */
.badge-item,
.social-link-item,
.tag-item,
.box-style,
.avatar,
.banner-image,
.cursor-glow {
    will-change: transform;
}

.badge-item,
.social-link-item,
.tag-item {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

body {
    cursor: none !important;
}

/* Rejtsd el az alap kurzort mindenhol */
* {
    cursor: none !important;
}

a, button, input, [role="button"], [role="link"] {
    cursor: none !important;
}

/* Input elemekre is alkalmazzuk */
input[type="range"],
input[type="volume"],
input {
    cursor: none !important;
}

body {
    background-color: #090909;
    color: #FFFFFF;
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
    letter-spacing: 0.01em;
}

/* Old TV Overlay */
.old-tv-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.35) 2px,
            transparent 2px,
            transparent 4px
        );
    opacity: 0.6;
    animation: tvFlicker 0.1s infinite;
    mix-blend-mode: overlay;
}

@keyframes tvFlicker {
    0% { opacity: 0.6; }
    25% { opacity: 0.75; }
    50% { opacity: 0.65; }
    75% { opacity: 0.78; }
    100% { opacity: 0.6; }
}

/* Dot pattern overlay */
.old-tv-overlay::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
    background-size: 3px 3px;
    pointer-events: none;
    z-index: 9999;
    animation: noiseFlicker 0.08s infinite;
}

@keyframes noiseFlicker {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

/* Bad TV vignette effect */
.old-tv-overlay::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%),
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.15) 1px,
            transparent 1px,
            transparent 2px
        );
    pointer-events: none;
    z-index: 9999;
}

/* Reveal Screen Blur */
.reveal-screen-blur {
    position: fixed;
    z-index: 50;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(40px);
    border: none;
    cursor: none !important;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-screen-blur:hover {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(50px);
}

.reveal-screen-blur:hover .reveal-text {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(30, 83, 235, 0.8);
}

.reveal-screen-blur.hidden {
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(0px);
}

#bioText {
    display: none !important;
}

.reveal-text {
    white-space: nowrap;
    word-break: keep-all;
    padding: 0 1rem;
    font-size: 1.25rem;
    line-height: 1.75rem;
    user-select: none;
    color: #FFFFFF;
    transition: all 0.3s ease;
    animation: textPulse 2s ease-in-out infinite;
    text-align: center;
}

@keyframes textPulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(0.98);
    }
}

.page-enter-animation {
    animation: slideUp 350ms ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional entrance animations for children */
.profile-wrapper > * {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge-item {
    animation: fadeInScale 0.4s ease-out backwards;
}

.badge-item:nth-child(1) { animation-delay: 0.1s; }
.badge-item:nth-child(2) { animation-delay: 0.2s; }
.badge-item:nth-child(3) { animation-delay: 0.3s; }
.badge-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.tag-item {
    animation: fadeInSlide 0.5s ease-out backwards;
}

.tag-item:nth-child(1) { animation-delay: 0.2s; }
.tag-item:nth-child(2) { animation-delay: 0.3s; }
.tag-item:nth-child(3) { animation-delay: 0.4s; }
.tag-item:nth-child(4) { animation-delay: 0.5s; }

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.social-link-item {
    animation: popIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
}

.social-link-item:nth-child(1) { animation-delay: 0.3s; }
.social-link-item:nth-child(2) { animation-delay: 0.4s; }
.social-link-item:nth-child(3) { animation-delay: 0.5s; }
.social-link-item:nth-child(4) { animation-delay: 0.6s; }

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Backgrounds */
.background-color {
    position: fixed;
    z-index: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://cdn.mos.cms.futurecdn.net/HuGGeENt6kGyixe3hT9tnY-1200-80.jpg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(3px);
}

.background-blur {
    pointer-events: none;
    z-index: 10;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('./template_files/da160092-99ff-438b-adef-b52805f54935.png');
    opacity: 1;
    filter: blur(25px);
    transform: scale(1.05);
}

/* Cursor Glow Effect */
.cursor-glow {
    position: fixed;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(30, 83, 235, 0.3) 0%, rgba(30, 83, 235, 0.1) 70%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    filter: blur(20px);
    display: none;
    animation: glowPulse 2s ease-in-out infinite;
    will-change: left, top;
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

body:hover .cursor-glow {
    display: block;
}

/* Spotify Player */
.spotify-player {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(30, 83, 235, 0.1);
    border: 2px solid rgba(30, 83, 235, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: slideInPlayer 0.5s ease-out 2s forwards;
    transition: all 0.3s ease;
}

@keyframes slideInPlayer {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.spotify-player:hover {
    background: rgba(30, 83, 235, 0.2);
    box-shadow: 0 0 20px rgba(30, 83, 235, 0.3);
}

.player-content {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-cover {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(30, 83, 235, 0.5);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.player-cover:hover {
    transform: scale(1.1);
}

.player-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.player-track {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
    position: relative;
    min-height: 1.2em;
}

.player-track-text {
    display: inline-block;
    animation: playerTrackMarquee 15s linear infinite;
    will-change: transform;
}

@keyframes playerTrackMarquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.player-artist {
    font-size: 0.75rem;
    color: var(--text-light);
    opacity: 0.7;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-toggle {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-toggle:hover {
    background: var(--accent);
    transform: scale(1.05);
}

/* Spotify Player Mini (in profile) */
.spotify-player-mini {
    background: rgba(30, 83, 235, 0.05);
    border: 1px solid rgba(30, 83, 235, 0.2);
    border-radius: 8px;
    padding: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-top: 0;
}

.spotify-player-mini:hover {
    background: rgba(30, 83, 235, 0.1);
    border-color: rgba(30, 83, 235, 0.3);
}

.spotify-player-mini .player-controls {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.player-transport {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 2px;
}

.player-skip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 10px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-skip:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
}

.player-time-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
}

.player-time {
    letter-spacing: 0.3px;
}

.player-progress {
    width: 100%;
    height: 4px;
    appearance: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    outline: none;
}

.player-progress::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid rgba(30, 83, 235, 0.6);
    cursor: pointer;
}

.player-progress::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid rgba(30, 83, 235, 0.6);
    cursor: pointer;
}

.spotify-player-mini .player-volume {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.player-volume-icon {
    font-size: 14px;
    opacity: 0.8;
}

.player-volume-slider {
    width: 100%;
    height: 4px;
    appearance: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    outline: none;
}

.player-volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid rgba(30, 83, 235, 0.6);
    cursor: pointer;
}

.player-volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid rgba(30, 83, 235, 0.6);
    cursor: pointer;
}

/* Main Container */
main {
    position: relative;
    z-index: 20;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1rem;
}

.page-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-wrapper {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: var(--box-width, 700px);
    animation: profileEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s backwards;
}

@keyframes profileEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Box Styling */
.box-style {
    background: rgba(20, 20, 23, 0.25);
    border: 0px solid rgba(30, 83, 235, 0.35);
    border-radius: 15px;
    backdrop-filter: blur(40px);
    box-shadow: 0 18px 40px rgba(9, 9, 9, 0.5);
    overflow: hidden;
    transition: all 0.4s ease;
}

.box-style:hover {
    box-shadow: 0 22px 50px rgba(9, 9, 9, 0.6), 0 0 30px rgba(30, 83, 235, 0.2);
    transform: translateY(-2px);
}

.box-padding { /* egész magasság */
    padding: 0 0 620px 0;
}

.box-margin-x-reverse {
    margin: 0;
}

/* Banner */
.banner-container {
    overflow: visible;
    position: relative;
}

.banner-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -63rem; /* Kiterjesztés a profil tartalomra */
    /* Gradient betöltődik a config.js-ből az init.js által */
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.profile-wrapper {
    position: relative;
    width: 100%;
    max-width: 700px;
}

.profile-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Left Profile Mini Section */
.left-profile-section {
    position: absolute;
    left: 40px;
    top: 40px;
    z-index: 110;
    animation: slideInLeft 0.5s ease-out;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.activity-container {
    display: flex;
    flex-direction: column;
    width: 300px;
    margin-top: 0;
    align-self: flex-start;
}

.profile-content-wrapper {
    position: relative;
    z-index: 2;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mini-profile-card {
    width: 300px;
    background: rgba(20, 20, 23, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    overflow: hidden;
    border: 0px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.mini-banner-container {
    position: relative;
    height: 100px;
    overflow: hidden;
}

.mini-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.mini-avatar-wrapper {
    position: relative;
    margin-top: +100px;
    margin-left: 15px;
    text-align: center;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-avatar-container {
    position: relative;
}

.mini-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    background: #0a0a0a;
}

.mini-profile-info {
    padding: 1rem 1.5rem 1.5rem;
    text-align: left;
}

.name-badges-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mini-badges-flex-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.mini-badges-flex-wrapper .badge-item {
    display: flex;
}

.mini-badges-flex-wrapper .badge-button {
    padding: 0.25rem;
}

.mini-bio {
    margin-bottom: 0.75rem;
}

.mini-bio-text {
    font-size: 0.8rem;
    line-height: 1.4;
    color: #a8a29e;
}

.mini-profile-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.mini-profile-username {
    font-size: 0.875rem;
    margin: 0;
    color: #a8a29e;
    line-height: 1;
    display: flex;
    align-items: center;
}

.mini-profile-username-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.mini-developer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    font-size: 14px;
}

.mini-developer-badge:hover {
    background: transparent;
    border: none;
}

.mini-developer-badge::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    margin-bottom: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mini-developer-badge:hover::after {
    opacity: 1;
}

.mini-designer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    font-size: 14px;
}

.mini-designer-badge:hover {
    background: transparent;
    border: none;
}

.mini-designer-badge::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    margin-bottom: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mini-designer-badge:hover::after {
    opacity: 1;

/* Activity Card */
.activity-card {
    width: 300px;
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.95) 0%, rgba(25, 25, 35, 0.98) 100%);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(88, 101, 242, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: -12px;
    margin-bottom: 50px;
}

/* Hangout Card - Override box-style */
.hangout-card.box-style {
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.95) 0%, rgba(25, 25, 35, 0.98) 100%) !important;
    border: 1px solid rgba(88, 101, 242, 0.2) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
    backdrop-filter: none !important;
}

.hangout-card.box-style:hover {
    border-color: rgba(88, 101, 242, 0.4) !important;
    box-shadow: 0 12px 48px rgba(88, 101, 242, 0.25) !important;
    background: linear-gradient(135deg, rgba(40, 40, 50, 0.98) 0%, rgba(35, 35, 45, 1) 100%) !important;
    transform: translateY(-2px) !important;
}

.hangout-card.box-style .hangout-card-body {
    padding: 1.25rem !important;
    display: flex !important;
    gap: 12px !important;
    align-items: flex-start !important;
    flex-direction: row !important;
}

.hangout-card.box-style .hangout-server-icon {
    width: 80px !important;
    height: 80px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    border: 1px solid rgba(88, 101, 242, 0.3) !important;
}

.hangout-card.box-style .hangout-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.hangout-card.box-style .hangout-server-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
}

.hangout-card.box-style .hangout-details {
    display: flex !important;
    gap: 12px !important;
    font-size: 0.8rem !important;
    color: #949ba4 !important;
}

.hangout-card.box-style .hangout-established {
    font-size: 0.75rem !important;
    color: #72767d !important;
}

.hangout-card.box-style .hangout-tags {
    display: flex !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}

.hangout-card.box-style .hangout-tag {
    background: rgba(88, 101, 242, 0.15) !important;
    border: 1px solid rgba(88, 101, 242, 0.3) !important;
    color: #b5bac1 !important;
    padding: 4px 10px !important;
    border-radius: 12px !important;
    font-size: 0.7rem !important;
    font-weight: 500 !important;
}

.hangout-card.box-style .hangout-join-button {
    background: #248046 !important;
    border: none !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    align-self: flex-start !important;
}

.hangout-card.box-style .hangout-join-button:hover {
    background: #2d9956 !important;
    box-shadow: 0 4px 12px rgba(36, 128, 70, 0.4) !important;
}

.activity-card:hover {
    border-color: rgba(88, 101, 242, 0.4);
    box-shadow: 0 12px 48px rgba(88, 101, 242, 0.25);
    background: linear-gradient(135deg, rgba(40, 40, 50, 0.98) 0%, rgba(35, 35, 45, 1) 100%);
    transform: translateY(-2px);
}

.activity-card-header {
    padding: 1rem 1.5rem 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.activity-card-tab {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #b5bac1;
    margin: 0;
    letter-spacing: 0.5px;
}

.activity-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    margin: 1rem 0 0.5rem 0;
    letter-spacing: 0.5px;
}

.activity-card ~ .activity-label {
    margin-top: 5rem !important;
}

.activity-separator {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 0.5rem 0 2.5rem 0;
}

.activity-card-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #b5bac1;
    margin: 0;
    padding: 1rem 1rem 0.75rem;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(88, 101, 242, 0.1);
}

.activity-card-content {
    padding: 1.25rem 1.25rem 0.75rem 1.25rem;
}

.activity-playing-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #949ba4;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-card-item {
    display: block;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    transition: all 0.2s ease;
}

.activity-simple {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.activity-simple.activity-empty .activity-name {
    text-align: center;
    width: 100%;
}

.activity-icon-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 42px;
    line-height: 1;
}

.activity-status-emoji {
    font-size: 20px;
}

.activity-card-item .activity-name {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
}

.activity-card-item .activity-details-text {
    font-size: 14px;
    font-weight: 500;
    color: #b9bbbe;
    line-height: 1.4;
    text-decoration: underline;
    margin: 0;
}

.activity-card-item .activity-state {
    font-size: 14px;
    font-weight: 500;
    color: #b9bbbe;
    line-height: 1.4;
    margin: 0;
}

.activity-time-green {
    font-size: 14px;
    font-weight: 600;
    color: #3ba55c;
    display: flex;
    align-items: center;
    gap: 6px;
}

.activity-time-green::before {
    content: '🎮';
    font-size: 16px;
}

.activity-status-indicator {
    position: absolute;
    bottom: -8px;
    right: -8px;
    font-size: 20px;
    width: 28px;
    height: 28px;
    background: rgba(30, 35, 50, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(40, 45, 60, 0.8);
}

.activity-card-item .activity-name {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.activity-details-text {
    font-size: 13px;
    color: #949ba4;
    line-height: 1.2;
}

.activity-state {
    font-size: 13px;
    color: #949ba4;
    line-height: 1.3;
    max-width: 200px;
    word-wrap: break-word;
}
}

.activity-menu-button {
    background: none;
    border: none;
    color: #8a8e94;
    cursor: pointer;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.activity-menu-button:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #dbdee1;
    opacity: 1;
}

.activity-menu-button svg {
    width: 18px;
    height: 18px;
}

.activity-card-subtitle {
    font-size: 0.75rem;
    color: #8a8e94;
    margin-bottom: 0.75rem;
    margin-top: -0.5rem;
}

.recent-activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.recent-activity-item:last-child {
    border-bottom: none;
}

.recent-activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.recent-activity-info {
    flex: 1;
}

.recent-activity-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
}

.recent-activity-time {
    font-size: 12px;
    color: #8a8e94;
}

.activity-time-green {
    font-size: 13px;
    color: #949ba4;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.activity-time-green::before {
    content: '🎮';
    font-size: 12px;
}

@media (max-width: 1400px) {
    .left-profile-section {
        position: static;
        width: 100%;
        margin: 0 auto 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .mini-profile-card {
        width: min(360px, 92vw);
    }

    .activity-container {
        width: min(360px, 92vw);
    }

    .box-padding {
        padding: 0 0 40px 0;
    }
}

.box-radius-top {
    border-radius: 15px 15px 0 0;
}

.border-bottom-width {
    border-bottom-width: 3px;
}

.banner-image {
    height: 15rem;
    width: 100%;
    object-fit: cover;
    opacity: 1;
    filter: blur(2px);
    display: block;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

/* Profile Content */
.profile-content {
    padding: 2rem;
    margin-top: -6rem;
    position: relative;
    z-index: 2;
}

/* Avatar Section */
.avatar-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
}

.avatar-wrapper-outer {
    position: relative;
    margin: 0;
}

.avatar-wrapper {
    position: relative;
    margin: 0;
    width: 7rem;
    height: 7rem;
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50px;
    border: 3px solid rgba(0, 0, 0, 0.35);
    display: block;
    transition: all 0.4s ease;
    box-shadow: 0 0 0 0 rgba(30, 83, 235, 0);
}

.avatar:hover {
    border-color: rgba(30, 83, 235, 0.7);
    box-shadow: 0 0 20px 5px rgba(30, 83, 235, 0.5);
    transform: scale(1.05);
}

.border-color {
    border-color: rgba(30, 83, 235, 0.35);
}

.border-width {
    border-width: 3px;
    border-style: solid;
}

.avatar-radius {
    border-radius: 50px;
}

/* Name and Badges Section */
.name-badges-section {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    flex-direction: column;
    gap: 0;
    margin-top: 1rem;
}

.name {
    word-break: break-all;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 600;
    margin: 0.5rem 0;
    color: #FFFFFF;
    transition: all 0.3s ease;
    cursor: default;
}

.name:hover {
    color: #1e53eb;
    text-shadow: 0 0 20px rgba(30, 83, 235, 0.5);
}

.primary-text-color {
    color: #FFFFFF;
}

.secondary-text-color {
    color: #a8a29e;
}

/* Badges */
.badges-flex-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    align-items: center;
}

.badge-item {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 300ms ease;
    cursor: pointer;
}

.badge-item:hover {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.badge-item:active {
    transform: scale(0.98);
}

.badge-button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 200ms ease;
}

.badge-button:hover {
    transform: translateY(-1px);
}

.badge-button:active {
    transform: translateY(0);
}

.fill-theme {
    fill: #1e53eb;
    transition: all 0.3s ease;
}

.badge-button:hover .fill-theme {
    fill: #1570ff;
    filter: drop-shadow(0 0 12px #1e53eb);
}

.social-icon-wrapper:hover .fill-theme {
    fill: #1570ff;
    filter: drop-shadow(0 0 12px #1e53eb);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.stroke-theme {
    stroke: #1e53eb;
}

.drop-shadow-theme {
    filter: drop-shadow(0 0 8px #1e53eb);
    transition: filter 0.3s ease;
}

.badge-button:hover .drop-shadow-theme {
    filter: drop-shadow(0 0 15px #1e53eb) drop-shadow(0 0 25px #1e53eb);
}

.social-icon-wrapper:hover .drop-shadow-theme {
    filter: drop-shadow(0 0 15px #1e53eb) drop-shadow(0 0 25px #1e53eb);
}

.badge-tooltip-wrapper {
    pointer-events: none;
    position: absolute;
    top: -2.5rem;
    display: flex;
    transform: translateY(0.25rem) scale(0.9);
    align-items: center;
    gap: 0.5rem;
    border-radius: 15px;
    border: 1px solid rgba(168, 162, 158, 0.1);
    background-color: #000000;
    padding: 0.375rem 0.75rem;
    color: white;
    opacity: 0;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.group:hover .badge-tooltip-wrapper {
    transform: translateY(0) scale(1);
    opacity: 1;
    animation: tooltipBounce 0.5s ease;
}

@keyframes tooltipBounce {
    0% { transform: translateY(0.25rem) scale(0.9); }
    50% { transform: translateY(-3px) scale(1.02); }
    100% { transform: translateY(0) scale(1); }
}

.badge-tooltip-text {
    user-select: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 400;
}

@media (min-width: 640px) {
    .badge-tooltip-text {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
    .badge-tooltip-wrapper {
        top: -2.75rem;
    }
}

/* Tags */
.tags-flex-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tag-item {
    line-height: 1;
    user-select: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 9999px;
    border: 1px solid #1e53eb;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #1e53eb;
    transition: all 0.3s ease;
    background: transparent;
    cursor: default;
}

.tag-item:hover {
    background: rgba(30, 83, 235, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 83, 235, 0.3);
}

/* Bio Description */
.bio-description {
    white-space: normal;
    line-height: 1.6;
    word-break: break-word;
    margin: 1.5rem 0;
    color: #a8a29e;
    animation: fadeIn 0.8s ease-out 0.4s backwards;
    max-width: 100%;
    overflow-wrap: break-word;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.text-center {
    text-align: center;
}

.inline {
    display: inline;
}

.text-theme {
    color: #1e53eb;
    transition: all 0.3s ease;
}

.bio-description:hover .text-theme {
    text-shadow: 0 0 15px rgba(30, 83, 235, 0.6);
}

/* Social Links */
.social-links-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link-item {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 300ms ease;
    cursor: pointer;
}

.social-link-item:hover {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.social-link-item:active {
    transform: scale(0.98);
}

.social-link-item a {
    text-decoration: none;
    display: block;
}

.social-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    position: relative;
}

.social-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(30, 83, 235, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s ease;
}

.social-link-item:hover .social-icon-wrapper::before {
    transform: scale(2);
}

.social-icon-wrapper svg {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 1;
}

.social-tooltip {
    pointer-events: none;
    position: absolute;
    top: -2.5rem;
    display: flex;
    transform: translateY(0.25rem) scale(0.9);
    align-items: center;
    gap: 0.5rem;
    border-radius: 15px;
    border: 1px solid rgba(168, 162, 158, 0.1);
    background-color: #000000;
    padding: 0.375rem 0.75rem;
    color: white;
    opacity: 0;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.group:hover .social-tooltip {
    transform: translateY(0) scale(1);
    opacity: 1;
    animation: tooltipSlide 0.4s ease;
}

@keyframes tooltipSlide {
    0% { 
        transform: translateY(0.25rem) scale(0.9);
        opacity: 0;
    }
    100% { 
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@media (min-width: 640px) {
    .social-tooltip {
        top: -2.75rem;
    }
}

.social-tooltip-text {
    user-select: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 400;
}

@media (min-width: 640px) {
    .social-tooltip-text {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
}

.social-tooltip-icon {
    width: 1rem;
    height: 1rem;
}

.social-tooltip-icon svg {
    width: 100%;
    height: 100%;
}

.fill-current {
    fill: currentColor;
}

/* Responsive Design */
@media (max-width: 768px) {
    main {
        padding: 2rem 1rem;
    }
    
    .profile-content {
        padding: 1.5rem;
    }
    
    .name {
        font-size: 1.25rem;
    }
    
    .banner-image {
        height: 8rem;
    }
    
    .avatar-wrapper {
        width: 6rem;
        height: 6rem;
    }
    
    .spotify-player {
        top: 10px;
        right: 10px;
        padding: 10px 12px;
    }
    
    .player-content {
        min-width: 150px;
    }
    
    .player-cover {
        width: 35px;
        height: 35px;
    }
    
    .player-track {
        max-width: 90px;
        font-size: 0.8rem;
    }
    
    .reveal-text {
        font-size: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Body scroll effects */
body {
    overflow-x: hidden;
}

@media (max-width: 1024px), (max-height: 800px) {
    html, body {
        height: 100%;
        overflow: hidden;
    }

    body {
        overscroll-behavior: none;
    }
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: #0a0a0a;
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1e53eb 0%, #1570ff 100%);
    border-radius: 5px;
    transition: all 0.3s ease;
}

body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1570ff 0%, #1e53eb 100%);
    box-shadow: 0 0 10px rgba(30, 83, 235, 0.5);
}

/* Selection styling */
::selection {
    background-color: var(--primary-color);
    color: var(--background-darker);
}

::-moz-selection {
    background-color: var(--primary-color);
    color: var(--background-darker);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Discord-style sections */
.discord-divider {
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: rgba(100, 100, 100, 0.1);
    margin-top: 10px;
    margin-bottom: 10px;
}

.discord-section {
    padding: 0 16px 16px;
}

.mini-profile-info .discord-section {
    padding: 0;
    margin-top: 0;
}

.mini-profile-info .discord-section-title {
    margin-bottom: 6px;
}

.discord-section-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #b5bac1;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.discord-section-content {
    font-size: 14px;
    color: #dbdee1;
    margin: 0;
}

.discord-section-subtitle {
    font-size: 14px;
    color: #949ba4;
    margin: 0 0 12px 0;
}

.discord-note-input {
    margin-top: 8px;
}

.discord-textarea {
    width: 100%;
    min-height: 60px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px;
    color: #dbdee1;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: all 0.2s ease;
}

.discord-textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary-color);
}

.discord-textarea::placeholder {
    color: #6d6f78;
}

/* Activity Section */
.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    margin-top: 8px;
}

.activity-icon {
    flex-shrink: 0;
}

.activity-icon-svg {
    border-radius: 8px;
}

.activity-details {
    flex: 1;
}

.activity-name {
    font-size: 14px;
    font-weight: 600;
    color: #dbdee1;
    margin-bottom: 2px;
}

.activity-name-idle {
    text-align: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #dbdee1;
    margin-bottom: 2px;
}

.activity-status {
    font-size: 13px;
    color: #b5bac1;
    margin-bottom: 2px;
}

.activity-time {
    font-size: 12px;
    color: #949ba4;
}

.activity-fallback-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(30, 83, 235, 0.45), rgba(20, 20, 23, 0.9));
    border: 1px solid rgba(30, 83, 235, 0.35);
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

/* Recent Activities */
.recent-activities {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.recent-activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.recent-activity-item:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(2px);
}

.recent-activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.recent-activity-info {
    flex: 1;
}

.recent-activity-name {
    font-size: 14px;
    font-weight: 500;
    color: #dbdee1;
    margin-bottom: 2px;
}

.recent-activity-time {
    font-size: 12px;
    color: #949ba4;
}
/* Loading spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.join-button-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 6px;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

/* Connections section styling */
.connections-wrapper {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.connection-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(29, 185, 84, 0.1);
    border: 1px solid rgba(29, 185, 84, 0.3);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    margin-top: 8px;
    flex: 1;
    min-width: 120px;
    justify-content: center;
}

.connection-button:hover {
    background: rgba(29, 185, 84, 0.2);
    border-color: rgba(29, 185, 84, 0.5);
    transform: translateY(-2px);
}

.connection-button.steam-button {
    background: rgba(68, 122, 210, 0.1);
    border-color: rgba(68, 122, 210, 0.3);
}

.connection-button.steam-button:hover {
    background: rgba(68, 122, 210, 0.2);
    border-color: rgba(68, 122, 210, 0.5);
}

.connection-button.github-button {
    background: rgba(88, 88, 88, 0.1);
    border-color: rgba(88, 88, 88, 0.3);
}

.connection-button.github-button:hover {
    background: rgba(88, 88, 88, 0.2);
    border-color: rgba(88, 88, 88, 0.5);
}

.connection-button.instagram-button {
    background: rgba(217, 32, 108, 0.1);
    border-color: rgba(217, 32, 108, 0.3);
}

.connection-button.instagram-button:hover {
    background: rgba(217, 32, 108, 0.2);
    border-color: rgba(217, 32, 108, 0.5);
}

.connection-icon {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    object-fit: cover;
}

.connection-text {
    font-size: 14px;
    font-weight: 500;
    color: #1DB954;
}

.connection-button.steam-button .connection-text {
    color: #4a7aba;
}

.connection-button.github-button .connection-text {
    color: #c9c9c9;
}

.connection-button.instagram-button .connection-text {
    color: #d92070;
}

.connection-button-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: rgba(82, 68, 210, 0.1);
    border: 1px solid rgba(82, 68, 210, 0.3);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    margin-top: 10px;
}

.connection-button-large:hover {
    background: rgba(82, 68, 210, 0.2);
    border-color: rgba(82, 68, 210, 0.5);
    transform: translateY(-2px);
}

.connection-icon-large {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    object-fit: cover;
}

.connection-text-large {
    font-size: 14px;
    font-weight: 600;
    color: #5244d2;
}

/* Terminal Intro Overlay */
.terminal-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    transition: opacity 0.6s ease;
}

.terminal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.terminal-window {
    width: min(720px, 90vw);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 128, 0.35);
    box-shadow: 0 0 25px rgba(0, 255, 128, 0.2), inset 0 0 12px rgba(0, 255, 128, 0.08);
    background: rgba(4, 8, 6, 0.95);
    color: #00ff9d;
    font-family: 'Runtime', 'Consolas', 'Courier New', monospace;
    overflow: hidden;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.55);
    border-bottom: 1px solid rgba(0, 255, 128, 0.2);
}

.terminal-title {
    margin-left: 8px;
    font-size: 0.8rem;
    color: rgba(0, 255, 128, 0.8);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.9;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-body {
    padding: 16px 18px 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    text-shadow: 0 0 8px rgba(0, 255, 128, 0.35);
}

.terminal-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.terminal-lines div {
    opacity: 0.85;
    min-height: 1.4em;
}

.terminal-typing {
    margin-top: 10px;
    min-height: 1.4em;
}

.terminal-typing::after {
    content: '▌';
    margin-left: 4px;
    animation: terminalBlink 0.8s steps(1) infinite;
}

.terminal-final {
    margin-top: 12px;
    color: #00ff9d;
    font-weight: 700;
}

.terminal-reveal {
    margin-top: 14px;
    color: #00ff9d;
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: none !important;
    text-align: center;
    width: 100%;
}

.terminal-reveal.hidden {
    display: none;
}

@keyframes terminalBlink {
    50% { opacity: 0; }
}