
:root {
    --primary-blue: #3b82f6;          /* vibrant blue */
    --blue-glow: rgba(59, 130, 246, 0.5);
    --light-blue: #93c5fd;             /* soft blue for accents */
    --white: #ffffff;
    --off-white: #f0f4ff;
    --dark: #0a0e1a;                    /* deep background base */
    --card-bg: rgba(10, 14, 26, 0.2);
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    background: var(--dark);
}
html::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.10),
            rgba(0, 0, 0, 0.10)
        ),
        url("https://ggnodes.xyz/assets/images/Backgrounds/IMG_5917.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(10px);
    z-index: -1;
    pointer-events: none;
}
body {
    font-family: 'Poppins', sans-serif;
    background-color: transparent;
    color: var(--text-light);
    min-height: 100vh;
    margin: 0;
    position: relative;
    padding-bottom: 100px; /* Space for fixed button */
}

.container-custom, section, .plan-tabs, .plans-section, .ticket-section, .features-section, footer, #footer {
    position: relative;
    z-index: 10;
}

/* ===== MAIN LAYOUT ===== */
.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* SPLIT BUTTON - ALWAYS SINGLE LINE */
.split-button-wrapper {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;

    display: flex;
    flex-wrap: nowrap; /* prevent wrap */
    white-space: nowrap; /* prevent text wrap */

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);

    padding: 2px;
    width: fit-content; /* shrink to content */
    max-width: 95%; /* prevent overflow on very small screens */
}

/* Button items */
.split-button-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    padding: 6px 12px; /* smaller padding */
    cursor: pointer;
    color: white;
    font-weight: 500;

    white-space: nowrap; /* force single line */
    flex: none; /* prevent stretching */
    margin: 0;
}

/* Smaller icon */
.split-button-item i {
    font-size: 0.9rem;
}

/* FORCE SELECT TO BE SMALL */
.split-select {
    width: auto !important;
    min-width: 0 !important;
    max-width: 85px;      /* control max size */
    padding-right: 18px;  /* small arrow space */
    background: transparent;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0 14px 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Make wrapper fully shrink */
.split-button-wrapper {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
}

/* Remove any stretching everywhere */
.split-button-item {
    flex: 0 0 auto !important;
}

/* ===== DESKTOP 10% LONGER ===== */
@media (min-width: 999px) {
    .split-button-wrapper {
        transform: translateX(-50%) scaleX(1.1);
    }
}

.split-button-item {
    padding: 8px 12px;
}

.split-select {
    font-size: 0.8rem;
    min-width: 70px;
    padding: 0 12px 0 3px;
}

.split-button-item i {
    font-size: 0.9rem;
}

/* ===== MOBILE HARD FIX ===== */
@media (max-width: 768px) {
    .split-button-wrapper {
        display: flex !important;
        flex-direction: row !important;   /* NEVER column */
        flex-wrap: nowrap !important;     /* NEVER wrap */
        width: auto !important;
        max-width: 95% !important;
        overflow: hidden;                 /* prevent breaking */
    }

    .split-button-item {
        flex: 0 0 auto !important;        /* no stretching */
        white-space: nowrap !important;
    }

    .split-select {
        min-width: 0 !important;
        max-width: 75px !important;       /* keep short on mobile */
        font-size: 0.7rem;
    }
}

/* Premium badge */
.premium-badge {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid gold;
    border-radius: 12px;
    padding: 2px 6px;
    font-size: 0.65rem;
    color: gold;
    margin-left: 5px;
}

/* Divider line */
.button-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    height: 30px;
    align-self: center;
}

/* ***** HEADER TEXT : WHITE + GLOW ***** */
.page-header {
    text-align: center;
    padding: 100px 0 50px;
    position: relative;
    animation: fadeSlideUp 0.9s ease forwards;
}

.page-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;                         
    text-shadow: 
        0 0 8px #fff,                        
        0 0 20px var(--primary-blue),        
        0 0 40px rgba(59, 130, 246, 0.4),    
        2px 2px 0 rgba(0, 0, 0, 0.3);        
    letter-spacing: -0.02em;
    font-smooth: never;
    -webkit-font-smoothing: none;
    transform: scale(1.01);
}

.page-title::after {
    content: "Discord Bot Hosting";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-shadow: 1px 1px 0 #3b82f6, -1px -1px 0 #ffffff30;
    opacity: 0.2;
    pointer-events: none;
    z-index: -1;
}

.page-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    max-width: 650px;
    margin: 0 auto;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    padding: 12px 30px;
    border-radius: 60px;
    border: 1px solid rgba(59, 130, 246, 0.4);
    display: inline-block;
    text-shadow: 0 0 15px #3b82f6;
}

/* Plan Tabs */
.plan-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 60px 0 50px;
    flex-wrap: wrap;
    animation: fadeSlideUp 1s ease forwards;
}

.plan-tab {
    background: rgba(20, 25, 35, 0.4);
    border: 1.5px solid rgba(59, 130, 246, 0.4);
    border-radius: 40px;
    padding: 16px 48px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}

.plan-tab:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.25);
}

