html,body {
    background: #0b0f19;
    color: white;
    min-height: 100vh;
    box-sizing: border-box;margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

h1 {
    text-align: center;
    font-size: 100px;
    font-style:italic;
    font-family:'Courier New', Courier, monospace ;
    margin-top: 20px;
    letter-spacing: 1px;
    font-weight:bolder;
    text-shadow: 0 0 15px rgba(4, 0, 255, 0.35);
    color: white;
}

h3 {
    text-align: center;
    font-size: 60px;
    color: #fa1515;
    margin-bottom: 10px;
    margin-top: -80px;
}

    .logo-circle {width: 250px;
                  height: 250px;
                  border-radius: 50%;
                  overflow: hidden;
                  margin: 20px auto;
                  box-shadow: 0 0 25px rgba(236, 255, 63, 0.35);
    }

   .logo-circle img {
                  width:100%;
                  height:100%;
                  object-fit:contain;

}

input {
    display: block;
    width: 250px;
    padding: 12px 15px;
    margin: 80px auto 20px;
    background-color: #000000;
    color: white;
    border: 1px solid #05fab0;
    border-radius: 8px;
    font-size: 18px;
    outline: none;
}

button {
    display: block;
    padding:12px 30px;
    margin:20px auto;
    background-color:#22c55e;
    color: white;
    border:none;
    border-radius: 8px;
    font-size: 19px;
    margin-top: -30px;
    cursor:cell;
}
button:hover {
    background-color:#00ff5e;
    box-shadow: 0 0 15px  #04f35b;
}


.home-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 40px auto 40px;
}

.home-card {
    background: rgba(17, 24, 39, 0.65);
    backdrop-filter: blur(8px);
    border: 1px solid #374151;
    border-radius: 15px;
    padding: 25px;
    text-align: center;

    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: cardAppear 0.7s ease-out both;
}



.home-card:hover {
    transform: translateY(-10px);
    border-color: #00b7ff;
    box-shadow: 0 0 15px #00b7ff, 0 0 30px rgba(0, 183, 255, 0.35);
}
.family-card:hover {
    border-color: #0088ff;
    box-shadow: 0 0 15px #0088ff, 0 0 30px rgba(0, 136, 255, 0.4);
}

.online-card:hover {
    border-color: #00ff66;
    box-shadow: 0 0 15px #00ff66, 0 0 30px rgba(0, 255, 102, 0.4);
}

.memories-card:hover {
    border-color: #b44cff;
    box-shadow: 0 0 15px #b44cff, 0 0 30px rgba(180, 76, 255, 0.4);
}

.fame-card:hover {
    border-color: #ffd000;
    box-shadow: 0 0 15px #ffd000, 0 0 30px rgba(255, 208, 0, 0.4);
}

.territory-card:hover {
    border-color: #ff3344;
    box-shadow: 0 0 15px #ff3344, 0 0 30px rgba(255, 51, 68, 0.4);
}

.music-card:hover {
    border-color: #00eaff;
    box-shadow: 0 0 15px #00eaff, 0 0 30px rgba(0, 234, 255, 0.4);
}

#home-page {
    min-height: 100vh;
    height: auto;
    width: 100%;

    background-image: url("team-bg.jpg/Screenshot 2026-09-30 062349.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: visible;
}
#home-page {
    position: relative;
}

#home-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 0;
}

.home-title {
    text-align: center;
    font-size: 70px;
    color:#ff0033;
    margin-top: 50px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #0066ff, 0 0 25px #0066ff;
}

.home-subtitle {
    text-align: center;
    font-size: 40px;
    color: #d1d5db;
    margin-top: 0;
}
.home-subtitle span {
    transition: color 0.5s ease, text-shadow 0.5s ease;
}

.home-title {
    animation: titleAppear 1s ease-out;
}

.home-subtitle {
    animation: subtitleAppear 1s ease-out 0.4s both;
}

.home-card {
    animation: cardAppear 0.7s ease-out both;
}

.home-card:nth-child(1) {
    animation-delay: 0.7s;
}

.home-card:nth-child(2) {
    animation-delay: 0.9s;
}

.home-card:nth-child(3) {
    animation-delay: 1.1s;
}

.home-card:nth-child(4) {
    animation-delay: 1.3s;
}

.home-card:nth-child(5) {
    animation-delay: 1.5s;
}

.home-card:nth-child(6) {
    animation-delay: 1.7s;
}

