/* =========================================================
   NIT NAGALAND VOLLEYBALL
   HOME PAGE - CLEAN MODERN CSS
========================================================= */

* {
    box-sizing: border-box;
}

.home-page {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background: #f5f7fb;
    color: #102a4c;
    font-family: Arial, Helvetica, sans-serif;
}


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

.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 90px 8%;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(74, 125, 255, 0.35),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #061631 0%,
            #0b2450 55%,
            #123d78 100%
        );

    color: #ffffff;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 760px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 9px 17px;
    margin-bottom: 25px;

    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;

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

    color: #dce8ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.hero-content h1 {
    margin: 0;

    color: #ffffff;
    font-size: clamp(45px, 6vw, 78px);
    line-height: 1.02;
    letter-spacing: -2.5px;
}

.hero-content h1 span {
    color: #73a1ff;
}

.hero-content h1 strong {
    color: #ffffff;
}

.hero-content p {
    max-width: 650px;
    margin: 26px 0 34px;

    color: rgba(255,255,255,0.76);
    font-size: 18px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 52px;
    padding: 0 25px;

    border-radius: 11px;

    text-decoration: none;
    font-size: 14px;
    font-weight: 800;

    transition: all 0.25s ease;
}

.hero-btn.primary {
    background: #ffffff;
    color: #102b55;
}

.hero-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}

.hero-btn.secondary {
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.08);
    color: #ffffff;
}

.hero-btn.secondary:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-3px);
}

.hero-ball {
    position: absolute;
    right: 7%;
    bottom: 35px;

    width: 310px;
    height: 310px;

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

    border-radius: 50%;

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

    font-size: 145px;

    transform: rotate(-12deg);
    opacity: 0.9;
}


/* =========================================================
   STATISTICS
========================================================= */

.stats-section {
    position: relative;
    z-index: 5;

    margin-top: -55px;
    padding: 0 7%;
}

.stats-container {
    width: 100%;
    max-width: 1200px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;

    margin: auto;
}

.stat-card {
    padding: 27px 20px;

    background: #ffffff;

    border: 1px solid #e2e8f2;
    border-radius: 17px;

    text-align: center;

    box-shadow: 0 12px 35px rgba(18,42,76,0.09);

    transition: all 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(18,42,76,0.14);
}

.stat-icon {
    margin-bottom: 8px;
    font-size: 28px;
}

.stat-number {
    color: #123d78;
    font-size: 32px;
    font-weight: 900;
}

.stat-label {
    margin-top: 5px;

    color: #6e7b91;

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

    text-transform: uppercase;
    letter-spacing: 0.8px;
}


/* =========================================================
   COMMON CONTENT SECTION
========================================================= */

.content-section {
    width: min(1200px, 86%);
    margin: 85px auto;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;
    margin-bottom: 30px;
}

.section-label {
    display: block;

    margin-bottom: 8px;

    color: #5c80c9;

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

    letter-spacing: 2px;
}

.section-heading h2 {
    margin: 0;

    color: #092b58;

    font-size: 34px;
    font-weight: 900;
    line-height: 1.15;
}

.section-link {
    color: #2367b8;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    white-space: nowrap;

    transition: 0.2s ease;
}

.section-link:hover {
    color: #092b58;
    text-decoration: underline;
}


/* =========================================================
   LIVE MATCH
========================================================= */

.live-label {
    color: #d83939;
}

.live-match-link {
    display: block;

    color: inherit;
    text-decoration: none;
}

.live-match-card {
    padding: 30px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #0d1d3a,
            #173563
        );

    color: #ffffff;

    box-shadow: 0 20px 45px rgba(13,29,60,0.18);

    transition: 0.25s ease;
}

.live-match-card:hover {
    transform: translateY(-4px);
}

.live-match-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding-bottom: 20px;

    border-bottom: 1px solid rgba(255,255,255,0.13);
}

.live-status {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #ff7777;

    font-size: 12px;
    font-weight: 900;
}

.live-dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #ff5555;

    box-shadow:
        0 0 0 5px rgba(255,85,85,0.12);
}

