/* Urgent MAX Section */
.max-urgent {
    padding: 60px 0;
    position: relative;
    z-index: 5;
    background: transparent;
}

.max-urgent-card {
    position: relative;
    /* Increased opacity for better visibility against complex backgrounds */
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 40px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* Stronger shadow to lift it off the background */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.max-urgent-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 50% 50%, 
        rgba(255, 71, 87, 0.15), 
        rgba(4, 140, 252, 0.1), 
        transparent 70%
    );
    animation: urgent-pulse 4s ease-in-out infinite;
    pointer-events: none;
}

.max-urgent-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.max-urgent-icon {
    font-size: 3rem;
    margin-bottom: 5px;
    filter: drop-shadow(0 0 15px rgba(255, 71, 87, 0.4));
    animation: rocket-float 3s ease-in-out infinite;
}

.max-urgent-card h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0;
    color: white;
    line-height: 1.2;
}

.highlight-urgent {
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b81 0%, #ff4757 50%, #e84118 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 71, 87, 0.5));
    display: inline-block;
    position: relative;
}

/* Glitch effect or underline for emphasis - REMOVED per user request */
/* .highlight-urgent::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #ff4757;
    border-radius: 2px;
    box-shadow: 0 0 10px #ff4757;
    opacity: 0.8;
} */

.max-urgent-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0;
}

.max-btn-urgent {
    margin-top: 10px;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    background: #0f172a; /* Fallback */
    border-radius: 999px;
    position: relative;
    /* Must be visible for the glow to show */
    overflow: visible;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    z-index: 1;
}

/* Pseudo-element for the moving border */
.max-btn-urgent::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: 999px;
    padding: 2px; /* Border width */
    background: conic-gradient(from var(--border-angle), transparent 20%, #ff4757 50%, transparent 80%);
    -webkit-mask: 
       linear-gradient(#fff 0 0) content-box, 
       linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: border-spin 3s linear infinite;
}

/* Pseudo-element for the moving glow */
.max-btn-urgent::after {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -2;
    border-radius: 999px;
    background: conic-gradient(from var(--border-angle), transparent 20%, #ff4757 50%, transparent 80%);
    opacity: 0.6;
    filter: blur(10px);
    animation: border-spin 3s linear infinite;
}

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes border-spin {
    from { --border-angle: 0deg; }
    to   { --border-angle: 360deg; }
}

.max-btn-urgent:hover {
    transform: translateY(-1px);
}

/* Speed up on hover */
.max-btn-urgent:hover::before,
.max-btn-urgent:hover::after {
    animation-duration: 1.5s;
}


.max-btn-urgent span {
    position: relative;
    z-index: 2;
}

/* .max-btn-urgent .btn-glow removed */
/* 
.max-btn-urgent .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 71, 87, 0.4), 
        transparent
    );
    transition: left 0.5s;
    z-index: 1;
}

.max-btn-urgent:hover .btn-glow {
    left: 100%;
    transition: left 0.5s;
} 
*/

/* REMOVED .max-btn-urgent:hover block as it's now handled in the main declaration */
/* .max-btn-urgent:hover { ... } */


/* 
.max-btn-urgent:hover .btn-glow {
    left: 100%;
    transition: left 0.5s;
} 
*/

@keyframes urgent-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes rocket-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

@media (max-width: 600px) {
    .max-urgent-card {
        padding: 30px 20px;
        border-radius: 20px;
    }
    .max-urgent-card h2 {
        font-size: 1.8rem;
    }
}
