* {
    cursor: url(assets/cursors/mac-os-x.cur), auto !important;
    -webkit-user-select: none;  /* Safari */
    -ms-user-select: none;      /* IE 10+ */
    user-select: none;          /* Standard */
}

/* Deaktiviere Drag-and-Drop */
* {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background-color: #090909;
    font-family: 'Chillax', sans-serif;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.loading-button {
    width: 100%;
    height: 100vh;
    border: none;
    padding: 0;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background: transparent;
    margin: 0;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    will-change: transform;
    animation: slideUpButton 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpButton {
    0% {
        transform: translate3d(0, 20px, 0);
        opacity: 0;
    }
    100% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100vh;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.5);
    object-fit: cover;
}

.content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(40px);
    margin: 0;
    padding: 0;
}

.button-text {
    color: #a8a29e;
    font-family: 'Chillax', sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.box-width {
    position: relative;
    z-index: 1;
    max-width: 400px;
    width: 100%;
}

.bg-style {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
    transition: all 0.2s ease-out;
    box-shadow: 0 8px 32px 0 rgba(255, 255, 255, 0.03);
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bg-style h1 {
    margin: 0;
    color: #a8a29e;
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.shine-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/effect/white.gif') no-repeat;
    background-size: cover;
    mix-blend-mode: overlay;
    opacity: 0.7;
    pointer-events: none;
}

.bg-style::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.02);
    z-index: -1;
}

.bg-style:hover {
    transition: transform 0.1s ease-out;
}

.bio-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    opacity: 0;
    animation: shakeAndFade 0.5s ease forwards;
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
}

.bio-content:hover {
    transition: transform 0.1s ease-out;
}

@keyframes shakeAndFade {
    0% {
        opacity: 0;
        transform: translate3d(-5px, -5px, 0);
    }
    10% {
        transform: translate3d(10px, 8px, 0);
    }
    20% {
        transform: translate3d(-15px, -6px, 0);
    }
    30% {
        transform: translate3d(8px, 12px, 0);
    }
    40% {
        transform: translate3d(-6px, -8px, 0);
    }
    50% {
        transform: translate3d(12px, 5px, 0);
    }
    60% {
        transform: translate3d(-8px, 9px, 0);
    }
    70% {
        transform: translate3d(7px, -7px, 0);
    }
    80% {
        transform: translate3d(-4px, 5px, 0);
    }
    90% {
        transform: translate3d(2px, -2px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Loading screen content - starker Blur */
.loading-button .content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    margin: 0;
    padding: 0;
}

/* Bio content - heller und weißer */
.bio-content .content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);  /* Sehr leichtes Weiß statt Grau */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin: 0;
    padding: 0;
}

.copyright {
    text-align: center;
    margin-top: 1rem;
    color: #a8a29e;
    font-size: 0.8rem;
    letter-spacing: 1px;
    opacity: 0.7;
    font-weight: 500;
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
    position: relative;
    transition: all 0.3s ease;
}

.profile-image-frame {
    position: relative;
    width: 110px;
    height: 110px;
    margin-bottom: 1rem;
}

.profile-image-frame::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    z-index: -1;
    animation: rotate 8s linear infinite;
}

.profile-image-frame::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    z-index: -2;
    animation: rotate 12s linear infinite reverse;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.badges {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.titles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 0.3rem 0 1rem 0;
}

.badge-item {
    position: relative;
    cursor: pointer;
    color: #a8a29e;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.badge-item:hover {
    color: #ffffff;
    opacity: 1;
    transform: translateY(-2px);
}

.badge-item::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: rgba(9, 9, 9, 0.95);
    color: #a8a29e;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    margin-bottom: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.badge-item:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.badge-icon {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.stats {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #a8a29e;
}

.views {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.view-count {
    font-weight: 500;
}

.view-text {
    opacity: 0.7;
}

.user-id {
    opacity: 0.5;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.badge-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0.5rem 0;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.title-tag {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    font-size: 0.65rem;
    color: #a8a29e;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    user-select: none;
    white-space: nowrap;
}

.badge-item:hover .title-tag {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.description {
    margin: 1rem 0;
    color: #a8a29e;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 80%;
    text-align: center;
    opacity: 0.8;
    font-weight: 400;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
                 0 0 20px rgba(255, 255, 255, 0.3),
                 0 0 30px rgba(255, 255, 255, 0.2),
                 0 0 40px rgba(255, 255, 255, 0.1);
    animation: 
        descriptionGlow 3s ease-in-out infinite,
        shakeAndRotate 8s ease-in-out infinite;
    transition: all 0.3s ease;
    position: relative;
    transform-origin: center center;
    pointer-events: none;  /* Verhindert auch Maus-Interaktionen */
}

@keyframes shakeAndRotate {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(4px, 2px) rotate(2deg);  /* Größerer Radius */
    }
    50% {
        transform: translate(-3px, -2px) rotate(-2deg);  /* Größerer Radius */
    }
    75% {
        transform: translate(-4px, 2px) rotate(1deg);  /* Größerer Radius */
    }
}

@keyframes descriptionGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
                     0 0 20px rgba(255, 255, 255, 0.3),
                     0 0 30px rgba(255, 255, 255, 0.2),
                     0 0 40px rgba(255, 255, 255, 0.1);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.6),
                     0 0 30px rgba(255, 255, 255, 0.4),
                     0 0 40px rgba(255, 255, 255, 0.3),
                     0 0 50px rgba(255, 255, 255, 0.2);
    }
}

.description:hover {
    opacity: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.7),
                 0 0 30px rgba(255, 255, 255, 0.5),
                 0 0 40px rgba(255, 255, 255, 0.4),
                 0 0 50px rgba(255, 255, 255, 0.3);
}

