body {
    background-color: #050505;
    color: #E0E0E0;
    overflow-x: hidden;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image:
        radial-gradient(white, rgba(255, 255, 255, .2) 2px, transparent 3px),
        radial-gradient(white, rgba(255, 255, 255, .15) 1px, transparent 2px),
        radial-gradient(white, rgba(255, 255, 255, .1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    opacity: 0.2;
    z-index: -1;
}

.cursor-box {
    position: absolute;
    pointer-events: none;
    z-index: 20;
    white-space: nowrap;
}

.selection-box {
    position: relative;
    display: inline-block;
    border: 2px solid;
    padding: 0 4px;
    margin: 0 2px;
}

.glass-panel {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}



@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comment-bubble {
    position: absolute;
    background: rgba(230, 81, 0, 0.9);
    backdrop-filter: blur(8px);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    border-bottom-left-radius: 0;
    font-size: 0.8rem;
    max-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 15px rgba(230, 81, 0, 0.2);
    z-index: 30;
    animation: float 6s ease-in-out infinite;
    /* Responsive defaults */
    transform: scale(0.9);
}

.comment-bubble.secondary {
    background: rgba(216, 67, 21, 0.9);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 0;
    animation-delay: 2s;
}

.comment-cursor {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgba(230, 81, 0, 0.9);
    position: absolute;
    bottom: -8px;
    left: 0;
}

.comment-bubble.secondary .comment-cursor {
    border-top-color: rgba(216, 67, 21, 0.9);
    left: auto;
    right: 0;
}

/* Safe Zone Positioning */
@media (min-width: 1440px) {
    .bubble-left {
        left: 8%;
        top: 25%;
        transform: scale(1);
    }

    .bubble-right {
        right: 8%;
        bottom: 25%;
        transform: scale(1);
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    .bubble-left {
        left: 4%;
        top: 20%;
        transform: scale(0.85);
    }

    .bubble-right {
        right: 4%;
        bottom: 20%;
        transform: scale(0.85);
    }
}

@media (max-width: 1023px) {
    .comment-bubble {
        display: none;
    }
}

.bento-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.bento-card:hover {
    border-color: rgba(230, 81, 0, 0.5);
    box-shadow: 0 0 30px rgba(230, 81, 0, 0.1);
    transform: translateY(-2px);
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 1px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.glow-effect {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(230, 81, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.bento-card:hover .glow-effect {
    opacity: 1;
}

.grid-bg {
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Perspective for 3D elements */
.perspective-1000 {
    perspective: 1000px;
}

/* Header brand logo styles */
.brand {
    display: flex;
    align-items: center;
}

.brand__mark {
    object-fit: contain;
}

.brand__text {
    line-height: 1;
}