.live-tournament {
    color: rgba(255,255,255,0.65);
    font-size: 13px;
}

.live-teams {
    display: grid;
    grid-template-columns: 1fr 120px 1fr;

    align-items: center;

    gap: 25px;

    padding: 40px 20px;

    text-align: center;
}

.live-team h3 {
    margin: 12px 0 0;

    color: #ffffff;

    font-size: 23px;
    font-weight: 800;
}

.team-ball {
    font-size: 44px;
}

.live-vs strong {
    display: block;

    color: #ffffff;

    font-size: 25px;
}

.live-vs span {
    display: block;

    margin-top: 8px;

    color: rgba(255,255,255,0.55);

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
}

.live-venue {
    padding-top: 18px;

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

    color: rgba(255,255,255,0.65);

    text-align: center;

    font-size: 13px;
}


/* =========================================================
   EMPTY CARD
========================================================= */

.empty-card {
    padding: 55px 25px;

    background: #ffffff;

    border: 1px dashed #cbd4e2;
    border-radius: 18px;

    text-align: center;
}

.empty-icon {
    margin-bottom: 15px;
    font-size: 42px;
}

.empty-card h3 {
    margin: 0 0 8px;

    color: #102d55;

    font-size: 21px;
}

.empty-card p {
    max-width: 500px;

    margin: 0 auto 20px;

    color: #717d91;

    line-height: 1.6;
}

.small-button {
    display: inline-flex;

    padding: 11px 18px;

    border-radius: 9px;

    background: #153d77;

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;
}


/* =========================================================
   UPCOMING MATCHES
========================================================= */

.upcoming-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}

.upcoming-card {
    position: relative;

    display: grid;

    grid-template-columns: 72px 1fr 30px;

    align-items: center;

    gap: 18px;

    padding: 23px;

    background: #ffffff;

    border: 1px solid #e1e7f0;
    border-radius: 16px;

    color: inherit;

    text-decoration: none;

    transition: 0.25s ease;
}

.upcoming-card:hover {
    transform: translateY(-4px);

    border-color: #9eb4d8;

    box-shadow: 0 13px 32px rgba(20,35,70,0.09);
}

.match-date {
    display: flex;

    flex-direction: column;

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

    min-height: 72px;

    border-radius: 11px;

    background: #edf3fc;

    color: #234f91;
}

.match-date strong {
    font-size: 27px;
    line-height: 1;
}

.match-date span {
    margin-top: 5px;

    font-size: 11px;
    font-weight: 900;
}

.tournament-name {
    display: block;

    margin-bottom: 10px;

    color: #72809a;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
}

.teams {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.teams strong {
    color: #102d55;
    font-size: 15px;
}

.teams span {
    color: #8993a5;

    font-size: 10px;
    font-weight: 800;
}

.match-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 13px;

    color: #737f92;

    font-size: 11px;
}

.round-name {
    display: inline-block;

    margin-top: 10px;

    padding: 5px 9px;

    border-radius: 6px;

    background: #f0f3f7;

    color: #626e82;

    font-size: 10px;
}

.card-arrow {
    color: #2865b5;

    font-size: 21px;
}


/* =========================================================
   FEATURED TOURNAMENTS
   IMPORTANT: THIS IS NOW ONE CLEAN RULE SET
========================================================= */

.tournament-section {
    width: 100%;

    padding: 85px 0;

    background:
        linear-gradient(
            180deg,
            #f8faff 0%,
            #eef3fa 100%
        );
}

/* Section heading */

.tournament-section .section-heading {
    margin-bottom: 35px;
}

/* COMPETE */

.tournament-section .section-label {
    color: #527ac6 !important;

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

    letter-spacing: 2px;
}

/* Featured Tournaments */

.tournament-section .section-heading h2,
.tournament-section .light-heading h2 {
    color: #082b57 !important;

    font-size: 36px;
    font-weight: 900;

    opacity: 1 !important;
    visibility: visible !important;
}

/* All tournaments */

