/* =============================================
 * Coded By - DARK LMNx9 (Limon Hossain)
 * GitHub - https://github.com/LMNx9-JOHNY
 * Website - https://dark.lmnx9.workers.dev
 * WhatsApp - https://wa.me/+8801882168975
 * Telegram - https://t.me/x_LMNx9
============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Mina", sans-serif;
}

:root {
    --hb-primary: #1b4d3e;
    --hb-dark-green: #0f3a2e;
    --hb-purple: #800080;
    --hb-deep-pink: #ff1493;
    --hb-purple-light: #f3e8f3;
    --hb-pink-light: #fff0f7;
    --hb-primary-light: #e8f3ef;
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-light: #e1e1e1;

    --shadow-sm: 0 5px 15px rgba(27, 77, 62, 0.08);
    --shadow-md: 0 10px 25px rgba(128, 0, 128, 0.1);
    --shadow-lg: 0 20px 40px rgba(255, 20, 147, 0.15);
    --transition: all 0.3s ease;
}

body {
    background-color: var(--bg-light);
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 9999;
    padding: 10px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(10px);
}

.main-nav #LOGO {
    width: 110px;
    height: auto;
    transition: var(--transition);
}

.main-nav #LOGO:hover {
    transform: scale(1.05);
}

.profile-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--hb-primary);
    object-fit: cover;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(27, 77, 62, 0.2);
}

.profile-img:hover {
    transform: scale(1.1);
    border-color: var(--hb-deep-pink);
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.3);
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(
        135deg,
        var(--bg-white) 0%,
        var(--bg-light) 100%
    );
    padding: clamp(20px, 5vw, 40px) clamp(15px, 4vw, 30px);
    border-radius: clamp(20px, 5vw, 50px);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(27, 77, 62, 0.03) 0%,
        rgba(128, 0, 128, 0.02) 50%,
        rgba(255, 20, 147, 0.01) 100%
    );
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.page-header h1 {
    font-size: clamp(28px, 6vw, 48px);
    font-weight: 800;
    background: linear-gradient(
        135deg,
        var(--hb-primary),
        var(--hb-purple),
        var(--hb-deep-pink)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 10px 0 5px;
    position: relative;
}

.page-header .subtitle {
    font-size: clamp(16px, 4vw, 24px);
    font-weight: 600;
    color: var(--hb-purple);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.page-header .subtitle i {
    color: var(--hb-deep-pink);
    font-size: clamp(14px, 3vw, 20px);
}

.page-header .description {
    font-size: clamp(14px, 3vw, 18px);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    padding: 0 15px;
}

.page-header hr {
    border: none;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--hb-primary),
        var(--hb-purple),
        var(--hb-deep-pink),
        transparent
    );
    opacity: 1;
    width: min(250px, 70%);
    margin: 20px auto;
}

.boss-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--hb-primary), var(--hb-purple));
    color: white;
    padding: clamp(6px, 2vw, 10px) clamp(20px, 5vw, 35px);
    border-radius: 50px;
    font-size: clamp(14px, 3.5vw, 20px);
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(128, 0, 128, 0.3);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.boss-badge i {
    margin-right: 8px;
    color: var(--hb-deep-pink);
}

.info-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    padding: 0 10px;
}

.tab-btn {
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    color: var(--text-light);
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    flex: 0 0 auto;
    min-width: 120px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tab-btn:hover {
    border-color: var(--hb-deep-pink);
    color: var(--hb-deep-pink);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--hb-primary), var(--hb-purple));
    border-color: transparent;
    color: white;
    box-shadow: 0 10px 25px rgba(255, 20, 147, 0.3);
}

.info-card {
    background: var(--bg-white);
    border-radius: clamp(20px, 4vw, 30px);
    padding: clamp(20px, 4vw, 30px);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--hb-primary),
        var(--hb-purple),
        var(--hb-deep-pink)
    );
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: clamp(60px, 12vw, 80px);
    height: clamp(60px, 12vw, 80px);
    background: linear-gradient(
        135deg,
        var(--hb-primary) 0%,
        var(--hb-purple) 100%
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: clamp(24px, 5vw, 36px);
    box-shadow: 0 10px 20px rgba(128, 0, 128, 0.2);
}

.card-title {
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 12px;
    position: relative;
}

.card-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--hb-primary), var(--hb-deep-pink));
    border-radius: 2px;
}

.tip-list {
    list-style: none;
    padding: 0;
}

.tip-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: clamp(14px, 3vw, 16px);
    color: var(--text-light);
    padding: clamp(10px, 2vw, 15px) clamp(12px, 2.5vw, 18px);
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.tip-list li:hover {
    background: var(--hb-primary-light);
    transform: translateX(5px);
    border-color: var(--hb-primary);
}

.tip-list li i {
    color: var(--hb-deep-pink);
    font-size: clamp(16px, 3.5vw, 20px);
    width: 25px;
    flex-shrink: 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(15px, 3vw, 25px);
    margin: 30px 0;
}

.tip-item {
    background: var(--bg-white);
    border-radius: 25px;
    padding: clamp(20px, 4vw, 25px);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tip-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hb-primary), var(--hb-deep-pink));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tip-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tip-item:hover::before {
    transform: scaleX(1);
}

.tip-icon {
    width: clamp(50px, 10vw, 70px);
    height: clamp(50px, 10vw, 70px);
    background: linear-gradient(135deg, var(--hb-primary), var(--hb-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: clamp(24px, 5vw, 32px);
}

.tip-title {
    font-size: clamp(16px, 3.5vw, 20px);
    font-weight: 800;
    color: var(--hb-primary);
    margin-bottom: 15px;
}

.tip-text {
    color: var(--text-muted);
    font-size: clamp(13px, 2.8vw, 15px);
    line-height: 1.7;
}

.motivation-card {
    background: linear-gradient(
        135deg,
        var(--hb-primary),
        var(--hb-purple),
        var(--hb-deep-pink)
    );
    border-radius: clamp(20px, 5vw, 30px);
    padding: clamp(25px, 5vw, 40px);
    color: white;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.motivation-card::before {
    content: '"';
    position: absolute;
    top: -50px;
    right: 20px;
    font-size: clamp(150px, 30vw, 300px);
    opacity: 0.1;
    color: white;
    font-family: serif;
}

.motivation-quote {
    font-size: clamp(20px, 5vw, 30px);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.motivation-author {
    font-size: clamp(14px, 3vw, 18px);
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.exam-tips {
    background: linear-gradient(
        135deg,
        var(--hb-primary-light),
        var(--hb-pink-light)
    );
    border-radius: 25px;
    padding: clamp(20px, 4vw, 25px);
    margin: 20px 0;
}

.exam-tip-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: clamp(12px, 2.5vw, 15px);
    background: var(--bg-white);
    border-radius: 15px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.exam-tip-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-left: 3px solid var(--hb-deep-pink);
}

.exam-tip-number {
    width: clamp(35px, 8vw, 40px);
    height: clamp(35px, 8vw, 40px);
    background: linear-gradient(135deg, var(--hb-primary), var(--hb-purple));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: clamp(16px, 3.5vw, 20px);
    flex-shrink: 0;
}

.exam-tip-text {
    flex: 1;
    font-size: clamp(14px, 3vw, 16px);
    color: var(--text-light);
}

.routine-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 15px;
    overflow: hidden;
}

.routine-table th {
    background: linear-gradient(135deg, var(--hb-primary), var(--hb-purple));
    color: white;
    padding: clamp(12px, 2.5vw, 15px);
    font-weight: 700;
    font-size: clamp(14px, 3vw, 18px);
}

.routine-table td {
    padding: clamp(10px, 2vw, 12px);
    border-bottom: 1px solid var(--border-light);
    color: var(--text-light);
    font-size: clamp(13px, 2.8vw, 15px);
}

.routine-table tr:hover td {
    background: var(--hb-primary-light);
}

.time-badge {
    background: linear-gradient(135deg, var(--hb-primary), var(--hb-deep-pink));
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(12px, 2.5vw, 14px);
    display: inline-block;
    white-space: nowrap;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .main-nav {
        padding: 8px 16px;
    }

    .main-nav #LOGO {
        width: 90px;
    }

    .profile-img {
        width: 36px;
        height: 36px;
    }

    .info-tabs {
        gap: 10px;
        padding: 0 15px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
        margin-bottom: 30px;
    }

    .info-tabs::-webkit-scrollbar {
        display: none;
    }

    .info-tabs {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 100px;
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }

    .main-nav {
        padding: 6px 12px;
    }

    .main-nav #LOGO {
        width: 75px;
    }

    .profile-img {
        width: 32px;
        height: 32px;
    }

    .info-tabs {
        gap: 8px;
        padding: 0 10px;
    }

    .tab-btn {
        padding: 8px 16px;
        font-size: 13px;
        min-width: 85px;
    }

    .exam-tip-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .exam-tip-number {
        margin: 0 auto;
    }

    .page-header .subtitle {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .page-header {
        padding: 15px;
    }

    .motivation-card {
        padding: 20px;
    }
}

@media (hover: none) {
    .info-card:hover,
    .tip-item:hover,
    .tab-btn:hover {
        transform: none;
    }

    .tip-list li:hover {
        transform: none;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}