@keyframes titleAppear {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtitleAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardAppear { 
    from { 
        opacity: 0; 
    } 
 
    to { 
        opacity: 1; 
    } 
}

.home-title,
.home-subtitle,
.home-cards {
    position: relative;
    z-index: 1;
}

@media (max-width: 600px) {

    .home-title {
        font-size: 45px;
        margin-top: 30px;
    }

    .home-subtitle {
        font-size: 20px;
    }

    .home-cards {
        grid-template-columns: 1fr;
        gap: 15px;
        width: 90%;
        margin: 25px auto 40px;
    }

    .home-card {
        padding: 18px;
    }

    .home-card h2 {
        font-size: 22px;
    }

    .home-card p {
        font-size: 15px;
    }
}

/* =========================
   FAMILY PAGE
========================= */
#family-page
 {
    margin: 0;
    min-height: 100vh;

    background-image: url("family-bg.jpg/minecraft-background-image.jpg-2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
}

/* Home Button */

.home-button {
    position: fixed;
    top: 20px;
    left: 20px;

    padding: 10px 18px;

    color: white;
    background: rgba(17, 24, 39, 0.75);

    border: 1px solid #00b7ff;
    border-radius: 10px;

    text-decoration: none;
    font-size: 16px;

    transition: 0.3s ease;
}

.home-button:hover {
    background: rgba(0, 183, 255, 0.15);

    border-color: #00eaff;

    box-shadow:
        0 0 10px #00b7ff,
        0 0 20px rgba(0, 183, 255, 0.4);

    transform: translateY(-2px);
}
/* Role Filters */

.role-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;

    width: fit-content;
    margin: 15px auto 0;
    transform: translateY(-50px);

}

.role-filters button {
    padding: 12px 52px;

    background: rgba(17, 24, 39, 0.75);
    color: white;

    border: 1px solid #374151;
    border-radius: 10px;

    cursor: pointer;
    font-size: 26px;

    transition: 0.3s ease;
}

.role-filters button:hover {
    border-color: #00b7ff;
    box-shadow: 0 0 12px rgba(0, 183, 255, 0.5);
    transform: translateY(-2px);
}
/* Family Search */

.search-box {
    position: relative;
    width: 950px;
    margin: 1px auto 40px;
    transform: translateY(-50px);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
}

#member-search {
    width: 100%;
    box-sizing: border-box;

    padding: 16px 40px 16px 88px;

    background: rgba(17, 24, 39, 0.75);
    color: white;

    border: 1px solid #374151;
    border-radius: 12px;

    outline: none;

    font-size: 18px;

    transition: 0.3s ease;
}

#member-search::placeholder {
    color: #9ca3af;
}

#member-search:focus {
    border-color: #00b7ff;

    box-shadow:
        0 0 10px #00b7ff,
        0 0 20px rgba(0, 183, 255, 0.35);
}

/* Member Cards */

/* Member List */

.family-members {
    display: grid;

    grid-template-columns: repeat(5,1fr);
    grid-template-rows: repeat(var(--member-rows, 1), auto);

    gap: 10px 20px;

    width: 90%;
    margin: 25px auto;
    transform: translateY(-50px);

}
.family-members.single-role {
    grid-template-columns: 1fr 1fr;
    justify-content: normal;
}
.member-card {
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 55px;

    padding: 8px 18px;

    box-sizing: border-box;

    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(8px);

    border: 1px solid #374151;
    border-radius: 10px;

    transition: 0.3s ease;
}

.member-card:hover {
    border-color: #00b7ff;

    box-shadow:
        0 0 12px #00b7ff,
        0 0 25px rgba(0, 183, 255, 0.3);
}

.discord-icon {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: #5865F2;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 15px;

    color: white;
}



#family-page .search-icon {
    position: absolute;

    left: 7px !important;
    top: 50% !important;

    transform: translateY(-50%) !important;

    font-size: 14px !important;

    z-index: 2;
}

#family-page #member-search {
    width: 100% !important;
    height: 32px !important;

    box-sizing: border-box;

    padding: 5px 6px 5px 27px !important;

    font-size: 10px !important;

    border-radius: 7px;
}


    /* ROLE BUTTON AREA */
    #family-page .role-filters {
    width: calc(100% - 16px);

    margin: 0 auto;

    padding-top: 55px;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 4px;

    transform: translateY(15px);

    box-sizing: border-box;
}


    /* ROLE BUTTON */
    #family-page .role-filters button {

        width: 100%;

        padding: 5px 2px;

        font-size: 9px;

        line-height: 1.1;

        border-radius: 5px;

        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }


    /* MEMBER GRID */
    #family-page .family-members {

        width: calc(100% - 12px);

        margin: 12px auto 20px;

        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 7px;

        transform: none;

        box-sizing: border-box;
    }


    /* MEMBER CARD */
    #family-page .member-card {
    font-size: 7px;
}

#family-page .member-card span,
#family-page .member-card p {
    font-size: 7px;
    line-height: 1.1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


    /* DISCORD ICON */
    #family-page .discord-icon {

        width: 23px;
        height: 23px;

        min-width: 23px;

        margin-right: 5px;

        font-size: 10px;
    }


    /* MEMBER NAME / TEXT */
    #family-page .member-card * {

        min-width: 0;
    }

    #family-page .member-card {

        font-size: 10px;
    }


.member-role {
    font-size: 13px;
    color: #00b7ff;

    margin-right: 20px;
}