.tournament-section .section-link,
.tournament-section .light-heading .section-link {
    color: #1769c2 !important;

    font-weight: 800;

    opacity: 1 !important;
    visibility: visible !important;
}

.tournament-section .section-link:hover {
    color: #082b57 !important;
}


/* =========================================================
   TOURNAMENT GRID
========================================================= */

.tournament-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}


/* =========================================================
   TOURNAMENT CARD
========================================================= */

.tournament-card {
    display: block;

    overflow: hidden;

    background: #ffffff !important;

    border: 1px solid #e1e7f0;

    border-radius: 18px;

    color: #082b57 !important;

    text-decoration: none;

    box-shadow: 0 8px 25px rgba(20,35,70,0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.tournament-card:hover {
    transform: translateY(-7px);

    border-color: #aec1df;

    box-shadow: 0 20px 42px rgba(20,35,70,0.13);
}


/* Tournament image / visual */

.tournament-visual {
    height: 165px;

    display: flex;

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

    background:
        linear-gradient(
            135deg,
            #31579b,
            #172f61
        );

    font-size: 62px;
}


/* Tournament information */

.tournament-info {
    padding: 22px;
}


/* Status */

.tournament-status {
    display: inline-block;

    padding: 6px 10px;

    border-radius: 6px;

    background: #edf4ff !important;

    color: #1f5db4 !important;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 0.3px;
}


/* Tournament NAME */

.tournament-info h3,
.tournament-card h3,
.tournament-card .tournament-name {
    display: block;

    margin: 13px 0 9px;

    color: #082b57 !important;

    font-size: 19px;
    font-weight: 900;

    line-height: 1.3;

    opacity: 1 !important;
    visibility: visible !important;
}


/* Tournament description */

.tournament-info p,
.tournament-card p {
    display: -webkit-box;

    overflow: hidden;

    margin: 0;

    color: #526987 !important;

    font-size: 12px;
    line-height: 1.65;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}


/* Tournament date / venue */

.tournament-meta,
.tournament-card .tournament-meta,
.tournament-card .tournament-meta span {
    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-top: 18px;

    color: #526987 !important;

    font-size: 10px;

    opacity: 1 !important;
    visibility: visible !important;
}


/* =========================================================
   RESULTS
========================================================= */

.results-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}

.result-card {
    padding: 23px;

    background: #ffffff;

    border: 1px solid #e2e7ef;

    border-radius: 16px;

    color: inherit;

    text-decoration: none;

    transition: 0.25s ease;
}

.result-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 13px 32px rgba(20,35,70,0.09);
}

.result-header {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 22px;

    color: #65738b;

    font-size: 11px;
}

.result-teams {
    display: grid;

    grid-template-columns: 1fr 55px 1fr;

    align-items: center;

    gap: 10px;
}

.result-team {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.result-team:last-child {
    align-items: flex-end;

    text-align: right;
}

.result-vs {
    text-align: center;

    color: #9aa4b5;

    font-size: 11px;
    font-weight: 900;
}

.winner-badge {
    width: fit-content;

    padding: 5px 8px;

    border-radius: 5px;

    background: #e8f7ee;

    color: #23834a;

    font-size: 9px;
    font-weight: 900;
}


/* =========================================================
   ANNOUNCEMENTS
========================================================= */

.announcement-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}

.announcement-card {
    display: block;

    padding: 25px;

    background: #ffffff;

    border: 1px solid #e2e7ef;

    border-radius: 16px;

    color: inherit;

    text-decoration: none;

    transition: 0.25s ease;
}

.announcement-card:hover {
    transform: translateY(-4px);

    border-color: #aabbd5;

    box-shadow: 0 13px 32px rgba(20,35,70,0.08);
}

.announcement-label {
    color: #2e65b5;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 0.8px;
}

.announcement-card h3 {
    margin: 13px 0 9px;

    color: #102d55;

    font-size: 18px;
}

.announcement-card p {
    display: -webkit-box;

    overflow: hidden;

    margin: 0 0 16px;

    color: #707e93;

    font-size: 13px;
    line-height: 1.6;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.announcement-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    color: #7c8798;

    font-size: 10px;
}


