:root {
    --bg: #0d0d0d;
    --text-main: #e0ffe0;
    --accent: #00ff66;
    --accent-dark: #003300;
}

html, body {
    height: 100%;
    margin: 0;
    min-width: 320px;
}

/* === Utility classes (W3.CSS replacements) === */
.pv-section {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 24px;
    text-align: center;
}
.pv-text-lg { font-size: 1.1rem; }
.pv-text-left { text-align: left; }
.pv-accent { color: var(--accent); }
.pv-fade-in { animation: fadeIn 0.8s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.pv-input {
    width: 100%;
    padding: 10px 12px;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: 'Courier New', Courier, monospace;
    padding: 20px;
    text-align: center;
    font-size: 1.25rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 70px; /* match footer height */
}

h1, h2, h3, h4 {
    color: #00ff66;
}

a {
    color: var(--text-main);
}

/** THIS IS FOR THE 2 BUTTONS LOGIN & EXPLORE  **/
.pv-entry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    body {
        padding: 8px;
    }
    .content-container {
        padding: 0;
    }
    .pv-section {
        padding: 16px 0;
    }
    .pv-entry-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 24px;
        padding: 0;
    }
    .pv-entry-card,
    .pv-entry-secondary {
        width: 100%;
        max-width: 300px;
    }
    .logo {
        width: 100%;
        max-width: 300px;
        height: 180px;
    }
    #pv-player {
        height: auto;
        min-height: 350px;
    }
    .pv-btn {
        padding: 10px 20px;
        font-size: 14px;
        margin: 6px;
    }
    #pv-controls {
        padding: 0 8px;
    }
}

.pv-entry-card {
    width: 280px;
    position: relative;
    transform-origin: center;
    transition: transform 0.25s ease;
}

.pv-entry-card:hover {
    transform: scale(1.03);
}

.pv-entry-border {
    position: relative;
    padding: 8px;                 /* ← border thickness */
    border-radius: 28px;
    /* background: conic-gradient(from var(--angle) at 50%, transparent 50%, #ff00cc, #3333ff, #00ffcc, #ff00cc); */
    background: conic-gradient(
        from var(--angle) at 50%, 
        transparent 50%,
        #00ff66,
        #003300,
        #00ff66
    );

    animation: spin 6s linear infinite;
    animation-play-state: running;
}

.pv-entry-card:hover .pv-entry-border {
    animation-play-state: running;
}

.pv-entry-border::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: inherit;
    background: inherit;
    filter: blur(1rem);
    opacity: 0.6;
    z-index: -1;
}

.pv-entry-inner {
    background-color: #1a1a1a;
    border-radius: 24px;
    padding: 1.6rem 2rem;
    text-align: center;
    color: #e0ffe0;
}

/*scale and hover effect*/
.pv-entry-card {
    position: relative;
    transform-origin: center;
    transition: transform 0.25s ease;
}

.pv-entry-card:hover {
    transform: scale(1.03);
}


@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes spin {
    from { --angle: 0deg; }
    to   { --angle: 360deg; }
}

.pv-entry-secondary {
    width: 280px;
    position: relative;
    transform-origin: center;
    transition: transform 0.25s ease;
    box-shadow: 0 0 12px rgba(0, 255, 102, 0.15);
    border-radius: 24px;
    background: #1a1a1a;
    border: 2px solid #00ff66;
    transition: background 0.2s ease;
}

.pv-entry-secondary:hover {
    transform: scale(1.03);
    box-shadow: 0 0 18px rgba(0, 255, 102, 0.35);
}


.btn{
    background-color: #1a1a1a;
    color: #e0ffe0;
    border: 1px solid #00ff66;
    padding: 12px 24px;
    margin: 8px;
    border-radius: 25px;
    cursor: pointer;
    display: inline-block;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.2s ease;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.btn:hover {
    background-color: #003300;
    box-shadow: 0 0 6px #00ff66;
    transform: scale(1.05);
}

.btn-login::after {
    content: '';
}

/* Modal */
#vaultModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
}

