/* Variables */
:root {
    --primary-color: #ff7e5f;
    --secondary-color: #feb47b;
    --text-color: #ffffff;
    --btn-color: #181a1b;
    --background-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

/* Body and Global Styles */
body {
    font-family: var(--font-family), serif;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: #181a1b;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    transition: background 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    padding: 0 20px;
    margin: auto;
    height: 60px;
}

.nav-logo {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--text-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-icon {
    display: none;
    font-size: 1.5em;
    color: var(--text-color);
    cursor: pointer;
}

/* Parallax Section */
.parallax {
    background: url('/img/wallpaper.webp') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    position: relative;
}

.overlay {
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.welcome-text {
    text-align: center;
    animation: fadeIn 2s ease-out;
}

.welcome-text h1 {
    font-size: 4em;
    margin-bottom: 20px;
}

.welcome-text p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.btn {
    padding: 15px 30px;
    font-size: 1em;
    color: var(--primary-color);
    background: var(--btn-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.btn:hover {
    background: var(--primary-color);
    color: var(--text-color);
    transform: scale(1.05);
}

section {
    padding: 80px 20px;
    text-align: center;
}

.secondary-section {
    background-color: #222222;
}

section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    position: relative;
}

section h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    display: block;
    margin: 20px auto 0;
}

/* Features Section */
.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-item {
    flex: 1 1 300px;
    margin: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item i {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-item h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 1em;
    line-height: 1.5;
}

/* --- MODAL STYLES DARK MODE --- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    z-index: 1001;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background: #181a1b;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    color: #fff;
    box-shadow: 0 4px 32px rgba(0,0,0,0.75);
    border: 1px solid #23272a;
}

.close-btn {
    float: right;
    font-size: 1.5em;
    cursor: pointer;
    color: #bbb;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #eee;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 4px;
    background: #23272a;
    color: #fff;
}

/* Buttons in modals */
.submit-btn {
    background: var(--primary-color);
    color: #fff;
}

.submit-btn:hover {
    background: var(--secondary-color);
}

/* Modal List Styling */
.modal-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.modal-content ul li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    font-size: 1.1em;
    color: #fff;
    border-bottom: 1px solid #23272a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-content ul li:last-child {
    border-bottom: none;
}

.modal-content ul li::before {
    content: \"\\2022\";
    font-size: 1.5em;
    color: var(--primary-color);
    margin-right: 10px;
    line-height: 1;
}

/* Modal links, icons, and hover states */
.modal-content ul li a {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}
.modal-content ul li a:hover {
    color: var(--primary-color);
}
.modal-content ul li a i {
    font-size: 0.85em;
    margin-left: 6px;
    color: inherit;
    transition: transform 0.3s ease;
}
.modal-content ul li a:hover i {
    transform: translateX(2px);
}

/* Footer */
footer {
    background: #222222;
    padding: 20px;
    text-align: center;
}

footer p {
    font-size: 1em;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        width: 70%;
        max-width: 250px;
        background: rgba(0, 0, 0, 0.95);
        padding: 20px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
        transform: translateX(100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
    }

    .nav-icon {
        display: block;
        font-size: 1.8em;
        color: var(--text-color);
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 998;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-icon.active i {
        transform: rotate(180deg);
    }

    .nav-item {
        margin: 10px 0;
        padding: 10px 0;
        text-align: center;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        transition: background 0.3s ease, transform 0.3s ease;
    }

    .nav-item:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }

    .nav-item:not(:last-child) {
        margin-bottom: 15px;
    }

    .nav-link {
        color: var(--text-color);
        font-size: 1.2em;
        font-weight: 500;
        padding: 10px 15px;
        display: inline-block;
        width: 100%;
    }

    .nav-link:hover {
        background: var(--primary-color);
        color: #ffffff;
    }

    .features-container {
        flex-direction: column;
    }

    .welcome-text h1 {
        font-size: 3em;
    }

    .welcome-text p {
        font-size: 1.2em;
    }
}
.profile-card {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0 15px 0;
    padding: 18px 26px;
    background: rgba(36, 37, 40, 0.88);
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.14);
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    transition: box-shadow 0.2s;
}
.profile-card:hover {
    box-shadow: 0 4px 28px rgba(0,0,0,0.33);
}
.profile-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    width: 100%;
}
.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-right: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    border: 2px solid var(--primary-color);
    background: #222;
}
.profile-info {
    display: flex;
    flex-direction: column;
}
.profile-handle {
    font-size: 1.35em;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--primary-color);
}
.profile-badge {
    font-size: 1em;
    color: var(--secondary-color);
    margin-bottom: 3px;
    font-weight: 500;
}
.profile-platform {
    font-size: 0.99em;
    color: #bbb;
    margin-top: 4px;
    display: flex;
    align-items: center;
}
.profile-platform i {
    margin-right: 7px;
    color: #bbb;
}
