/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Space-themed background */
.stars, .stars2, .stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
}

.stars {
    animation: stars 50s linear infinite;
}

.stars2 {
    animation: stars2 100s linear infinite;
}

.stars3 {
    animation: stars3 150s linear infinite;
}

@keyframes stars {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

@keyframes stars2 {
    0% { transform: translateY(0); }
    100% { transform: translateY(-200%); }
}

@keyframes stars3 {
    0% { transform: translateY(0); }
    100% { transform: translateY(-300%); }
}

header {
    background: rgba(0, 77, 64, 0.8);
    color: #fff;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header p {
    margin: 0.5rem 0 0;
    font-size: 1.1rem;
}

main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Card Preview Section */
.card-preview {
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#business-card {
    width: 100%;
    max-width: 400px;
    height: 250px;
    border-radius: 15px;
    background: linear-gradient(135deg, #004d40, #002b36);
    color: #fff;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    animation: rotateCard 10s infinite linear;
}

/* @keyframes rotateCard {
    0% { transform: rotateY(0); }
    100% { transform: rotateY(360deg); }
} */

#logo-space {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

#logo-space img {
    max-width: 50px;
    max-height: 50px;
    border-radius: 50%;
}

.card-header {
    text-align: center;
}

.card-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.card-header p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: #ffc107;
}

.card-body {
    text-align: left;
}

.card-body p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

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

.social-icon {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #ffc107;
}

/* Customization Section */
.customization {
    flex: 1 1 100%;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.customization h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

#download-btn {
    width: 100%;
    padding: 0.75rem;
    background: #004d40;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

#download-btn:hover {
    background: #002b36;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 77, 64, 0.8);
    color: #fff;
    position: relative;
    z-index: 1;
}

footer p {
    margin: 0;
}

footer strong {
    color: #ffc107;
}