body {
    font-family: 'Roboto', sans-serif;
    background: #f3f4f6;
    margin: 0;
    padding: 30px;
}

.star-section {
    max-width: 600px;
    margin: 30px auto;
    background: #fff8f0;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(217, 78, 63, 0.15);
    padding: 30px 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    transition: box-shadow 0.3s ease-in-out;
}

.star-section:hover {
    box-shadow: 0 12px 30px rgba(217, 78, 63, 0.3);
}

.star-icon {
    text-align: center;
    margin-bottom: 15px;
}

.star-icon img {
    width: 30%;
    height: auto;
}

.star-section h2 {
    font-size: 30px;
    margin-bottom: 12px;
    text-align: center;
    color: #d94e3f;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 2px #f0dede;
}

.star-section .header2 {
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    color: #a0522d;
    margin-bottom: 25px;
    letter-spacing: 0.8px;
}

.info-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1.5px solid #f0e6e1;
    align-items: center;
    transition: background-color 0.3s ease;
    border-radius: 6px;
}

.info-row:hover {
    background-color: #ffe9e5;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    flex: 1 1 40%;
    font-weight: 700;
    font-size: 17px;
    text-transform: uppercase;
    text-align: left;
    padding-left: 12px;
    letter-spacing: 1.2px;
    border-left: 5px solid transparent;
    transition: border-color 0.3s ease;
}

.info-value {
    flex: 1 1 60%;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    color: #4a4a4a;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

/* Color classes for labels */
.element {
    color: #f44336;
    border-color: #f44336;
}

.planet {
    color: #ff9800;
    border-color: #ff9800;
}

.day {
    color: #4caf50;
    border-color: #4caf50;
}

.letters {
    color: #2196f3;
    border-color: #2196f3;
}

.number {
    color: #9c27b0;
    border-color: #9c27b0;
}

.best-partner {
    color: #009688;
    border-color: #009688;
}

.incompatible {
    color: #e91e63;
    border-color: #e91e63;
}

.scent {
    color: #ff5722;
    border-color: #ff5722;
}

.health {
    color: #795548;
    border-color: #795548;
}

/* Responsive */
@media (max-width: 480px) {
    .star-section {
        padding: 20px 15px;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }

    .info-label {
        padding-left: 0;
        border-left: none;
        margin-bottom: 5px;
        font-size: 15px;
    }

    .info-value {
        text-align: left;
        font-size: 15px;
    }
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 50px;
}

h2 {
    text-align: center;
    color: #f7fafa;
    margin-bottom: 20px;
    padding-left: 10px;
}

.gem-container2 {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 30px 0;
}

.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s;
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.gem-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
}

.price {
    color: #00c6a9;
    margin: 8px 0;
    font-size: 1.1rem;
}

.card .btn {
    background-color: #00c6a9;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: background 0.3s;
}

.card .btn:hover {
    background-color: #009e87;
}