/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Body Styling */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

/* Container Styling */
.container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 30px;
}

/* Header Styling */
h1 {
    text-align: center;
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 2.5em;
}

.description {
    text-align: center;
    color: #4a5568;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Table Styling */
.links-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
}

.links-table th, 
.links-table td {
    padding: 15px 20px;
    text-align: left;
}

.links-table thead th {
    background-color: #4a5568;
    color: white;
    font-weight: 600;
}

.links-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.links-table tbody tr:hover {
    background-color: #f7fafc;
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Links Styling */
.website-link {
    color: #4299e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.website-link:hover {
    color: #2b6cb0;
    text-decoration: underline;
}

/* Category Styling */
.category {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
    text-transform: uppercase;
}

.category.game {
    background: #c6f6d5;
    color: #22543d;
}

.category.autobiography {
    background: #bee3f8;
    color: #2a4365;
}

.category.test { 
    background: #fed7d7; 
    color: #742a2a; 
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .links-table thead {
        display: none;
    }

    .links-table tr {
        display: block;
        margin-bottom: 20px;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .links-table td {
        display: block;
        text-align: right;
        padding: 10px 15px;
    }

    .links-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        color: #4a5568;
    }
}