.member-card h2 {
    margin: 0;

    font-size: 18px;
    color: white;
}
/* Role Colors */

.member-role.founder {
    color: #a855f7;
}

.member-role.owner {
    color: #ff3344;
}

.member-role.leader {
    color: #0010f7;
}

.member-role.admin {
    color: #ff8c00;
}

.member-role.mod {
    color: #a74271;
}

.member-role.regular-member {
    color: #2cff02;
}

.member-role.guest {
    color: #ffe600;
}

.member-role.bot {
    color: #6ecbf7;
}

#no-members {
    display: none;

    text-align: center;
    color: #9ca3af;

    font-size: 20px;

    margin-top: 40px;
}

/* Online Page */

#online-page {
    min-height: 100vh;

    background: #0b0f19;

    color: white;

    padding-top: 1px;

    box-sizing: border-box;
}


.online-title {
    text-align: center;

    font-size: 60px;

    color: #00ff66;

    margin-top: 50px;
    margin-bottom: 30px;

    text-shadow:
        0 0 10px #00ff66,
        0 0 25px rgba(0, 255, 102, 0.5);
}


.online-members {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px 20px;

    width: 90%;

    margin: 25px auto;
}


.discord-online-member {
    display: flex;

    align-items: center;

    width: 100%;

    min-height: 55px;

    padding: 8px 18px;

    box-sizing: border-box;

    background: rgba(17, 24, 39, 0.75);

    backdrop-filter: blur(8px);

    border: 1px solid #374151;

    border-radius: 10px;

    transition: 0.3s ease;
}


.discord-online-member:hover {
    border-color: #00b7ff;

    box-shadow:
        0 0 12px #00b7ff,
        0 0 25px rgba(0, 183, 255, 0.3);
}


.discord-online-member .discord-icon {
    flex-shrink: 0;

    width: 38px;
    height: 38px;

    margin-right: 15px;
}


.discord-online-member .member-role {
    margin-right: 20px;

    font-size: 13px;
}


.discord-online-member h2 {
    margin: 0;

    font-size: 18px;

    color: white;
}


.discord-status {
    margin-left: auto;

    position: relative;

    flex-shrink: 0;
}


.discord-status.online {
    width: 14px;
    height: 14px;

    background: #00ff66;

    border-radius: 50%;

    box-shadow: 0 0 8px #00ff66;
}


.discord-status.idle {
    width: 17px;
    height: 17px;

    background: #ffe600;

    border-radius: 50%;

    box-shadow: 0 0 8px #ffe600;

    position: relative;
}

.discord-status.idle::after {
    content: "";

    position: absolute;

    width: 13px;
    height: 13px;

    background: #0b0f19;

    border-radius: 50%;

    top: -2px;
    left: 4px;
}


.discord-status.dnd {
    width: 16px;
    height: 16px;

    background: #ff3344;

    border-radius: 50%;

    box-shadow: 0 0 8px #ff3344;

    position: relative;
}

.discord-status.dnd::after {
    content: "";

    position: absolute;

    width: 8px;
    height: 2px;

    background: white;

    border-radius: 2px;

    top: 7px;
    left: 4px;
}

/* Memories Page */

#memories-page {
    min-height: 100vh;

    background: #0b0f19;

    color: white;

    padding-top: 1px;

    box-sizing: border-box;
}


.memories-title {
    text-align: center;

    font-size: 60px;

    color: #b44cff;

    margin-top: 50px;
    margin-bottom: 40px;

    text-shadow:
        0 0 10px #b44cff,
        0 0 25px rgba(180, 76, 255, 0.5);
}


.memory-sections {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;

    width: 90%;

    margin: 0 auto;
}


.memory-section {
    min-height: 350px;

    padding: 25px;

    box-sizing: border-box;

    background: rgba(17, 24, 39, 0.75);

    backdrop-filter: blur(8px);

    border: 1px solid #374151;

    border-radius: 15px;

    text-align: center;

    transition: 0.3s ease;
}


.memory-section h2 {
    margin: 25px;

    font-size: 30px;

    color: white;

    text-align: center;
}


.memory-icon {
    font-size: 100px;

    margin-top: 30px;

    text-align: center;
}


.picture-section:hover {
    border-color: #0088ff;

    box-shadow:
        0 0 15px #0088ff,
        0 0 30px rgba(0, 136, 255, 0.4);

    transform: translateY(-5px);
}


.video-section:hover {
    border-color: #00eaff;

    box-shadow:
        0 0 15px #00eaff,
        0 0 30px rgba(0, 234, 255, 0.35);

    transform: translateY(-5px);
}

/* Pictures Page */

#pictures-page {
    min-height: 100vh;

    background: #0b0f19;

    color: white;

    padding-top: 1px;

    box-sizing: border-box;
}


