* {
    margin: 0;
    padding: 0;
    font-family: none;
}

:root {
    /* === Backgrounds === */
    --bg-primary: #121212;
    /* Main app background */
    --bg-secondary: #1A1A1A;
    /* Card or section background */
    --bg-surface: #222222;
    /* Buttons, inner surfaces */

    /* === Text Colors === */
    --text-heading: #E0E0E0;
    /* Clean soft white for headings */
    --text-subheading: #BBBBBB;
    /* Dimmed gray for subheadings */
    --text-body: #E0E0E0;
    /* Main body text (light gray) */
    --text-muted: #A0A0A0;
    /* Less emphasized text */

    /* === Button Colors === */
    --btn-primary-bg: #FF2500;
    /* Red CTA button background */
    --btn-primary-text: #FFFFFF;
    /* CTA button text */
    --btn-primary-hover: #D21E00;
    /* CTA hover state (lighter red) */

    --btn-secondary-bg: #2E2E2E;
    /* Secondary button background */
    --btn-secondary-text: #FF6B6B;
    /* Secondary button text */
    --btn-secondary-hover: #3C3C3C;
    /* Secondary hover background */

    /* === Icon Colors === */
    --icon-primary: #FF4C4C;
    /* Primary icons in red */
    --icon-muted: #888888;
    /* Muted icons */

    /* === Borders and Dividers === */
    --border-color: #2C2C2C;
    /* Subtle borders */
    --divider-color: #3A3A3A;
    /* Section dividers */

    /* === Alerts and Status === */
    --success-color: #00C853;
    /* Green for success */
    --warning-color: #FFAB00;
    /* Amber for warning */
    --error-color: #FF5252;
    /* Red for errors (distinct) */

    /* === Hover Highlights === */
    --hover-highlight: rgba(255, 255, 255, 0.05);
    /* Subtle white hover highlight */

    /* === Shadows and Effects === */
    --shadow-elevation: 0 2px 12px rgba(0, 0, 0, 0.5);
    /* Card shadow */
}


body {
    background-color: var(--bg-primary);
    color: var(--text-body);
    transition-duration: 0.2s;
}

#navbar {
    margin: 0;
    padding: 0;
}


.nav_container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    height: 60px;
    z-index: 5;
    margin: 0;
    padding: 0;
}

.nav_branding {
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: left;
    margin-left: 0px;
    margin-right: auto;
    height: 100%;
}

.nav_branding img {
    height: 45px;
    margin: 0px 10px;
}

.nav_branding h2 {
    margin: 0px 2px;
}

.nav_branding span {
    color: #C900FF;
}

.nav_menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0px 15px 0px auto;
    font-size: 20px;
    vertical-align: middle;
    color: var(--secondary-text-color);
}

.nav_menu span {
    margin: 0px 5px;
    font-size: 16px;
    vertical-align: middle;
}

.nav_menu_items {
    position: relative;
    width: 100%;
    color: white;
    display: flex;
    flex-direction: column;
    max-height: 0px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition-duration: 0.5s;
    background-color: var(--primary-color);
}

.nav_menu_items li {
    width: 100%;
    color: white;
    list-style-type: none;
}

.nav_menu_items a {
    display: block;
    color: var(--secondary-text-color);
    box-sizing: border-box;
    width: 100%;
    padding: 20px;
    line-height: 20px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition-duration: 0.2s;
}

.nav_menu_items a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-icon-color);
}



/*-----------------*/

#home {
    display: flex;
    justify-content: center;
    align-items: left;
    flex-direction: column;
    color: var(--primary-text-color);
    background-color: transparent;
    padding: 40px 20px;
}

.home-title {
    font-family: none;
    font-weight: 400;
    font-size: 60px;
    font-weight: 900;
    font-family: "Apple-Font";
    color: var(--heading-color);
}

.home-description {
    text-align: left;
    margin: 10px 0px;
    width: 100%;
}

.home-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: transparent;
}


.home-actions a,
.download-buttons a {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    background-color: var(--btn-primary-bg);
    text-align: center;
    margin: 8px 0px;
    width: 190px;
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    font-size: 18px;
    transition-duration: 0.3s;
}

.home-actions a i {
    margin: 0px 5px;
}

.share-all {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-direction: row;
}

