@import url('https://fonts.googleapis.com/css2?family=Chewy&family=Patrick+Hand&display=swap');

:root {
    /* Main World-Class Palette */
    --primary: #49b1e1;
    --primary-light: #7ec8eb;
    --primary-dark: #3a8eb5;
    --primary-glow: rgba(73, 177, 225, 0.4);

    --bg-body: #d6ebf3;
    --bg-card: rgba(255, 255, 255, 0.8);

    --text-main: #4a4948;
    --text-muted: #747372;
    --white: #ffffff;

    --font-heading: 'Chewy', cursive;
    --font-body: 'Patrick Hand', cursive;

    /* Superior Multi-Layered Shadows */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 10px 30px rgba(73, 177, 225, 0.4);

    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 12px;

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- ERROR PAGE (404) --- */
.error-page {
    background: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    text-align: center;
}

.error-container {
    background: var(--bg-card);
    padding: 60px;
    border-radius: 40px;
    box-shadow: var(--shadow-premium);
    max-width: 600px;
}

.error-code {
    font-family: var(--font-heading);
    font-size: 8rem;
    color: var(--primary);
    margin-bottom: 0;
    line-height: 1;
}

.error-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.error-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.error-message {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* --- BASE STYLES --- */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 5px;
    border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

body {
    background: var(--bg-body);
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    font-size: clamp(1rem, 1vw + 0.5rem, 1.25rem);
    padding-top: 80px;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

/* --- SUPERIOR NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* --- SCROLL TO TOP --- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: var(--shadow-premium);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* --- SERVER PULSE --- */
.server-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px #4ade80;
    animation: serverHeartbeat 2s infinite ease-in-out;
}

@keyframes serverHeartbeat {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 5px #4ade80;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.6;
        box-shadow: 0 0 15px #4ade80;
    }

    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 5px #4ade80;
    }
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.03);
}

.nav-logo img {
    height: 50px;
    width: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.nav-logo span {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary);
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 1);
}

.nav-links {
    display: flex;
    height: 100%;
    list-style: none;
    gap: 10px;
}

.nav-links li {
    height: 100%;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 1.2rem;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 25px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 10px 10px 0 0;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.4);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 60%;
}

.nav-links a.active {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.6);
}

.nav-links a.highlight {
    background: var(--primary);
    color: var(--white);
    margin: 15px 10px;
    border-radius: var(--radius-sm);
    height: calc(100% - 30px);
    padding: 0 30px;
    font-family: var(--font-heading);
}

.nav-links a.highlight::after {
    display: none;
}

.nav-links a.highlight:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* --- IMMERSIVE HERO --- */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 120px;
}

.hero-overlay {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg, rgba(73, 177, 225, 0.75) 0%, rgba(214, 235, 243, 0.5) 100%), url('https://i.imgur.com/8J5j5eM.jpeg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
}

/* Staggered Reveals */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

/* NEWS REDESIGN (Premium Cards) */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.news-item.featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.news-image {
    height: 100%;
    min-height: 400px;
    transition: var(--transition);
}

.news-item:hover .news-image {
    transform: scale(1.05);
}

.news-grid-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.news-item.small {
    display: flex;
    flex-direction: column;
}

.news-item.small .news-image {
    height: 250px;
}

/* Sidebar Glow */
.widget {
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(73, 177, 225, 0.15);
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(73, 177, 225, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(126, 200, 235, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 2;
    animation: meshAmbience 15s infinite alternate ease-in-out;
}

@keyframes meshAmbience {
    0% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.1) translate(20px, -20px);
    }

    100% {
        transform: scale(1) translate(-20px, 20px);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    text-align: center;
    padding: 0 30px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 6rem;
    color: var(--white);
    text-shadow: 6px 6px 0px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    line-height: 1;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 45px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
}

.ip-box {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ip-box:hover {
    transform: scale(1.03) translateY(-5px);
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.ip-text {
    text-align: left;
    padding: 0 20px;
}

.ip-text .label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.ip-text .ip {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--white);
}

.copy-btn {
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0 30px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.online-status {
    margin-top: 40px;
    color: var(--white);
    font-size: 1.4rem;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.online-status .dot {
    width: 12px;
    height: 12px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 15px #4ade80;
    animation: glow 2s infinite ease-in-out;
}

@keyframes glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

/* --- CATEGORIES SECTION WRAPPER --- */
.categories-wrapper {
    background: linear-gradient(to bottom, #f0f9ff 0%, #e0f2fe 100%);
    padding: 100px 0 60px 0;
    margin-top: -80px;
    border-radius: 80px 80px 0 0;
}

/* --- SUPERIOR CATEGORIES --- */
.categories-section {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    position: relative;
    z-index: 10;
}

.cat-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 40px 20px;
    text-align: center;
    text-decoration: none;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cat-card:hover {
    transform: translateY(-20px) scale(1.05);
    background: var(--white);
    border-color: var(--primary-light);
    box-shadow: 0 30px 60px -20px rgba(73, 177, 225, 0.4);
}

.cat-icon {
    font-size: 4rem;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
}

.cat-card:hover .cat-icon {
    transform: scale(1.2) rotate(5deg);
}

.cat-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-dark);
}

.cat-card p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* --- DETAILED CONTENT SECTIONS --- */
.content-section {
    margin-bottom: 80px;
    padding: 60px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.5);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: var(--shadow-glow);
}

.f-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

/* Link Grid */
.link-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.link-btn {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.link-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.02);
    box-shadow: var(--shadow-premium);
}

/* SMP Box */
.smp-box {
    background: linear-gradient(rgba(73, 177, 225, 0.05), rgba(255, 255, 255, 0.8));
    padding: 40px;
    border-radius: var(--radius-md);
    border: 2px dashed var(--primary-light);
}

.check-list {
    list-style: none;
    margin: 25px 0;
}

.check-list li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.check-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
}

.highlight-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 15px 40px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    transition: var(--transition);
}

.highlight-btn:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

/* Reward Grid */
.reward-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.reward-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--primary);
}

.reward-card h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.reward-val {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: var(--primary-dark);
}

.news-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    margin-bottom: 40px;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
}

.news-image {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-date {
    position: absolute;
    top: 25px;
    left: 25px;
    background: var(--primary);
    padding: 15px;
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: var(--font-heading);
    box-shadow: var(--shadow-soft);
}

.news-body {
    padding: 40px;
}

.tag {
    font-family: var(--font-heading);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--white);
    margin-right: 15px;
}

.tag.update {
    background: var(--primary);
}

.tag.imp {
    background: #ef4444;
}

.news-body h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin: 20px 0;
    color: var(--text-main);
}

.news-body p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.read-more {
    text-decoration: none;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.read-more:hover {
    transform: translateX(10px);
}

/* --- WIDGET STYLE --- */
.widget {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 40px;
}

.widget-head {
    background: var(--primary);
    padding: 20px 30px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

.widget-body {
    padding: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.social-link:hover {
    transform: scale(1.05);
}

.yt {
    background: #ef4444;
}

.tw {
    background: #9146ff;
}

.tk {
    background: #000000;
}

/* --- FOOTER --- */
.site-footer {
    background: var(--white);
    padding: 100px 0 50px;
    margin-top: 100px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-col h5 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.footer-col a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 15px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 50px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    font-size: 1rem;
}

/* --- REMOVED CHEAP DECORATIONS --- */
.floating-item {
    display: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .categories-section {
        grid-template-columns: repeat(3, 1fr);
        margin-top: -60px;
    }

    .hero-title {
        font-size: 4rem;
    }
}

@media (max-width: 900px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .categories-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }
}