* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0a1628;
    --secondary-blue: #1a3a5c;
    --accent-blue: #2563eb;
    --light-blue: #3b82f6;
    --gold: #d4af37;
    --warning-red: #dc2626;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.8;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--light-blue);
    text-decoration: underline;
}

header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary-blue);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

nav {
    padding: 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-links li a {
    color: rgba(255,255,255,0.9);
    padding: 18px 16px;
    font-size: 15px;
    font-weight: 500;
    display: block;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.nav-links li a:hover,
.nav-links li a.active {
    background: rgba(255,255,255,0.1);
    color: var(--gold);
    text-decoration: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

.banner {
    background: linear-gradient(135deg, var(--warning-red) 0%, #991b1b 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.banner h1 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
}

.banner p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.breadcrumb {
    background: var(--white);
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--accent-blue);
}

.breadcrumb span {
    color: var(--text-light);
}

.main-content {
    padding: 50px 0;
}

.section-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--gold);
    display: inline-block;
}

.section-title::before {
    content: '■';
    color: var(--gold);
    margin-right: 10px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card h3 .icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-blue), var(--light-blue));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

.alert-box {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
    border-left: 4px solid var(--warning-red);
    border-radius: 8px;
    padding: 20px 25px;
    margin: 20px 0;
}

.alert-box.warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fcd34d;
    border-left-color: var(--gold);
}

.alert-box.info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #93c5fd;
    border-left-color: var(--accent-blue);
}

.alert-box h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-box p {
    font-size: 15px;
    color: var(--text-dark);
    margin: 0;
}

.content-box {
    background: var(--white);
    border-radius: 12px;
    padding: 35px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.content-box h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.content-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-blue);
    margin: 25px 0 15px;
}

.content-box p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 2;
    margin-bottom: 15px;
}

.content-box ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.content-box ul li {
    padding: 10px 0 10px 30px;
    position: relative;
    font-size: 15px;
    color: var(--text-dark);
    border-bottom: 1px solid #f1f5f9;
}

.content-box ul li:last-child {
    border-bottom: none;
}

.content-box ul li::before {
    content: '●';
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    font-size: 12px;
}

.content-box ul li strong {
    color: var(--primary-blue);
}

.coin-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.coin-item {
    background: var(--white);
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.coin-item:hover {
    border-color: var(--accent-blue);
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    text-decoration: none;
}

.coin-item .coin-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 14px;
}

.coin-item .coin-name {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 15px;
}

.coin-item .coin-full {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
    align-items: flex-start;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    min-width: 70px;
    text-align: center;
    padding: 10px;
    background: var(--primary-blue);
    border-radius: 8px;
    color: white;
}

.news-date .day {
    font-size: 24px;
    font-weight: 900;
    display: block;
    line-height: 1.2;
}

.news-date .month {
    font-size: 12px;
    opacity: 0.8;
}

.news-content h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.news-content h4 a {
    color: var(--primary-blue);
}

.news-content h4 a:hover {
    color: var(--accent-blue);
}

.news-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    background: #e2e8f0;
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.tag.danger {
    background: #fef2f2;
    color: var(--warning-red);
}

.tag.warning {
    background: #fffbeb;
    color: #b45309;
}

.tag.info {
    background: #eff6ff;
    color: var(--accent-blue);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--light-blue));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, var(--warning-red), #b91c1c);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
}

.btn-outline:hover {
    background: var(--accent-blue);
    color: white;
    text-decoration: none;
}

footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0f172a 100%);
    color: rgba(255,255,255,0.8);
    padding: 50px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.footer-slogan {
    background: var(--gold);
    color: var(--primary-blue);
    padding: 15px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
}

.page-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.page-nav a {
    padding: 10px 18px;
    background: var(--white);
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-nav a:hover,
.page-nav a.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
    text-decoration: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    color: white;
}

.stat-card .number {
    font-size: 42px;
    font-weight: 900;
    display: block;
    margin-bottom: 5px;
}

.stat-card .label {
    font-size: 14px;
    opacity: 0.9;
}

.stat-card.danger {
    background: linear-gradient(135deg, var(--warning-red), #b91c1c);
}

.stat-card.warning {
    background: linear-gradient(135deg, var(--gold), #b45309);
}

.timeline {
    position: relative;
    padding-left: 30px;
    margin: 30px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent-blue), var(--gold));
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
    padding-left: 25px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--accent-blue);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: var(--shadow);
}

.timeline-item .year {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 5px;
}

.timeline-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.timeline-item p {
    font-size: 15px;
    color: var(--text-light);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

thead {
    background: var(--primary-blue);
    color: white;
}

th, td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

th {
    font-weight: 700;
    font-size: 14px;
}

tbody tr:hover {
    background: #f8fafc;
}

.procedure-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 900;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 15px;
    color: var(--text-light);
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-blue);
        flex-direction: column;
        padding: 10px;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .banner h1 {
        font-size: 28px;
    }

    .banner p {
        font-size: 16px;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .content-box {
        padding: 20px;
    }

    .coin-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .coin-list {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