.share-all a {
    height: 30px;
    width: 30px;
    font-size: 25px;
    background-color: transparent;
    margin: 10px 2px;
    color: var(--primary-icon-color);
}

.share-all .share-main {
    height: 30px;
    width: 60px;
    padding: 0px 5px;
    font-size: 10px;
    text-align: center;
    background-color: var(--secondary-color);
    text-transform: none;
    margin-left: 0px;
    margin-right: 5px;
    border-radius: 3px;
}


.share-all .share-main i {
    font-size: 16px;
}

.mockups {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    margin: 20px 0px;
}

.mockups img {
    width: 150px;
}


.article-container {
    position: relative;
    padding: 40px 20px;
    text-align: left;
    font-size: 20px;
    background-color: var(--primary-bg-color);
}

.article-heading {
    font-size: 40px;
    font-weight: 700;
    font-family: inherit;
    color: var(--text-heading);
    margin-bottom: 50px;
}

.article-content {
    padding: 25px;
    background-color: var(--bg-secondary);
    border-radius: 10px;
    font-size: 18px;
}

.article-content-image {
    margin: 30px 0px;
    border-radius: 8px;
    width: 100%;
}

#article-main {
    background-color: var(--primary-color);
}

#article-main .article {
    margin-bottom: 20px;
}

.introduction {
    margin-bottom: 40px;
}

.download {
    margin-bottom: 20px;
}

.thumbnail {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 20px 0px;
}
.thumbnail img {
    width: 98%;
    border-radius: 6px;
}

.table-app-details,
.table-app-details td,
.table-app-details th {
    border: 1px solid var(--border-color);
}

.table-app-details {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0px;
}
.table-app-details td {
    padding: 10px 5px;
    text-align: center;
    font-size: 18px;
}

.download-section {
    display: block;
    width: auto;
    background-color: transparent;
    border-radius: 10px;
    color: var(--primary-text-color);
}

.hr {
    background-color: var(--divider-color);
    height: 2px;
    width: 100%;
    margin: 40px 0px;
}

.download-section ul li {
    margin: 10px 0px;
    line-height: 30px;
    color: var(--primary-text-color);
}

.download-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.download-buttons a {
    width: 100%;
    padding: 5px 0px;
    margin: 5px 0px;
}

.download-buttons a i {
    margin-right: 5px;
}

.download-section a:hover {
    background-color: var(--btn-primary-hover);
    color: white;
    -webkit-tap-highlight-color: transparent;
}

.href-general {
    color: var(--primary-button-background-color) !important;
    text-decoration: none !important;
    background-color: transparent !important;
}

.features .article-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 30px;
}

.features .article-content .article-content-icon svg {
    height: 60px;
    width: 60px;
    margin-bottom: 20px;
    color: var(--icon-primary);
}

.features .article-content .article-content-heading {
    color: var(--text-subheading);
    text-align: center;
    margin-bottom: 20px;
}

.features .article-content .article-content-description {
    text-align: center;
    color: var(--text-muted);
}

/* ----------------- Footer -----------------*/

#app-footer {
    padding: 40px 20px 10px 20px;
    background-color: var(--secondary-color);
    text-align: center;
}


.app-footer-links {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.app-footer-links a {
    display: block;
    margin: 10px 15px;
    color: var(--text-body);
    text-decoration: none;
    transition-duration: 0.2s;
}

.app-footer-links a:hover {
    color: var(--primary-icon-color);
}

#app-footer p {
    margin-top: 30px;
}


/* Overlay */
#popupOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    display: none;
}

/* Glass Popup */
.popup-box {
    position: relative;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 32px;
    width: 70%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: scaleUp 0.3s ease;
}

/* Animation */
@keyframes scaleUp {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #ff4b4b;
}

.close-icon {
    width: 24px;
    height: 24px;
}

/* Discord Icon */
.discord-icon {
    margin-top: 20px;
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
    text-align: center;
}

/* Text */
.popup-title {
    font-size: 26px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}
.popup-desc {
    font-size: 15px;
    color: #cccccc;
    margin-bottom: 24px;
}

/* Join Button */
.join-btn {
    background: #5865F2;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.join-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

@keyframes scaleUp {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scaleDown {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}

.popup-box.show {
    animation: scaleUp 0.3s ease forwards;
}

.popup-box.hide {
    animation: scaleDown 0.2s ease forwards;
}