/*
   GUILD SYSTEM — GLOBAL STYLES */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: #05070d;
    color: #f5f7ff;
    line-height: 1.6;
    overflow-x: hidden;
}


/*
         VARIABLES  */

:root {
    --bg-dark: #05070d;
    --bg-section: #080b14;
    --bg-card: rgba(10, 15, 28, 0.88);

    --blue: #38bdf8;
    --blue-dark: #0ea5e9;

    --purple: #8b5cf6;
    --purple-dark: #6d28d9;

    --text-white: #f5f7ff;
    --text-gray: #9ca7bb;

    --border: rgba(56, 189, 248, 0.2);

    --transition: 0.3s ease;
}


/* 
   GENERAL*/

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    width: 100%;
    display: block;
}

.section {
    padding: 110px 8%;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title p {
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.section-title h2 {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(28px, 5vw, 48px);
    letter-spacing: 2px;
}

.section-title span {
    display: block;
    color: var(--text-gray);
    margin-top: 12px;
    font-size: 14px;
}


/* 
   NAVIGATION
*/

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(5, 7, 13, 0.85);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid var(--border);
}

.navbar {
    max-width: 1500px;

    margin: auto;

    padding: 16px 6%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}


/* School Logo */

.school-brand {
    display: flex;
    align-items: center;
}

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

    object-fit: contain;

    filter:
        drop-shadow(0 0 8px rgba(56, 189, 248, 0.4));
}


/* Guild Logo */

.guild-logo {
    font-family: "Orbitron", sans-serif;

    font-size: 18px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-right: auto;

    margin-left: 20px;
}

.guild-logo span {
    color: var(--blue);
}


/* Navigation Links */

.nav-links {
    display: flex;

    align-items: center;

    gap: 30px;
}

.nav-links a {
    color: var(--text-gray);

    font-family: "Orbitron", sans-serif;

    font-size: 11px;

    letter-spacing: 1px;

    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--blue);

    text-shadow:
        0 0 10px rgba(56, 189, 248, 0.8);
}


/* 
   HERO / GUILD HOMEPAGE */

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 70px;

    padding: 150px 8% 100px;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(5, 7, 13, 0.98) 0%,
            rgba(5, 7, 13, 0.88) 45%,
            rgba(5, 7, 13, 0.55) 100%
        ),
        url("images/guild-background.jpg");

    background-size: cover;

    background-position: center;
}


/* Shadow Atmosphere */

.shadow-layer {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(91, 33, 182, 0.25),
            transparent 35%
        );

    pointer-events: none;
}


/* Blue System Glow */

.system-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    right: 5%;
    top: 20%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(56, 189, 248, 0.12),
            transparent 65%
        );

    filter: blur(20px);

    pointer-events: none;
}


/* System Status */

.system-status {
    position: absolute;

    top: 120px;
    left: 8%;

    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--blue);

    font-family: "Orbitron", sans-serif;

    font-size: 11px;

    letter-spacing: 2px;
}

.status-dot {
    width: 8px;
    height: 8px;

    background: var(--blue);

    border-radius: 50%;

    box-shadow:
        0 1 10px var(--blue);

    animation: pulse 0s infinite;
}


/* Hero Content */

.hero-content {
    max-width: 700px;

    position: relative;

    z-index: 2;
}

.hero-subtitle {
    color: var(--blue);

    font-family: "Orbitron", sans-serif;

    font-size: 12px;

    letter-spacing: 5px;

    margin-bottom: 15px;
}

.hero h1 {
    font-family: "Orbitron", sans-serif;

    font-size: clamp(55px, 10vw, 120px);

    line-height: 1;

    letter-spacing: 5px;

    margin-bottom: 15px;

    text-shadow:
        0 0 30px rgba(56, 189, 248, 0.2);
}

.hero h1 span {
    color: var(--blue);

    display: block;

    text-shadow:
        0 0 25px rgba(56, 189, 248, 0.6);
}

.hero h2 {
    font-family: "Orbitron", sans-serif;

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

    font-weight: 500;

    color: #d7deeb;

    margin-bottom: 25px;

    letter-spacing: 1px;
}

.hero-description {
    color: var(--text-gray);

    max-width: 600px;

    font-size: 15px;

    margin-bottom: 35px;
}


/*
   HERO BUTTONS
*/

.hero-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}

.system-btn {
    padding: 14px 28px;

    font-family: "Orbitron", sans-serif;

    font-size: 11px;

    letter-spacing: 1px;

    transition: var(--transition);

    position: relative;

    overflow: hidden;
}

.primary-btn {
    background: var(--blue);

    color: #020617;

    box-shadow:
        0 0 20px rgba(56, 189, 248, 0.25);
}