/* =========================================================
   QUICK ACCESS
========================================================= */

.quick-access-section {
    padding: 75px 7%;

    background: #eaf0f8;
}

.quick-access {
    max-width: 1200px;

    margin: auto;
}

.quick-heading {
    margin-bottom: 30px;
}

.quick-heading h2 {
    margin: 0 0 8px;

    color: #092b58;

    font-size: 31px;
}

.quick-heading p {
    margin: 0;

    color: #707d91;
}

.quick-links {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;
}

.quick-links a {
    display: flex;

    flex-direction: column;

    padding: 23px;

    background: #ffffff;

    border: 1px solid #dce3ed;

    border-radius: 14px;

    color: inherit;

    text-decoration: none;

    transition: 0.25s ease;
}

.quick-links a:hover {
    transform: translateY(-4px);

    border-color: #9db2d2;

    box-shadow: 0 10px 25px rgba(20,35,70,0.08);
}

.quick-links a > span {
    margin-bottom: 14px;

    font-size: 28px;
}

.quick-links strong {
    color: #102d55;

    font-size: 15px;
}

.quick-links small {
    margin-top: 5px;

    color: #7a8698;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .tournament-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-links {
        grid-template-columns: repeat(2, 1fr);
    }
}


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

@media (max-width: 700px) {

    .hero-section {
        min-height: 520px;

        padding: 65px 20px;
    }

    .hero-content h1 {
        font-size: 44px;

        letter-spacing: -1.5px;
    }

    .hero-content p {
        font-size: 15px;

        line-height: 1.65;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
    }

    .hero-ball {
        right: -90px;
        bottom: -45px;

        width: 230px;
        height: 230px;

        font-size: 105px;

        opacity: 0.25;
    }


    /* Stats */

    .stats-section {
        margin-top: -30px;

        padding: 0 15px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);

        gap: 10px;
    }

    .stat-card {
        padding: 18px 10px;
    }

    .stat-number {
        font-size: 25px;
    }

    .stat-label {
        font-size: 10px;
    }


    /* Sections */

    .content-section {
        width: calc(100% - 30px);

        margin: 55px auto;
    }

    .section-heading {
        align-items: flex-start;

        flex-direction: column;

        margin-bottom: 22px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .section-link {
        font-size: 13px;
    }


    /* Live */

    .live-match-card {
        padding: 21px 16px;
    }

    .live-match-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .live-teams {
        grid-template-columns: 1fr;

        gap: 18px;

        padding: 30px 5px;
    }

    .live-vs {
        order: 2;
    }

    .live-team h3 {
        font-size: 19px;
    }


    /* Upcoming */

    .upcoming-grid {
        grid-template-columns: 1fr;
    }

    .upcoming-card {
        grid-template-columns: 58px 1fr 20px;

        gap: 12px;

        padding: 17px;
    }

    .match-date {
        min-height: 60px;
    }

    .match-date strong {
        font-size: 22px;
    }


    /* Featured tournaments */

    .tournament-section {
        padding: 60px 0;
    }

    .tournament-section .section-heading h2 {
        font-size: 30px;
    }

    .tournament-grid {
        grid-template-columns: 1fr;
    }

    .tournament-visual {
        height: 145px;
    }


    /* Results */

    .results-grid {
        grid-template-columns: 1fr;
    }


    /* Announcements */

    .announcement-grid {
        grid-template-columns: 1fr;
    }


    /* Quick access */

    .quick-access-section {
        padding: 60px 15px;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }

    .quick-heading h2 {
        font-size: 27px;
    }
}


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

@media (max-width: 400px) {

    .hero-content h1 {
        font-size: 37px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card {
        padding: 15px 5px;
    }

    .stat-number {
        font-size: 22px;
    }

    .upcoming-card {
        grid-template-columns: 50px 1fr;
    }

    .card-arrow {
        display: none;
    }

    .tournament-info {
        padding: 19px;
    }
}