/* RamCoin Pool - Unified Style */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    min-height: 100vh;
}

/* Override Pure CSS */
.pure-g [class *= "pure-u"] {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Header */
header {
    background: rgba(0,0,0,0.2) !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

header > .home-menu {
    background: transparent !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header > .home-menu > a.pure-menu-heading {
    color: #00d4ff !important;
    font-weight: 700;
    font-size: 1.5em;
}

header > .home-menu > ul > li > a {
    color: rgba(255,255,255,0.7) !important;
    transition: color 0.3s;
}

header > .home-menu > ul > li > a:hover,
header > .home-menu > ul > li.pure-menu-selected > a {
    color: #00d4ff !important;
    background: transparent !important;
}

/* Main content */
main {
    background: transparent !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Section styling */
section {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.1);
}

section h2, section h3, section h4 {
    color: #00d4ff;
    margin-bottom: 20px;
}

/* Stats boxes */
.statBox, .poolStatus {
    background: rgba(255,255,255,0.05) !important;
    border-radius: 15px !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    padding: 20px !important;
    text-align: center;
}

.statBox h3, .poolStatus h3 {
    color: #888 !important;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.statBox span, .poolStatus span {
    color: #00d4ff !important;
    font-size: 1.8rem !important;
    font-weight: 700;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    background: rgba(0,212,255,0.1) !important;
    color: #00d4ff !important;
    padding: 15px !important;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 12px 15px !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #ccc;
}

table tr:hover td {
    background: rgba(255,255,255,0.02);
}

/* Buttons */
.pure-button, button, .btn {
    background: linear-gradient(90deg, #00d4ff, #7b2cbf) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    transition: opacity 0.3s !important;
    cursor: pointer;
}

.pure-button:hover, button:hover, .btn:hover {
    opacity: 0.85 !important;
}

/* Inputs */
input[type="text"], input[type="password"], input[type="email"], select, textarea {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 10px !important;
    color: #fff !important;
    padding: 12px 15px !important;
}

input:focus, select:focus, textarea:focus {
    outline: none !important;
    border-color: #00d4ff !important;
}

/* Links */
a {
    color: #00d4ff;
    text-decoration: none;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

/* Pool specific */
.poolStats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.coinImg {
    filter: drop-shadow(0 0 10px rgba(0,212,255,0.3));
}

/* Charts */
.nvd3 text {
    fill: #888 !important;
}

.nvd3 .nv-axis line, .nvd3 .nv-axis path {
    stroke: rgba(255,255,255,0.1) !important;
}

/* Footer */
footer {
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 30px 20px;
    text-align: center;
    color: #666;
}

footer a {
    color: #888;
}

footer a:hover {
    color: #00d4ff;
}

/* Responsive */
@media (max-width: 768px) {
    section {
        padding: 20px;
    }

    .statBox span, .poolStatus span {
        font-size: 1.4rem !important;
    }
}

/* Pool logo area */
.logo-area {
    text-align: center;
    padding: 40px 0;
}

.logo-area .emoji-logo {
    font-size: 4rem;
    margin-bottom: 10px;
}

.logo-area h1 {
    font-size: 2.5rem;
    background: linear-gradient(90deg, #00d4ff, #7b2cbf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mining info box */
.mining-info {
    background: rgba(0,0,0,0.3);
    border-radius: 15px;
    padding: 20px;
    font-family: monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

.mining-info code {
    color: #00d4ff;
}
