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

body {
    min-height: 100vh;

    font-family: Arial, sans-serif;

    background:
        radial-gradient(circle at 10% 10%, rgba(120, 90, 255, 0.25), transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(0, 200, 255, 0.20), transparent 30%),
        #080b16;

    color: white;

    overflow-x: hidden;
}


/* Main container */

.container {
    width: 100%;
    max-width: 850px;

    margin: auto;

    padding: 35px 20px 25px;
}


/* Header */

.header {
    display: flex;
    align-items: center;
    gap: 15px;

    animation: slideDown 0.8s ease;
}

.logo {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 17px;

    font-size: 28px;
    font-weight: bold;

    background: linear-gradient(
        135deg,
        #7c5cff,
        #00c6ff
    );

    box-shadow:
        0 10px 30px rgba(80, 100, 255, 0.35);
}

.header h1 {
    font-size: 28px;
    letter-spacing: 0.5px;
}

.header p {
    margin-top: 4px;

    color: #9da5bd;
    font-size: 14px;
}


/* Welcome */

.welcome {
    margin-top: 60px;

    animation: fadeUp 0.9s ease;
}

.small-text {
    color: #8c7cff;

    font-size: 12px;
    font-weight: bold;

    letter-spacing: 2px;
}

.welcome h2 {
    margin-top: 10px;

    font-size: clamp(28px, 5vw, 42px);

    line-height: 1.15;
}

.description {
    margin-top: 12px;

    color: #9da5bd;

    font-size: 16px;
}


/* Topics */

.topics {
    display: grid;

    gap: 18px;

    margin-top: 35px;
}


/* Topic card */

.topic {
    position: relative;

    display: flex;
    align-items: center;

    gap: 17px;

    padding: 20px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 22px;

    background: rgba(255, 255, 255, 0.055);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    cursor: pointer;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;

    animation: cardAppear 0.7s ease both;
}


/* Shine animation */

.topic::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.08),
        transparent
    );

    transform: skewX(-20deg);

    transition: left 0.7s ease;
}


/* Hover */

.topic:hover {
    transform: translateY(-6px) scale(1.01);

    border-color: rgba(124, 92, 255, 0.5);

    background: rgba(255, 255, 255, 0.09);

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.35),
        0 0 25px rgba(124, 92, 255, 0.12);
}

.topic:hover::before {
    left: 140%;
}


/* Icon */

.topic-icon {
    min-width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 17px;

    font-size: 26px;

    background: linear-gradient(
        135deg,
        rgba(124, 92, 255, 0.25),
        rgba(0, 198, 255, 0.15)
    );
}


/* Text */

.topic-info {
    flex: 1;
}

.topic-info h3 {
    font-size: 19px;

    margin-bottom: 5px;
}

.topic-info p {
    color: #9299af;

    font-size: 13px;
}


/* Arrow */

.arrow {
    font-size: 25px;

    color: #8d7cff;

    transition: transform 0.3s ease;
}

.topic:hover .arrow {
    transform: translateX(6px);
}


/* Footer */

footer {
    margin-top: 55px;

    text-align: center;

    color: #666d82;

    font-size: 12px;

    animation: fadeUp 1.2s ease;
}


/* Animations */