#vaultModalContent {
    background-color: #1a1a1a;
    border: 1px solid #00ff66;
    width: 90%;
    max-width: 420px;
    margin: 12% auto;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    box-sizing: border-box;
}

/* Lock background when modal is open */
body.modal-open {
    overflow: hidden;
}

.closeModal {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #00ff66;
}

.content-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@keyframes vaultIntro {
    0% { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes flicker {
    0% { opacity: 0.04; }
    100% { opacity: 0.08; }
}

.logo {
    width: 500px;
    height: 300px;
    display: block;
    margin: 0 auto 10px;
    animation: flicker 3s infinite alternate;
    background: url("/assets/images/logo.png") no-repeat center center;
    background-size: contain;
    filter: brightness(1.25); /* boost neon pop */
    z-index: 1;
    animation: vaultIntro 0.6s ease-out forwards;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center top, rgba(0, 255, 102, 0.10) 0%, #000000 75%) fixed; 
    z-index: -2;
}

#pv-player {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    padding: 10px;
    background: rgba(0, 20, 0, 0.7);
    border: 1px solid #00ff66;
    border-radius: 20px;
    text-align: center;
    color: #e0ffe0;
    font-family: 'Courier New', monospace;
    box-shadow: 0 0 10px #00ff8a;
    height: 450px;
    box-sizing: border-box;
}

.pv-btn {
    background: #000;
    color: #00ff66;
    border: 2px solid #00ff66;
    border-radius: 50px;
    padding: 12px 32px;
    font-size: 17px;
    cursor: pointer;
    margin: 10px;
    transition: 0.2s ease;
}



.pv-btn:hover {
    background-color: #003300;
    transform: scale(1.04);
    box-shadow: 0 0 10px #00ff66;
}

#pv-title {
    font-size: 18px;
    margin: 12px 0 6px;
}

#pv-time {
    font-size: 14px;
    opacity: 0.8;
}

#pv-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

#pv-progress-container {
    width: 80%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    margin: 12px auto;
    border-radius: 4px;
    cursor: pointer;
}

#pv-progress-bar {
    height: 100%;
    width: 0%;
    background: #00ff8a;
    box-shadow: 0 0 8px #00ff8a;
    border-radius: 4px;
    transition: width 0.1s linear;
}

#pv-volume-container {
    width: 120px;
    margin: 12px auto;
}

#pv-volume {
    width: 100%;
}

#pv-visualizer {
    width: 100%;
    height: 120px; /* Set your height */
    display: block;
}

img[loading="lazy"] {
    background: #111; /* optional placeholder */
    min-height: 50px; /* optional if no fixed size */
}

.disabled-link {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}

.page-content {
    flex: 1;
}

.pv-footer {
    margin-top: auto;
    padding: 16px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 2.2;
}
footer.pv-footer a,
footer.pv-footer a:visited,
footer.pv-footer a:link {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.15s;
}
footer.pv-footer a:hover {
    color: var(--accent);
}
.pv-footer-sep {
    color: rgba(255,255,255,0.2);
    margin: 0 4px;
}
.pv-copyright {
    opacity: 0.6;
    margin-top: 4px;
}

.about-wrapper {
    height: calc(100vh - 120px); /* header + footer height */
    display: flex;
    justify-content: center;
}

.about-scroll {
    max-width: 1200px;
    width: 100%;
    overflow-y: auto;
    padding: 2.5rem 2rem 3rem;
}

/* Optional: nicer scrolling */
.about-scroll {
    scrollbar-width: thin;
    scrollbar-color: #00ff66 transparent;
}

.about-scroll::-webkit-scrollbar {
    width: 8px;
}

.about-scroll::-webkit-scrollbar-thumb {
    background: #00ff66;
    border-radius: 10px;
}


@media screen and (max-width: 600px) {
    .container {
    width: 90%;
    max-width: none;
    }
}
