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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0f0f0f;
    color: #e0e0e0;
    min-height: 100vh;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

/* Navigation Bar */
nav {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 1rem 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid #333;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    scale: 1;
}

.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: #b0b0b0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 100px;
}

/* Table Styles */
.table-container {
    width: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.table-title {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gpu-table {
    width: 100%;
    border-collapse: collapse;
    background-color: transparent;
    border-radius: 15px;
    overflow: hidden;
}

.gpu-table thead {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
}

.gpu-table th {
    padding: 1.5rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #ffffff;
    font-size: 1.1rem;
    border: none;
}

.gpu-table tbody tr {
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.gpu-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gpu-table td {
    padding: 1.5rem 1rem;
    color: #e0e0e0;
    font-size: 1rem;
    border: none;
}

.gpu-image-cell {
    text-align: center;
    width: 150px;
}

.gpu-image {
    width: 120px;
    height: 90px;
    border-radius: 8px;
    object-fit: contain;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
}

.gpu-image:hover {
    border-color: #667eea;
    transform: scale(1.05);
}

.gpu-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 1.1rem;
}

.gpu-price {
    font-weight: 600;
    color: #4CAF50;
    font-size: 1.1rem;
}

.gpu-stock {
    text-align: center;
}

.gpu-last-updated {
    color: #b0b0b0;
    font-size: 0.9rem;
    text-align: center;
}

.stock-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    min-width: 120px;
    text-align: center;
}

.stock-badge.in-stock {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.stock-badge.out-of-stock {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 3rem 2rem 2rem;
    border-top: 1px solid #333;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    border-radius: 4px;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(156, 156, 156, 0.3);
}

.social-btn:hover {
    background-color: rgba(156, 156, 156, 0.2);
    backdrop-filter: blur(4px);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .main-content {
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .table-container {
        padding: 1rem;
    }

    .gpu-table th, .gpu-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }

    .gpu-image {
        width: 80px;
        height: 60px;
    }

    .gpu-name {
        font-size: 0.95rem;
    }

    .gpu-price {
        font-size: 0.95rem;
    }

    .stock-badge {
        min-width: 100px;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Card css */
.card {
    width: 285px;
    height: 381px;
    background-image: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    transition: all .3s;
}

.card2 {
    width: 285px;
    height: 381px;
    background-color: #1a1a1a;
    border-radius: 20px;
    transition: all .2s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card2:hover {
    transform: scale(0.98);
    border-radius: 20px;
}

.card-link {
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
}

.card-image {
    width: 90%;
    height: auto;
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    margin: auto;
}

.card-text {
    text-align: center;
    color: #e0e0e0;
    font-size: 1rem;
    padding: 0.5rem;
    background-color: #1a1a1a;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    margin-top: 0.5rem;
}

/* Card end */