.primary-btn:hover {
    background: #7dd3fc;

    transform: translateY(-3px);

    box-shadow:
        0 0 35px rgba(56, 189, 248, 0.5);
}

.secondary-btn {
    border: 1px solid var(--border);

    color: var(--blue);

    background: rgba(56, 189, 248, 0.03);
}

.secondary-btn:hover {
    border-color: var(--blue);

    background: rgba(56, 189, 248, 0.08);

    transform: translateY(-3px);
}


/* 
   SYSTEM PANEL */

.hero-system-panel {
    position: relative;

    z-i0ndex: 2;

    width: 360px;

    background: rgba(5, 10, 20, 0.8);

    border: 1px solid var(--border);

    box-shadow:
        0 0 40px rgba(56, 189, 248, 0.08);

    backdrop-filter: blur(10px);
}

.system-panel-header {
    display: flex;

    justify-content: space-between;

    padding: 20px 20px;

    border-bottom: 1px solid var(--border);

    color: var(--blue);

    font-family: "Orbitron", sans-serif;

    font-size: 10px;

    letter-spacing: 1px;
}

.system-panel-body {
    padding: 25px;

    color: var(--text-gray);

    font-family: "Orbitron", sans-serif;

    font-size: 11px;

    line-height: 2.2;
}

.system-panel-body p span {
    color: var(--blue);

    margin-right: 8px;
}

.system-line {
    height: 3px;

    background: var(--border);

    margin: 15px 0;
}

.system-panel-body strong {
    color: var(--blue);

    font-size: 12px;
}


/* 
   SCROLL INDICATOR*/

.scroll-indicator {
    position: absolute;

    bottom: 35px;

    left: 8%;

    display: flex;

    align-items: center;

    gap: 15px;

    color: var(--text-gray);

    font-family: "Orbitron", sans-serif;

    font-size: 9px;

    letter-spacing: 2px;
}

.scroll-line {
    width: 50px;

    height: 1px;

    background: var(--blue);

    box-shadow:
        0 0 10px var(--blue);
}

/*GUILD SECTION*/
.guild {
    background: var(--bg-section);
}

.guild-container {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.guild-image {
    position: relative;
}

.guild-image::before {
    content: "";

    position: absolute;

    inset: -12px;

    border: 1px solid var(--blue);

    opacity: 0.4;

    z-index: 0;
}

.guild-image img {
    position: relative;

    z-index: 1;

    aspect-ratio: 16 / 10;

    object-fit: cover;
}

.system-tag {
    display: inline-block;

    color: var(--blue);

    font-family: "Orbitron", sans-serif;

    font-size: 10px;

    letter-spacing: 2px;

    margin-bottom: 15px;
}

.guild-content h3 {
    font-family: "Orbitron", sans-serif;

    font-size: 28px;

    line-height: 1.4;

    margin-bottom: 20px;
}

.guild-content p {
    color: var(--text-gray);

    font-size: 14px;

    margin-bottom: 18px;
}


/* Guild Stats */

.guild-stats {
    display: flex;

    gap: 35px;

    margin-top: 30px;
}

.guild-stat {
    display: flex;

    flex-direction: column;
}

.guild-stat strong {
    color: var(--blue);

    font-family: "Orbitron", sans-serif;

    font-size: 28px;
}

.guild-stat span {
    color: var(--text-gray);

    font-size: 9px;

    letter-spacing: 2px;
}


/*MEMBERS SECTION */

.players {
    background: #05070d;
}

.players-container {
    max-width: 1300px;

    margin: auto;

    display: grid;

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

    gap: 25px;
}


/*MEMBERS Card */

.player-card {
    position: relative;

    background: var(--bg-card);

    border: 1px solid var(--border);

    overflow: hidden;

    transition: var(--transition);
}

.player-card:hover {
    transform: translateY(-8px);

    border-color: var(--blue);

    box-shadow:
        0 0 30px rgba(56, 189, 248, 0.1);
}


/*MEMBERS Number */

.player-number {
    position: absolute;

    top: 15px;
    left: 15px;

    z-index: 3;

    padding: 6px 10px;

    background: rgba(5, 7, 13, 0.8);

    color: var(--blue);

    border: 1px solid var(--border);

    font-family: "Orbitron", sans-serif;

    font-size: 9px;

    letter-spacing: 1px;
}


/*MEMBERS Image */

.player-image {
    height: 300px;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            transparent 50%,
            rgba(5, 7, 13, 0.9)
        );
}

.player-image img {
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;

    filter: grayscale(20%);
}

.player-card:hover .player-image img {
    transform: scale(1.06);

    filter: grayscale(0%);
}


/*MEMBERS Info */

.player-info {
    padding: 25px;
}

.player-status {
    color: var(--blue);

    font-family: "Orbitron", sans-serif;

    font-size: 9px;

    letter-spacing: 2px;
}

