.png-container {
    max-width: 700px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.png-card {
    background: linear-gradient(135deg, #A8E6CF 0%, #C8E6C9 100%);
    border-radius: 28px;
    padding: 2px;
    box-shadow: 0 25px 45px -12px rgba(168,230,207,0.35);
    transition: box-shadow 0.3s ease;
}

.png-card:hover {
    box-shadow: 0 30px 55px -12px rgba(168,230,207,0.5);
}

.png-header {
    background: white;
    border-radius: 26px 26px 0 0;
    padding: 32px 28px 24px;
    text-align: center;
}

.png-header h2 {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #66BB6A 0%, #81C784 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.png-header p {
    margin: 0;
    color: #4B5563;
    font-size: 16px;
}

.png-form {
    background: white;
    padding: 0 28px 28px;
    border-radius: 0 0 26px 26px;
}

.png-form-group {
    margin-bottom: 24px;
}

.png-form-group label {
    display: block;
    font-weight: 600;
    color: #2E7D32;
    margin-bottom: 10px;
    font-size: 15px;
}

/* Pet Selector */
.png-pet-selector {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.png-pet-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    background: #F0F8F0;
    border: 2px solid #C8E6C9;
    border-radius: 60px;
    font-size: 18px;
    font-weight: 600;
    color: #4B5563;
    cursor: pointer;
    transition: all 0.3s ease;
}

.png-pet-btn .png-pet-icon {
    font-size: 28px;
    transition: transform 0.2s ease;
}

.png-pet-btn:hover {
    background: #E8F5E9;
    border-color: #81C784;
    transform: translateY(-2px);
}

.png-pet-btn:hover .png-pet-icon {
    transform: scale(1.1);
}

.png-pet-btn.active {
    background: linear-gradient(135deg, #A8E6CF 0%, #C8E6C9 100%);
    border-color: #66BB6A;
    color: #2E7D32;
}

.png-pet-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102,187,106,0.3);
}

/* Gender Selector - Pill Buttons Centered */
.png-gender-selector {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.png-gender-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    background: #F0F8F0;
    border: 2px solid #C8E6C9;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    color: #4B5563;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.png-gender-btn .png-gender-icon {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.png-gender-btn:hover {
    background: #E8F5E9;
    border-color: #81C784;
    transform: translateY(-2px);
}

.png-gender-btn:hover .png-gender-icon {
    transform: scale(1.15);
}

.png-gender-btn.active {
    background: linear-gradient(135deg, #66BB6A 0%, #81C784 100%);
    border-color: #4CAF50;
    color: white;
    box-shadow: 0 4px 12px rgba(102,187,106,0.4);
}

.png-gender-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102,187,106,0.5);
}

.png-gender-btn.active .png-gender-icon {
    filter: brightness(0) invert(1);
}

/* Select Wrapper */
.png-select-wrapper {
    position: relative;
}

.png-select {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    border: 2px solid #C8E6C9;
    border-radius: 16px;
    background: white;
    cursor: pointer;
    appearance: none;
    font-weight: 500;
    color: #1F2937;
    transition: all 0.3s ease;
}

.png-select:hover {
    border-color: #81C784;
    background: #FAFDFA;
}

.png-select:focus {
    outline: none;
    border-color: #66BB6A;
    box-shadow: 0 0 0 3px rgba(102,187,106,0.2);
}

.png-select-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #9CA3AF;
    pointer-events: none;
    transition: color 0.3s ease;
}

.png-select-wrapper:hover .png-select-arrow {
    color: #66BB6A;
}

/* Generate Buttons */
.png-generate-btn, .png-regenerate-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #66BB6A 0%, #81C784 100%);
    border: none;
    border-radius: 60px;
    font-size: 18px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.png-generate-btn::before, .png-regenerate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.png-generate-btn:hover::before, .png-regenerate-btn:hover::before {
    left: 100%;
}

.png-generate-btn:hover, .png-regenerate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(102,187,106,0.5);
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
}

.png-generate-btn:active, .png-regenerate-btn:active {
    transform: translateY(0px);
}

.png-generate-btn .png-btn-icon, .png-regenerate-btn .png-btn-icon {
    transition: transform 0.2s ease;
}

.png-generate-btn:hover .png-btn-icon, .png-regenerate-btn:hover .png-btn-icon {
    transform: scale(1.1);
}

/* Result Section */
.png-result {
    background: white;
    border-radius: 20px;
    margin: 0 28px 28px;
    padding: 28px;
    text-align: center;
    border: 1px solid #C8E6C9;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.png-result-icon {
    font-size: 56px;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.png-result-icon:hover {
    transform: scale(1.1);
}

.png-result-label {
    color: #6B7280;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.png-result-name {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, #66BB6A 0%, #81C784 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 24px;
    word-break: break-word;
    transition: all 0.3s ease;
}

.png-result-name:hover {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    -webkit-background-clip: text;
    background-clip: text;
    transform: scale(1.02);
}

.png-regenerate-btn {
    background: #F0F8F0;
    color: #66BB6A;
    font-size: 16px;
    padding: 12px;
    box-shadow: none;
    border: 2px solid #C8E6C9;
}

.png-regenerate-btn:hover {
    background: linear-gradient(135deg, #66BB6A 0%, #81C784 100%);
    color: white;
    border-color: transparent;
}

/* Footer Note */
.png-footer-note {
    text-align: center;
    margin-top: 20px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border-radius: 60px;
    display: inline-block;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #A8E6CF;
    transition: all 0.3s ease;
}

.png-footer-note:hover {
    background: linear-gradient(135deg, #C8E6C9 0%, #A8E6CF 100%);
    transform: translateY(-2px);
}

.png-footer-note p {
    margin: 0;
    color: #2E7D32;
    font-size: 14px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 550px) {
    .png-pet-btn span:not(.png-pet-icon) {
        display: none;
    }
    .png-pet-btn {
        padding: 14px;
    }
    .png-gender-btn {
        padding: 10px 16px;
        min-width: auto;
        gap: 6px;
    }
    .png-gender-btn span:not(.png-gender-icon) {
        font-size: 12px;
    }
    .png-result-name {
        font-size: 32px;
    }
}