/* RESET & VARIABLES */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-black: #080808;
    --bg-card: rgba(20, 20, 20, 0.65);
    --text-white: #f4f4f4;
    --text-muted: #888888;
    --accent-blue: #E69242; /* Premium Copper/Gold */
    --accent-hover: #ff9d50;
    --border-glass: rgba(255, 255, 255, 0.08);
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 10px 40px rgba(230, 146, 66, 0.15);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, .logo { font-family: 'Anton', sans-serif; letter-spacing: 2px; text-transform: uppercase; }

/* NAVIGATION */
#navbar {
    position: fixed; top: 0; width: 100%;
    background: transparent;
    padding: 20px 50px;
    z-index: 1000;
    display: flex; justify-content: center; align-items: center;
    transition: all 0.4s ease;
}
#navbar.scrolled {
    background: rgba(8, 8, 8, 0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 15px 50px;
}
#navbar.nav-hidden { transform: translateY(-100%); opacity: 0; }

.nav-container {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; max-width: 1400px;
}
.brand-container { display: flex; flex-direction: column; line-height: 1.1; }
.logo { font-size: 1.8rem; text-decoration: none; color: var(--text-white); }
.sony-text {
    font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--text-muted); margin-top: 4px; font-weight: 600;
}

.nav-links { display: flex; gap: 30px; }
.nav-links a {
    color: var(--text-white); text-decoration: none; text-transform: uppercase;
    font-weight: 600; font-size: 0.85rem; transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent-blue); }

.btn-vip {
    background: var(--accent-blue); color: #fff; border: none;
    padding: 12px 28px; border-radius: 30px; font-weight: 700;
    cursor: pointer; text-transform: uppercase; font-size: 0.8rem;
    transition: all 0.3s; box-shadow: 0 4px 15px rgba(230, 146, 66, 0.3);
}
.btn-vip:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* HERO */
.hero {
    height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative; overflow: hidden;
}
.hero-slides { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.bg-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; transform: scale(1.1); /* Subtle zoom effect */
    transition: transform 6s ease-in-out, opacity 2s ease-in-out;
}
.bg-slide.active { opacity: 1; transform: scale(1); }
.bg-slide.previous { opacity: 0; }

