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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: linear-gradient(to bottom, #f0f8ff, #e6f7ff);
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
}

header h1 {
    font-size: 3em;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

header p {
    font-size: 1.1em;
    color: #666;
    font-weight: 300;
}

.intro {
    text-align: center;
    margin-bottom: 50px;
    color: #555;
    font-size: 1em;
    line-height: 1.8;
}

.project-links {
    margin-bottom: 30px;
}

.project-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #fff 0%, #fff6f8 100%);
    border: 2px solid #d84860;
    border-left: 10px solid #d84860;
    border-radius: 14px;
    padding: 30px 32px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 8px 20px rgba(216, 72, 96, 0.14);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(216, 72, 96, 0.2);
    border-color: #b03050;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle at top right, rgba(216, 72, 96, 0.16), transparent 65%);
    pointer-events: none;
}

.project-label {
    display: inline-block;
    width: fit-content;
    background-color: #d84860;
    color: white;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.8em;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.project-card h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
    font-weight: 700;
    color: #d84860;
}

.project-card p {
    font-size: 1em;
    color: #777;
    margin-bottom: 14px;
    line-height: 1.6;
}

.project-url {
    display: inline-block;
    width: fit-content;
    color: #5b2b91;
    background-color: #e9d8fd;
    padding: 7px 14px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 600;
}

.experiments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.experiment-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 30px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.experiment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #bbb;
}

.experiment-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.experiment-card h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: 600;
    color: #d84860;
}

.experiment-card p {
    font-size: 0.95em;
    color: #777;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.experiment-type {
    display: inline-block;
    background-color: #f0f0f0;
    color: #666;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 500;
}

.experiment-type.html {
    background-color: #fff3cd;
    color: #856404;
}

.experiment-type.css {
    background-color: #d1ecf1;
    color: #0c5460;
}

.experiment-type.javascript {
    background-color: #f8d7da;
    color: #721c24;
}

.experiment-type.php {
    background-color: #e9d8fd;
    color: #5b2b91;
}

footer {
    background-image: linear-gradient();
    text-align: center;
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid #e5e5e5;
    color: #888;
    font-size: 0.95em;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    header p {
        font-size: 1em;
    }

    .experiments {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .container {
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    header {
        margin-bottom: 40px;
        padding: 20px 0;
    }

    header h1 {
        font-size: 1.6em;
    }

    .experiment-card {
        padding: 20px;
    }

    .experiment-card h2 {
        font-size: 1.2em;
    }
}