.pictures-title {
    text-align: center;

    font-size: 60px;

    color: #0088ff;

    margin-top: 50px;

    margin-bottom: 40px;

    text-shadow:
        0 0 10px #0088ff,
        0 0 25px rgba(0, 136, 255, 0.5);
}
.pictures-gallery {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    width: 90%;

    margin: 0 auto;
}


.picture-item {
    width: 100%;

    height: 220px;

    overflow: hidden;

    border-radius: 12px;

    border: 1px solid #374151;

    background: rgba(17, 24, 39, 0.75);

    transition: 0.3s ease;
}


.picture-item img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}
.picture-item:hover {
    border-color: #0088ff;

    box-shadow:
        0 0 12px #0088ff,
        0 0 25px rgba(0, 136, 255, 0.35);

    transform: translateY(-4px);
}


.picture-item img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.3s ease;
}


.picture-item:hover img {
    transform: scale(1.08);
}
#image-viewer {
    display: none;

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.85);

    z-index: 9999;

    align-items: center;
    justify-content: center;

    padding: 30px;

    box-sizing: border-box;
}


#viewer-image {
    max-width: 90%;
    max-height: 85%;

    object-fit: contain;

    border-radius: 12px;

    box-shadow:
        0 0 20px #0088ff,
        0 0 40px rgba(0, 136, 255, 0.35);
}


#close-viewer {
    position: absolute;

    top: 20px;
    right: 30px;

    font-size: 45px;

    color: white;

    cursor: pointer;

    line-height: 1;

    transition: 0.3s ease;
}


#close-viewer:hover {
    color: #0088ff;

    text-shadow: 0 0 10px #0088ff;
}
/* Videos Page */

#videos-page {
    min-height: 100vh;

    background: #0b0f19;

    color: white;

    padding-top: 1px;

    box-sizing: border-box;
}


.videos-gallery {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    width: 90%;

    margin: 0 auto;
}


.video-item {
    width: 100%;

    height: 220px;

    overflow: hidden;

    border-radius: 12px;

    border: 1px solid #374151;

    background: rgba(17, 24, 39, 0.75);

    transition: 0.3s ease;
}


.video-item video {
    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}


.video-item:hover {
    border-color: #33ff66;

    box-shadow:
        0 0 12px #4fff19,
        0 0 25px rgba(51, 255, 51, 0.35);

    transform: translateY(-4px);
}
.videos-title {
    text-align: center;

    font-size: 60px;

    color: #ff3344;

    margin-top: 50px;

    margin-bottom: 40px;

    text-shadow:
        0 0 10px #ff3344,
        0 0 25px rgba(255, 51, 68, 0.5);
}
/* Hall of Fame */

#hall-of-fame-page {
    min-height: 100vh;
    background: #0b0f19;
    color: white;
    padding-top: 1px;
    box-sizing: border-box;
}

.hall-title {
    text-align: center;
    font-size: 60px;
    color: #ffd700;
    margin-top: 50px;
    margin-bottom: 50px;
    text-shadow:
        0 0 10px #ffd700,
        0 0 25px rgba(255, 215, 0, 0.5);
}

.season-list {
    display: flex;
    justify-content: center;
    width: 90%;
    margin: 0 auto;
}

.season-card {
    width: 820px;
    padding: 25px;
    box-sizing: border-box;
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid #374151;
    border-radius: 15px;

    display: flex;
    align-items: center;
    gap: 95px;

    cursor: pointer;
    transition: 0.3s ease;
}

.season-card:hover {
    border-color: #1900ff;
    box-shadow:
        0 0 15px #0004ff,
        0 0 30px rgba(4, 0, 255, 0.35);
    transform: translateY(-5px);
}

.season-badge {
    width: 90px;
    height: 90px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #ffd700;
    border-radius: 50%;

    background: rgba(255, 215, 0, 0.08);

    box-shadow:
        0 0 10px #eeff00,
        inset 0 0 12px rgba(47, 0, 255, 0.25);
}

.season-badge span {
    font-size: 34px;
    font-weight: bold;
    color: #ffd700;

    text-shadow:
        0 0 8px #ffd700;
}

.season-card h2 {
    margin: 0;
    font-size: 27px;
    color: white;
}

/* Season 22 */

#season-22-page {
    min-height: 100vh;
    background: #0b0f19;
    color: white;
    padding-top: 1px;
    box-sizing: border-box;
}

.season-title {
    text-align: center;
    font-size: 60px;
    color: #ffd700;
    margin-top: 50px;
    margin-bottom: 40px;
    text-shadow:
        0 0 10px #ffd700,
        0 0 25px rgba(255, 215, 0, 0.5);
}

.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 650px;
    max-width: 90%;
    margin: 0 auto 40px;
}

.achievement-card {
    width: 100%;
    min-height: 90px;
    padding: 15px 20px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    gap: 25px;

    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(8px);

    border: 1px solid #374151;
    border-radius: 15px;

    transition: 0.3s ease;
}

.achievement-card:hover {
    
    transform: translateY(-4px);
}

