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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(-45deg, #1f4068, #162447, #0f4c75, #3282b8);
    background-size: 400% 400%; 
    animation: gradientBG 10s ease infinite;
    min-height: 100vh; 
    display: flex; 
    justify-content: center; 
    align-items: flex-start;
    color: #fff; 
    padding: 40px 15px; 
    overflow-x: hidden;
}

.center-wrapper { 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; 
    align-items: center; 
    gap: 25px; 
    width: 100%; 
    max-width: 500px; 
}

/* মেইন কন্টেইনার বক্সের ফায়ার গ্লাস অ্যানিমেশন */
.container { 
    position: relative;
    overflow: hidden;
    text-align: center; 
    padding: 40px 30px 90px 30px; 
    border-radius: 24px; 
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 42, 0, 0.3); 
    width: 100%; 
    animation: slideUp 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards; 
    z-index: 20; 
}

.container::before {
    content: ''; 
    position: absolute; 
    top: -50%; 
    left: -50%; 
    width: 200%; 
    height: 200%;
    /* ফায়ার গ্লোয়িং কালার কম্বিনেশন */
    background: conic-gradient(#ff2a00, #ff7a00, #ffcc00, transparent, transparent, #ff2a00);
    animation: rotateBorder 4s linear infinite; 
    z-index: 1;
}

.container::after {
    content: ''; 
    position: absolute; 
    top: 2px; 
    left: 2px; 
    right: 2px; 
    bottom: 2px;
    background: rgba(17, 18, 24, 0.95); 
    backdrop-filter: blur(15px); 
    border-radius: 22px; 
    z-index: 2;
}

#offlineNotice, #normalContent { 
    position: relative; 
    z-index: 3; 
}

h1 { 
    font-size: 20px; 
    margin-bottom: 12px; 
    font-weight: 600; 
    min-height: 40px; 
}

p { 
    font-size: 14px; 
    color: #e0e6ed; 
    margin-bottom: 25px; 
    line-height: 1.6; 
}

.hero-section { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 20px; 
    margin-bottom: 25px; 
    flex-wrap: wrap; 
}

.logo-container { 
    position: relative; 
    width: 80px; 
    height: 80px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.static-logo { 
    width: 55px; 
    height: 55px; 
    object-fit: contain; 
    z-index: 2; 
    border-radius: 12px; 
    display: none; 
}

/* স্পিনিং রিং অ্যানিমেশন (ফায়ার থিম) */
.loader-ring { 
    position: absolute; 
    width: 80px; 
    height: 80px; 
    border: 4px solid rgba(255, 255, 255, 0.05); 
    border-radius: 50%; 
    border-left-color: #ff3d00; 
    border-right-color: #ffcc00; 
    animation: spin 2s linear infinite; 
    box-shadow: 0 0 15px rgba(255, 61, 0, 0.4); 
    z-index: 1; 
}

.loading-placeholder {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: loadingPulse 1.5s infinite;
    border-radius: 8px;
    display: inline-block;
}

.text-placeholder { 
    width: 80%; 
    height: 20px; 
    margin: 10px 0; 
}

/* ভিজিটর বক্সের ফায়ার বর্ডার অ্যানিমেশন */
.visitor-stats-wrapper {
    position: relative;
    border-radius: 12px;
    padding: 2px;
    overflow: hidden;
    min-width: 175px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.visitor-stats-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(#ff2a00, #ff7a00, #ffcc00, transparent, transparent, #ff2a00);
    animation: rotateBorder 4s linear infinite;
}

.visitor-stats { 
    position: relative;
    background: #111218;
    border-radius: 10px; 
    padding: 10px 15px; 
    text-align: left; 
    z-index: 2;
}

.stats-title { 
    font-size: 11px; 
    color: #ffb74d; 
    margin-bottom: 8px; 
    font-weight: bold; 
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2); 
    padding-bottom: 5px; 
    text-align: center; 
}

.stat-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-size: 13px; 
    color: #e0e6ed; 
    margin-bottom: 5px; 
    gap: 15px; 
}

.stat-number { 
    color: #ff7a00; 
    font-weight: bold; 
    font-family: 'Courier New', Courier, monospace; 
    font-size: 14px; 
    text-shadow: 0 0 5px rgba(255, 122, 0, 0.5); 
}