.player-info h3 {
    font-family: "Orbitron", sans-serif;

    font-size: 22px;

    margin: 8px 0 3px;
}

.player-info p {
    color: var(--text-gray);

    font-size: 11px;

    letter-spacing: 2px;

    margin-bottom: 20px;
}

.player-btn {
    display: inline-block;

    color: var(--blue);

    font-family: "Orbitron", sans-serif;

    font-size: 10px;

    letter-spacing: 1px;

    transition: var(--transition);
}

.player-btn:hover {
    color: white;

    text-shadow:
        0 0 10px var(--blue);
}


/*QUEST SECTION*/

.quests {
    background: var(--bg-section);
}

.quests-container {
    max-width: 1200px;

    margin: auto;

    display: grid;

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

    gap: 25px;
}

.quest-card {
    background: var(--bg-card);

    border: 1px solid var(--border);

    overflow: hidden;

    transition: var(--transition);
}

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

    border-color: var(--purple);
}

.quest-image {
    height: 220px;

    overflow: hidden;
}

.quest-image img {
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.quest-card:hover .quest-image img {
    transform: scale(1.08);
}

.quest-content {
    padding: 25px;
}

.quest-content span {
    color: var(--purple);

    font-family: "Orbitron", sans-serif;

    font-size: 9px;

    letter-spacing: 2px;
}

.quest-content h3 {
    font-family: "Orbitron", sans-serif;

    font-size: 20px;

    margin: 10px 0;
}

.quest-content p {
    color: var(--text-gray);

    font-size: 13px;

    margin-bottom: 20px;
}

.quest-content a {
    color: var(--blue);

    font-family: "Orbitron", sans-serif;

    font-size: 10px;

    letter-spacing: 1px;
}


/* PAGE
   CONTACT*/

.contact-container {
    max-width: 1000px;

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.contact-content h3 {
    font-family: "Orbitron", sans-serif;

    font-size: 28px;

    margin-bottom: 15px;
}

.contact-content p {
    color: var(--text-gray);

    font-size: 14px;
}

.contact-info {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

.contact-item {
    padding: 22px;

    background: var(--bg-card);

    border: 1px solid var(--border);

    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--blue);

    transform: translateX(5px);
}

.contact-item span {
    color: var(--text-gray);

    font-family: "Orbitron", sans-serif;

    font-size: 9px;

    letter-spacing: 2px;
}

.contact-item h4 {
    color: var(--blue);

    font-family: "Orbitron", sans-serif;

    font-size: 17px;

    margin: 5px 0;
}

.contact-item a {
    color: var(--text-gray);

    font-size: 12px;
}

.contact-item a:hover {
    color: white;
}


/*       
           FOOTER        */

.footer {
    padding: 35px 8%;

    background: #030408;

    border-top: 1px solid var(--border);

    text-align: center;

    color: var(--text-gray);

    font-size: 10px;

    letter-spacing: 1px;
}

.footer-system {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    color: var(--blue);

    font-family: "Orbitron", sans-serif;

    margin-bottom: 10px;
}

.footer p {
    margin: 5px 0;
}

.footer strong {
    color: var(--blue);
}


/* ANIMATIONS*/

@keyframes pulse {

    0% {
        opacity: 1;

        transform: scale(1);
    }

    50% {
        opacity: 0.5;

        transform: scale(0.8);
    }

    100% {
        opacity: 1;

        transform: scale(1);
    }

}


/*    
            RESPONSIVE DESIGN */

@media (max-width: 1000px) {

    .hero {
        flex-direction: column;

        align-items: flex-start;

        justify-content: center;
    }

    .hero-system-panel {
        width: 100%;

        max-width: 600px;
    }

    .guild-container {
        grid-template-columns: 1fr;
    }

    .guild-image {
        max-width: 700px;

        margin: auto;
    }

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

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

    .contact-container {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 700px) {

    .navbar {
        padding: 14px 5%;
    }

    .school-logo {
        width: 40px;
        height: 40px;
    }

    .guild-logo {
        font-size: 14px;

        margin-left: 10px;
    }

    .nav-links {
        display: none;
    }

    .section {
        padding: 80px 6%;
    }

    .hero {
        padding: 140px 6% 100px;
    }

    .system-status {
        left: 6%;

        top: 95px;
    }

    .hero h1 {
        font-size: 55px;
    }

    .hero h2 {
        font-size: 15px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    .hero-system-panel {
        width: 100%;
    }

    .players-container {
        grid-template-columns: 1fr;
    }

    .quests-container {
        grid-template-columns: 1fr;
    }

    .guild-stats {
        gap: 20px;
    }

    .guild-stat strong {
        font-size: 22px;
    }

}