.action-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.action-button {
    background: none;
    border: none;
    padding: 0.5rem;
    color: #a8a29e;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-button::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: rgba(9, 9, 9, 0.95);
    color: #a8a29e;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    margin-bottom: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.action-button:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.action-button:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

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

.action-button svg {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
}

.action-button:hover svg {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5))
           drop-shadow(0 0 24px rgba(255, 255, 255, 0.3));
}

.discord-profile {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 1.5rem auto;
    max-width: 400px;
}

.discord-avatar {
    position: relative;
    width: 60px;
    height: 60px;
}

.discord-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: rgba(9, 9, 9, 0.95);
    border-radius: 50%;
    padding: 2px;
    border: 2px solid rgba(9, 9, 9, 0.95);
}

.status-dot-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #747f8d;  /* Offline color */
}

.status-dot.online .status-dot-inner { background: #3ba55c; }
.status-dot.idle .status-dot-inner { background: #faa81a; }
.status-dot.dnd .status-dot-inner { background: #ed4245; }

.discord-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.discord-name-badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.discord-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
}

.discord-badges {
    display: flex;
    gap: 0.3rem;
}

.discord-badge {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
}

.discord-link {
    color: #a8a29e;
    transition: all 0.3s ease;
}

.discord-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.discord-link svg {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.discord-link:hover svg {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5))
           drop-shadow(0 0 24px rgba(255, 255, 255, 0.3));
}

.discord-activity {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #a8a29e;
}

.activity-type {
    color: #3ba55c;
    font-weight: 500;
    margin-right: 0.3rem;
}

.activity-name {
    color: #ffffff;
}

.activity-details {
    display: block;
    font-size: 0.8rem;
    color: #a8a29e;
    margin-top: 0.2rem;
}

.activity {
    margin-top: 0.8rem;
    display: flex;
    gap: 0.8rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
}

.activity-image {
    position: relative;
    width: 60px;
    height: 60px;
}

.activity-image img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.activity-status {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(9, 9, 9, 0.95);
}

.activity-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.activity-name {
    color: #ffffff;
    font-weight: 500;
}

.activity-details {
    color: #a8a29e;
    font-size: 0.85rem;
}

.activity-state {
    color: #a8a29e;
    font-size: 0.85rem;
}

.activity-time {
    color: #a8a29e;
    font-size: 0.8rem;
    margin-top: 0.2rem;
    opacity: 0.8;
}

.blank-box {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.box-content {
    min-height: 50px;
    width: 100%;
}

.discord-presence {
    background: rgba(47, 49, 54, 0.6);
    border-radius: 8px;
    padding: 12px;
    margin: 15px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.discord-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
}

.discord-info {
    display: flex;
    align-items: center;
    gap: 4px;
}

.discord-username {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.discord-discriminator {
    color: #b9bbbe;
    font-size: 14px;
}

.discord-activity {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #b9bbbe;
}

.activity-dot {
    width: 8px;
    height: 8px;
    background-color: #747f8d;
    border-radius: 50%;
}

.activity-text {
    color: #b9bbbe;
}

/* Prevent focus styles */
*:focus {
    outline: none !important;
}

*:focus-visible {
    outline: none !important;
}

/* Prevent selection */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-focus-ring-color: transparent;
}

button:focus {
    outline: none !important;
}

a:focus {
    outline: none !important;
}

.view-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.view-icon {
    font-size: 14px;
}

.view-count {
    color: #fff;
    font-size: 14px;
}

.privacy-notice {
    font-size: 0.75rem;
    color: #ffffff80;
    text-align: center;
    margin-top: 10px;
    font-family: 'Chillax', sans-serif;
    display: block;
}

.privacy-link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-family: 'Chillax', sans-serif;
}

.privacy-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.privacy-wrapper {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.privacy-content {
    color: #fff;
    font-family: 'Chillax', sans-serif;
}

.privacy-content section {
    margin-bottom: 2rem;
}

.privacy-content h2 {
    color: #faa81a;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-content p, 
.privacy-content ul {
    line-height: 1.6;
    opacity: 0.9;
}

.privacy-content ul {
    list-style-type: none;
    padding-left: 1rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    position: relative;
}

.privacy-content li:before {
    content: "•";
    color: #faa81a;
    position: absolute;
    left: -1rem;
}

.back-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #faa81a;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    margin-top: 2rem;
}

.back-button:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.header h1 {
    font-size: 2.5rem;
    margin: 0;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .privacy-wrapper {
        margin: 1rem;
        padding: 1.5rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .privacy-content h2 {
        font-size: 1.3rem;
    }
}

a, 
button,
.loading-button,
[role="button"],
.privacy-link,
.back-button {
    cursor: url(assets/cursors/drag.cur), auto !important;
}

/* Dunklere Box für Mobile */
@media screen and (max-width: 768px) {
    .bg-style {
        background: rgba(9, 9, 9, 0.85); /* Viel dunklerer Hintergrund */
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .bg-style::before {
        background: rgba(9, 9, 9, 0.85);
    }

    /* Loading Screen Fixes */
    .loading-button .video-container {
        opacity: 1 !important;
        display: block !important;
    }

    .loading-button .content {
        background: rgba(9, 9, 9, 0.85); /* Dunklerer Hintergrund */
    }

    /* Verbesserte Video-Darstellung */
    .video-container {
        opacity: 1 !important;
        z-index: 0;
    }

    .video-container video {
        object-fit: cover;
        width: 100vw;
        height: 100vh;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1.8);
    }
}

/* Zusätzliche iOS-spezifische Fixes */
@supports (-webkit-touch-callout: none) {
    .video-container video {
        position: fixed !important;
    }

    .loading-button .video-container,
    .bio-content .video-container {
        position: fixed !important;
        z-index: 0;
    }
}