/* ফায়ার থিম বাটন CSS */
.btn { 
    display: none; 
    padding: 14px 30px; 
    background: linear-gradient(90deg, #ff2a00 0%, #ff7a00 100%); 
    color: #ffffff; 
    text-decoration: none; 
    border-radius: 50px; 
    font-weight: bold; 
    font-size: 15px; 
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); 
    box-shadow: 0 8px 20px rgba(255, 42, 0, 0.4); 
    white-space: nowrap; 
    position: relative; 
    margin: 15px auto 25px auto; 
    z-index: 10; 
    border: 2px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

.btn:hover { 
    transform: translateY(-4px) scale(1.02); 
    box-shadow: 0 12px 30px rgba(255, 42, 0, 0.7); 
}

/* ভিডিও বক্সের ফায়ার গ্লাস অ্যানিমেশন */
.video-wrapper { 
    width: 100%; 
    margin-top: 20px; 
    display: none; 
    border-radius: 14px; 
    overflow: hidden; 
    box-shadow: 0 8px 24px rgba(0,0,0,0.4); 
    position: relative; 
}

.video-wrapper::before {
    content: ''; 
    position: absolute; 
    top: -50%; 
    left: -50%; 
    width: 200%; 
    height: 200%;
    background: conic-gradient(#ff2a00, #ff7a00, #ffcc00, transparent, transparent, #ff2a00);
    animation: rotateBorder 4s linear infinite; 
    z-index: 1;
}

.video-wrapper::after {
    content: ''; 
    position: absolute; 
    top: 2px; 
    left: 2px; 
    right: 2px; 
    bottom: 2px;
    background: #000; 
    border-radius: 12px; 
    z-index: 2;
}

video { 
    width: 100%; 
    display: block; 
    position: relative; 
    z-index: 3; 
    border-radius: 12px; 
    transition: all 0.3s ease; 
}

/* মিডিয়া শোকেস বক্স */
.media-box-wrapper {
    width: 100%; 
    margin-top: 20px; 
    display: none; 
    border-radius: 14px; 
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4); 
    position: relative;
}

.media-box-wrapper::before {
    content: ''; 
    position: absolute; 
    top: -50%; 
    left: -50%; 
    width: 200%; 
    height: 200%;
    background: conic-gradient(#ff2a00, #ff7a00, #ffcc00, transparent, transparent, #ff2a00);
    animation: rotateBorder 4s linear infinite; 
    z-index: 1;
}

.media-box-wrapper::after {
    content: ''; 
    position: absolute; 
    top: 2px; 
    left: 2px; 
    right: 2px; 
    bottom: 2px;
    background: #111218; 
    border-radius: 12px; 
    z-index: 2;
}

.media-box-content { 
    position: relative; 
    z-index: 3; 
    width: 100%; 
    display: block; 
}

.media-box-content img { 
    width: 100%; 
    display: none; 
    border-radius: 12px; 
    transition: all 0.3s ease; 
}

.media-box-content video { 
    width: 100%; 
    display: none; 
    object-fit: contain; 
    border-radius: 12px; 
    background: #000; 
    transition: all 0.3s ease; 
}

.media-box-content iframe { 
    width: 100%; 
    display: none; 
    aspect-ratio: 16/9; 
    border: none; 
    border-radius: 12px; 
    background: #000; 
}

/* অফলাইন নোটিশ বক্সের গ্লাস অ্যানিমেশন */
.no-internet-box { 
    display: none; 
    position: relative; 
    overflow: hidden; 
    padding: 15px; 
    border-radius: 15px; 
    margin-bottom: 20px; 
    color: #ff9f93; 
    animation: fadeIn 0.5s ease-in-out; 
}

.no-internet-box::before {
    content: ''; 
    position: absolute; 
    top: -50%; 
    left: -50%; 
    width: 200%; 
    height: 200%;
    background: conic-gradient(#e74c3c, #ff9f93, transparent, transparent, #e74c3c);
    animation: rotateBorder 4s linear infinite; 
    z-index: 1;
}

.no-internet-box::after {
    content: ''; 
    position: absolute; 
    top: 2px; 
    left: 2px; 
    right: 2px; 
    bottom: 2px;
    background: rgba(30, 15, 15, 0.95); 
    backdrop-filter: blur(15px); 
    border-radius: 13px; 
    z-index: 2;
}

.no-internet-box h3 { 
    font-size: 16px; 
    margin-bottom: 8px; 
    color: #fff; 
    position: relative; 
    z-index: 3; 
}

@keyframes rotateBorder { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes gradientBG { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes loadingPulse { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes slideUp { 0% { opacity: 0; transform: translateY(40px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { 0% { opacity: 0; transform: translateY(-20px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
