/* Bubble Box Styles for Content Sections */
.bubble-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
    margin-bottom: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

/* Game hosting section spacing */
.game-hosting-section {
    margin-bottom: 60px;
    padding-top: 20px;
}

.game-hosting-content {
    display: flex;
    gap: 30px;
    align-items: center;
}

.game-hosting-image {
    flex: 0 0 auto;
    max-width: 300px;
}

.game-hosting-image img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 12px;
}

.bubble-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Subtle glow effect inside the bubble */
.bubble-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(107, 63, 255, 0.08), transparent 60%);
    pointer-events: none;
}

/* Heading styles inside bubble boxes */
.bubble-box h2, 
.bubble-box h3 {
    margin-top: 0;
    color: var(--white);
    position: relative;
    padding-bottom: 8px;
}

/* Subtle accent line under headings - reduced thickness and length for a sleeker look */
.bubble-box h2::after,
.bubble-box h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 36px;
    background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border-radius: 2px;
}

/* Ensure compact feature boxes have an even more subtle underline (or none) */
.bubble-box.feature-bubble.compact h3::after {
    height: 1px;
    width: 28px;
    background: rgba(255,255,255,0.05);
    border-radius: 1px;
}

/* Grid layout for multiple bubble boxes */
.bubble-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 32px 0;
}

/* Feature box variation */
.feature-bubble {
    display: flex;
    flex-direction: column;
}

/* Game-specific bubble variations */
.game-bubble {
    border-left: 4px solid transparent;
}

.game-bubble.minecraft {
    border-left-color: #62cb67; /* Minecraft green */
}

.game-bubble.rust {
    border-left-color: #ce422b; /* Rust orange/red */
}

.game-bubble.ark {
    border-left-color: #3498db; /* ARK blue */
}

.game-bubble.terraria {
    border-left-color: #9b59b6; /* Terraria purple */
}

/* Testimonial bubble style */
.testimonial-bubble {
    font-style: italic;
    position: relative;
    padding-top: 36px;
}

.testimonial-bubble {
    font-style: italic;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    min-height: 140px; /* give room for the oversized quote mark */
    box-sizing: border-box;
}
.testimonial-bubble::before {
    content: '"';
    position: absolute;
    top: 0; /* align to top-left like before */
    left: 4px; /* nudge the quote slightly to the right for better alignment with text */
    font-size: 60px;
    line-height: 1;
    color: rgba(79, 33, 183, 0.18);
    font-family: Georgia, serif;
    pointer-events: none;
}

/* translucent overlay to the left of the bubble so the decorative quote appears to have an extended highlight */
.testimonial-bubble::after {
    content: "";
    position: absolute;
    top: 0;
    left: -40px; /* extend overlay past the left edge of the bubble */
    bottom: 0;
    width: 40px;
    background: linear-gradient(90deg, rgba(79,33,183,0.06), rgba(79,33,183,0.00));
    pointer-events: none;
}
.testimonial-bubble .author {
    font-style: normal;
    display: block;
    text-align: center;
    margin-top: 10px;
    font-weight: 700;
    font-size: 13px;
    color: var(--accent-purple-light);
}


.faq-bubble .question {
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--accent-purple-mid);
}

.faq-bubble .answer {
    margin-top: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bubble-grid {
        grid-template-columns: 1fr;
    }
    
    .bubble-box {
        padding: 16px;
    }
}

/* Compact feature boxes */
.compact-features {
    gap: 16px;
}

.bubble-box.feature-bubble.compact {
    padding: 16px 20px;
    margin-bottom: 16px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bubble-box.feature-bubble.compact h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.3;
}

.bubble-box.feature-bubble.compact p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    opacity: 0.9;
}

.bubble-box.feature-bubble.compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Responsive adjustments for compact features */
@media (max-width: 768px) {
    .compact-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .bubble-box.feature-bubble.compact {
        padding: 14px 16px;
    }
    
    .bubble-box.feature-bubble.compact h3 {
        font-size: 0.95rem;
    }
    
    .bubble-box.feature-bubble.compact p {
        font-size: 0.8rem;
    }
}