/*
Theme Name: HYIP Monitor
Theme URI: https://hyipexplorer.com
Author: MiMoCode
Author URI: https://mimocode.com
Description: HYIP Monitor theme - a professional high-yield investment program monitoring theme based on HYIPexplorer.com design
Version: 1.0.0
Text Domain: hyipmonitor
*/

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #0e1633;
    color: #e0e0e0;
    line-height: 1.6;
}

a {
    color: #4fc3f7;
    text-decoration: none;
}

a:hover {
    color: #81d4fa;
    text-decoration: underline;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #0a1128 0%, #1a237e 100%);
    border-bottom: 2px solid #4fc3f7;
    padding: 15px 0;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 50px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-right .telegram-btn {
    background: #0088cc;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
}

.header-right .auth-btn {
    background: #1565c0;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
}

/* Navigation */
.main-nav {
    background: #111b36;
    border-bottom: 1px solid #1a237e;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 12px 18px;
    color: #b0bec5;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
    background: #1a237e;
    color: #4fc3f7;
    text-decoration: none;
}

.nav-menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #111b36;
    min-width: 200px;
    z-index: 1000;
    border: 1px solid #1a237e;
}

.nav-menu li:hover > ul {
    display: block;
}

.nav-menu li ul li a {
    padding: 10px 15px;
    border-bottom: 1px solid #1a237e;
}

/* Main Container */
.site-content {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

/* Project Cards */
.section-title {
    background: linear-gradient(90deg, #1565c0, #1a237e);
    color: #fff;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px 5px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title .add-link {
    font-size: 12px;
    color: #81d4fa;
}

.project-card {
    background: #141c3a;
    border: 1px solid #1a237e;
    border-radius: 0 0 5px 5px;
    padding: 20px;
    margin-bottom: 2px;
    transition: all 0.3s;
}

.project-card:hover {
    border-color: #4fc3f7;
    box-shadow: 0 0 15px rgba(79, 195, 247, 0.1);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.project-name {
    font-size: 20px;
    font-weight: 700;
    color: #4fc3f7;
}

.project-name:hover {
    color: #81d4fa;
}

.project-status {
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.status-paying {
    background: #1b5e20;
    color: #a5d6a7;
}

.status-problem {
    background: #e65100;
    color: #ffcc80;
}

.status-not-paying {
    background: #b71c1c;
    color: #ef9a9a;
}

.project-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.info-item {
    background: #0e1633;
    padding: 10px 15px;
    border-radius: 5px;
    border-left: 3px solid #1a237e;
}

.info-label {
    font-size: 11px;
    color: #78909c;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.info-value {
    font-size: 14px;
    color: #eceff1;
    font-weight: 600;
}

.project-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.stat-badge {
    background: #1a237e;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    color: #b0bec5;
}

.stat-badge svg {
    margin-right: 5px;
}

/* Rating Stars */
.rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars {
    color: #ffc107;
    font-size: 14px;
}

.review-count {
    font-size: 12px;
    color: #78909c;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    background: #141c3a;
    border: 1px solid #1a237e;
    color: #b0bec5;
    cursor: pointer;
    border-radius: 5px;
    font-size: 13px;
    transition: all 0.3s;
}

.tab-btn:hover,
.tab-btn.active {
    background: #1a237e;
    color: #4fc3f7;
    border-color: #4fc3f7;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget {
    background: #141c3a;
    border: 1px solid #1a237e;
    border-radius: 5px;
    overflow: hidden;
}

.widget-title {
    background: linear-gradient(90deg, #1565c0, #1a237e);
    color: #fff;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 600;
}

.widget-content {
    padding: 15px;
}

.widget-item {
    padding: 10px 0;
    border-bottom: 1px solid #1a237e;
}

.widget-item:last-child {
    border-bottom: none;
}

.widget-item a {
    color: #4fc3f7;
    font-size: 13px;
}

.widget-item .date {
    font-size: 11px;
    color: #78909c;
}

/* Article Cards */
.article-card {
    background: #141c3a;
    border: 1px solid #1a237e;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.article-card:hover {
    border-color: #4fc3f7;
}

.article-card h3 {
    margin-bottom: 10px;
}

.article-card h3 a {
    color: #4fc3f7;
    font-size: 18px;
}

.article-card p {
    color: #b0bec5;
    font-size: 14px;
}

/* Payout Table */
.payout-table {
    width: 100%;
    border-collapse: collapse;
}

.payout-table th,
.payout-table td {
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1px solid #1a237e;
}

.payout-table th {
    background: #1a237e;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
}

.payout-table td {
    font-size: 13px;
}

.payout-amount {
    color: #66bb6a;
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: #0a0f20;
    border-top: 2px solid #1a237e;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #4fc3f7;
    margin-bottom: 15px;
    font-size: 14px;
    text-transform: uppercase;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #78909c;
    font-size: 13px;
}

.footer-section ul li a:hover {
    color: #4fc3f7;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1a237e;
    color: #546e7a;
    font-size: 12px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: #1565c0;
    color: #fff;
}

.btn-primary:hover {
    background: #1976d2;
    text-decoration: none;
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: #4fc3f7;
    border: 1px solid #4fc3f7;
}

.btn-secondary:hover {
    background: rgba(79, 195, 247, 0.1);
    text-decoration: none;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #b0bec5;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    background: #0e1633;
    border: 1px solid #1a237e;
    border-radius: 5px;
    color: #eceff1;
    font-size: 14px;
}

.form-control:focus {
    outline: none;
    border-color: #4fc3f7;
}

/* Responsive */
@media (max-width: 900px) {
    .site-content {
        grid-template-columns: 1fr;
    }
    
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        justify-content: center;
    }
    
    .project-info {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-menu li ul {
        position: static;
    }
    
    .project-info {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.hidden { display: none; }