/* Drughub Darknet - Centralized Stylesheet
   Professional dark theme inspired by Los Pollos Hermanos aesthetic
*/

:root {
    /* Muted, Professional Color Palette appropriate for Gus Fring */
    --bs-blue: #1a4a7c;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #8b0000;
    --bs-orange: #d97706;
    --bs-yellow: #f59e0b;
    --bs-green: #0f5132;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-black: #000;
    --bs-white: #e5e5e5;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-primary: #eab308; /* Pollos Yellow */
    --bs-secondary: #404040;
    --bs-success: #15803d;
    --bs-info: #0ea5e9;
    --bs-warning: #f59e0b;
    --bs-danger: #991b1b;
    --bs-light: #f8f9fa;
    --bs-dark: #171717;
    --bs-font-sans-serif: "Segoe UI", system-ui, -apple-system, sans-serif;
    --bs-font-monospace: "Courier New", monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--bs-font-sans-serif);
    background: var(--bs-dark);
    color: var(--bs-white);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Styles */
header {
    background: #000000;
    border-bottom: 2px solid var(--bs-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bs-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--bs-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--bs-primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #171717 0%, #262626 100%);
    padding: 5rem 0;
    border-bottom: 1px solid var(--bs-secondary);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--bs-white);
    letter-spacing: -0.5px;
}

h1 span {
    color: var(--bs-primary);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--bs-gray);
    margin-bottom: 2.5rem;
    font-style: italic;
}

/* URL Display - Professional */
.url-card {
    background: #0a0a0a;
    border-left: 4px solid var(--bs-primary);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 700px;
    text-align: left;
}

.verified-badge {
    display: inline-block;
    color: var(--bs-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border: 1px solid var(--bs-primary);
    padding: 0.25rem 0.5rem;
}

.url-display {
    font-family: var(--bs-font-monospace);
    font-size: 0.95rem;
    color: var(--bs-white);
    word-break: break-all;
    background: #1f1f1f;
    padding: 1rem;
    border-radius: 4px;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 0.75rem 2rem;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--bs-primary);
    color: #000;
    border: 1px solid var(--bs-primary);
}

.btn-primary:hover {
    background: #ca9a00;
}

.btn-secondary {
    background: transparent;
    color: var(--bs-white);
    border: 1px solid var(--bs-gray);
}

.btn-secondary:hover {
    border-color: var(--bs-white);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: #262626;
    padding: 2rem;
    border-top: 2px solid var(--bs-gray);
}

.feature-card h4 {
    color: var(--bs-white);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
}

/* Content Sections */
section {
    padding: 4rem 0;
    border-bottom: 1px solid #333;
}

h2 {
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--bs-primary);
    text-transform: uppercase;
}

h3 {
    font-size: 1.25rem;
    color: var(--bs-white);
    margin-bottom: 1rem;
    border-left: 3px solid var(--bs-primary);
    padding-left: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: #d4d4d4;
}

.alert {
    padding: 1.5rem;
    background: #1c1c1c;
    border: 1px solid #333;
    margin: 1.5rem 0;
}

.alert strong {
    color: var(--bs-primary);
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9rem;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #404040;
}

th {
    color: var(--bs-primary);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Footer */
footer {
    background: #000;
    padding: 4rem 0;
    font-size: 0.85rem;
    color: var(--bs-gray);
}

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

.footer-grid h4 {
    color: var(--bs-white);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

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

.footer-grid a {
    color: var(--bs-gray);
    text-decoration: none;
}

.footer-grid a:hover {
    color: var(--bs-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    h1 { font-size: 2rem; }
}

/* Utility */
.text-warning { color: var(--bs-warning); }
.text-danger { color: var(--bs-danger); }

/* Crypto Ticker Styles */
.crypto-ticker {
    background: #0a0a0a;
    border-bottom: 2px solid var(--bs-primary);
    padding: 0.5rem 0;
    position: relative;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.crypto-ticker .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.ticker-scroll {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.ticker-item {
    font-size: 0.85rem;
    color: var(--bs-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.ticker-item i {
    font-size: 1rem;
    color: var(--bs-primary);
}

.ticker-item .change {
    font-size: 0.75rem;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-weight: 600;
}

.ticker-item .change.positive {
    color: var(--bs-success);
    background: rgba(21, 128, 61, 0.2);
}

.ticker-item .change.negative {
    color: var(--bs-danger);
    background: rgba(153, 27, 27, 0.2);
}

.ticker-last-updated {
    font-size: 0.7rem;
    color: var(--bs-gray);
    white-space: nowrap;
}

/* Adjust header z-index to stay above ticker */
header {
    z-index: 1000;
    top: 0;
}

/* Wrapper to make header and ticker move together */
.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Legal Document Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 3rem;
}

.legal-content h3 {
    margin-top: 2rem;
    font-size: 1.1rem;
}

.legal-content ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.75rem;
    color: #d4d4d4;
}

.legal-content ol {
    list-style: decimal;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content .effective-date {
    font-style: italic;
    color: var(--bs-gray);
    font-size: 0.9rem;
}

.legal-content .contact-info {
    background: #1c1c1c;
    padding: 2rem;
    margin-top: 3rem;
    border-left: 3px solid var(--bs-primary);
}

/* Breadcrumb Navigation */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.85rem;
    color: var(--bs-gray);
}

.breadcrumb a {
    color: var(--bs-primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 0.5rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(180deg, #171717 0%, #262626 100%);
    padding: 3rem 0;
    border-bottom: 1px solid var(--bs-secondary);
    margin-bottom: 3rem;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--bs-gray);
    margin-bottom: 0;
}