.achievement-icon {
    width: 70px;
    min-width: 70px;
    text-align: center;
    font-size: 45px;
}

.achievement-info h2 {
    margin: 0 0 6px;
    font-size: 24px;
    color: white;
}

.achievement-info p {
    margin: 0;
    font-size: 15px;
    color: #b9c1d0;
}
/* Individual achievement hover colors */

.tenshi-card:hover {
    border-color: #db1457;
    box-shadow:
        0 0 12px #e41717,
        0 0 25px rgba(255, 215, 0, 0.35);
}

.madara-card:hover {
    border-color: #e9e512;
    box-shadow:
        0 0 12px #e8ec0c,
        0 0 25px rgba(192, 192, 192, 0.35);
}

.zacky-card:hover {
    border-color: #32cd47;
    box-shadow:
        0 0 12px #32cd4c,
        0 0 25px rgba(205, 127, 50, 0.35);
}

.abd-card:hover {
    border-color: #001aff;
    box-shadow:
        0 0 12px #001aff,
        0 0 25px rgba(0, 234, 255, 0.35);
}

.zq-card:hover {
    border-color: #ff8c00;
    box-shadow:
        0 0 12px #ff8c00,
        0 0 25px rgba(255, 140, 0, 0.35);
}

.obsidian-card:hover {
    border-color: #b44cff;
    box-shadow:
        0 0 12px #b44cff,
        0 0 25px rgba(180, 76, 255, 0.35);
}

.r4x-card:hover {
    border-color: #33e7ff;
    box-shadow:
        0 0 12px #33e7ff,
        0 0 25px rgba(255, 51, 68, 0.35);
}
/* =========================
   MUSIC LOUNGE
========================= */

#music-page {
    min-height: 100vh;
    background: #0b0f19;
    color: white;
    padding-top: 1px;
    box-sizing: border-box;
}

.music-title {
    text-align: center;
    font-size: 60px;
    color: #1900ff;
    margin-top: 10px;
    margin-bottom: 40px;
    text-shadow:
        0 0 10px #00eaff,
        0 0 25px rgba(0, 234, 255, 0.5);
}

.music-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    width: 90%;
    margin: 0 auto;
}

.spotify-card {
    width: 100%;
    height: 152px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #374151;
    background: #121826;
    transition: 0.3s ease;
}

.spotify-card iframe {
    width: 100%;
    height: 152px;
    display: block;
    border: none;
}

.spotify-card:hover {
    border-color: #00eaff;
    box-shadow:
        0 0 12px #00eaff,
        0 0 25px rgba(0, 234, 255, 0.35);
    transform: translateY(-3px);
}

.music-card {
    width: 100%;
    min-height: 70px;
    padding: 10px 78px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    gap: 35px;

    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(8px);

    border: 1px solid #374151;
    border-radius: 10px;

    transition: 0.3s ease;
}

.music-card:hover {
    border-color: #00eaff;
    box-shadow:
        0 0 12px #00eaff,
        0 0 25px rgba(0, 234, 255, 0.3);
    transform: translateY(-3px);
}

.music-disc {
    width: 50px;
    height: 50px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #ff0066;
    border: 2px solid #ff4d94;

    box-shadow: 0 0 10px rgba(255, 0, 102, 0.5);
}

.music-disc span {
    font-size: 24px;
    color: white;
}

.music-info {
    flex: 1;
    min-width: 0;
}

.music-info h2 {
    margin: 0 0 3px;
    font-size: 19px;
    color: white;
}

.music-info p {
    margin: 0;
    font-size: 13px;
    color: #9ca3af;
}

.music-visualizer {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 25px;
}

.music-visualizer span {
    width: 3px;
    height: 8px;
    background: #00eaff;
    border-radius: 3px;
}

.music-play {
    width: 34px;
    height: 34px;
    flex-shrink: 0;

    border: 1px solid #00eaff;
    border-radius: 50%;

    background: rgba(0, 234, 255, 0.1);
    color: #00eaff;

    cursor: pointer;
    font-size: 14px;

     display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;

    transition: 0.3s ease;
}

.music-play:hover {
    background: #00eaff;
    color: #0b0f19;
    box-shadow: 0 0 10px #00eaff;
}

.music-card .music-play {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-self: center !important;
}
.sweden-card:hover {
    border-color: #5dade2;
    box-shadow: 0 0 15px #5dade2, 0 0 30px rgba(93, 173, 226, 0.35);
}

.wet-hands-card:hover {
    border-color: #48c9b0;
    box-shadow: 0 0 15px #48c9b0, 0 0 30px rgba(72, 201, 176, 0.35);
}

.mice-card:hover {
    border-color: #af7ac5;
    box-shadow: 0 0 15px #af7ac5, 0 0 30px rgba(175, 122, 197, 0.35);
}

.subwoofer-card:hover {
    border-color: #f5b041;
    box-shadow: 0 0 15px #f5b041, 0 0 30px rgba(245, 176, 65, 0.35);
}

