body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #00004d 0%, #300030 100%);
    color: #F9F6EE;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* --- Header and Footer Boxes --- */
.header-box, .footer-box {
    background-color: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(249, 246, 238, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.header-box {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.subheader { 
    font-size: 0.9em; 
    margin-top: 0; 
    opacity: 0.8; 
}

.footer-box { 
    margin-top: auto; 
    margin-bottom: 10px; 
}

/* --- Admin Panel & Layouts --- */
.admin-card {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

input[type="text"], input[type="url"], input[type="password"], input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: none;
    box-sizing: border-box;
}

button {
    background: #F9F6EE;
    color: #00004d;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

/* --- 404 & Age Gate Specific Layout --- */
.full-height-center {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    font-size: 5rem;
    margin: 0;
    color: #F9F6EE;
}

.btn-danger-large {
    background: #ff6666; color: white; width: 100%; 
    padding: 15px; font-size: 1.1em; border-radius: 30px; margin-bottom: 20px;
}

/* --- Unified Link Buttons --- */
.link-btn {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    padding: 0; 
    background-color: rgba(0, 0, 0, 0.3);
    color: #F9F6EE;
    text-decoration: none;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: bold;
    font-size: 1.1em;
    transition: box-shadow 0.2s ease-in-out;
    overflow: hidden;
    position: relative;
    
    /* Image Shrink Effect */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-origin: content-box; 
    background-clip: content-box;   
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.link-btn span {
    display: block;
    padding: 20px;
    text-align: center;
}

.link-btn:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

button.danger { background: #cc0000; color: white; }
.admin-row { display: flex; gap: 10px; margin-bottom: 10px; }

/* --- Utility & Text Colors --- */
.text-success { color: #aaffaa; }
.text-warning { color: #ffaa00; }
.text-danger { color: #ff6666; font-weight: bold; }
.text-danger-title { color: #ff6666; margin-top: 0; }
.text-center { text-align: center; margin-top: 20px; }
.mt-30 { margin-top: 30px; }

/* --- Admin Panel Layout --- */
.admin-container { max-width: 800px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; }
.admin-header a { color: #F9F6EE; }
.form-wrap { flex-wrap: wrap; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.click-count { width: 100%; font-size: 0.9em; margin-bottom: 5px; color: #aaffaa; }
.input-order { width: 60px; margin-right: 10px; text-align: center; }
.input-title { flex: 1; min-width: 150px; }
.input-url { flex: 2; min-width: 200px; }
.input-bg { flex: 2; min-width: 200px; }
.checkbox-label { color: #F9F6EE; margin: 0 10px; white-space: nowrap; }

/* --- Analytics List --- */
.analytics-list { list-style: none; padding: 0; }
.analytics-item { margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 5px; display: flex; justify-content: space-between; }

/* --- Footer & Privacy Links --- */
.footer-link { color: #F9F6EE; font-size: 0.8em; opacity: 0.7; text-decoration: none; transition: opacity 0.2s ease-in-out; }
.footer-link:hover { opacity: 1; }
.back-link { color: #F9F6EE; text-decoration: underline; }

/* --- Bot Dummy Page --- */
.dummy-body { background: #00004d; color: #F9F6EE; font-family: Arial, sans-serif; text-align: center; padding: 50px; }