.hero-overlay { 
    position: absolute; top:0; left:0; width:100%; height:100%; 
    background: linear-gradient(to bottom, rgba(8,8,8,0.2) 0%, rgba(8,8,8,0.5) 50%, rgba(8,8,8,1) 100%);
    z-index: 2; 
}
.hero-content { position: relative; z-index: 3; }
.hero h1 { font-size: 8rem; line-height: 0.9; margin-bottom: 20px; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.hero p { font-size: 1.2rem; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 40px; color: var(--text-muted); }

/* BUTTONS */
.btn {
    padding: 16px 40px; text-decoration: none; text-transform: uppercase;
    font-weight: 700; border-radius: 30px; cursor: pointer;
    transition: all 0.3s; border: none; display: inline-flex; 
    justify-content: center; align-items: center; font-size: 0.9rem;
}
.btn-primary { background: var(--accent-blue); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 7px 20px rgba(230, 146, 66, 0.4); }
.btn-outline { background: transparent; border: 1px solid var(--text-muted); color: var(--text-white); }
.btn-outline:hover { background: var(--text-white); color: var(--bg-black); border-color: var(--text-white); }
.full-width { width: 100%; }

/* SECTIONS */
.section { padding: 120px 50px; text-align: center; position: relative; }
.section-title { font-size: 3.5rem; margin-bottom: 60px; position: relative; }
.dashboard-intro { max-width: 800px; margin: 0 auto 40px; color: var(--text-muted); font-size: 1.1rem; }

/* MUSIC GRID */
.music-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; max-width: 1400px; margin: 0 auto; }
.music-card { 
    background: var(--bg-card); border: 1px solid var(--border-glass); 
    border-radius: 12px; overflow: hidden; transition: all 0.4s ease; 
    box-shadow: var(--shadow-soft);
}
.music-card:hover { transform: translateY(-8px); border-color: var(--accent-blue); box-shadow: var(--shadow-glow); }
.music-card img { width: 100%; height: 300px; object-fit: cover; } 
.music-info { padding: 25px; text-align: left; }
.music-info h3 { margin-bottom: 5px; font-size: 1.2rem; }
.music-info p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 15px; }
.music-links { margin-top: 15px; }
.music-links a { color: #fff; font-size: 1.4rem; margin-right: 15px; transition: color 0.3s; }
.music-links a:hover { color: var(--accent-blue); }

/* VIP & INVESTMENT */
.vip-section { background: #050505; }
#lockedContent, #unlockedContent { max-width: 800px; margin: 0 auto; }
.lock-icon { font-size: 3rem; color: var(--accent-blue); margin-bottom: 30px; }
.dashboard-actions { display: flex; gap: 15px; justify-content: center; }

.investment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; text-align: left; }
.invest-card { 
    background: var(--bg-card); border: 1px solid var(--border-glass); 
    border-radius: 12px; padding: 35px; transition: all 0.4s ease; box-shadow: var(--shadow-soft); 
}
.invest-card:hover { transform: translateY(-8px); border-color: var(--accent-blue); box-shadow: var(--shadow-glow); }
.invest-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.invest-header i { font-size: 1.8rem; color: var(--accent-blue); }
.invest-header h3 { font-size: 1.3rem; }
.invest-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 25px; line-height: 1.6; }
.invest-stats { display: flex; justify-content: space-between; background: rgba(0,0,0,0.3); border-radius: 8px; padding: 15px 20px; margin-bottom: 25px; border: 1px solid var(--border-glass); }
.stat { display: flex; flex-direction: column; }
.stat-label { font-size: 0.75rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 1px; margin-bottom: 5px; }
.stat-value { font-size: 1.5rem; font-weight: 700; font-family: 'Inter', sans-serif; }
.stat-value.profit { color: var(--accent-blue); }