.minecraft-card:hover {
    border-color: #58d68d;
    box-shadow: 0 0 15px #58d68d, 0 0 30px rgba(88, 214, 141, 0.35);
}

.haggstrom-card:hover {
    border-color: #ec7063;
    box-shadow: 0 0 15px #ec7063, 0 0 30px rgba(236, 112, 99, 0.35);
}

.aria-card:hover {
    border-color: #bb8fce;
    box-shadow: 0 0 15px #bb8fce, 0 0 30px rgba(187, 143, 206, 0.35);
}

.taswell-card:hover {
    border-color: #45b39d;
    box-shadow: 0 0 15px #45b39d, 0 0 30px rgba(69, 179, 157, 0.35);
}

.pigstep-card:hover {
    border-color: #ff1493;
    box-shadow: 0 0 15px #ff1493, 0 0 30px rgba(255, 20, 147, 0.35);
}

.otherside-card:hover {
    border-color: #3498db;
    box-shadow: 0 0 15px #3498db, 0 0 30px rgba(52, 152, 219, 0.35);
}

.creator-card:hover {
    border-color: #f1c40f;
    box-shadow: 0 0 15px #f1c40f, 0 0 30px rgba(241, 196, 15, 0.35);
}

.music-box-card:hover {
    border-color: #e67e22;
    box-shadow: 0 0 15px #e67e22, 0 0 30px rgba(230, 126, 34, 0.35);
}

.rubedo-card:hover {
    border-color: #e74c3c;
    box-shadow: 0 0 15px #e74c3c, 0 0 30px rgba(231, 76, 60, 0.35);
}

.chrysopoeia-card:hover {
    border-color: #9b59b6;
    box-shadow: 0 0 15px #9b59b6, 0 0 30px rgba(155, 89, 182, 0.35);
}

.aerie-card:hover {
    border-color: #1abc9c;
    box-shadow: 0 0 15px #1abc9c, 0 0 30px rgba(26, 188, 156, 0.35);
}

.ancestry-card:hover {
    border-color: #e84393;
    box-shadow: 0 0 15px #e84393, 0 0 30px rgba(232, 67, 147, 0.35);
}

/* =========================
   MUSIC DISC COLORS
========================= */

.sweden-disc {
    background: #7b4fa3;
    border-color: #b58bd1;
    box-shadow: 0 0 10px rgba(123, 79, 163, 0.6);
}

.wet-hands-disc {
    background: #3b82c4;
    border-color: #70b7f0;
    box-shadow: 0 0 10px rgba(59, 130, 196, 0.6);
}

.mice-disc {
    background: #8b6f47;
    border-color: #c5a879;
    box-shadow: 0 0 10px rgba(139, 111, 71, 0.6);
}

.subwoofer-disc {
    background: #d4a017;
    border-color: #ffe27a;
    box-shadow: 0 0 10px rgba(212, 160, 23, 0.6);
}

.minecraft-disc {
    background: #4caf50;
    border-color: #8ee28f;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.6);
}

.haggstrom-disc {
    background: #c94c4c;
    border-color: #ff8585;
    box-shadow: 0 0 10px rgba(201, 76, 76, 0.6);
}

.aria-disc {
    background: #6c5ce7;
    border-color: #a99fff;
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.6);
}

.taswell-disc {
    background: #268f83;
    border-color: #5dd6c7;
    box-shadow: 0 0 10px rgba(38, 143, 131, 0.6);
}

.pigstep-disc {
    background: #e91e63;
    border-color: #ff6f9f;
    box-shadow: 0 0 10px rgba(233, 30, 99, 0.6);
}

.otherside-disc {
    background: #2980b9;
    border-color: #63b5e8;
    box-shadow: 0 0 10px rgba(41, 128, 185, 0.6);
}

.creator-disc {
    background: #e0a800;
    border-color: #ffe477;
    box-shadow: 0 0 10px rgba(224, 168, 0, 0.6);
}

.music-box-disc {
    background: #e67e22;
    border-color: #ffb866;
    box-shadow: 0 0 10px rgba(230, 126, 34, 0.6);
}

.rubedo-disc {
    background: #c0392b;
    border-color: #ff776b;
    box-shadow: 0 0 10px rgba(192, 57, 43, 0.6);
}

.chrysopoeia-disc {
    background: #8e44ad;
    border-color: #c77ee8;
    box-shadow: 0 0 10px rgba(142, 68, 173, 0.6);
}

.aerie-disc {
    background: #16a085;
    border-color: #63e0c4;
    box-shadow: 0 0 10px rgba(22, 160, 133, 0.6);
}

.ancestry-disc {
    background: #d63384;
    border-color: #ff75b5;
    box-shadow: 0 0 10px rgba(214, 51, 132, 0.6);
}
.music-visualizer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 25px;
    height: 25px;
}