.plan-tab.active {
    background: rgba(59, 130, 246, 0.25);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.plans-container {
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.plans-container.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ===== MODERN GLASS CARDS ===== */
.plan-card {
    background: rgba(15, 20, 28, 0.3);
    backdrop-filter: blur(16px) saturate(200%);
    -webkit-backdrop-filter: blur(16px) saturate(200%);
    border-radius: 32px;
    padding: 32px 28px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.02) inset;
    color: #fff;
    animation: cardPop 0.7s ease forwards;
    animation-delay: calc(0.1s * var(--card-index, 0));
    opacity: 0; 
}

@keyframes cardPop {
    0% { opacity: 0; transform: scale(0.96) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 50%) var(--y, 50%), rgba(59, 130, 246, 0.2), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.plan-card:hover::before {
    opacity: 1;
}

.plan-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.plan-card:hover::after {
    transform: translateX(100%);
}

.plan-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 30px 50px -15px rgba(59, 130, 246, 0.3);
    background: rgba(20, 28, 40, 0.4);
}

.plan-card.budget {
    border-left: 3px solid #3b82f6;
}
.plan-card.premium {
    border-left: 3px solid #ffffff;
}

.plan-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}

.budget .plan-badge {
    background: rgba(59, 130, 246, 0.3);
    border-color: #3b82f680;
}
.premium .plan-badge {
    background: rgba(255, 255, 255, 0.3);
    border-color: #ffffff80;
}

.plan-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff, #93c5fd, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-price {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1;
}

.budget .plan-price {
    color: #a5d8ff;
    text-shadow: 0 0 15px #3b82f6;
}
.premium .plan-price {
    color: #ffffff;
    text-shadow: 0 0 15px #ffffff;
}

.plan-price span {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li i {
    font-size: 1.2rem;
    color: #3b82f6;
}
.budget .plan-features li i { color: #3b82f6; }
.premium .plan-features li i { color: #ffffff; }

.plan-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 14px 30px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.budget .plan-btn {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(59, 130, 246, 0.1));
    border-color: #3b82f6;
}
.premium .plan-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    border-color: #ffffff;
}

.plan-btn:hover {
    background: var(--primary-blue);
    color: #0a0e1a;
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 15px 25px rgba(59, 130, 246, 0.4);
}
.budget .plan-btn:hover { background: #ffffff; color: #0a0e1a; border-color: #ffffff; }
.premium .plan-btn:hover { background: #ffffff; color: #0a0e1a; border-color: #ffffff; }

/* Ticket section */
.ticket-section {
    margin-top: 90px;
    padding: 60px 0;
    animation: fadeSlideUp 1.1s ease forwards;
}

.ticket-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 40px;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.7);
    font-weight: 700;
}

.ticket-box {
    background: rgba(10, 15, 22, 0.35);
    backdrop-filter: blur(18px) saturate(200%);
    -webkit-backdrop-filter: blur(18px) saturate(200%);
    border-radius: 50px;
    padding: 50px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 30px 50px -20px black;
}

.ticket-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px;
    background: rgba(255,255,255,0.02);
    border-radius: 40px;
    margin-bottom: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(8px);
    transition: 0.3s;
}
.ticket-item:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.4);
}

.ticket-icon {
    font-size: 2.2rem;
    color: var(--primary-blue);
    min-width: 70px;
    text-align: center;
}

.ticket-content h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #ffffff;
}

.ticket-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-left: auto;
    white-space: nowrap;
}

.ticket-item .plan-btn {
    width: auto;
    margin: 0;
    padding: 12px 32px;
}

/* feature cards */
.feature-card {
    background: rgba(20, 25, 35, 0.25) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    transition: 0.4s;
    border-radius: 30px !important;
    padding: 30px 20px !important;
    animation: fadeSlideUp 1s ease forwards;
}
.feature-card:hover {
    background: rgba(30, 40, 55, 0.35) !important;
    border-color: var(--primary-blue) !important;
    transform: translateY(-8px);
}
.feature-card i {
    color: var(--primary-blue) !important;
}
.feature-card h4 {
    color: #ffffff;
}

@keyframes fadeSlideUp {
    0% { opacity: 0; transform: translateY(25px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* responsive */
@media (max-width: 992px) {
    .page-title { font-size: 3.2rem; }
    .plan-tab { padding: 14px 32px; }

    /* Keep split button single row */
    .split-button-wrapper {
        width: auto !important;
        max-width: 95%;
        flex-wrap: nowrap !important;
    }

    .split-button-item {
        flex: 0 0 auto !important;
    }
}

@media (max-width: 768px) {
    .page-title { font-size: 2.6rem; }
    .page-subtitle { font-size: 1.1rem; padding: 10px 20px; }
    .plan-tabs { flex-direction: column; align-items: center; }
    .plan-tab { width: 90%; text-align: center; }
    .ticket-item { flex-wrap: wrap; }
    .ticket-price { margin-left: 0; width: 100%; text-align: center; }
    .ticket-item .plan-btn { width: 100%; }
    .split-button-wrapper { flex-direction: column; border-radius: 30px; }
    .split-button-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .split-button-item:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
    .page-title { font-size: 2.2rem; }
    .split-select { min-width: 80px; }
}

#footer { position: relative; z-index: 10; }

.page-subtitle i, .ticket-item .fa-discord, .fa-crown {
    color: var(--primary-blue) !important;
}
.plan-tab i {
    color: var(--primary-blue);
}
.feature-card p {
    color: #ddd;
}
