/* Physica - Old School HTML Website Styles */

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Courier New', Courier, monospace;
    background: #000000;
    color: #00ff00;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== ANIMATED BACKGROUND ==================== */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 90%, white, transparent),
        radial-gradient(1px 1px at 30% 60%, white, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 20s linear infinite;
    opacity: 0.3;
    z-index: -1;
}

@keyframes sparkle {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100px);
    }
}

/* ==================== TABLES ==================== */
.main-table {
    background: #001100;
    border: 2px solid #00ff00;
    margin: 20px auto;
}

.content-cell {
    background: #001500;
    border: 1px solid #004400;
}

/* ==================== HEADER ==================== */
.header h1 {
    font-size: 48px;
    text-align: center;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00;
    margin: 20px 0;
}

.title {
    background: linear-gradient(to right, #00ff00, #00ff00, #00ff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 10px #00ff00; }
    50% { text-shadow: 0 0 20px #00ff00, 0 0 30px #00ff00; }
}

.blink {
    animation: blink 1s infinite;
    color: #ffff00;
}

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

.subtitle {
    font-size: 18px;
    color: #00ffff;
    text-align: center;
    margin: 10px 0;
}

.construction-bar {
    background: #ff0000;
    color: #ffff00;
    padding: 10px;
    border: 2px solid #ffff00;
    margin: 20px 0;
}

.construction-bar marquee {
    font-weight: bold;
    font-size: 16px;
}

/* ==================== NAVIGATION ==================== */
.nav {
    background: #002200;
    border-top: 2px solid #00ff00;
    border-bottom: 2px solid #00ff00;
}

.nav a {
    color: #00ff00;
    text-decoration: none;
    padding: 0 10px;
    transition: all 0.3s;
}

.nav a:hover {
    color: #ffff00;
    text-shadow: 0 0 5px #ffff00;
    background: #003300;
}

/* ==================== CONTENT ==================== */
h2 {
    color: #00ffff;
    border-bottom: 2px solid #00ff00;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 24px;
}

h3 {
    color: #00ff00;
    font-size: 18px;
    margin: 15px 0;
}

h4 {
    color: #00ff00;
    font-size: 16px;
    margin: 10px 0;
}

.intro-text {
    font-size: 15px;
    margin: 15px 0;
    color: #00ff00;
}

/* ==================== FEATURES ==================== */
.feature-box {
    background: #002200;
    border: 1px solid #00ff00;
    padding: 15px;
    margin: 10px;
    min-height: 120px;
    transition: all 0.3s;
}

.feature-box:hover {
    background: #003300;
    border-color: #00ffff;
    box-shadow: 0 0 10px #00ffff;
}

.feature-box h3 {
    color: #00ffff;
    margin-bottom: 10px;
}

.feature-box p {
    color: #00ff00;
    font-size: 14px;
}

/* ==================== SCREENSHOTS ==================== */
.screenshot-placeholder {
    background: #001100;
    border: 2px dashed #00ff00;
    padding: 40px;
    margin: 20px 0;
}

.screenshot-placeholder p {
    color: #00ff00;
    font-size: 18px;
}

.dim {
    color: #004400;
    font-size: 14px;
}

/* ==================== DOWNLOAD SECTION ==================== */
.download-box {
    background: #002200;
    border: 2px solid #00ff00;
    padding: 20px;
    margin: 20px 0;
}

.code-block {
    background: #000000;
    border: 1px solid #00ff00;
    padding: 15px;
    margin: 10px 0;
    overflow-x: auto;
}

.code-block pre {
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    margin: 0;
    white-space: pre-wrap;
}

.center {
    text-align: center;
    margin: 20px 0;
}

.button {
    display: inline-block;
    background: #00ff00;
    color: #000000;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    margin: 5px;
    border: 2px solid #ffff00;
    transition: all 0.3s;
}

.button:hover {
    background: #ffff00;
    box-shadow: 0 0 10px #ffff00;
    transform: scale(1.05);
}

/* ==================== LISTS ==================== */
.requirements-list {
    margin: 20px 0;
    padding-left: 30px;
}

.requirements-list li {
    color: #00ff00;
    margin: 10px 0;
    font-size: 14px;
}

.doc-box {
    background: #002200;
    border: 1px solid #00ff00;
    padding: 20px;
    margin: 20px 0;
}

.doc-box ol, .doc-box ul {
    margin: 15px 0;
    padding-left: 30px;
}

.doc-box li {
    color: #00ff00;
    margin: 8px 0;
    font-size: 14px;
}

code {
    background: #000000;
    color: #00ffff;
    padding: 2px 6px;
    border: 1px solid #004400;
    font-family: 'Courier New', Courier, monospace;
}

/* ==================== FOOTER ==================== */
.footer {
    background: #000500;
    border-top: 2px solid #00ff00;
}

.footer a {
    color: #00ffff;
    text-decoration: none;
}

.footer a:hover {
    color: #ffff00;
    text-shadow: 0 0 5px #ffff00;
}

.copyright {
    color: #00ff00;
    margin: 15px 0;
}

.visitor-counter {
    margin: 20px 0;
}

.visitor-counter img {
    border: 1px solid #00ff00;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 820px) {
    .main-table {
        width: 95% !important;
    }
    
    .header h1 {
        font-size: 36px;
    }
    
    .subtitle {
        font-size: 14px;
    }
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #000500;
}

::-webkit-scrollbar-thumb {
    background: #00ff00;
    border: 2px solid #000500;
}

::-webkit-scrollbar-thumb:hover {
    background: #00ffff;
}