.music-visualizer span {
    width: 3px;
    height: 8px;
    background: #00eaff;
    border-radius: 3px;
    transform-origin: bottom;
}
@keyframes musicBars {
    0%, 100% {
        transform: scaleY(0.4);
    }

    50% {
        transform: scaleY(1.5);
    }
}

.music-visualizer.active span {
    animation: musicBars 0.8s ease-in-out infinite;
}

.music-visualizer.active span:nth-child(2) {
    animation-delay: 0.15s;
}

.music-visualizer.active span:nth-child(3) {
    animation-delay: 0.3s;
}

.music-visualizer.active span:nth-child(4) {
    animation-delay: 0.1s;
}

.music-visualizer.active span:nth-child(5) {
    animation-delay: 0.25s;
}
#season-22-map-page {
    min-height: 100vh;
    background: #0b0f19;
    color: white;
    padding-top: 1px;
    box-sizing: border-box;
}

.season-map-title {
    text-align: center;
    font-size: 60px;
    color: #00ff99;
    margin-top: 40px;
    margin-bottom: 25px;
    text-shadow:
        0 0 10px #00ff99,
        0 0 25px rgba(0, 255, 153, 0.5);
}

.map-container {
    position: relative;
    width: 94%;
    height: calc(100vh - 180px);
    margin: 0 auto 25px;

    overflow: hidden;

    border: none;
    box-shadow: none;

    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
#territory-page {
    min-height: 100vh;
    background: #0b0f19;
    color: white;
    padding-top: 1px;
    box-sizing: border-box;
}

.territory-title {
    text-align: center;
    font-size: 60px;
    color: #00ff99;
    margin-top: 50px;
    margin-bottom: 50px;
    text-shadow:
        0 0 10px #00ff99,
        0 0 25px rgba(0, 255, 153, 0.5);
}

.territory-season-list {
    display: flex;
    justify-content: center;
    width: 90%;
    margin: 0 auto;
}

.territory-season-card {
    width: 550px;
    min-height: 140px;
    padding: 25px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    gap: 25px;

    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(8px);

    border: 1px solid #374151;
    border-radius: 15px;

    cursor: pointer;
    transition: 0.3s ease;
}

.territory-season-card:hover {
    border-color: #ff0000;
    box-shadow:
        0 0 15px #ff000d,
        0 0 30px rgba(0, 255, 153, 0.35);
    transform: translateY(-5px);
}

.territory-season-badge {
    width: 90px;
    height: 90px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #001aff;
    border-radius: 50%;

    background: rgba(0, 255, 153, 0.08);

    box-shadow:
        0 0 10px #001aff,
        inset 0 0 12px rgba(0, 255, 153, 0.25);
}

.territory-season-badge span {
    font-size: 34px;
    font-weight: bold;
    color: #ff0000;
    text-shadow: 0 0 8px #ff0000;
}

.territory-season-card h2 {
    margin: 0;
    font-size: 27px;
    color: white;
}

.cursor-particle {
    position: fixed;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    pointer-events: none;
    background: #00d9ff;
    box-shadow:
        0 0 6px #00d9ff,
        0 0 14px #008cff,
        0 0 24px #0066ff;
    z-index: 9999;
    animation: particleFade 0.6s ease-out forwards;
}

@keyframes particleFade {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0);
    }
}
.copyright {
    position: fixed;
    bottom: 22px;
    left: 15px;
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-shadow:
        0 0 5px rgba(0, 60, 255, 0.5),
        0 0 10px rgba(0, 150, 255, 0.3);
    z-index: 1000;
}

.home-button {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 20;

    padding: 11px 18px;

    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;

    background: rgba(10, 10, 15, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        0 0 12px rgba(0, 170, 255, 0.25),
        inset 0 0 12px rgba(255, 255, 255, 0.03);

    transition: all 0.3s ease;
}

.home-button:hover {
    transform: translateY(-2px);

    border-color: rgba(0, 200, 255, 0.7);

    box-shadow:
        0 0 20px rgba(0, 200, 255, 0.55),
        0 0 40px rgba(0, 120, 255, 0.2);

    background: rgba(10, 20, 30, 0.8);
}


/* TERRITORY MAP TITLE */

.map-title {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);

    z-index: 20;

    padding: 12px 22px;

    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.5px;

    background: rgba(10, 10, 15, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        0 0 15px rgba(0, 170, 255, 0.25),
        inset 0 0 15px rgba(255, 255, 255, 0.03);

    text-shadow:
        0 0 8px rgba(0, 200, 255, 0.8),
        0 0 18px rgba(0, 120, 255, 0.4);

    pointer-events: none;

    transition: all 0.3s ease;
}

/* =========================
   SEASON 22 MAP
========================= */

.season-map-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;

    

    transition: transform 0.2s ease;
}

.season-map-controls {
    position: absolute;
    right: 15px;
    bottom: 15px;

    display: flex;
    gap: 8px;

    z-index: 10;
}

