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

body {
    font-family: 'Rajdhani', sans-serif;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0033 25%, #000033 50%, #001122 75%, #000000 100%);
    position: relative;
    color: #ffffff;
}

.container {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.content {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 20;
}

/* Smooth Title Styling */
.title-wrapper {
    margin-bottom: 3rem;
}

.smooth-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    color: #ffffff;
    letter-spacing: 3px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    animation: fadeInUp 1s ease-out both;
}

/* Status Message */
.status-message {
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.main-message {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ff6b6b;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.sub-message {
    font-size: 1.2rem;
    color: #cccccc;
    font-weight: 300;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 1s both;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center; /* Vertically center icon and content */
    gap: 1rem;
    min-width: 0; /* Allow card to shrink */
    overflow: hidden; /* Prevent content overflow */
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
}

.info-icon {
    font-size: 2rem;
    filter: grayscale(0.3);
    flex-shrink: 0; /* Prevent icon from shrinking */
    width: 2.5rem; /* Fixed width for consistent spacing */
    text-align: center; /* Center the emoji */
}

.info-content {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center the content */
    align-items: center; /* Horizontally center the content */
    flex: 1;
    min-width: 0; /* Allow flex item to shrink below content size */
    overflow: hidden; /* Prevent content from overflowing */
    text-align: center; /* Center text alignment */
}

.info-label {
    font-size: 0.9rem;
    color: #888;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.info-value {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 500;
    font-family: 'Orbitron', monospace;
    word-wrap: break-word; /* Break long words */
    word-break: break-all; /* Break words if needed */
    overflow-wrap: break-word; /* Modern syntax for word wrapping */
    hyphens: auto; /* Add hyphens for better breaking */
    max-width: 100%; /* Ensure it doesn't exceed container */
    line-height: 1.3; /* Better line spacing for wrapped text */
}

/* Error Code */
.error-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.code-number {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    color: #ff0080;
    text-shadow: 0 0 30px rgba(255, 0, 128, 0.5);
}

.code-text {
    font-size: 1.5rem;
    color: #cccccc;
    font-weight: 300;
}

/* Background Animation */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 0, 128, 0.1), rgba(0, 255, 255, 0.1));
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 25%;
    animation-delay: 1s;
}

.shape-5 {
    width: 40px;
    height: 40px;
    bottom: 20%;
    right: 40%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.7;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .smooth-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .main-message {
        font-size: 1.5rem;
    }
    
    .sub-message {
        font-size: 1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-card {
        padding: 1rem;
        flex-direction: column; /* Stack icon and content vertically on mobile */
        align-items: center;
        text-align: center;
    }
    
    .info-content {
        width: 100%; /* Full width on mobile */
    }
    
    .info-value {
        font-size: 1rem; /* Slightly smaller font for mobile */
    }
    
    .code-number {
        font-size: 3rem;
    }
    
    .code-text {
        font-size: 1.2rem;
    }
    
    .content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .smooth-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .main-message {
        font-size: 1.3rem;
    }
    
    .code-number {
        font-size: 2.5rem;
    }
}
