@import url(https://fonts.googleapis.com/css2?family=spartan:wght@100;200;300;400;500;600;700;800;900&display=swap);

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'spartan', sans-serif;
}

body {
    width: 100%;
    background-color: rgb(46, 40, 40);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

img[src=""], img:not([src]) {
    display: none !important;
}

/* Header Styles */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 80px;
    background-color: rgb(109, 214, 4);
    box-shadow: 0 5px 15px rgba(109, 214, 4, 0.445);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header a {
    text-decoration: none;
    color: rgb(250, 245, 245);
    font-weight: 700;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header .logo {
    width: 40px;
    height: 40px;
}

#navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
}

#navbar li {
    padding: 0 20px;
}

#navbar li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: rgb(250, 245, 245);
    transition: 0.3s ease;
}

#navbar li a.active {
    color: rgb(5, 95, 5);
    font-weight: 700;
}

#navbar li a:hover {
    color: rgb(5, 95, 5);
}

#mobile {
    display: none;
}

/* Account Container */
.account-container {
    flex: 1;
    padding: 60px 80px;
    background: linear-gradient(135deg, rgba(109, 214, 4, 0.05), rgba(46, 40, 40, 1));
}

.account-view {
    max-width: 1000px;
    margin: 0 auto;
}

/* Not Logged In View */
.not-logged-box {
    background: rgb(60, 55, 55);
    border-radius: 10px;
    padding: 80px 60px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.icon-wrapper {
    margin-bottom: 30px;
}

.icon-wrapper i {
    font-size: 80px;
    color: rgb(109, 214, 4);
}

.not-logged-box h2 {
    font-size: 32px;
    color: rgb(200, 195, 195);
    margin-bottom: 15px;
}

.not-logged-box p {
    font-size: 16px;
    color: rgb(150, 145, 145);
    margin-bottom: 40px;
    line-height: 1.6;
}

.button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 14px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-login {
    background-color: rgb(109, 214, 4);
    color: white;
}

.btn-login:hover {
    background-color: rgb(90, 180, 0);
    box-shadow: 0 5px 20px rgba(109, 214, 4, 0.3);
    transform: translateY(-2px);
}

.btn-signup {
    background-color: transparent;
    color: rgb(109, 214, 4);
    border: 2px solid rgb(109, 214, 4);
}

.btn-signup:hover {
    background-color: rgb(109, 214, 4);
    color: white;
}

/* Logged In View */
.account-content {
    background: rgb(60, 55, 55);
    border-radius: 10px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.profile-section {
    animation: fadeIn 0.4s ease-in;
}

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

.profile-header {
    margin-bottom: 40px;
    border-bottom: 2px solid rgb(100, 95, 95);
    padding-bottom: 20px;
}

.profile-header h2 {
    color: rgb(109, 214, 4);
    font-size: 28px;
}

/* Profile Picture Box */
.profile-picture-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    padding: 30px;
    background: rgb(50, 45, 45);
    border-radius: 8px;
}

.picture-container {
    position: relative;
    margin-bottom: 20px;
    width: 170px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, rgb(125, 120, 120), rgb(70, 65, 65));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: rgb(100, 95, 95);
    object-fit: cover;
    border: 4px solid rgb(109, 214, 4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: rgb(109, 214, 4);
    overflow: hidden;
    background: transparent;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-picture i {
    font-size: 52px;
}

.upload-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background-color: rgb(109, 214, 4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s ease;
}

.upload-overlay:hover {
    background-color: rgb(90, 180, 0);
    transform: scale(1.1);
}

.upload-overlay i {
    color: white;
    font-size: 20px;
}

.btn-upload {
    background-color: rgb(109, 214, 4);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.btn-upload:hover {
    background-color: rgb(90, 180, 0);
    box-shadow: 0 5px 15px rgba(109, 214, 4, 0.3);
}

.upload-hint {
    color: rgb(120, 115, 115);
    font-size: 13px;
    text-align: center;
}

/* Account Info */
.account-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.info-group {
    display: flex;
    flex-direction: column;
}

.info-group label {
    color: rgb(150, 145, 145);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-input {
    background-color: rgb(50, 45, 45);
    border: 2px solid rgb(100, 95, 95);
    padding: 12px 15px;
    border-radius: 5px;
    color: rgb(200, 195, 195);
    font-size: 14px;
}

.info-input:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background-color: rgba(109, 214, 4, 0.1);
    border-radius: 20px;
    width: fit-content;
}

.status-badge.active {
    color: rgb(109, 214, 4);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: rgb(109, 214, 4);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Account Stats */
.account-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.account-deposit {
    margin: 0 0 40px;
}

.deposit-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(109, 214, 4, 0.35);
    border-radius: 12px;
    background: linear-gradient(135deg, rgb(42, 67, 38), rgb(50, 45, 45) 65%);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.deposit-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -70px;
    top: -80px;
    border: 1px solid rgba(109, 214, 4, 0.22);
    border-radius: 50%;
    pointer-events: none;
}

.deposit-card-header,
.deposit-form,
.deposit-actions {
    position: relative;
    z-index: 1;
}

.deposit-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.deposit-card-header h2 {
    color: rgb(245, 250, 240);
    font-size: 22px;
    margin-bottom: 8px;
}

.deposit-card-header p {
    color: rgb(185, 205, 180);
    font-size: 13px;
    line-height: 1.5;
}

.deposit-card .badge {
    flex-shrink: 0;
    padding: 7px 10px;
    border: 1px solid rgba(109, 214, 4, 0.45);
    border-radius: 999px;
    color: rgb(185, 245, 130);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.deposit-form {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto;
    align-items: end;
    gap: 12px;
}

.deposit-form label {
    grid-column: 1 / -1;
    color: rgb(215, 225, 210);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.deposit-form input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgb(105, 125, 100);
    border-radius: 7px;
    background: rgba(20, 30, 20, 0.55);
    color: white;
    font-size: 15px;
}

.deposit-form input:focus {
    outline: 2px solid rgba(109, 214, 4, 0.5);
    border-color: rgb(109, 214, 4);
}

.deposit-actions {
    display: flex;
    justify-content: flex-end;
}

.deposit-actions .btn {
    min-height: 46px;
    background: rgb(109, 214, 4);
    color: rgb(26, 45, 20);
    border-color: rgb(109, 214, 4);
    font-weight: 800;
}

.deposit-actions .btn:hover {
    background: rgb(142, 235, 53);
    color: rgb(26, 45, 20);
}

.stat-card {
    background: rgb(50, 45, 45);
    padding: 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 4px solid rgb(109, 214, 4);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(109, 214, 4, 0.2);
}

.stat-card i {
    font-size: 32px;
    color: rgb(109, 214, 4);
}

.stat-card h4 {
    color: rgb(150, 145, 145);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-card p {
    color: rgb(200, 195, 195);
    font-size: 20px;
    font-weight: 700;
}

/* Quick Links */
.quick-links {
    margin-bottom: 40px;
}

.quick-links h3 {
    color: rgb(200, 195, 195);
    font-size: 18px;
    margin-bottom: 20px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.link-card {
    background: rgb(50, 45, 45);
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.link-card:hover {
    border-color: rgb(109, 214, 4);
    background-color: rgba(109, 214, 4, 0.05);
    transform: translateY(-5px);
}

.link-card i {
    font-size: 24px;
    color: rgb(109, 214, 4);
}

.link-card span {
    color: rgb(150, 145, 145);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

/* Logout Section */
.logout-section {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgb(100, 95, 95);
}

.btn-logout {
    background-color: rgb(200, 60, 60);
    color: white;
}

.btn-logout:hover {
    background-color: rgb(180, 40, 40);
    box-shadow: 0 5px 20px rgba(200, 60, 60, 0.3);
    transform: translateY(-2px);
}

/* Footer Styles */
footer {
    background-color: rgb(30, 25, 25);
    color: rgb(150, 145, 145);
    padding: 40px 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

footer .col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

footer .col h4 {
    color: rgb(200, 195, 195);
    font-size: 16px;
    margin-bottom: 10px;
}

footer .col p {
    font-size: 13px;
    line-height: 1.6;
}

footer .col a {
    text-decoration: none;
    color: rgb(150, 145, 145);
    font-size: 14px;
    transition: 0.3s ease;
}

footer .col a:hover {
    color: rgb(109, 214, 4);
}

footer .col img {
    width: 50px;
    height: auto;
}

footer .follow .icon {
    display: flex;
    gap: 10px;
}

footer .follow .icon i {
    color: rgb(100, 95, 95);
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
}

footer .follow .icon i:hover {
    color: rgb(109, 214, 4);
    transform: scale(1.2);
}

footer .row {
    display: flex;
    gap: 10px;
}

footer .row img {
    width: 100px;
    height: 50px;
}

.cpr {
    text-align: center;
    padding: 20px;
    background-color: rgb(20, 15, 15);
    color: rgb(150, 145, 145);
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 15px 40px;
    }

    #navbar {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgb(109, 214, 4);
        flex-direction: column;
        padding: 20px;
        z-index: 99;
    }

    #navbar.active {
        display: flex !important;
    }

    #navbar li {
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    #close {
        display: flex !important;
        position: absolute;
        right: 20px;
        top: 20px;
        color: rgb(250, 245, 245);
        font-size: 24px;
    }

    #mobile {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    #mobile .a {
        text-decoration: none;
        color: rgb(250, 245, 245);
        font-weight: 600;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    #bar {
        font-size: 24px;
        color: rgb(250, 245, 245);
        cursor: pointer;
    }

    .account-container {
        padding: 40px 20px;
    }

    .account-content {
        padding: 30px 20px;
    }

    .not-logged-box {
        padding: 50px 30px;
    }

    .account-info {
        grid-template-columns: 1fr;
    }

    .account-stats {
        grid-template-columns: 1fr;
    }

    .deposit-card-header {
        flex-direction: column;
    }

    .deposit-form {
        grid-template-columns: 1fr;
    }

    .deposit-actions,
    .deposit-actions .btn {
        width: 100%;
    }

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

    .button-group {
        flex-direction: column;
    }

    footer {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .account-container {
        padding: 20px 10px;
    }

    .account-content {
        padding: 20px 15px;
    }

    .profile-picture {
        width: 100px;
        height: 100px;
    }

    .picture-container {
        width: 120px;
        height: 120px;
    }

    .profile-header h2 {
        font-size: 20px;
    }

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

    .button-group {
        gap: 10px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    #navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 100vw);
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 80px 24px 24px;
        background-color: rgb(109, 214, 4);
        transition: right 0.25s ease;
        z-index: 999;
    }
    #navbar.active { right: 0; display: flex !important; }
    #navbar li { width: 100%; padding: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
    #navbar li a { display: block; width: 100%; padding: 16px 4px; color: rgb(250, 245, 245); font-size: 17px; }
    #close { display: flex !important; position: absolute; top: 20px; right: 20px; }
    #mobile { display: flex !important; align-items: center; gap: 15px; }
}
