* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #ffeef2;
    background-image: url('images/bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px 0;
}

.container {
    width: 100%;
    max-width: 650px;
    padding: 20px;
}

.card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 0;
    object-fit: contain;
    margin-bottom: 5px;
}

.profile h1 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
    fill: currentColor;
}

/* Specific colors for each social media icon */
.social-links a:nth-child(1) .social-icon {
    color: #000000; /* TikTok */
}

.social-links a:nth-child(2) .social-icon {
    color: #FF0000; /* YouTube */
}

.social-links a:nth-child(3) .social-icon {
    color: #E1306C; /* Instagram */
}

.social-links a:hover .social-icon {
    transform: scale(1.1);
}

.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.link-item:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.link-content {
    flex: 1;
}

.link-content span {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.flag-container {
    display: grid;
    grid-template-columns: 20px 30px;
    align-items: center;
    gap: 6px;
    width: 60px;
    justify-content: end;
}

.flag-img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    grid-column: 1;
}

.country-code {
    font-weight: bold;
    color: #333;
    font-size: 14px;
    grid-column: 2;
}

.newsletter {
    background-color: #e74c3c;
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    height: 247px;
}

.newsletter h2 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
}

.newsletter p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
    opacity: 0.9;
}

#subscription-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#email {
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
    outline: none;
}

#subscribe-btn {
    padding: 12px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#subscribe-btn:hover {
    background-color: #222;
}

#subscription-message {
    margin-top: 10px;
    font-size: 14px;
    min-height: 20px;
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
    
    .card {
        padding: 20px;
    }
    
    .newsletter {
        padding: 20px;
    }
}