/* LOGIN MODAL */
.modal {
    display: none; position: fixed; z-index: 2000; left: 0; top: 0;
    width: 100%; height: 100%; background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px); justify-content: center; align-items: center;
}
.modal-content {
    background: #111; border: 1px solid var(--border-glass); padding: 50px;
    border-radius: 16px; width: 450px; max-width: 90%; position: relative; text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.close-btn { position: absolute; top: 15px; right: 20px; font-size: 2rem; color: #555; cursor: pointer; transition: color 0.3s; }
.close-btn:hover { color: #fff; }

.input-group { margin-bottom: 20px; text-align: left; }
.input-group label { display: block; margin-bottom: 8px; font-size: 0.85rem; color: #aaa; font-weight: 600; }
.input-group input, .add-funds-widget select {
    width: 100%; padding: 14px; background: #1a1a1a; border: 1px solid #333;
    border-radius: 8px; color: #fff; font-family: 'Inter', sans-serif; font-size: 0.9rem; transition: border 0.3s;
}
.input-group input:focus, .add-funds-widget select:focus { outline: none; border-color: var(--accent-blue); }

.auth-msg { min-height: 20px; font-size: 0.9rem; margin-bottom: 15px; color: #ff4444; }
.auth-msg.success { color: #28a745; }
.toggle-auth { margin-top: 25px; font-size: 0.9rem; color: var(--text-muted); }
.toggle-auth a { color: var(--accent-blue); text-decoration: none; font-weight: 600; }
.toggle-auth a:hover { text-decoration: underline; }

/* TOUR PAGE */
.tour-hero {
    height: 70vh; display: flex; align-items: center; justify-content: center;
    text-align: center; background: url('images/tuckerwetmoreonstage.jpg') no-repeat center center/cover;
    background-attachment: fixed; position: relative;
}
.tour-hero .hero-overlay { background: linear-gradient(to bottom, rgba(8,8,8,0.2) 0%, rgba(8,8,8,0.8) 100%); }
.tour-hero h1 { font-size: 6rem; }
.tour-hero p { font-size: 1.5rem; }

.tour-section { background-color: transparent !important; padding: 80px 20px; }
.tour-container { max-width: 900px; margin: 0 auto; }
.tour-card {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--bg-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass); border-radius: 12px; padding: 25px 30px;
    margin-bottom: 20px; transition: all 0.3s ease; box-shadow: var(--shadow-soft);
}
.tour-card:hover { transform: translateY(-3px); border-color: var(--accent-blue); }
.tour-date { display: flex; flex-direction: column; align-items: center; width: 80px; border-right: 1px solid var(--border-glass); padding-right: 20px; }
.tour-date .month { color: var(--accent-blue); font-weight: 700; text-transform: uppercase; font-size: 0.9rem; }
.tour-date .day { font-size: 2rem; font-weight: 700; font-family: 'Anton', sans-serif; }
.tour-info { flex-grow: 1; padding-left: 30px; text-align: left; }
.tour-info h3 { font-size: 1.3rem; margin-bottom: 5px; }
.tour-info p { color: var(--text-muted); font-size: 0.9rem; }
.btn-tickets {
    background: transparent; border: 1px solid var(--accent-blue); color: var(--accent-blue);
    padding: 10px 25px; border-radius: 30px; text-decoration: none; font-weight: 700;
    text-transform: uppercase; font-size: 0.8rem; transition: all 0.3s;
}
.btn-tickets:hover { background: var(--accent-blue); color: #fff; }

/* PAGE BACKGROUNDS */
.tour-page, .auth-page, .dashboard-bg {
    background: linear-gradient(rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.9)), url('images/tuckerwetmore3,2,1.jpg') no-repeat center center fixed;
    background-size: cover; position: relative;
}

/* AUTH/REGISTER PAGE */
.form-section { padding-top: 150px; min-height: 80vh; display: flex; align-items: center; }
.form-container { max-width: 600px; margin: 0 auto; background: var(--bg-card); backdrop-filter: blur(15px); border: 1px solid var(--border-glass); border-radius: 16px; padding: 50px; text-align: center; box-shadow: var(--shadow-soft); }
.invest-summary { color: var(--text-muted); margin-bottom: 30px; }
.investment-confirm-box { background: rgba(0,0,0,0.3); border: 1px solid var(--accent-blue); border-radius: 8px; padding: 20px; margin: 20px 0 30px; }
.investment-confirm-box h3 { color: var(--accent-blue); margin-bottom: 5px; font-size: 1.2rem; }
.investment-confirm-box p { font-size: 0.9rem; color: var(--text-muted); }

/* DASHBOARD UI */
.dashboard-section { padding-top: 150px; min-height: 100vh; }
.dashboard-container { max-width: 1200px; margin: 0 auto; }
.dash-header { text-align: center; margin-bottom: 50px; }
.dash-header h1 { font-size: 3.5rem; margin-bottom: 10px; }
.dash-header p { color: var(--text-muted); font-size: 1.1rem; }
.dash-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 40px; }
.dash-card { background: var(--bg-card); backdrop-filter: blur(15px); border: 1px solid var(--border-glass); border-radius: 12px; padding: 30px; text-align: center; box-shadow: var(--shadow-soft); transition: all 0.3s; }
.dash-card:hover { transform: translateY(-5px); border-color: var(--accent-blue); }
.dash-label { display: block; font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.dash-card h2 { font-size: 2.2rem; }
.profit-text { color: var(--accent-blue); }

.dash-main-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; align-items: start; }
.dash-widget { background: var(--bg-card); backdrop-filter: blur(15px); border: 1px solid var(--border-glass); border-radius: 12px; padding: 30px; margin-bottom: 30px; box-shadow: var(--shadow-soft); }
.dash-widget h3 { margin-bottom: 20px; display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.dash-widget h3 i { color: var(--accent-blue); }

.active-invest-item { display: flex; justify-content: space-between; align-items: center; background: rgba(0,0,0,0.3); padding: 20px; border-radius: 8px; border-left: 4px solid var(--accent-blue); }
.invest-item-info h4 { font-size: 1.1rem; margin-bottom: 5px; }
.invest-item-info span { font-size: 0.85rem; color: var(--text-muted); }
.status-active { color: #28a745; font-weight: 600; }
.invest-item-amount { font-size: 1.5rem; font-family: 'Inter', sans-serif; font-weight: 700; }

.dash-table { width: 100%; border-collapse: collapse; }
.dash-table th { text-align: left; color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; padding-bottom: 15px; border-bottom: 1px solid var(--border-glass); }
.dash-table td { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; }
.dash-table .td-amount { color: var(--accent-blue); font-weight: 600; text-align: right; }

footer { text-align: center; padding: 40px; border-top: 1px solid var(--border-glass); color: var(--text-muted); font-size: 0.9rem; position: relative; z-index: 5; }

/* MOBILE RESPONSIVE */
@media (max-width: 900px) {
    .dash-main-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .nav-links { display: flex !important; gap: 15px; flex-wrap: wrap; justify-content: center; }
    .nav-links a { margin: 0; font-size: 0.75rem; }
    #navbar { padding: 15px 20px; height: auto; }
    .brand-container { align-items: center; } 
    .logo { font-size: 1.4rem; }
    .sony-text { font-size: 0.55rem; }
    
    .hero h1 { font-size: 4rem; }
    .section { padding: 80px 20px; }
    .section-title { font-size: 2.2rem; }
    .btn-vip { padding: 8px 15px; font-size: 0.75rem; }

    /* FIX: Add extra top padding on mobile so the stacked nav doesn't cover the text */
    .dashboard-section, .form-section {
        padding-top: 160px; 
    }

    .tour-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    .tour-date {
        border-right: none;
        border-bottom: 1px solid var(--border-grey);
        padding-right: 0;
        padding-bottom: 15px;
        width: 100%;
    }
    .tour-info {
        padding-left: 0;
        text-align: center;
    }
    .btn-tickets {
        width: 100%;
        text-align: center;
    }
    .dashboard-actions { flex-direction: column; }
}

/* PROGRESS BAR & NEW DASH FEATURES */
.progress-container {
    width: 100%;
    height: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-top: 15px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    width: 0%;
    border-radius: 10px;
    transition: width 2s ease-in-out, background 0.5s;
}
.progress-bar.red { background: #ff4444; }
.progress-bar.yellow { background: #ffc107; }
.progress-bar.green { background: #28a745; }

/* DELETE ICON */
.delete-tx {
    color: #ff4444;
    cursor: pointer;
    margin-left: 15px;
    transition: color 0.3s;
}
.delete-tx:hover { color: #ff0000; }

/* WHATSAPP BUTTONS */
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border: none;
}
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-3px); }

/* UPLOAD PAGE STYLES */
.upload-section { padding-top: 150px; min-height: 100vh; }
.upload-container { max-width: 600px; margin: 0 auto; background: var(--bg-card); backdrop-filter: blur(15px); border: 1px solid var(--border-glass); border-radius: 16px; padding: 50px; text-align: center; box-shadow: var(--shadow-soft); }
.upload-box {
    border: 2px dashed var(--accent-blue);
    padding: 40px;
    border-radius: 12px;
    margin: 20px 0;
    cursor: pointer;
    transition: background 0.3s;
}
.upload-box:hover { background: rgba(230, 146, 66, 0.05); }
.upload-box i { font-size: 3rem; color: var(--accent-blue); margin-bottom: 15px; }
#filePreview { max-width: 100%; max-height: 200px; border-radius: 10px; margin-top: 15px; display: none; }

/* ADMIN PANEL STYLES */
.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.admin-card img { width: 150px; height: 150px; object-fit: cover; border-radius: 8px; }
.admin-info { flex-grow: 1; text-align: left; }
.admin-actions { display: flex; flex-direction: column; gap: 10px; }