/* VΛULT - Black & White Luxury Theme */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    height: 100vh;
    overflow: hidden;
}

.container {
    position: relative;
    height: 100vh;
    width: 100%;
}

.page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    padding: 20px;
    transition: opacity 0.3s ease;
}

.page.active {
    display: flex;
}

/* Material Icons */
.material-symbols-outlined {
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
    vertical-align: middle;
}

/* Welcome Page */
#welcome-page {
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.logo {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
    background: linear-gradient(45deg, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
}

.enter-button {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.enter-button:hover {
    background-color: #ddd;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
}

.entry-fee {
    font-size: 1rem;
    opacity: 0.7;
}

/* Login Page */
#login-page {
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

#login-page h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.login-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
    opacity: 0.7;
}

.login-form {
    width: 100%;
    max-width: 350px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    color: #aaa;
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.login-button {
    background: linear-gradient(45deg, #fff, #aaa);
    color: #000;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
    margin-top: 10px;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
}

.login-footer {
    margin-top: 30px;
}

.login-footer a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.login-footer p {
    margin: 10px 0;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}

.logo-small {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.user-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.coin-balance {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.coin-icon {
    font-size: 1.2rem;
    color: gold;
}

.coin-amount {
    font-weight: 600;
}

.vip-level {
    background: linear-gradient(45deg, #fff, #aaa);
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.back-button {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Home Feed */
.feed {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.post {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.post.featured {
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.post.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fff, #aaa);
}

.post.animate {
    opacity: 1;
    transform: translateY(0);
}

.post:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.post-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.post-author {
    font-weight: 600;
}

.post-vip {
    background: linear-gradient(45deg, #fff, #aaa);
    color: #000;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.post-content {
    margin-bottom: 20px;
    line-height: 1.6;
}

.post-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.action-button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.fire-button.active {
    background: rgba(255, 69, 0, 0.2);
    border-color: rgba(255, 69, 0, 0.5);
    color: #ff4500;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 5px rgba(255, 69, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0);
    }
}

/* Comment Section */
.comment-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.comment-section.hidden {
    display: none;
}

.comments {
    margin-bottom: 15px;
    max-height: 150px;
    overflow-y: auto;
}

.comment {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.comment-author {
    font-weight: 600;
    font-size: 0.9rem;
}

.comment-time {
    font-size: 0.8rem;
    opacity: 0.7;
}

.comment-content {
    font-size: 0.9rem;
    line-height: 1.4;
}

.add-comment {
    display: flex;
    gap: 10px;
}

.comment-input {
    flex: 1;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #fff;
    font-size: 0.9rem;
}

.comment-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.comment-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-comment {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-comment:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Bottom Navigation */
.bottom-nav {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    border-top: 1px solid #333;
    margin-top: auto;
}

.nav-button {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.nav-button.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.nav-button:hover {
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.05);
}

/* Profile Page */
.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #fff, #aaa);
    margin-right: 20px;
    position: relative;
    overflow: hidden;
}

.profile-pic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
}

.username {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.vip-badge {
    background: linear-gradient(45deg, #fff, #aaa);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-block;
    width: fit-content;
}

.profile-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.7;
}

.profile-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.upgrade-button, .invite-button {
    flex: 1;
    padding: 15px;
    border-radius: 15px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.upgrade-button {
    background: linear-gradient(45deg, #fff, #aaa);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.invite-button {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.upgrade-button:hover, .invite-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.progress-container {
    margin-top: 20px;
}

.progress-label {
    margin-bottom: 10px;
    opacity: 0.7;
}

.progress-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #fff, #aaa);
    border-radius: 5px;
    transition: width 0.5s ease;
}

/* Upgrade Page */
.upgrade-content {
    text-align: center;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.upgrade-content h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.upgrade-cost {
    font-size: 1.5rem;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.coin-icon-large {
    font-size: 2rem;
    color: gold;
}

.cost-amount {
    font-size: 2rem;
    font-weight: 700;
}

.benefits {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
    flex: 1;
}

.benefits h2 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits ul {
    padding-left: 0;
    list-style: none;
}

.benefits li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.benefits li:hover {
    background: rgba(255, 255, 255, 0.1);
}

.benefit-icon {
    font-size: 1.5rem;
    color: #aaa;
}

.confirm-upgrade {
    background: linear-gradient(45deg, #fff, #aaa);
    color: #000;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
    margin-top: auto;
}

.confirm-upgrade:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 480px) {
    .logo {
        font-size: 3rem;
    }
    
    .profile-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .profile-actions {
        flex-direction: column;
    }
    
    .upgrade-button, .invite-button {
        width: 100%;
    }
    
    #login-page h1 {
        font-size: 1.5rem;
    }
    
    .login-form {
        max-width: 300px;
    }
}