* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #22d3ee;
    --dark: #0f172a;
    --card: rgba(30, 41, 59, 0.95);
}

/* ==================== BACKGROUND TOÀN BỘ WEBSITE ==================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #e2e8f0;
    line-height: 1.7;
    
    /* Background ảnh */
    background-image: url('../assets/images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;     /* ảnh không di chuyển khi cuộn */
    
    /* Overlay tối để chữ dễ đọc */
    background-color: rgba(15, 23, 42, 0.85);   /* màu tối + độ trong suốt */
    background-blend-mode: overlay;
}

/* Nếu muốn overlay mạnh hơn (chữ rõ hơn) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    z-index: -1;
}

header {
    background: rgba(15, 23, 42, 0.98);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #334155;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    margin-left: 32px;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ==================== TRANG CHỦ ==================== */
.hero {
    text-align: center;
    padding: 80px 0 60px;
}

.hero h1 {
    font-size: 3.2rem;
    color: #67e8f9;
    margin-bottom: 12px;
}

.card {
    background: var(--card);
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 30px;
}

h2 {
    color: var(--primary);
    margin-bottom: 18px;
}

.spec-list li {
    padding: 14px 0;
    border-bottom: 1px solid #334155;
}

.spec-list li:last-child {
    border-bottom: none;
}

/* ==================== PROJECTS PAGE ==================== */
.section-title {
    text-align: center;
    margin: 50px 0 30px;
    color: #67e8f9;
    font-size: 2rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.project-card {
    background: var(--card);
    border: 1px solid #334155;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.project-card.active {
    border-color: #fde047;
    box-shadow: 0 0 25px #fde047,
                0 0 50px rgba(253, 224, 71, 0.6);
    transform: scale(1.03);
}

.project-header {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.project-name {
    text-align: center;
    padding: 15px 0;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
}

.project-actions {
    padding: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.action-btn {
    flex: 1;
    min-width: 85px;
    padding: 10px 14px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-explorer { background: #334155; color: white; }
.btn-stake    { background: #22d3ee; color: #0f172a; }
.btn-twitter  { background: #1da1f2; color: white; }

/* Footer */
footer {
    background: #0a101f;
    padding: 50px 20px 30px;
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
}
/* Tăng độ tương phản cho card khi có background ảnh */
.card, .project-card {
    background: rgba(30, 41, 59, 0.92) !important;
    backdrop-filter: blur(8px);   /* hiệu ứng kính mờ hiện đại */
}

header {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    text-align: center;
    margin: 60px 0 40px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-desc {
    color: #aaaaaa;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.contact-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.contact-icon {
    width: 52px;
    height: 52px;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.contact-icon:hover {
    transform: scale(1.18) translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}