.season-map-controls button {
    width: 45px;
    height: 45px;

    margin: 0;
    padding: 0;

    background: rgba(10, 10, 15, 0.8);
    color: white;

    border: 1px solid #374151;
    border-radius: 10px;

    font-size: 22px;
    cursor: pointer;

    transition: 0.2s ease;
}

.season-map-controls button:hover {
    border-color: #00ff99;

    box-shadow:
        0 0 10px #00ff99,
        0 0 20px rgba(0, 255, 153, 0.3);

    transform: translateY(-2px);
}

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        min-height: 100%;
        height: auto;
        overflow-x: hidden;
        overflow-y: auto;
    }

    #home-page {
        min-height: 100vh;
        height: auto;
        overflow: visible;
    }

    .sections-container,
    .home-sections,
    .cards-container {
        height: auto;
        min-height: 0;
        overflow: visible;
    }

}
@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        min-height: 100%;
        height: auto;
        overflow-x: hidden;
        overflow-y: auto;
    }

    #home-page {
        min-height: 100vh;
        height: auto;
        overflow: visible;
    }
}
/* =========================
   FAMILY MOBILE ZOOM
========================= */

@media (max-width: 768px) {
    html, body {
        width: 100%;
        min-height: 100%;
        height: auto;
        overflow-x: hidden;
        overflow-y: auto;
    }

    #home-page {
        min-height: 100vh;
        height: auto;
        overflow: visible;
    }
}
@media (max-width: 768px) {
    .home-cards {
        margin-top: 220px !important;
    }
}
/* =========================
   FAMILY MOBILE FINAL FIX
   ========================= */

@media screen and (max-width: 600px) {

    #family-page {
        width: 100%;
        min-height: 100vh;
        overflow-x: hidden;
        overflow-y: auto;
        box-sizing: border-box;
    }

    /* HOME BUTTON */
    #family-page .home-button {
        position: absolute;
        top: 10px;
        left: 8px;

        width: auto;
        padding: 7px 10px;

        font-size: 11px;
        line-height: normal;

        z-index: 1000;
    }


    /* SEARCH */
    #family-page .search-box {
        position: absolute;

        top: -60px !important;
        left: 85px !important;
        right: 8px !important;

        width: auto !important;
        margin: 0 !important;

        transform: none !important;

        z-index: 1000;
    }

    #family-page .search-icon {
        left: 8px !important;
        top: 73% !important;

        font-size: 14px !important;

        transform: translateY(-50%) !important;
    }

    #family-page #member-search {
        width: 100% !important;
        height: 32px !important;

        padding: 5px 8px 5px 28px !important;

        box-sizing: border-box;

        font-size: 10px !important;

        border-radius: 7px;
    }


    /* ROLE BUTTONS */
    #family-page .role-filters {
        width: calc(100% - 16px);

        margin: 0 auto !important;
        padding-top: 55px;

        display: grid;

        grid-template-columns: repeat(5, minmax(0, 1fr));

        gap: 4px;

        transform: translateY(15px) !important;

        box-sizing: border-box;
    }

    #family-page .role-filters button {
        width: 100%;

        min-width: 0;

        margin: 0 !important;

        padding: 6px 2px !important;

        font-size: 9px !important;
        line-height: 1.1;

        border-radius: 5px;

        white-space: nowrap;

        overflow: hidden;
        text-overflow: ellipsis;

        box-sizing: border-box;
    }


    /* MEMBER GRID */
    #family-page .family-members {
        width: calc(100% - 12px);

        margin: 28px auto 20px !important;

        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 7px;

        transform: none !important;

        box-sizing: border-box;
    }


    /* MEMBER CARD */
    #family-page .member-card {
        width: 100%;

        min-width: 0;
        min-height: 48px;

        padding: 6px 7px !important;

        display: flex;
        align-items: center;

        box-sizing: border-box;

        overflow: hidden;

        font-size: 10px !important;
    }


    /* DISCORD ICON */
    #family-page .discord-icon {
        width: 23px !important;
        height: 23px !important;

        min-width: 23px !important;

        margin-right: 5px !important;

        font-size: 10px !important;
    }


    /* ROLE */
    #family-page .member-role {
        flex-shrink: 0;

        margin-right: 6px !important;

        font-size: 8px !important;

        line-height: 1;

        white-space: nowrap;
    }


    /* MEMBER NAME */
    #family-page .member-card h2 {
        min-width: 0;

        margin: 0 !important;

        font-size: 12px !important;

        line-height: 1.1;

        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;

        color: white;
    }


    /* Prevent child elements from making cards wider */
    #family-page .member-card * {
        min-width: 0;
        box-sizing: border-box;
    }


    /* IF ONLY ONE ROLE IS SELECTED */
    #family-page .family-members.single-role {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    /* NO MEMBERS */
    #family-page #no-members {
        font-size: 14px;

        margin-top: 30px;
    }
}
/* =========================
   HOME PAGE ONLY - NO SCROLL
========================= */

#home-page {
    overflow: hidden !important;
}