@keyframes slideDown {

    from {
        opacity: 0;
        transform: translateY(-25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes cardAppear {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* Mobile */

@media (max-width: 600px) {

    .container {
        padding: 25px 15px;
    }

    .header h1 {
        font-size: 23px;
    }

    .logo {
        width: 48px;
        height: 48px;

        font-size: 23px;
    }

    .welcome {
        margin-top: 45px;
    }

    .topic {
        padding: 16px;
        border-radius: 19px;
    }

    .topic-icon {
        min-width: 48px;
        height: 48px;

        font-size: 22px;
    }

    .topic-info h3 {
        font-size: 17px;
    }

    .topic-info p {
        font-size: 12px;
    }

}

/* =================================
   UNIQUE HERO SECTION
================================= */

.hero {
    position: relative;

    width: 100%;
    padding: 35px 20px;
    margin-bottom: 35px;

    text-align: center;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.09),
            rgba(255, 255, 255, 0.03)
        );

    border: 1px solid rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    overflow: hidden;

    animation: heroShow 0.8s ease both;
}


/* =================================
   GLOW EFFECT
================================= */

.hero::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -90px;
    left: 50%;

    transform: translateX(-50%);

    background: rgba(100, 130, 255, 0.18);

    filter: blur(50px);

    border-radius: 50%;

    pointer-events: none;
}


/* =================================
   SALAM
================================= */

.greeting {
    position: relative;

    font-size: clamp(16px, 2.5vw, 21px);

    color: #b8c5ff;

    margin-bottom: 14px;

    line-height: 1.8;

    direction: rtl;

    animation: greetingShow 0.8s ease 0.2s both;
}


/* =================================
   MAIN TITLE
================================= */

.hero h2 {
    position: relative;

    font-size: clamp(26px, 5vw, 40px);

    line-height: 1.2;

    margin: 0 0 14px;

    color: #ffffff;

    letter-spacing: 0.5px;

    animation: titleShow 0.8s ease 0.35s both;
}


/* =================================
   TAGLINE
================================= */

.tagline {
    position: relative;

    font-size: clamp(13px, 2vw, 16px);

    line-height: 1.7;

    color: #aab4d4;

    letter-spacing: 1.5px;

    margin: 0;

    animation: taglineShow 0.8s ease 0.5s both;
}


/* =================================
   HERO ANIMATIONS
================================= */

@keyframes heroShow {

    from {
        opacity: 0;
        transform: translateY(25px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


@keyframes greetingShow {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes titleShow {

    from {
        opacity: 0;
        transform: translateY(15px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


@keyframes taglineShow {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =================================
   MOBILE
================================= */

@media (max-width: 600px) {

    .hero {
        padding: 28px 15px;

        border-radius: 22px;

        margin-bottom: 28px;
    }

    .greeting {
        margin-bottom: 10px;
    }

    .hero h2 {
        margin-bottom: 10px;
    }

    .tagline {
        letter-spacing: 1px;
    }
}





/* =========================================
   RESPONSIVE PROFILE & WATERMARK BACKGROUND
   ========================================= */

/* Background Overlay with Responsive Focus */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('bg.jpg');
    background-size: cover;
    background-position: center top; /* মোবাইল ও পিসিতে মূল বিষয়টি যাতে কেটে না যায় */
    background-repeat: no-repeat;
    opacity: 0.20; /* জলছাপের ঘনত্ব */
    z-index: -1;
    pointer-events: none;
}

/* Header Logo / Profile Photo */
.header .logo {
    font-size: 0;
    background: url('profile.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    flex-shrink: 0; /* মোবাইলে যেন সাইজ ছোট হয়ে না যায় */
}

/* Mobile Specific Alignment */
@media (max-width: 600px) {
    body::before {
        background-position: center center; /* মোবাইলে সেন্টারে ফোকাস রাখবে */
    }
}




body {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}






/* =========================================
   RESPONSIVE CLOCK BOX (TIME & DATE ONLY)
   ========================================= */

.hero-time {
    position: relative;
    top: auto;
    right: auto;
    z-index: 2;

    width: 100%;
    max-width: 100%; 
    margin: 25px 0 35px 0;
    padding: 22px 25px;
    border-radius: 22px;

    /* Glassmorphism Styling */
    background: rgba(13, 18, 36, 0.85);
    border: 2px solid rgba(124, 92, 255, 0.3);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    overflow: hidden;

    /* Heavy Premium Shadow */
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(124, 92, 255, 0.2);

    animation: fadeUp 0.8s ease both;
}

/* Background Glow Effect */
.hero-time::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    top: -50px;
    left: -40px;
    border-radius: 50%;
    background: rgba(124, 92, 255, 0.25);
    filter: blur(40px);
    pointer-events: none;
}

.hero-time::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    bottom: -40px;
    right: -30px;
    border-radius: 50%;
    background: rgba(0, 198, 255, 0.2);
    filter: blur(40px);
    pointer-events: none;
}

/* Live Time Output */
#liveTime {
    position: relative;
    z-index: 2;
    font-size: clamp(28px, 6vw, 38px);
    font-weight: 900;
    letter-spacing: 2px;
    text-align: center;

    background: linear-gradient(135deg, #ffffff, #c2d8ff, #7c5cff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    filter: drop-shadow(0 0 10px rgba(124, 92, 255, 0.4));
}

/* English Date Output */
#liveDate {
    position: relative;
    z-index: 2;
    margin-top: 8px;
    color: #e5e9ff;
    font-size: clamp(13px, 2.5vw, 16px);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .hero-time {
        padding: 16px 18px;
        margin: 20px 0 25px 0;
        border-radius: 18px;
    }
}





/* =========================================
   OVERRIDE ALL ANIMATIONS TO BE SLOWER
   ========================================= */

/* Page Load Animations Slow */
.header {
    animation-duration: 2s !important;
}

.welcome {
    animation-duration: 2.2s !important;
}

.topic {
    animation-duration: 1.8s !important;
    transition: transform 0.6s ease, border-color 0.6s ease, background 0.6s ease, box-shadow 0.6s ease !important;
}

.topic::before {
    transition: left 1.5s ease !important;
}

.hero {
    animation-duration: 2s !important;
}

.greeting {
    animation-duration: 2s !important;
}

.hero h2 {
    animation-duration: 2s !important;
}

.tagline {
    animation-duration: 2s !important;
}

.hero-time {
    animation-duration: 2s !important;
}

.arrow {
    transition: transform 0.6s ease !important;
}

footer {
    animation-duration: 2.5s !important;
}