
/* default desktop margin */
.hero-section.minecraft-hero > .container {
margin-top: 150px;
}
/* when narrower than 991px, override */
@media (max-width: 991px) {
.hero-section.minecraft-hero > .container {
margin-top: 0px !important;
}
}



@media (max-width: 768px) {
.mobile-hide {
display: none !important;
}

.panel-demo-card {
border-radius: 8px !important; /* Sharper corners */
}

.panel-demo-card > .p-5 {
padding-left: 0 !important; /* Remove left padding */
text-align: left !important;
align-items: flex-start !important;
}

.panel-demo-card h2,
.panel-demo-card p,
.panel-demo-card a {
text-align: left !important;
}

.panel-demo-card a.btn2 {
padding: 10px 20px !important; /* Smaller button padding */
height: auto !important;      /* Allow button height to adjust */
font-size: 1rem !important;   /* Optional: scale text down on mobile */
}
}

                            
                                .panel-demo-card:hover {
                                    transform: translateY(-16px) scale(1.01);
                                    box-shadow: 0 16px 48px 0 #22c55e33, 0 2px 16px 0 #0004;
                                    border-color: #22c55e;
                                }
                                .panel-demo-card .btn2-primary:hover {
                                    box-shadow: 0 0 32px 4px #22c55e66,0 2px 8px 0 #0002;
                                }
                            
                                                                    
                                                                        @media (max-width: 768px) {
                                                                            .slider-container {
                                                                                margin-left: 0px !important;
                                                                            }
                                                                        }
                                                                    
                                                                        
    .pricing-card .pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-card .pricing-features ul li {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-card .pricing-features ul li i {
    color: #22c55e;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.pricing-card.extreme .pricing-action .btn2-outline-primary,
.pricing-card.budget .pricing-action .btn2-outline-primary {
    background-color: #22c55e;
    border-color: #22c55e;
    color: #fff;
}

.pricing-card.extreme .pricing-action .btn2-outline-primary:hover,
.pricing-card.budget .pricing-action .btn2-outline-primary:hover {
    background-color: #1ea550;
    border-color: #1ea550;
}

/* Package recommendation styles */
.package-card {
    position: relative;
}

.package-card.recommended {
    border: 2px solid #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.package-card.recommended::after {
    content: 'Recommended';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
    color: #22c55e;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid #22c55e;
}

.package-card .package-details {
display: block;
width: 100%;
white-space: normal;
overflow-wrap: break-word;
word-break: break-word;
}

/* Adjust section spacing */
.hero-section {
    padding: 4rem 0 2rem;
}
.pricing-section {
    padding: 2rem 0 4rem;
}

.hero-section {
    min-height: 60vh;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--dark-bg), #1a2234);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/pattern-grid.png') repeat;
    opacity: 0.1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
    color: #fff;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn2-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.game-preview {
    position: relative;
    padding: 2rem;
}

.game-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.game-card {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-badges {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.badge {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 20px;
}

.processor-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.processor-badge i {
    font-size: 2rem;
    color: var(--primary-color);
}

.processor-info {
    display: flex;
    flex-direction: column;
}

.processor-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.processor-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

@media (max-width: 991px) {
    .hero-section {
        padding: 80px 0;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .stats-row {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .game-preview {
        margin-top: 3rem;
    }
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    opacity: 0.7;
}

.games-section {
    padding: 80px 0;
    background: var(--background-dark);
}

.game-server-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-server-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.card-image {
    position: relative;
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-image .badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.card-body {
    padding: 1.5rem;
}

.card-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-body p {
    opacity: 0.7;
    margin-bottom: 1rem;
    min-height: 48px;
}

.price-tag {
    margin-bottom: 1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    opacity: 0.7;
}

.features-section {
    padding: 80px 0;
    background: var(--background-darker);
}

.feature-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    opacity: 0.7;
    margin: 0;
}

.action-button {
    transition: all 0.2s ease;
    transform: none !important;
    white-space: nowrap;
}

.action-button:hover {
    transform: none !important;
}

.action-button:active {
    transform: none !important;
}

.pricing-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
}

.summary-card {
    height: 100%;
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.summary-header h3 {
    color: #fff;
    margin: 0;
}

.summary-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-features li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.summary-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

.locations-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a2234, var(--dark-bg));
}

.location-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
}

.location-flag {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.location-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.location-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.spec-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.spec-tag.extreme {
    background: linear-gradient(to right, #FF4500, #FF0000);
    color: #fff;
}

.spec-tag.premium {
    background: linear-gradient(to right, #FFD700, #FFB800);
    color: #000;
}

.spec-tag.budget {
    background: linear-gradient(to right, #C0C0C0, #A9A9A9);
    color: #000;
}

.spec-detail {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.location-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Modal Styles */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
}

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(4, 19, 27, 0.95);
    border-radius: 1rem;
    padding: 2rem;
    width: 90%;
    max-width: 800px;
}

.progress-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    width: 0;
    transition: width 0.3s ease;
}

.close-btn2 {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn2:hover {
    color: #fff;
}

.tag {
    font-size: 12px;
    font-weight: 600;
    margin-left: 6px;
    display: inline-block;
    vertical-align: baseline;
    line-height: 1;
}

.tag.premium {
    background: linear-gradient(to right, #FFD700, #FFB800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.tag.extreme {
    background: linear-gradient(to right, #FF4500, #FF0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.tag.budget {
    background: linear-gradient(to right, #C0C0C0, #A9A9A9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.dot-separator {
    display: inline-block;
    margin: 0 1px;
    font-size: 12px;
    color: white;
    margin-right: -5px;
    vertical-align: middle;
    line-height: 1;
}

.ping-info {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}

.ping-info .dot-separator,
.ping-info .cpu-label {
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
}

.radio-img-btn2 {
    margin-bottom: 1rem;
}

.radio-img-btn2 input[type="radio"] {
    display: none;
}

.radio-img-btn2 label {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-img-btn2 label:hover {
    background: rgba(255, 255, 255, 0.1);
}

.radio-img-btn2 input[type="radio"]:checked + label {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid #22c55e;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 40px;
}

.slider-container input[type="range"] {
    width: 600px;
    height: 6px;
    -webkit-appearance: none;
    background: #ccc;
    border-radius: 3px;
    outline: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #141422;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #22c55e;
}

.button-row {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.button-11,
.back-button-11,
.unclickable-button-11 {
    border-radius: 18px;
    color: #F4F5F5;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    padding: 6px 12px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    line-height: 1.4;
}

.button-11 {
    background-color: #1A2731;
    border: 1px solid #46515F;
}

.back-button-11 {
    background-color: #1A2731;
    border: 1px solid #46515F;
}

.unclickable-button-11 {
    color: #7f878b;
    background-color: #0f1d26;
    border: 1px solid #27343f;
    pointer-events: none;
}

@media (max-width: 768px) {
    .overlay-content {
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .button-row {
        flex-direction: column;
        gap: 1rem;
    }

    .button-row button {
        width: 100%;
    }

    .slider-container {
        margin: 20px 0;
    }

    .slider-container input[type="range"] {
        width: 100%;
    }
}

/* Update pricing card styles */
.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-card .pricing-features {
    margin: 2rem 0;
}

.pricing-card .pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-card .pricing-features ul li {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-card .pricing-features ul li i {
    color: #22c55e;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.pricing-card.extreme .pricing-action .btn2-outline-primary,
.pricing-card.budget .pricing-action .btn2-outline-primary {
    background-color: #22c55e;
    border-color: #22c55e;
    color: #fff;
}

.pricing-card.extreme .pricing-action .btn2-outline-primary:hover,
.pricing-card.budget .pricing-action .btn2-outline-primary:hover {
    background-color: #1ea550;
    border-color: #1ea550;
}

/* Package recommendation styles */
.package-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
    border: 2px solid transparent;
}

.package-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.package-card.recommended {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.package-card.recommended::after {
    content: 'Recommended';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
    color: #22c55e;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid #22c55e;
}

.package-card .package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.package-card .package-details {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Package grid layout */
.package-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .package-grid {
        grid-template-columns: 1fr;
    }
}

/* Feature card styles */
.feature-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    background: rgba(20, 20, 40, 0.3);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #22c55e;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(34, 197, 94, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card h4 {
    position: relative;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    z-index: 1;
}

.feature-card p {
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    z-index: 1;
    font-size: 1rem;
    line-height: 1.6;
}

.feature-card .jarallax-img {
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.feature-card:hover .jarallax-img {
    opacity: 0.15;
}

@media (max-width: 768px) {
    .feature-card {
        margin-bottom: 20px;
    }
    
    .feature-card h4 {
        font-size: 1.25rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
/* if you want a slightly narrower gutter on very small phones */

}


/* 2) Pull the pricing-guide box up so it “cuts into” the topbar on desktop */
@media (min-width: 992px) {
/* remove the desktop-only top-margin that pushes the hero down */
/* lift the summary box up over the header */
.pricing-summary {
position: relative;
top: -60px;     /* adjust this to about half your header’s height */
z-index: 2;     /* ensure it sits above the header/topbar */
}
}


/* 3) Make room for the “Recommended” badge so it doesn’t overlap the price */
.package-card.recommended {
/* add extra padding on the right to clear the badge */
padding-right: 8.5rem;  /* tweak as needed so the price/text shifts left */
}
.overlay-content {
/* hide any overflow so the bar never spills out */
overflow: hidden;
}
@media (max-width: 768px) {
.button-row {
flex-direction: row !important;
justify-content: space-between !important;
background: rgba(4, 19, 27, 0.95) !important; /* match the .overlay-content exactly */
backdrop-filter: none; /* prevent any unintended blur */
box-shadow: none;
border: none;
margin-bottom: -10px !important;

}

/* only push the left button in from the left wall… */
.button-row > *:first-child {
margin-left: 1rem !important;
}
/* …and only push the right button in from the right wall */
.button-row > *:last-child {
margin-right: 1rem !important;
}
.button-row button,
.button-row a {
/* cancel the width:100% stacking rule */
width: 100px !important;
}
}
/* 1) Prevent body scrolling when modal is open */
body.modal-open {
overflow: hidden;
}

/* 3) Restore the clipping of the progress-bar only */
.progress-container {
overflow: hidden;
}
/* 1) Fullscreen flex container */


.overlay-content {
display: flex;
flex-direction: column;
justify-content: flex-start; /* 🔧 Fix: prevent over-stretching */
max-height: 90vh;
overflow: hidden;
}

/* 3) Each page inside modal */
.overlay-content .overlay-page {
flex: 1 1 auto;
display: flex;
flex-direction: column;
justify-content: space-between;
overflow: hidden;
}

/* 4) Special scroll behavior for page-3 */
.overlay-content .overlay-page.page-3 {
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}

/* 5) Sticky Back/Next button row */
/* .overlay-content .button-row {
position: sticky;
bottom: 0;
background: rgba(4, 19, 27, 0.95);
padding: 1rem 2rem;
z-index: 20;
display: flex;
justify-content: space-between;
box-sizing: border-box;
} */

/* 6) Non-sticky button row on other pages */
/* .overlay-page:not(.page-3) .button-row {
position: relative;
margin-top: auto;
background: transparent;
padding: 1rem 2rem;
} */

.overlay-content .button-row {
position: sticky;
bottom: 0;
background: rgba(4, 19, 27, 0.95) !important; /* match the .overlay-content exactly */
backdrop-filter: none; /* prevent any unintended blur */
box-shadow: none;
border: none;
padding: 1rem 2rem;
z-index: 20;
display: flex;
justify-content: space-between;
box-sizing: border-box;
}


/* Optional: prevent buttons from being too close to edges */
.button-row button {
max-width: calc(50% - 1rem);
}

